Package evaluation to test MicroMagnetic on Julia 1.14.0-DEV.24 (d5fb6bbb43*) started at 2025-11-02T18:13:11.359 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 7.59s ################################################################################ # Installation # Installing MicroMagnetic... Resolving package versions... Installed MicroMagnetic ─ v0.4.0 Updating `~/.julia/environments/v1.14/Project.toml` [cef16ca0] + MicroMagnetic v0.4.0 Updating `~/.julia/environments/v1.14/Manifest.toml` [621f4979] + AbstractFFTs v1.5.0 [79e6a3ab] + Adapt v4.4.0 [a9b6321e] + Atomix v1.1.2 [944b1d66] + CodecZlib v0.7.8 [b4f34e82] + Distances v0.10.12 [e2ba6199] + ExprTools v0.1.10 [7a1cc6ca] + FFTW v1.10.0 [1a297f60] + FillArrays v1.14.0 [692b3bcd] + JLLWrappers v1.7.1 [63c18a36] + KernelAbstractions v0.9.38 [9c8b4983] + LightXML v0.9.3 [1914dd2f] + MacroTools v0.5.16 [cef16ca0] + MicroMagnetic v0.4.0 [b8a86587] + NearestNeighbors v0.4.22 [d57be0ce] + PoissonDiskSampling v0.11.1 [aea7be01] + PrecompileTools v1.3.3 [21216c6a] + Preferences v1.5.0 [dc215faf] + ReadVTK v0.2.5 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [90137ffa] + StaticArrays v1.9.15 [1e83bf80] + StaticArraysCore v1.4.4 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.7.1 [a759f4b9] + TimerOutputs v0.5.29 [3bb67fe8] + TranscodingStreams v0.11.3 [013be700] + UnsafeAtomics v0.3.0 [4004b06d] + VTKBase v1.0.1 [64499a7a] + WriteVTK v1.21.2 [f5851436] + FFTW_jll v3.3.11+0 [1d5cc7b8] + IntelOpenMP_jll v2025.2.0+0 [94ce4f54] + Libiconv_jll v1.18.0+0 [856f044c] + MKL_jll v2025.2.0+0 [02c8fc9c] + XML2_jll v2.15.1+0 [1317d2d5] + oneTBB_jll v2022.0.0+1 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [f43a241f] + Downloads v1.7.0 [7b1f6079] + FileWatching v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.12.0 [4af54fe1] + LazyArtifacts v1.11.0 [b27032c2] + LibCURL v1.0.0 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.13.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 v1.0.0 [9e88b42a] + Serialization v1.11.0 [2f01184e] + SparseArrays v1.13.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 [deac9b47] + LibCURL_jll v8.16.0+0 [e37daf67] + LibGit2_jll v1.9.1+0 [29816b5a] + LibSSH2_jll v1.11.3+1 [14a3606d] + MozillaCACerts_jll v2025.9.9 [4536629a] + OpenBLAS_jll v0.3.29+0 [458c3c95] + OpenSSL_jll v3.5.4+0 [efcefdf7] + PCRE2_jll v10.47.0+0 [bea87d4a] + SuiteSparse_jll v7.10.1+0 [83775a58] + Zlib_jll v1.3.1+2 [3161d3a3] + Zstd_jll v1.5.7+1 [8e850b90] + libblastrampoline_jll v5.15.0+0 [8e850ede] + nghttp2_jll v1.67.1+0 [3f19e933] + p7zip_jll v17.6.0+0 Installation completed after 4.49s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... ┌ Error: Failed to use TestEnv.jl; test dependencies will not be precompiled │ exception = │ UndefVarError: `project_rel_path` not defined in `TestEnv` │ Suggestion: this global was defined as `Pkg.Operations.project_rel_path` but not assigned a value. │ Stacktrace: │ [1] get_test_dir(ctx::Pkg.Types.Context, pkgspec::PackageSpec) │ @ TestEnv ~/.julia/packages/TestEnv/nGMfF/src/julia-1.11/common.jl:75 │ [2] test_dir_has_project_file │ @ ~/.julia/packages/TestEnv/nGMfF/src/julia-1.11/common.jl:52 [inlined] │ [3] maybe_gen_project_override! │ @ ~/.julia/packages/TestEnv/nGMfF/src/julia-1.11/common.jl:83 [inlined] │ [4] activate(pkg::String; allow_reresolve::Bool) │ @ TestEnv ~/.julia/packages/TestEnv/nGMfF/src/julia-1.11/activate_set.jl:12 │ [5] activate(pkg::String) │ @ TestEnv ~/.julia/packages/TestEnv/nGMfF/src/julia-1.11/activate_set.jl:9 │ [6] top-level scope │ @ /PkgEval.jl/scripts/precompile.jl:24 │ [7] include(mod::Module, _path::String) │ @ Base ./Base.jl:309 │ [8] exec_options(opts::Base.JLOptions) │ @ Base ./client.jl:344 │ [9] _start() │ @ Base ./client.jl:577 └ @ Main /PkgEval.jl/scripts/precompile.jl:26 Precompiling package dependencies... Precompiling packages... 1315.1 ms ✓ ReadVTK 11414.0 ms ✓ MicroMagnetic 2 dependencies successfully precompiled in 13 seconds. 74 already precompiled. Precompilation completed after 23.44s ################################################################################ # Testing # Testing MicroMagnetic Status `/tmp/jl_H2ze1Q/Project.toml` [8bb1440f] DelimitedFiles v1.9.1 [7da242da] Enzyme v0.13.96 [7a1cc6ca] FFTW v1.10.0 [63c18a36] KernelAbstractions v0.9.38 [cef16ca0] MicroMagnetic v0.4.0 [15e1cf62] NPZ v0.4.3 [b8a86587] NearestNeighbors v0.4.22 [d57be0ce] PoissonDiskSampling v0.11.1 [dc215faf] ReadVTK v0.2.5 [90137ffa] StaticArrays v1.9.15 [a759f4b9] TimerOutputs v0.5.29 [64499a7a] WriteVTK v1.21.2 [37e2e46d] LinearAlgebra v1.13.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [2f01184e] SparseArrays v1.13.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_H2ze1Q/Manifest.toml` [621f4979] AbstractFFTs v1.5.0 [79e6a3ab] Adapt v4.4.0 [a9b6321e] Atomix v1.1.2 [fa961155] CEnum v0.5.0 [944b1d66] CodecZlib v0.7.8 [8bb1440f] DelimitedFiles v1.9.1 [b4f34e82] Distances v0.10.12 [7da242da] Enzyme v0.13.96 [f151be2c] EnzymeCore v0.8.15 [e2ba6199] ExprTools v0.1.10 [7a1cc6ca] FFTW v1.10.0 [5789e2e9] FileIO v1.17.1 [1a297f60] FillArrays v1.14.0 [61eb1bfa] GPUCompiler v1.7.2 [692b3bcd] JLLWrappers v1.7.1 [63c18a36] KernelAbstractions v0.9.38 [929cbde3] LLVM v9.4.4 [9c8b4983] LightXML v0.9.3 [1914dd2f] MacroTools v0.5.16 [cef16ca0] MicroMagnetic v0.4.0 [15e1cf62] NPZ v0.4.3 [b8a86587] NearestNeighbors v0.4.22 [d8793406] ObjectFile v0.5.0 [d57be0ce] PoissonDiskSampling v0.11.1 [aea7be01] PrecompileTools v1.3.3 [21216c6a] Preferences v1.5.0 [dc215faf] ReadVTK v0.2.5 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [6c6a2e73] Scratch v1.3.0 [90137ffa] StaticArrays v1.9.15 [1e83bf80] StaticArraysCore v1.4.4 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.1 [53d494c1] StructIO v0.3.1 [a759f4b9] TimerOutputs v0.5.29 [e689c965] Tracy v0.1.6 [3bb67fe8] TranscodingStreams v0.11.3 [013be700] UnsafeAtomics v0.3.0 [4004b06d] VTKBase v1.0.1 [64499a7a] WriteVTK v1.21.2 [a5390f91] ZipFile v0.10.1 [7cc45869] Enzyme_jll v0.0.207+0 [f5851436] FFTW_jll v3.3.11+0 [1d5cc7b8] IntelOpenMP_jll v2025.2.0+0 [dad2f222] LLVMExtra_jll v0.0.38+0 [ad6e5548] LibTracyClient_jll v0.9.1+6 [94ce4f54] Libiconv_jll v1.18.0+0 [856f044c] MKL_jll v2025.2.0+0 [02c8fc9c] XML2_jll v2.15.1+0 [1317d2d5] oneTBB_jll v2022.0.0+1 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [4af54fe1] LazyArtifacts v1.11.0 [b27032c2] LibCURL v1.0.0 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.13.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 v1.0.0 [9e88b42a] Serialization v1.11.0 [2f01184e] SparseArrays v1.13.0 [f489334b] StyledStrings v1.11.0 [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 [deac9b47] LibCURL_jll v8.16.0+0 [e37daf67] LibGit2_jll v1.9.1+0 [29816b5a] LibSSH2_jll v1.11.3+1 [14a3606d] MozillaCACerts_jll v2025.9.9 [4536629a] OpenBLAS_jll v0.3.29+0 [458c3c95] OpenSSL_jll v3.5.4+0 [efcefdf7] PCRE2_jll v10.47.0+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.1+2 [3161d3a3] Zstd_jll v1.5.7+1 [8e850b90] libblastrampoline_jll v5.15.0+0 [8e850ede] nghttp2_jll v1.67.1+0 [3f19e933] p7zip_jll v17.6.0+0 Testing Running tests... [ Info: Switch the backend to KernelAbstractions.CPU(false) Test Summary: | Pass Total Time Mesh CPU Float32 | 82 82 2.0s Test Summary: | Pass Total Time Mesh CPU Float64 | 82 82 0.0s [ Info: Switch the backend to KernelAbstractions.CPU(false) [ Info: MicroSim (FD) has been created. Test Summary: | Pass Total Time init_m0 CPU Float32 | 1 1 5.4s [ Info: MicroSim (FD) has been created. Test Summary: | Pass Total Time init_m0 CPU Float64 | 1 1 3.0s [ Info: Switch the backend to KernelAbstractions.CPU(false) Test Summary: | Pass Total Time Geometry CPU Float32 | 13 13 8.7s Test Summary: | Pass Total Time Geometry CPU Float64 | 13 13 3.4s [ Info: Switch the backend to KernelAbstractions.CPU(false) [ Info: MicroSim (FD) has been created. [ Info: Static Zeeman has been added. Test Summary: | Pass Total Time Zeeman CPU Float32 | 15 15 3.6s [ Info: MicroSim (FD) has been created. [ Info: Static Zeeman has been added. Test Summary: | Pass Total Time Zeeman CPU Float64 | 15 15 2.7s [ Info: Switch the backend to KernelAbstractions.CPU(false) [ Info: MicroSim (FD) has been created. [ Info: Uniaxial Anisotropy has been added. [ Info: MicroSim (FD) has been created. [ Info: Uniaxial Anisotropy has been added. [ Info: MicroSim (FD) has been created. [ Info: MicroSim (FD) has been created. Anisotropy CPU Float32: Error During Test at /home/pkgeval/.julia/packages/MicroMagnetic/Jqxpk/test/test_utils.jl:19 Got exception outside of a @test Taking the type of an opaque pointer is illegal Stacktrace: [1] error(s::String) @ Base ./error.jl:44 [2] eltype(typ::LLVM.PointerType) @ LLVM ~/.julia/packages/LLVM/iza6e/src/core/type.jl:293 [3] lower_convention(functy::Type, mod::LLVM.Module, entry_f::LLVM.Function, actualRetType::Type, RetActivity::Type, TT::Union{Nothing, Type}, run_enzyme::Bool, world::UInt64) @ Enzyme.Compiler ~/.julia/packages/Enzyme/rsnI8/src/compiler.jl:3773 [4] compile_unhooked(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/rsnI8/src/compiler.jl:4725 [5] compile(target::Symbol, job::GPUCompiler.CompilerJob; kwargs::@Kwargs{}) @ GPUCompiler ~/.julia/packages/GPUCompiler/Gp8bZ/src/driver.jl:67 [6] compile @ ~/.julia/packages/GPUCompiler/Gp8bZ/src/driver.jl:55 [inlined] [7] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/rsnI8/src/compiler.jl:5960 [8] _thunk @ ~/.julia/packages/Enzyme/rsnI8/src/compiler.jl:5958 [inlined] [9] cached_compilation @ ~/.julia/packages/Enzyme/rsnI8/src/compiler.jl:6015 [inlined] [10] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:Annotation}, A::Type{<:Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/rsnI8/src/compiler.jl:6131 [11] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/rsnI8/src/compiler.jl:6275 [12] autodiff @ ~/.julia/packages/Enzyme/rsnI8/src/Enzyme.jl:658 [inlined] [13] autodiff @ ~/.julia/packages/Enzyme/rsnI8/src/Enzyme.jl:542 [inlined] [14] macro expansion @ ~/.julia/packages/Enzyme/rsnI8/src/sugar.jl:683 [inlined] [15] gradient(::ForwardMode{false, FFIABI, false, false, false}, ::typeof(hexagonal_energy), ::Tuple{Float64, Float64, Float64}, ::Const{Float64}, ::Const{Float64}, ::Const{Float64}) @ Enzyme ~/.julia/packages/Enzyme/rsnI8/src/sugar.jl:585 [16] test_hex_anis() @ Main ~/.julia/packages/MicroMagnetic/Jqxpk/test/test_anis.jl:106 [17] macro expansion @ ~/.julia/packages/MicroMagnetic/Jqxpk/test/test_utils.jl:23 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] [19] test_functions(::String, ::Function, ::Vararg{Function}; platforms::Vector{String}, precisions::Vector{DataType}) @ Main ~/.julia/packages/MicroMagnetic/Jqxpk/test/test_utils.jl:21 [20] test_functions(::String, ::Function, ::Vararg{Function}) @ Main ~/.julia/packages/MicroMagnetic/Jqxpk/test/test_utils.jl:3 [21] top-level scope @ ~/.julia/packages/MicroMagnetic/Jqxpk/test/test_anis.jl:114 [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [23] top-level scope @ ~/.julia/packages/MicroMagnetic/Jqxpk/test/runtests.jl:8 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:489 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [28] _start() @ Base ./client.jl:577 Test Summary: | Pass Error Total Time Anisotropy CPU Float32 | 12 1 13 3m45.6s RNG of the outermost testset: Random.Xoshiro(0x2aded004156a808e, 0xe6e9791474fb6500, 0x8b190e6a0d116e39, 0x606546b1e8bd40af, 0x39dd723112e09b74) ERROR: LoadError: Some tests did not pass: 12 passed, 0 failed, 1 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/MicroMagnetic/Jqxpk/test/test_anis.jl:114 in expression starting at /home/pkgeval/.julia/packages/MicroMagnetic/Jqxpk/test/runtests.jl:8 Testing failed after 361.04s ERROR: LoadError: Package MicroMagnetic errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/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.14/Pkg/src/Operations.jl:2936 [3] test @ /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Operations.jl:2785 [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.14/Pkg/src/API.jl:572 [5] kwcall(::@NamedTuple{julia_args::Cmd, io::IOContext{IO}}, ::typeof(Pkg.API.test), ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:548 [6] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:172 [7] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:161 [8] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:160 [9] test @ /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:160 [inlined] [10] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkg::String) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:159 [11] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 [12] include(mod::Module, _path::String) @ Base ./Base.jl:309 [13] exec_options(opts::Base.JLOptions) @ Base ./client.jl:344 [14] _start() @ Base ./client.jl:577 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 414.39s: package tests unexpectedly errored