Skip to content

world age problems in 1.12 #1076

@guilhermebodin

Description

@guilhermebodin

Hello, i am trying to compile an application to an app and I keep getting world_age problems such as the following:

Failed to precompile PSRClassesInterfaceExt [c9d2f75c-a614-5832-acf1-588a3d954747] to "D:\\.julia\\compiled\\v1.12\\PSRClassesInterfaceExt\\jl_4259.tmp".
ERROR: LoadError: InitError: MethodError: no method matching __artifact_str(::Module, ::String, ::SubString{String}, ::String, ::Dict{String, Any}, ::Base.SHA1, ::Base.BinaryPlatforms.Platform, ::Val{Artifacts})
The applicable method may be too new: running in world age 30193, while current world is 30218.

Closest candidates are:
  __artifact_str(::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Val{LazyArtifacts}) where LazyArtifacts (method too new to be called from this world context.)
   @ Artifacts D:\juliaup\julia-1.12.1+0.x64.w64.mingw32\share\julia\stdlib\v1.12\Artifacts\src\Artifacts.jl:553

Stacktrace:
  [1] _artifact_str(__module__::Module, artifacts_toml::String, name::SubString{String}, path_tail::String, artifact_dict::Dict{String, Any}, hash::Base.SHA1, platform::Base.BinaryPlatforms.Platform, ::Val{Artifacts})
    @ Artifacts D:\juliaup\julia-1.12.1+0.x64.w64.mingw32\share\julia\stdlib\v1.12\Artifacts\src\Artifacts.jl:550
  [2] top-level scope
    @ D:\.julia\packages\JLLWrappers\m2Pjh\src\wrapper_generators.jl:17
  [3] macro expansion
    @ D:\juliaup\julia-1.12.1+0.x64.w64.mingw32\share\julia\stdlib\v1.12\Artifacts\src\Artifacts.jl:725 [inlined]
  [4] top-level scope
    @ D:\.julia\packages\SQLite_jll\FDT7i\src\wrappers\x86_64-w64-mingw32.jl:9
  [5] run_module_init(?::Module, ?::Int64)
    @ Base .\loading.jl:1415
  [6] register_restored_modules(?::Core.SimpleVector, ?::Base.PkgId, ?::String)
    @ Base .\loading.jl:1403
  [7] _include_from_serialized(?::Base.PkgId, ?::String, ?::Nothing, ?::Vector{Any}; ?::Bool)
    @ Base .\loading.jl:1291
  [8] _include_from_serialized
    @ .\loading.jl:1246 [inlined]
  [9] _require_search_from_serialized(?::Base.PkgId, ?::String, ?::UInt128, ?::Bool; ?::Dict{String, Int64}, ?::Vector{String})
    @ Base .\loading.jl:2087
 [10] _require_search_from_serialized
    @ .\loading.jl:1981 [inlined]
 [11] __require_prelocked(?::Base.PkgId, ?::String)
    @ Base .\loading.jl:2599
 [12] _require_prelocked(?::Base.PkgId, ?::String)
    @ Base .\loading.jl:2465
 [13] macro expansion
    @ .\loading.jl:2393 [inlined]
 [14] macro expansion
    @ .\lock.jl:376 [inlined]
 [15] __require(?::Module, ?::Symbol)
    @ Base .\loading.jl:2358
 [16] require(?::Module, ?::Symbol)
    @ Base .\loading.jl:2334
 [17] top-level scope
    @ D:\.julia\packages\SQLite\UqCGE\src\capi.jl:3
 [18] eval
    @ .\none:-1 [inlined]
 [19] include(?::Function, ?::Module, ?::String)
    @ Base .\Base.jl:307
 [20] top-level scope
    @ D:\.julia\packages\SQLite\UqCGE\src\SQLite.jl:8
 [21] eval
    @ .\none:-1 [inlined]
 [22] include(?::Module, ?::String)
    @ Base .\Base.jl:306
 [23] include_package_for_output(?::Base.PkgId, ?::String, ?::Vector{String}, ?::Vector{String}, ?::Vector{String}, ?::Vector{Pair{Base.PkgId, UInt128}}, ?::String)
    @ Base .\loading.jl:2996
 [24] top-level scope
    @ D:\juliaup\julia-1.12.1+0.x64.w64.mingw32\share\julia\Compiler\src\stdin:5
 [25] eval
    @ .\none:-1 [inlined]
 [26] eval(?::Module, ?::Any)
    @ Core .\<missing>:0
 [27] include_string(?::typeof(identity), ?::Module, ?::String, ?::String)
    @ Base .\loading.jl:2842
 [28] include_string
    @ .\loading.jl:2852 [inlined]
 [29] exec_options(?::Base.JLOptions)
    @ Base .\client.jl:315
 [30] _start()
    @ Base .\client.jl:550
during initialization of module SQLite_jll
in expression starting at D:\.julia\packages\SQLite\UqCGE\src\capi.jl:1
in expression starting at D:\.julia\packages\SQLite\UqCGE\src\SQLite.jl:1
in expression starting at stdin:5
ERROR: LoadError: Failed to precompile SQLite [0aa819cd-b072-5ff4-a722-6bc24af294d9] to "D:\\.julia\\compiled\\v1.12\\SQLite\\jl_69C7.tmp".

I still haven`t compiled anything on 1.12

Does anybody have faced the same problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions