Skip to content
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

Fail to precompile on nightly: 1.12.0-DEV.18 #805

Closed
svretina opened this issue Feb 20, 2024 · 2 comments
Closed

Fail to precompile on nightly: 1.12.0-DEV.18 #805

svretina opened this issue Feb 20, 2024 · 2 comments

Comments

@svretina
Copy link

┌ Info: Precompiling Revise [295af30f-e4ad-537b-8983-00126c2a3abe] 
└ @ Base loading.jl:2767
ERROR: LoadError: type CodeInfo has no field inferred
Stacktrace:
  [1] getproperty(ci::Core.CodeInfo, s::Symbol)
    @ Base ./deprecated.jl:330
  [2] optimize!(code::Core.CodeInfo, scope::Method)
    @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/aODc1/src/optimize.jl:71
  [3] JuliaInterpreter.FrameCode(scope::Method, src::Core.CodeInfo; generator::Bool, optimize::Bool)
    @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/aODc1/src/types.jl:128
  [4] FrameCode
    @ ~/.julia/packages/JuliaInterpreter/aODc1/src/types.jl:126 [inlined]
  [5] prepare_framecode(method::Method, argtypes::Any; enter_generated::Bool)
    @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/aODc1/src/construct.jl:178
  [6] prepare_framecode
    @ ~/.julia/packages/JuliaInterpreter/aODc1/src/construct.jl:138 [inlined]
  [7] prepare_call(f::Any, allargs::Vector{Any}; enter_generated::Bool)
    @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/aODc1/src/construct.jl:249
  [8] prepare_call
    @ ~/.julia/packages/JuliaInterpreter/aODc1/src/construct.jl:235 [inlined]
  [9] determine_method_for_expr(expr::Expr; enter_generated::Bool)
    @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/aODc1/src/construct.jl:578
 [10] determine_method_for_expr
    @ ~/.julia/packages/JuliaInterpreter/aODc1/src/construct.jl:569 [inlined]
 [11] enter_call_expr(expr::Expr; enter_generated::Bool)
    @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/aODc1/src/construct.jl:617
 [12] enter_call_expr
    @ ~/.julia/packages/JuliaInterpreter/aODc1/src/construct.jl:615 [inlined]
 [13] macro expansion
    @ ~/.julia/packages/JuliaInterpreter/aODc1/src/construct.jl:745 [inlined]
 [14] _precompile_()
    @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/aODc1/src/precompile.jl:7
 [15] top-level scope
    @ ~/.julia/packages/JuliaInterpreter/aODc1/src/packagedef.jl:162
 [16] include(mod::Module, _path::String)
    @ Base ./Base.jl:556
 [17] include(x::String)
    @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/aODc1/src/JuliaInterpreter.jl:1
 [18] top-level scope
    @ ~/.julia/packages/JuliaInterpreter/aODc1/src/JuliaInterpreter.jl:14
 [19] include
    @ ./Base.jl:556 [inlined]
 [20] 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::String)
    @ Base ./loading.jl:2604
 [21] top-level scope
    @ stdin:4
in expression starting at /home/svretina/.julia/packages/JuliaInterpreter/aODc1/src/packagedef.jl:162
in expression starting at /home/svretina/.julia/packages/JuliaInterpreter/aODc1/src/JuliaInterpreter.jl:1
in expression starting at stdin:4
ERROR: LoadError: Failed to precompile JuliaInterpreter [aa1ae85d-cabe-5617-a682-6adf51b2e16a] to "/home/svretina/.julia/compiled/v1.12/JuliaInterpreter/jl_5EOccy".
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, reasons::Dict{String, Int64})
    @ Base ./loading.jl:2882
  [3] (::Base.var"#1069#1070"{Base.PkgId})()
    @ Base ./loading.jl:2324
  [4] mkpidlock(f::Base.var"#1069#1070"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
    @ FileWatching.Pidfile ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:95
  [5] #mkpidlock#6
    @ ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:90 [inlined]
  [6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
    @ FileWatching.Pidfile ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:116
  [7] #invokelatest#2
    @ ./essentials.jl:1032 [inlined]
  [8] invokelatest
    @ ./essentials.jl:1027 [inlined]
  [9] maybe_cachefile_lock(f::Base.var"#1069#1070"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
    @ Base ./loading.jl:3358
 [10] maybe_cachefile_lock
    @ ./loading.jl:3355 [inlined]
 [11] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:2320
 [12] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2153
 [13] #invoke_in_world#3
    @ ./essentials.jl:1064 [inlined]
 [14] invoke_in_world
    @ ./essentials.jl:1061 [inlined]
 [15] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2144
 [16] macro expansion
    @ ./loading.jl:2082 [inlined]
 [17] macro expansion
    @ ./lock.jl:273 [inlined]
 [18] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2039
 [19] #invoke_in_world#3
    @ ./essentials.jl:1064 [inlined]
 [20] invoke_in_world
    @ ./essentials.jl:1061 [inlined]
 [21] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2032
 [22] include
    @ ./Base.jl:556 [inlined]
 [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::String)
    @ Base ./loading.jl:2604
 [24] top-level scope
    @ stdin:4
in expression starting at /home/svretina/.julia/packages/Revise/FaTes/src/Revise.jl:1
in expression starting at stdin:4
Julia Version 1.12.0-DEV.18
Commit 02699bb6cd8 (2024-02-19 12:52 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)
Environment:
  LD_LIBRARY_PATH = :/home/stamatis/.openmpi/lib/:/home/svretina/.julia/artifacts/e95ca94c82899616429924e9fdc7eccda275aa38/lib/
@pfitzseb
Copy link
Collaborator

Ref JuliaDebug/JuliaInterpreter.jl#611. I'll tag a new release.

@pfitzseb
Copy link
Collaborator

Should be fixed by JuliaRegistries/General#101256.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants