Package evaluation of Torch on Julia 1.12.0-rc1.2 (995ff9db19*) started at 2025-07-14T16:11:01.682 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.21s ################################################################################ # Installation # Installing Torch... Resolving package versions... Updating `~/.julia/environments/v1.12/Project.toml` [6a2ea274] + Torch v0.1.3 Updating `~/.julia/environments/v1.12/Manifest.toml` [79e6a3ab] + Adapt v4.3.0 [a9b6321e] + Atomix v1.1.1 [fa961155] + CEnum v0.5.0 [d360d2e6] + ChainRulesCore v1.25.2 [34da2185] + Compat v4.17.0 [1a297f60] + FillArrays v1.13.0 [46192b85] + GPUArraysCore v0.2.0 [076d061b] + HashArrayMappedTries v0.2.0 [692b3bcd] + JLLWrappers v1.7.0 [63c18a36] + KernelAbstractions v0.9.37 [1914dd2f] + MacroTools v0.5.16 [872c559c] + NNlib v0.9.30 [aea7be01] + PrecompileTools v1.3.2 [21216c6a] + Preferences v1.4.3 [ae029012] + Requires v1.3.1 [7e506255] + ScopedValues v1.3.0 [90137ffa] + StaticArrays v1.9.13 [1e83bf80] + StaticArraysCore v1.4.3 [10745b16] + Statistics v1.11.1 [6a2ea274] + Torch v0.1.3 [013be700] + UnsafeAtomics v0.3.0 [700de1a5] + ZygoteRules v0.2.7 ⌅ [48a17e46] + CPUInfo_jll v0.0.20201217+0 [4ee394cb] + CUDA_Driver_jll v12.9.0+0 [76a88914] + CUDA_Runtime_jll v0.18.0+0 ⌅ [62b44479] + CUDNN_jll v8.9.7+0 [5909ec93] + Gloo_jll v0.0.20210521+0 [51474c39] + LAPACK_jll v3.12.0+3 [e98f9f5b] + NVTX_jll v3.2.1+0 [656ef2d0] + OpenBLAS32_jll v0.3.29+0 [a74eb8f4] + PThreadPool_jll v0.0.20210414+0 [63e82ce6] + SLEEF_jll v3.7.0+0 [dc5d5603] + TorchCAPI_jll v0.2.0+0 [c12fb04c] + Torch_jll v1.10.2+1 [55708af3] + XNNPACK_jll v0.0.20210622+0 ⌅ [c7845625] + protoc_jll v3.13.0+0 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [f43a241f] + Downloads v1.6.0 [7b1f6079] + FileWatching v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.12.0 [4af54fe1] + LazyArtifacts v1.11.0 [b27032c2] + LibCURL v0.6.4 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.12.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [ca575930] + NetworkOptions v1.3.0 [44cfe95a] + Pkg v1.13.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [f489334b] + StyledStrings v1.11.0 [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [781609d7] + GMP_jll v6.3.0+2 [deac9b47] + LibCURL_jll v8.11.1+1 [e37daf67] + LibGit2_jll v1.9.0+0 [29816b5a] + LibSSH2_jll v1.11.3+1 [3a97d323] + MPFR_jll v4.2.2+0 [14a3606d] + MozillaCACerts_jll v2025.5.20 [4536629a] + OpenBLAS_jll v0.3.29+0 [458c3c95] + OpenSSL_jll v3.5.1+0 [83775a58] + Zlib_jll v1.3.1+2 [8e850b90] + libblastrampoline_jll v5.13.1+0 [8e850ede] + nghttp2_jll v1.64.0+1 [3f19e933] + p7zip_jll v17.5.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 19.67s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... ERROR: LoadError: The following 1 direct dependency failed to precompile: Torch Failed to precompile Torch [6a2ea274-3061-11ea-0d63-ff850051a295] to "/home/pkgeval/.julia/compiled/v1.12/Torch/jl_6iLCwp". ERROR: LoadError: UndefVarError: `libtorch_c_api` not defined in `Torch.Wrapper` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] at_grad_set_enabled(arg1::Base.RefValue{Int32}, arg2::Int64) @ Torch.Wrapper ~/.julia/packages/Torch/QTrgw/src/wrapper.jl:15 [2] top-level scope @ ~/.julia/packages/Torch/QTrgw/src/tensor.jl:8 [3] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [4] top-level scope @ ~/.julia/packages/Torch/QTrgw/src/Torch.jl:24 [5] include(mod::Module, _path::String) @ Base ./Base.jl:305 [6] 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:2991 [7] top-level scope @ stdin:5 [8] eval(m::Module, e::Any) @ Core ./boot.jl:489 [9] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base ./loading.jl:2837 [10] include_string @ ./loading.jl:2847 [inlined] [11] exec_options(opts::Base.JLOptions) @ Base ./client.jl:319 [12] _start() @ Base ./client.jl:554 in expression starting at /home/pkgeval/.julia/packages/Torch/QTrgw/src/tensor.jl:7 in expression starting at /home/pkgeval/.julia/packages/Torch/QTrgw/src/Torch.jl:1 in expression starting at stdin: in expression starting at /PkgEval.jl/scripts/precompile.jl:37 Precompilation failed after 201.88s ################################################################################ # Testing # Testing Torch Status `/tmp/jl_SFZqrU/Project.toml` [fa961155] CEnum v0.5.0 [1a297f60] FillArrays v1.13.0 ⌅ [587475ba] Flux v0.14.25 [dbeba491] Metalhead v0.9.5 [872c559c] NNlib v0.9.30 [ae029012] Requires v1.3.1 [10745b16] Statistics v1.11.1 [6a2ea274] Torch v0.1.3 ⌅ [e88e6eb3] Zygote v0.6.77 [700de1a5] ZygoteRules v0.2.7 [dc5d5603] TorchCAPI_jll v0.2.0+0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.12.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_SFZqrU/Manifest.toml` [621f4979] AbstractFFTs v1.5.0 [7d9f7c33] Accessors v0.1.42 [79e6a3ab] Adapt v4.3.0 [66dad0bd] AliasTables v1.1.3 [dce04be8] ArgCheck v2.5.0 [a9b6321e] Atomix v1.1.1 [fbb218c0] BSON v0.3.9 [198e06fe] BangBang v0.4.4 [9718e550] Baselet v0.1.1 [fa961155] CEnum v0.5.0 [082447d4] ChainRules v1.72.5 [d360d2e6] ChainRulesCore v1.25.2 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.17.0 [a33af91c] CompositionsBase v0.1.2 [187b0558] ConstructionBase v1.6.0 [6add18c4] ContextVariablesX v0.1.3 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.18.22 [e2d170a0] DataValueInterfaces v1.0.0 [244e2a9f] DefineSingletons v0.1.2 [8bb1440f] DelimitedFiles v1.9.1 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [ffbed154] DocStringExtensions v0.9.5 [cc61a311] FLoops v0.2.2 [b9860ae5] FLoopsBase v0.1.1 [5789e2e9] FileIO v1.17.0 [1a297f60] FillArrays v1.13.0 ⌅ [587475ba] Flux v0.14.25 [f6369f11] ForwardDiff v1.0.1 ⌅ [d9f16b24] Functors v0.4.12 [0c68f7d7] GPUArrays v11.2.3 [46192b85] GPUArraysCore v0.2.0 [076d061b] HashArrayMappedTries v0.2.0 [7869d1d1] IRTools v0.4.15 [22cec73e] InitialValues v0.3.1 [3587e190] InverseFunctions v0.1.17 [92d709cd] IrrationalConstants v0.2.4 [82899510] IteratorInterfaceExtensions v1.0.0 [033835bb] JLD2 v0.5.15 [692b3bcd] JLLWrappers v1.7.0 [b14d175d] JuliaVariables v0.2.4 [63c18a36] KernelAbstractions v0.9.37 [929cbde3] LLVM v9.4.2 [2ab3a3ac] LogExpFunctions v0.3.29 [c2834f40] MLCore v1.0.0 ⌃ [7e8f7934] MLDataDevices v1.5.3 [d8e11817] MLStyle v0.4.17 [f1d291b0] MLUtils v0.4.8 [1914dd2f] MacroTools v0.5.16 [dbeba491] Metalhead v0.9.5 [128add7d] MicroCollections v0.2.0 [e1d29d7a] Missings v1.2.0 [872c559c] NNlib v0.9.30 [77ba4419] NaNMath v1.1.3 [71a1bf82] NameResolution v0.1.5 [0b1bfda6] OneHotArrays v0.2.10 ⌅ [3bd65402] Optimisers v0.3.4 [bac558e1] OrderedCollections v1.8.1 [570af359] PartialFunctions v1.2.1 [aea7be01] PrecompileTools v1.3.2 [21216c6a] Preferences v1.4.3 [8162dcfd] PrettyPrint v0.2.0 [33c8b6b6] ProgressLogging v0.1.5 [43287f4e] PtrArrays v1.3.0 [c1ae055f] RealDot v0.1.0 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [7e506255] ScopedValues v1.3.0 [efcf1570] Setfield v1.1.2 [605ecd9f] ShowCases v0.1.0 [699a6c99] SimpleTraits v0.9.4 [a2af1166] SortingAlgorithms v1.2.1 [dc90abb0] SparseInverseSubset v0.1.2 [276daf66] SpecialFunctions v2.5.1 [171d559e] SplittablesBase v0.1.15 [90137ffa] StaticArrays v1.9.13 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.1 [2913bbd2] StatsBase v0.34.5 [09ab397b] StructArrays v0.7.1 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.1 [6a2ea274] Torch v0.1.3 [3bb67fe8] TranscodingStreams v0.11.3 [28d57a85] Transducers v0.4.84 [013be700] UnsafeAtomics v0.3.0 ⌅ [e88e6eb3] Zygote v0.6.77 [700de1a5] ZygoteRules v0.2.7 ⌅ [48a17e46] CPUInfo_jll v0.0.20201217+0 [4ee394cb] CUDA_Driver_jll v12.9.0+0 [76a88914] CUDA_Runtime_jll v0.18.0+0 ⌅ [62b44479] CUDNN_jll v8.9.7+0 [5909ec93] Gloo_jll v0.0.20210521+0 [51474c39] LAPACK_jll v3.12.0+3 [dad2f222] LLVMExtra_jll v0.0.37+2 [e98f9f5b] NVTX_jll v3.2.1+0 [656ef2d0] OpenBLAS32_jll v0.3.29+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [a74eb8f4] PThreadPool_jll v0.0.20210414+0 [63e82ce6] SLEEF_jll v3.7.0+0 [dc5d5603] TorchCAPI_jll v0.2.0+0 [c12fb04c] Torch_jll v1.10.2+1 [55708af3] XNNPACK_jll v0.0.20210622+0 ⌅ [c7845625] protoc_jll v3.13.0+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.11.0 [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching v1.11.0 [9fa8497b] Future v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [4af54fe1] LazyArtifacts v1.11.0 [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.12.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.13.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.12.0 [f489334b] StyledStrings v1.11.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [781609d7] GMP_jll v6.3.0+2 [deac9b47] LibCURL_jll v8.11.1+1 [e37daf67] LibGit2_jll v1.9.0+0 [29816b5a] LibSSH2_jll v1.11.3+1 [3a97d323] MPFR_jll v4.2.2+0 [14a3606d] MozillaCACerts_jll v2025.5.20 [4536629a] OpenBLAS_jll v0.3.29+0 [05823500] OpenLibm_jll v0.8.5+0 [458c3c95] OpenSSL_jll v3.5.1+0 [bea87d4a] SuiteSparse_jll v7.8.3+2 [83775a58] Zlib_jll v1.3.1+2 [8e850b90] libblastrampoline_jll v5.13.1+0 [8e850ede] nghttp2_jll v1.64.0+1 [3f19e933] p7zip_jll v17.5.0+2 Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. Testing Running tests... Precompiling packages... Info Given Torch was explicitly requested, output will be shown live  ERROR: LoadError: UndefVarError: `libtorch_c_api` not defined in `Torch.Wrapper` Suggestion: check for spelling errors or missing imports. Stacktrace:  [1] at_grad_set_enabled(arg1::Base.RefValue{Int32}, arg2::Int64)  @ Torch.Wrapper ~/.julia/packages/Torch/QTrgw/src/wrapper.jl:15  [2] top-level scope  @ ~/.julia/packages/Torch/QTrgw/src/tensor.jl:8  [3] include(mapexpr::Function, mod::Module, _path::String)  @ Base ./Base.jl:306  [4] top-level scope  @ ~/.julia/packages/Torch/QTrgw/src/Torch.jl:24  [5] include(mod::Module, _path::String)  @ Base ./Base.jl:305  [6] 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:2991  [7] top-level scope  @ stdin:5  [8] eval(m::Module, e::Any)  @ Core ./boot.jl:489  [9] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)  @ Base ./loading.jl:2837  [10] include_string  @ ./loading.jl:2847 [inlined]  [11] exec_options(opts::Base.JLOptions)  @ Base ./client.jl:319  [12] _start()  @ Base ./client.jl:554 in expression starting at /home/pkgeval/.julia/packages/Torch/QTrgw/src/tensor.jl:7 in expression starting at /home/pkgeval/.julia/packages/Torch/QTrgw/src/Torch.jl:1 in expression starting at stdin:5 ✗ Torch 0 dependencies successfully precompiled in 19 seconds. 71 already precompiled. Torch: Error During Test at /home/pkgeval/.julia/packages/Torch/QTrgw/test/runtests.jl:3 Got exception outside of a @test LoadError: The following 1 direct dependency failed to precompile: Torch Failed to precompile Torch [6a2ea274-3061-11ea-0d63-ff850051a295] to "/home/pkgeval/.julia/compiled/v1.12/Torch/jl_UALUOz". ERROR: LoadError: UndefVarError: `libtorch_c_api` not defined in `Torch.Wrapper` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] at_grad_set_enabled(arg1::Base.RefValue{Int32}, arg2::Int64) @ Torch.Wrapper ~/.julia/packages/Torch/QTrgw/src/wrapper.jl:15 [2] top-level scope @ ~/.julia/packages/Torch/QTrgw/src/tensor.jl:8 [3] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [4] top-level scope @ ~/.julia/packages/Torch/QTrgw/src/Torch.jl:24 [5] include(mod::Module, _path::String) @ Base ./Base.jl:305 [6] 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:2991 [7] top-level scope @ stdin:5 [8] eval(m::Module, e::Any) @ Core ./boot.jl:489 [9] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base ./loading.jl:2837 [10] include_string @ ./loading.jl:2847 [inlined] [11] exec_options(opts::Base.JLOptions) @ Base ./client.jl:319 [12] _start() @ Base ./client.jl:554 in expression starting at /home/pkgeval/.julia/packages/Torch/QTrgw/src/tensor.jl:7 in expression starting at /home/pkgeval/.julia/packages/Torch/QTrgw/src/Torch.jl:1 in expression starting at stdin: in expression starting at /home/pkgeval/.julia/packages/Torch/QTrgw/test/flux_tests.jl:4 Test Summary: | Error Total Time Torch | 1 1 33.3s RNG of the outermost testset: Random.Xoshiro(0x458d0cf592df6b17, 0x7c0786bed60175b6, 0x1b028bf7f75c3dd6, 0xc99e358f749b0485, 0xc403d3f619ee210a) ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/Torch/QTrgw/test/runtests.jl:3 Testing failed after 87.17s ERROR: LoadError: Package Torch errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:2458 [3] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:2313 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:511 [5] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:164 [6] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:152 [7] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:152 [inlined] [8] #test#81 @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:151 [inlined] [9] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 [10] include(mod::Module, _path::String) @ Base ./Base.jl:305 [11] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [12] _start() @ Base ./client.jl:554 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 361.13s: package fails to precompile