Open RoyCCWang opened 1 month ago
Here is the output from a fresh REPL session on my machine:
julia> versioninfo() Julia Version 1.11.0-rc2 Commit 34c3a63147b (2024-07-29 06:24 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) CPU: 16 × AMD Ryzen 7 7735HS with Radeon Graphics WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores) julia> using AllocCheck Precompiling AllocCheck... Info Given AllocCheck was explicitly requested, output will be shown live ERROR: LoadError: InitError: type Nothing has no field major Stacktrace: [1] getproperty @ ./Base.jl:49 [inlined] [2] __init__() @ GPUCompiler ~/.julia/packages/GPUCompiler/kqxyC/src/GPUCompiler.jl:64 [3] run_module_init(mod::Module, i::Int64) @ Base ./loading.jl:1263 [4] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String) @ Base ./loading.jl:1251 [5] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}, ignore_native::Nothing) @ Base ./loading.jl:1195 [6] _include_from_serialized @ ./loading.jl:1152 [inlined] [7] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{String, Int64}, DEPOT_PATH::Vector{String}) @ Base ./loading.jl:1917 [8] _require(pkg::Base.PkgId, env::String) @ Base ./loading.jl:2378 [9] __require_prelocked(uuidkey::Base.PkgId, env::String) @ Base ./loading.jl:2243 [10] #invoke_in_world#3 @ ./essentials.jl:1077 [inlined] [11] invoke_in_world @ ./essentials.jl:1074 [inlined] [12] _require_prelocked(uuidkey::Base.PkgId, env::String) @ Base ./loading.jl:2230 [13] macro expansion @ ./loading.jl:2169 [inlined] [14] macro expansion @ ./lock.jl:273 [inlined] [15] __require(into::Module, mod::Symbol) @ Base ./loading.jl:2126 [16] #invoke_in_world#3 @ ./essentials.jl:1077 [inlined] [17] invoke_in_world @ ./essentials.jl:1074 [inlined] [18] require(into::Module, mod::Symbol) @ Base ./loading.jl:2119 [19] include @ ./Base.jl:558 [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::Nothing) @ Base ./loading.jl:2749 [21] top-level scope @ stdin:4 during initialization of module GPUCompiler in expression starting at /home/roy/.julia/packages/AllocCheck/hsw9T/src/AllocCheck.jl:1 in expression starting at stdin:4 ✗ AllocCheck 0 dependencies successfully precompiled in 1 seconds. 36 already precompiled. ERROR: The following 1 direct dependency failed to precompile: AllocCheck Failed to precompile AllocCheck [9b6a8646-10ed-4001-bbdc-1d2f46dfbb1a] to "/home/roy/.julia/compiled/v1.11/AllocCheck/jl_PAM1nZ". ERROR: LoadError: InitError: type Nothing has no field major Stacktrace: [1] getproperty @ ./Base.jl:49 [inlined] [2] __init__() @ GPUCompiler ~/.julia/packages/GPUCompiler/kqxyC/src/GPUCompiler.jl:64 [3] run_module_init(mod::Module, i::Int64) @ Base ./loading.jl:1263 [4] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String) @ Base ./loading.jl:1251 [5] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}, ignore_native::Nothing) @ Base ./loading.jl:1195 [6] _include_from_serialized @ ./loading.jl:1152 [inlined] [7] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{String, Int64}, DEPOT_PATH::Vector{String}) @ Base ./loading.jl:1917 [8] _require(pkg::Base.PkgId, env::String) @ Base ./loading.jl:2378 [9] __require_prelocked(uuidkey::Base.PkgId, env::String) @ Base ./loading.jl:2243 [10] #invoke_in_world#3 @ ./essentials.jl:1077 [inlined] [11] invoke_in_world @ ./essentials.jl:1074 [inlined] [12] _require_prelocked(uuidkey::Base.PkgId, env::String) @ Base ./loading.jl:2230 [13] macro expansion @ ./loading.jl:2169 [inlined] [14] macro expansion @ ./lock.jl:273 [inlined] [15] __require(into::Module, mod::Symbol) @ Base ./loading.jl:2126 [16] #invoke_in_world#3 @ ./essentials.jl:1077 [inlined] [17] invoke_in_world @ ./essentials.jl:1074 [inlined] [18] require(into::Module, mod::Symbol) @ Base ./loading.jl:2119 [19] include @ ./Base.jl:558 [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::Nothing) @ Base ./loading.jl:2749 [21] top-level scope @ stdin:4 during initialization of module GPUCompiler in expression starting at /home/roy/.julia/packages/AllocCheck/hsw9T/src/AllocCheck.jl:1 in expression starting at stdin:
Here is the output from a fresh REPL session on my machine: