-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Precompilation failure on nightly #618
Comments
Just needs a version bump of the compiler compat. You can |
Thanks, that resolves the issue with precompiling ┌ Error: Errorred while running the precompile workload, the package may or may not work but latency will be long
│ exeption =
│ TypeError: in typeassert, expected Cthulhu.OptimizedSource, got a value of type Core.CodeInfo
│ Stacktrace:
│ [1] IRInterpretationState
│ @ ~/.julia/packages/Cthulhu/sgTKv/src/interpreter.jl:232 [inlined]
│ [2] semi_concrete_eval_call(interp::Cthulhu.CthulhuInterpreter, mi::Core.MethodInstance, result::Compiler.MethodCallResult, arginfo::Compiler.ArgInfo, sv::Compiler.InferenceState)
│ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:1275
│ [3] abstract_call_method_with_const_args(interp::Cthulhu.CthulhuInterpreter, result::Compiler.MethodCallResult, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, match::Core.MethodMatch, sv::Compiler.InferenceState, invokecall::Nothing)
│ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:905
│ [4] abstract_call_method_with_const_args
│ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:881 [inlined]
│ [5] (::Compiler.var"#handle1#abstract_call_gf_by_type##1"{Int64, Compiler.Future{Compiler.MethodCallResult}, Int64, Vector{Union{Nothing, Core.CodeInstance}}, Core.MethodMatch, Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Cthulhu.CthulhuInterpreter, sv::Compiler.InferenceState)
│ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:178
│ [6] doworkloop(interp::Cthulhu.CthulhuInterpreter, sv::Compiler.InferenceState)
│ @ Compiler ./../usr/share/julia/Compiler/src/inferencestate.jl:1192
│ [7] typeinf(interp::Cthulhu.CthulhuInterpreter, frame::Compiler.InferenceState)
│ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4288
│ [8] top-level scope
│ @ ~/.julia/packages/Cthulhu/sgTKv/src/Cthulhu.jl:856
│ [9] top-level scope
│ @ ~/.julia/packages/Cthulhu/sgTKv/src/Cthulhu.jl:868
│ [10] top-level scope
│ @ ~/.julia/packages/Cthulhu/sgTKv/src/Cthulhu.jl:890
│ [11] top-level scope
│ @ ~/.julia/packages/Cthulhu/sgTKv/src/Cthulhu.jl:888
│ [12] __descend_with_error_handling(args::Any; terminal::Any, kwargs...)
│ @ Cthulhu ~/.julia/packages/Cthulhu/sgTKv/src/Cthulhu.jl:275
│ [13] __descend_with_error_handling
│ @ ~/.julia/packages/Cthulhu/sgTKv/src/Cthulhu.jl:272 [inlined]
│ [14] #_descend_with_error_handling#80
│ @ ~/.julia/packages/Cthulhu/sgTKv/src/Cthulhu.jl:264 [inlined]
│ [15] _descend_with_error_handling
│ @ ~/.julia/packages/Cthulhu/sgTKv/src/Cthulhu.jl:256 [inlined]
│ [16] descend
│ @ ~/.julia/packages/Cthulhu/sgTKv/src/Cthulhu.jl:318 [inlined]
│ [17] macro expansion
│ @ ~/.julia/packages/Cthulhu/sgTKv/src/Cthulhu.jl:972 [inlined]
│ [18] macro expansion
│ @ ~/.julia/packages/PrecompileTools/L8A3n/src/workloads.jl:78 [inlined]
│ [19] macro expansion
│ @ ~/.julia/packages/Cthulhu/sgTKv/src/Cthulhu.jl:971 [inlined]
│ [20] macro expansion
│ @ ~/.julia/packages/PrecompileTools/L8A3n/src/workloads.jl:140 [inlined]
│ [21] top-level scope
│ @ ~/.julia/packages/Cthulhu/sgTKv/src/Cthulhu.jl:966
│ [22] include(mod::Module, _path::String)
│ @ Base ./Base.jl:307
│ [23] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
│ @ Base ./loading.jl:3004
│ [24] top-level scope
│ @ stdin:6
│ [25] eval(m::Module, e::Any)
│ @ Core ./boot.jl:488
│ [26] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
│ @ Base ./loading.jl:2855
│ [27] include_string
│ @ ./loading.jl:2865 [inlined]
│ [28] exec_options(opts::Base.JLOptions)
│ @ Base ./client.jl:326
│ [29] _start()
│ @ Base ./client.jl:556
└ @ Cthulhu ~/.julia/packages/Cthulhu/sgTKv/src/Cthulhu.jl:977 Despite this, precompilation for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not entirely certain if this is a
Cthulhu
issue, or aCompiler
one, but this is the error that I obtain when trying to load Cthulhu on a recent julia v1.13 nightly (v"1.13.0-DEV.64").The text was updated successfully, but these errors were encountered: