Package evaluation to test QuadGK on Julia 1.12.4 (422f456051*) started at 2026-01-28T23:49:34.026 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.12` Set-up completed after 9.21s ################################################################################ # Installation # Installing QuadGK... Resolving package versions... Installed OrderedCollections ─ v1.8.1 Installed QuadGK ───────────── v2.11.2 Installed DataStructures ───── v0.19.3 Updating `~/.julia/environments/v1.12/Project.toml` [1fd47b50] + QuadGK v2.11.2 Updating `~/.julia/environments/v1.12/Manifest.toml` [864edb3b] + DataStructures v0.19.3 [bac558e1] + OrderedCollections v1.8.1 [1fd47b50] + QuadGK v2.11.2 [56f22d72] + Artifacts v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.12.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [4536629a] + OpenBLAS_jll v0.3.29+0 [8e850b90] + libblastrampoline_jll v5.15.0+0 Installation completed after 5.01s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling packages... 4497.9 ms ✓ TestEnv 1 dependency successfully precompiled in 5 seconds. 26 already precompiled. Precompiling package dependencies... Precompiling packages... 4134.1 ms ✓ OrderedCollections 904.1 ms ✓ StructIO 737.2 ms ✓ Reexport 1330.3 ms ✓ EnzymeCore 864.3 ms ✓ ExprTools 3543.0 ms ✓ CEnum 966.7 ms ✓ Scratch 1423.3 ms ✓ Preferences 3325.8 ms ✓ DataStructures 4982.5 ms ✓ ObjectFile 1357.2 ms ✓ PrecompileTools 1375.3 ms ✓ JLLWrappers 5259.2 ms ✓ QuadGK 5270.5 ms ✓ Enzyme_jll 1448.7 ms ✓ LibTracyClient_jll 4116.0 ms ✓ LLVMExtra_jll 2371.2 ms ✓ Tracy 17319.6 ms ✓ LLVM 58032.6 ms ✓ GPUCompiler 143574.3 ms ✓ Enzyme 25371.0 ms ✓ QuadGK → QuadGKEnzymeExt 21 dependencies successfully precompiled in 288 seconds. 32 already precompiled. 1 dependency had output during precompilation: ┌ QuadGK → QuadGKEnzymeExt │ ┌ Warning: Enzyme.jl support for Julia 1.12 is presently in progress. │ │ For the time being we recommend using 1.11 or LTS (1.10). │ │ │ │ For latest updates, check the status of support for Julia 1.12+ at │ │ https://github.com/EnzymeAD/Enzyme.jl/issues/2699. │ │ │ └ @ Enzyme ~/.julia/packages/Enzyme/Jkgzt/src/Enzyme.jl:1587 └ Precompilation completed after 324.39s ################################################################################ # Testing # Testing QuadGK Status `/tmp/jl_HwrijD/Project.toml` [7da242da] Enzyme v0.13.123 [1fd47b50] QuadGK v2.11.2 [37e2e46d] LinearAlgebra v1.12.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_HwrijD/Manifest.toml` [fa961155] CEnum v0.5.0 [864edb3b] DataStructures v0.19.3 [7da242da] Enzyme v0.13.123 [f151be2c] EnzymeCore v0.8.18 [e2ba6199] ExprTools v0.1.10 [61eb1bfa] GPUCompiler v1.8.2 [692b3bcd] JLLWrappers v1.7.1 [929cbde3] LLVM v9.4.4 [d8793406] ObjectFile v0.5.0 [bac558e1] OrderedCollections v1.8.1 [aea7be01] PrecompileTools v1.3.3 [21216c6a] Preferences v1.5.1 [1fd47b50] QuadGK v2.11.2 [189a3867] Reexport v1.2.2 [6c6a2e73] Scratch v1.3.0 [53d494c1] StructIO v0.3.1 [e689c965] Tracy v0.1.6 [7cc45869] Enzyme_jll v0.0.243+0 [dad2f222] LLVMExtra_jll v0.0.38+0 [ad6e5548] LibTracyClient_jll v0.13.1+0 [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 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.12.1 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [2f01184e] SparseArrays v1.12.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.15.0+0 [e37daf67] LibGit2_jll v1.9.0+0 [29816b5a] LibSSH2_jll v1.11.3+1 [14a3606d] MozillaCACerts_jll v2025.11.4 [4536629a] OpenBLAS_jll v0.3.29+0 [458c3c95] OpenSSL_jll v3.5.4+0 [bea87d4a] SuiteSparse_jll v7.8.3+2 [83775a58] Zlib_jll v1.3.1+2 [8e850b90] libblastrampoline_jll v5.15.0+0 [8e850ede] nghttp2_jll v1.64.0+1 [3f19e933] p7zip_jll v17.7.0+0 Testing Running tests... Test Summary: | Pass Total Time quadgk | 14 14 27.0s Test Summary: | Pass Total Time inference | 6 6 5.6s Test Summary: | Pass Total Time gauss | 14 14 18.9s Test Summary: | Pass Total Time kronrod | 105 105 22.5s Test Summary: | Pass Total Time HollowSymTridiagonal | 20 20 4.7s Test Summary: | Pass Total Time inplace | 5 5 24.9s Test Summary: | Pass Total Time inplace Inf | 3 3 11.6s Test Summary: | Pass Total Time segbuf | 3 3 1.6s Test Summary: | Pass Total Time quadgk_count and quadgk_print | 4 4 1.5s Test Summary: | Pass Total Time batch | 44 44 2.3s Test Summary: | Pass Total Time batch Inf | 3 3 6.2s Test Summary: | Pass Total Time issue 89 | 1 1 0.6s Test Summary: | Pass Total Time issue 86 | 3 3 16.0s Test Summary: | Pass Total Time eval_segbuf | 62 62 43.8s Enzyme: Error During Test at /home/pkgeval/.julia/packages/QuadGK/7rND3/test/runtests.jl:471 Test threw exception Expression: (0.3 * cos(0.3) - sin(0.3)) / (0.3 * 0.3) ≈ ((Enzyme.autodiff(Reverse, f3, Active(0.3)))[1])[1] MethodError: no method matching active_reg_inner(::Type{QuadGKEnzymeExt.ClosureVector{var"#f3##0#f3##1"{Float64}}}, ::Tuple{}, ::Nothing) The function `active_reg_inner` exists, but no method is defined for this combination of argument types. Closest candidates are: active_reg_inner(::Type, !Matched::IdSet{Type}, !Matched::UInt64, !Matched::Bool, !Matched::Bool, !Matched::Bool) @ Enzyme ~/.julia/packages/Enzyme/Jkgzt/src/analyses/activity.jl:131 Stacktrace: [1] guaranteed_nonactive @ ~/.julia/packages/QuadGK/7rND3/ext/QuadGKEnzymeExt.jl:66 [inlined] [2] recursive_add @ ~/.julia/packages/Enzyme/Jkgzt/src/typeutils/recursive_add.jl:9 [inlined] [3] *(a::Float64, b::QuadGKEnzymeExt.ClosureVector{var"#f3##0#f3##1"{Float64}}) @ QuadGKEnzymeExt ~/.julia/packages/QuadGK/7rND3/ext/QuadGKEnzymeExt.jl:80 [4] *(a::QuadGKEnzymeExt.ClosureVector{var"#f3##0#f3##1"{Float64}}, b::Float64) @ QuadGKEnzymeExt ~/.julia/packages/QuadGK/7rND3/ext/QuadGKEnzymeExt.jl:84 [5] evalrule(f::QuadGKEnzymeExt.var"#19#20"{Active{Tuple{Float64, Float64}}, Active{var"#f3##0#f3##1"{Float64}}, Enzyme.Compiler.AdjointThunk{Ptr{Nothing}, Const{typeof(QuadGKEnzymeExt.call)}, Active{Float64}, Tuple{Active{var"#f3##0#f3##1"{Float64}}, Const{Float64}}, 1, Nothing}, Enzyme.Compiler.AugmentedForwardThunk{Ptr{Nothing}, Const{typeof(QuadGKEnzymeExt.call)}, Active{Float64}, Tuple{Active{var"#f3##0#f3##1"{Float64}}, Const{Float64}}, 1, false, Nothing}}, a::Float64, b::Float64, x::Vector{Float64}, w::Vector{Float64}, wg::Vector{Float64}, nrm::QuadGKEnzymeExt.var"#23#24") @ QuadGK ~/.julia/packages/QuadGK/7rND3/src/evalrule.jl:26 [6] (::QuadGK.var"#do_quadgk##0#do_quadgk##1"{QuadGKEnzymeExt.var"#19#20"{Active{Tuple{Float64, Float64}}, Active{var"#f3##0#f3##1"{Float64}}, Enzyme.Compiler.AdjointThunk{Ptr{Nothing}, Const{typeof(QuadGKEnzymeExt.call)}, Active{Float64}, Tuple{Active{var"#f3##0#f3##1"{Float64}}, Const{Float64}}, 1, Nothing}, Enzyme.Compiler.AugmentedForwardThunk{Ptr{Nothing}, Const{typeof(QuadGKEnzymeExt.call)}, Active{Float64}, Tuple{Active{var"#f3##0#f3##1"{Float64}}, Const{Float64}}, 1, false, Nothing}}, QuadGKEnzymeExt.var"#23#24", Vector{Float64}, Vector{Float64}, Vector{Float64}})(seg::QuadGK.Segment{Float64, Float64, Float64}) @ QuadGK ~/.julia/packages/QuadGK/7rND3/src/adapt.jl:36 [7] iterate @ ./generator.jl:48 [inlined] [8] _collect @ ./array.jl:810 [inlined] [9] collect_similar @ ./array.jl:732 [inlined] [10] map @ ./abstractarray.jl:3372 [inlined] [11] do_quadgk(f::QuadGKEnzymeExt.var"#19#20"{Active{Tuple{Float64, Float64}}, Active{var"#f3##0#f3##1"{Float64}}, Enzyme.Compiler.AdjointThunk{Ptr{Nothing}, Const{typeof(QuadGKEnzymeExt.call)}, Active{Float64}, Tuple{Active{var"#f3##0#f3##1"{Float64}}, Const{Float64}}, 1, Nothing}, Enzyme.Compiler.AugmentedForwardThunk{Ptr{Nothing}, Const{typeof(QuadGKEnzymeExt.call)}, Active{Float64}, Tuple{Active{var"#f3##0#f3##1"{Float64}}, Const{Float64}}, 1, false, Nothing}}, s::Tuple{Float64, Float64}, n::Int64, atol::Nothing, rtol::Nothing, maxevals::Int64, nrm::QuadGKEnzymeExt.var"#23#24", _segbuf::Nothing, eval_segbuf::Vector{QuadGK.Segment{Float64, Float64, Float64}}) @ QuadGK ~/.julia/packages/QuadGK/7rND3/src/adapt.jl:35 [12] (::QuadGK.var"#28#29"{Nothing, Nothing, Int64, Int64, QuadGKEnzymeExt.var"#23#24", Nothing, Vector{QuadGK.Segment{Float64, Float64, Float64}}})(f::Function, s::Tuple{Float64, Float64}, ::Function) @ QuadGK ~/.julia/packages/QuadGK/7rND3/src/api.jl:83 [13] handle_infinities @ ~/.julia/packages/QuadGK/7rND3/src/adapt.jl:189 [inlined] [14] #quadgk#26 @ ~/.julia/packages/QuadGK/7rND3/src/api.jl:82 [inlined] [15] reverse(::EnzymeCore.EnzymeRules.RevConfigWidth{1, true, false, (false, false, false, false), false, false}, ::Const{typeof(quadgk)}, ::Active{Tuple{Float64, Float64}}, ::Tuple{Vector{QuadGK.Segment{Float64, Float64, Float64}}, Nothing}, ::Active{var"#f3##0#f3##1"{Float64}}, ::Const{Float64}, ::Vararg{Const{Float64}}; kws::@Kwargs{}) @ QuadGKEnzymeExt ~/.julia/packages/QuadGK/7rND3/ext/QuadGKEnzymeExt.jl:93 [16] macro expansion @ ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:6672 [inlined] [17] enzyme_call @ ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:6151 [inlined] [18] AdjointThunk @ ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:6067 [inlined] [19] macro expansion @ ~/.julia/packages/Enzyme/Jkgzt/src/rules/jitrules.jl:723 [inlined] [20] runtime_generic_rev(::Type{Val{(false, true, false, false)}}, ::Val{false}, ::Val{false}, ::Val{1}, ::Val{(true, true, true, true)}, ::Enzyme.Compiler.Tape{Tuple{@NamedTuple{var"1"}, Core.LLVMPtr{Nothing, 0}}, Base.RefValue{Tuple{Float64, Float64}}, Tuple{Float64, Float64}}, ::typeof(quadgk), ::Nothing, ::var"#f3##0#f3##1"{Float64}, ::Base.RefValue{var"#f3##0#f3##1"{Float64}}, ::Float64, ::Nothing, ::Float64, ::Nothing) @ Enzyme.Compiler ~/.julia/packages/Enzyme/Jkgzt/src/rules/jitrules.jl:763 [21] f3 @ ~/.julia/packages/QuadGK/7rND3/test/runtests.jl:460 [inlined] [22] diffejulia_f3_83185wrap @ ~/.julia/packages/QuadGK/7rND3/test/runtests.jl:0 [23] macro expansion @ ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:6672 [inlined] [24] enzyme_call @ ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:6151 [inlined] [25] CombinedAdjointThunk @ ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:6035 [inlined] [26] autodiff @ ~/.julia/packages/Enzyme/Jkgzt/src/Enzyme.jl:528 [inlined] [27] autodiff @ ~/.julia/packages/Enzyme/Jkgzt/src/Enzyme.jl:569 [inlined] [28] autodiff(mode::ReverseMode{false, false, false, FFIABI, false, false}, f::typeof(f3), args::Active{Float64}) @ Enzyme ~/.julia/packages/Enzyme/Jkgzt/src/Enzyme.jl:541 [29] top-level scope @ ~/.julia/packages/QuadGK/7rND3/test/runtests.jl:469 [30] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [31] macro expansion @ ~/.julia/packages/QuadGK/7rND3/test/runtests.jl:471 [inlined] [32] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:677 [inlined] Enzyme: Error During Test at /home/pkgeval/.julia/packages/QuadGK/7rND3/test/runtests.jl:475 Test threw exception Expression: (0.3 * cos(0.3) - sin(0.3)) / (0.3 * 0.3) ≈ ((Enzyme.autodiff(Reverse, f3_count, Active(0.3)))[1])[1] AssertionError: roots_activep (DFT_CONSTANT) != activep (DFT_DUP_ARG) arg.typ=QuadGK.Counter{var"#f3_count##0#f3_count##1"{Float64}} equivalent_rooted_type=@NamedTuple{var"1"::Base.RefValue{Int64}} non_rooted_types=Type[Float64] Stacktrace: [1] enzyme_custom_setup_args(B::Union{Nothing, LLVM.IRBuilder}, orig::LLVM.CallInst, gutils::Enzyme.Compiler.GradientUtils, mi::Core.MethodInstance, RT::Type, reverse::Bool, isKWCall::Bool, tape::Union{Nothing, LLVM.Value}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/Jkgzt/src/rules/customrules.jl:417 [2] aug_fwd_mi(orig::LLVM.CallInst, gutils::Enzyme.Compiler.GradientUtils, forward::Bool, B::LLVM.IRBuilder, tape::Nothing) @ Enzyme.Compiler ~/.julia/packages/Enzyme/Jkgzt/src/rules/customrules.jl:1268 [3] enzyme_custom_common_rev(forward::Bool, B::LLVM.IRBuilder, orig::LLVM.CallInst, gutils::Enzyme.Compiler.GradientUtils, normalR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}, shadowR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}, tape::Nothing) @ Enzyme.Compiler ~/.julia/packages/Enzyme/Jkgzt/src/rules/customrules.jl:1482 [4] enzyme_custom_augfwd @ ~/.julia/packages/Enzyme/Jkgzt/src/rules/customrules.jl:2369 [inlined] [5] enzyme_custom_augfwd_cfunc(B::Ptr{LLVM.API.LLVMOpaqueBuilder}, OrigCI::Ptr{LLVM.API.LLVMOpaqueValue}, gutils::Ptr{Nothing}, normalR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}, shadowR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}, tapeR::Ptr{Ptr{LLVM.API.LLVMOpaqueValue}}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/Jkgzt/src/rules/llvmrules.jl:18 [6] EnzymeCreatePrimalAndGradient(logic::Enzyme.Logic, todiff::LLVM.Function, retType::Enzyme.API.CDIFFE_TYPE, constant_args::Vector{Enzyme.API.CDIFFE_TYPE}, TA::Enzyme.TypeAnalysis, returnValue::Bool, dretUsed::Bool, mode::Enzyme.API.CDerivativeMode, runtimeActivity::Bool, strongZero::Bool, width::Int64, additionalArg::Ptr{Nothing}, forceAnonymousTape::Bool, typeInfo::Enzyme.FnTypeInfo, uncacheable_args::Vector{Bool}, augmented::Ptr{Nothing}, atomicAdd::Bool) @ Enzyme.API ~/.julia/packages/Enzyme/Jkgzt/src/api.jl:270 [7] macro expansion @ ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:2772 [inlined] [8] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/base.jl:97 [inlined] [9] enzyme!(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, interp::Enzyme.Compiler.Interpreter.EnzymeInterpreter{Nothing}, mod::LLVM.Module, primalf::LLVM.Function, TT::Type, mode::Enzyme.API.CDerivativeMode, width::Int64, parallel::Bool, actualRetType::Type, wrap::Bool, modifiedBetween::NTuple{N, Bool} where N, returnPrimal::Bool, expectedTapeType::Type, loweredArgs::Set{Int64}, boxedArgs::Set{Int64}, removedRoots::Set{Int64}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:2645 [10] compile_unhooked(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:5145 [11] compile(target::Symbol, job::GPUCompiler.CompilerJob; kwargs::@Kwargs{}) @ GPUCompiler ~/.julia/packages/GPUCompiler/OCZFZ/src/driver.jl:67 [12] compile @ ~/.julia/packages/GPUCompiler/OCZFZ/src/driver.jl:55 [inlined] [13] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:6745 [14] _thunk @ ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:6743 [inlined] [15] cached_compilation @ ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:6801 [inlined] [16] 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/Jkgzt/src/compiler.jl:6917 [17] 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/Jkgzt/src/compiler.jl:7061 [18] autodiff @ ~/.julia/packages/Enzyme/Jkgzt/src/Enzyme.jl:509 [inlined] [19] autodiff @ ~/.julia/packages/Enzyme/Jkgzt/src/Enzyme.jl:569 [inlined] [20] autodiff(mode::ReverseMode{false, false, false, FFIABI, false, false}, f::typeof(f3_count), args::Active{Float64}) @ Enzyme ~/.julia/packages/Enzyme/Jkgzt/src/Enzyme.jl:541 [21] top-level scope @ ~/.julia/packages/QuadGK/7rND3/test/runtests.jl:469 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [23] macro expansion @ ~/.julia/packages/QuadGK/7rND3/test/runtests.jl:475 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:677 [inlined] Enzyme: Test Failed at /home/pkgeval/.julia/packages/QuadGK/7rND3/test/runtests.jl:481 Expression: autodiff(Reverse, f_vec, Duplicated(x, dx)) Expected: Enzyme.Compiler.EnzymeRuntimeException Thrown: UndefVarError UndefVarError: `res` not defined in `QuadGKEnzymeExt` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] augmented_primal(::EnzymeCore.EnzymeRules.RevConfigWidth{1, true, true, (false, false, false, false), false, false}, ::Const{typeof(quadgk)}, ::Type{Duplicated{Tuple{Vector{Float64}, Float64}}}, ::Duplicated{var"#f_vec##0#f_vec##1"{Vector{Float64}}}, ::Const{Float64}, ::Vararg{Const{Float64}}; kws::@Kwargs{}) @ QuadGKEnzymeExt ~/.julia/packages/QuadGK/7rND3/ext/QuadGKEnzymeExt.jl:27 [2] macro expansion @ ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:6672 [inlined] [3] enzyme_call @ ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:6151 [inlined] [4] AugmentedForwardThunk @ ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:6099 [inlined] [5] macro expansion @ ~/.julia/packages/Enzyme/Jkgzt/src/rules/jitrules.jl:447 [inlined] [6] runtime_generic_augfwd(::Type{Val{(false, true, false, false)}}, ::Val{false}, ::Val{false}, ::Val{1}, ::Val{(true, true, true, true)}, ::Val{@NamedTuple{var"1", var"2", var"3"}}, ::typeof(quadgk), ::Nothing, ::var"#f_vec##0#f_vec##1"{Vector{Float64}}, ::var"#f_vec##0#f_vec##1"{Vector{Float64}}, ::Float64, ::Nothing, ::Float64, ::Nothing) @ Enzyme.Compiler ~/.julia/packages/Enzyme/Jkgzt/src/rules/jitrules.jl:574 [7] f_vec @ ~/.julia/packages/QuadGK/7rND3/test/runtests.jl:466 [inlined] [8] diffejulia_f_vec_97611wrap @ ~/.julia/packages/QuadGK/7rND3/test/runtests.jl:0 [9] macro expansion @ ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:6672 [inlined] [10] enzyme_call @ ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:6151 [inlined] [11] CombinedAdjointThunk @ ~/.julia/packages/Enzyme/Jkgzt/src/compiler.jl:6035 [inlined] [12] autodiff @ ~/.julia/packages/Enzyme/Jkgzt/src/Enzyme.jl:528 [inlined] [13] autodiff @ ~/.julia/packages/Enzyme/Jkgzt/src/Enzyme.jl:569 [inlined] [14] autodiff(mode::ReverseMode{false, false, false, FFIABI, false, false}, f::typeof(f_vec), args::Duplicated{Vector{Float64}}) @ Enzyme ~/.julia/packages/Enzyme/Jkgzt/src/Enzyme.jl:541 [15] top-level scope @ ~/.julia/packages/QuadGK/7rND3/test/runtests.jl:469 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [17] macro expansion @ ~/.julia/packages/QuadGK/7rND3/test/runtests.jl:481 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:774 [inlined] [19] macro expansion @ ~/.julia/packages/QuadGK/7rND3/test/runtests.jl:481 [inlined] Stacktrace: [1] top-level scope @ ~/.julia/packages/QuadGK/7rND3/test/runtests.jl:469 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [3] macro expansion @ ~/.julia/packages/QuadGK/7rND3/test/runtests.jl:481 [inlined] Test Summary: | Pass Fail Error Total Time Enzyme | 4 1 2 7 11m16.2s RNG of the outermost testset: Random.Xoshiro(0x4ef7467e312c3221, 0xb2a390347c82e58e, 0xa4d48f2660395fce, 0x53a6ec6d69856dce, 0xe89939d96a79c273) ERROR: LoadError: Some tests did not pass: 4 passed, 1 failed, 2 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/QuadGK/7rND3/test/runtests.jl:456 Testing failed after 907.97s ERROR: LoadError: Package QuadGK 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:2535 [3] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:2384 [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:538 [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:169 [6] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:157 [7] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:157 [inlined] [8] #test#81 @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:156 [inlined] [9] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:223 [10] include(mod::Module, _path::String) @ Base ./Base.jl:306 [11] exec_options(opts::Base.JLOptions) @ Base ./client.jl:317 [12] _start() @ Base ./client.jl:550 in expression starting at /PkgEval.jl/scripts/evaluate.jl:214 PkgEval failed after 1269.29s: package tests unexpectedly errored