Package evaluation of LineSearch on Julia 1.11.4 (a71dd056e0*) started at 2025-04-08T13:01:17.220 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.51s ################################################################################ # Installation # Installing LineSearch... Resolving package versions... Updating `~/.julia/environments/v1.11/Project.toml` [87fe0de2] + LineSearch v0.1.4 Updating `~/.julia/environments/v1.11/Manifest.toml` [47edcb42] + ADTypes v1.14.0 [7d9f7c33] + Accessors v0.1.42 [79e6a3ab] + Adapt v4.3.0 [4fba245c] + ArrayInterface v7.18.0 [38540f10] + CommonSolve v0.2.4 [a33af91c] + CompositionsBase v0.1.2 [2569d6c7] + ConcreteStructs v0.2.3 [187b0558] + ConstructionBase v1.5.8 [9a962f9c] + DataAPI v1.16.0 [e2d170a0] + DataValueInterfaces v1.0.0 [a0c0ee7d] + DifferentiationInterface v0.6.50 [ffbed154] + DocStringExtensions v0.9.4 [4e289a0a] + EnumX v1.0.5 [e2ba6199] + ExprTools v0.1.10 [55351af7] + ExproniconLite v0.10.14 [9aa1b823] + FastClosures v0.3.2 [069b7b12] + FunctionWrappers v1.1.3 [77dc65aa] + FunctionWrappersWrappers v0.1.3 [46192b85] + GPUArraysCore v0.2.0 [3587e190] + InverseFunctions v0.1.17 [82899510] + IteratorInterfaceExtensions v1.0.0 [ae98c720] + Jieko v0.2.1 [87fe0de2] + LineSearch v0.1.4 [1914dd2f] + MacroTools v0.5.15 [bb5d69b7] + MaybeInplace v0.1.4 [2e0e35c7] + Moshi v0.3.5 [bac558e1] + OrderedCollections v1.8.0 ⌅ [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [3cdcf5f2] + RecipesBase v1.3.4 [731186ca] + RecursiveArrayTools v3.31.2 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [7e49a35a] + RuntimeGeneratedFunctions v0.5.13 [0bca4576] + SciMLBase v2.82.1 [19f34311] + SciMLJacobianOperators v0.1.2 [c0aeaf25] + SciMLOperators v0.3.13 [53ae85a6] + SciMLStructures v1.7.0 [1e83bf80] + StaticArraysCore v1.4.3 [10745b16] + Statistics v1.11.1 [2efcf032] + SymbolicIndexingInterface v0.3.38 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.0 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [8ba89e20] + Distributed v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.11.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.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 [fa267f1f] + TOML v1.0.3 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.1.1+0 [4536629a] + OpenBLAS_jll v0.3.27+1 [8e850b90] + libblastrampoline_jll v5.11.0+0 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 3.89s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 245.44s ################################################################################ # Testing # Testing LineSearch Status `/tmp/jl_TDKgxk/Project.toml` [47edcb42] ADTypes v1.14.0 [38540f10] CommonSolve v0.2.4 [2569d6c7] ConcreteStructs v0.2.3 [a0c0ee7d] DifferentiationInterface v0.6.50 [7da242da] Enzyme v0.13.35 [9aa1b823] FastClosures v0.3.2 [6a86dc24] FiniteDiff v2.27.0 ⌅ [f6369f11] ForwardDiff v0.10.38 [0e44f5e4] Hwloc v3.3.0 [87fe0de2] LineSearch v0.1.4 [d3d80556] LineSearches v7.3.0 [bb5d69b7] MaybeInplace v0.1.4 [b7050fa9] NonlinearProblemLibrary v0.1.2 [817f1d60] ReTestItems v1.31.0 [37e2e3b7] ReverseDiff v1.16.1 [0bca4576] SciMLBase v2.82.1 [19f34311] SciMLJacobianOperators v0.1.2 [1e83bf80] StaticArraysCore v1.4.3 [9f7883ad] Tracker v0.2.38 ⌅ [e88e6eb3] Zygote v0.6.76 [b77e0a4c] InteractiveUtils v1.11.0 [37e2e46d] LinearAlgebra v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_TDKgxk/Manifest.toml` [47edcb42] ADTypes v1.14.0 [621f4979] AbstractFFTs v1.5.0 [7d9f7c33] Accessors v0.1.42 [79e6a3ab] Adapt v4.3.0 [4fba245c] ArrayInterface v7.18.0 [a9b6321e] Atomix v1.1.1 [fa961155] CEnum v0.5.0 [082447d4] ChainRules v1.72.3 [d360d2e6] ChainRulesCore v1.25.1 [38540f10] CommonSolve v0.2.4 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.16.0 [a33af91c] CompositionsBase v0.1.2 [2569d6c7] ConcreteStructs v0.2.3 [187b0558] ConstructionBase v1.5.8 [9a962f9c] DataAPI v1.16.0 [e2d170a0] DataValueInterfaces v1.0.0 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [a0c0ee7d] DifferentiationInterface v0.6.50 [ffbed154] DocStringExtensions v0.9.4 [4e289a0a] EnumX v1.0.5 [7da242da] Enzyme v0.13.35 [f151be2c] EnzymeCore v0.8.8 [e2ba6199] ExprTools v0.1.10 [55351af7] ExproniconLite v0.10.14 [9aa1b823] FastClosures v0.3.2 [1a297f60] FillArrays v1.13.0 [6a86dc24] FiniteDiff v2.27.0 ⌅ [f6369f11] ForwardDiff v0.10.38 [069b7b12] FunctionWrappers v1.1.3 [77dc65aa] FunctionWrappersWrappers v0.1.3 [d9f16b24] Functors v0.5.2 [0c68f7d7] GPUArrays v11.2.2 [46192b85] GPUArraysCore v0.2.0 [61eb1bfa] GPUCompiler v1.3.2 [076d061b] HashArrayMappedTries v0.2.0 [0e44f5e4] Hwloc v3.3.0 [7869d1d1] IRTools v0.4.14 [3587e190] InverseFunctions v0.1.17 [92d709cd] IrrationalConstants v0.2.4 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.7.0 [ae98c720] Jieko v0.2.1 [63c18a36] KernelAbstractions v0.9.34 [929cbde3] LLVM v9.2.0 [87fe0de2] LineSearch v0.1.4 [d3d80556] LineSearches v7.3.0 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.15 [bb5d69b7] MaybeInplace v0.1.4 [2e0e35c7] Moshi v0.3.5 [d41bc354] NLSolversBase v7.9.1 [872c559c] NNlib v0.9.30 [77ba4419] NaNMath v1.1.3 [b7050fa9] NonlinearProblemLibrary v0.1.2 [d8793406] ObjectFile v0.4.4 [3bd65402] Optimisers v0.4.6 [bac558e1] OrderedCollections v1.8.0 [d96e819e] Parameters v0.12.3 ⌅ [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [817f1d60] ReTestItems v1.31.0 [c1ae055f] RealDot v0.1.0 [3cdcf5f2] RecipesBase v1.3.4 [731186ca] RecursiveArrayTools v3.31.2 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [37e2e3b7] ReverseDiff v1.16.1 [7e49a35a] RuntimeGeneratedFunctions v0.5.13 [0bca4576] SciMLBase v2.82.1 [19f34311] SciMLJacobianOperators v0.1.2 [c0aeaf25] SciMLOperators v0.3.13 [53ae85a6] SciMLStructures v1.7.0 [7e506255] ScopedValues v1.3.0 [6c6a2e73] Scratch v1.2.1 [efcf1570] Setfield v1.1.2 [dc90abb0] SparseInverseSubset v0.1.2 [276daf66] SpecialFunctions v2.5.0 [90137ffa] StaticArrays v1.9.13 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [09ab397b] StructArrays v0.7.1 [53d494c1] StructIO v0.3.1 [2efcf032] SymbolicIndexingInterface v0.3.38 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.0 [1e6cf692] TestEnv v1.102.0 [a759f4b9] TimerOutputs v0.5.28 [9f7883ad] Tracker v0.2.38 [3a884ed6] UnPack v1.0.2 [013be700] UnsafeAtomics v0.3.0 ⌅ [e88e6eb3] Zygote v0.6.76 [700de1a5] ZygoteRules v0.2.7 [7cc45869] Enzyme_jll v0.0.173+0 [e33a78d0] Hwloc_jll v2.12.0+0 [dad2f222] LLVMExtra_jll v0.0.35+0 [efe28fd5] OpenSpecFun_jll v0.5.6+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 [4af54fe1] LazyArtifacts v1.11.0 [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.11.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [ca575930] NetworkOptions v1.2.0 [44cfe95a] Pkg v1.11.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.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.1.1+0 [deac9b47] LibCURL_jll v8.6.0+0 [e37daf67] LibGit2_jll v1.7.2+0 [29816b5a] LibSSH2_jll v1.11.0+1 [c8ffd9c3] MbedTLS_jll v2.28.6+0 [14a3606d] MozillaCACerts_jll v2023.12.12 [4536629a] OpenBLAS_jll v0.3.27+1 [05823500] OpenLibm_jll v0.8.5+0 [bea87d4a] SuiteSparse_jll v7.7.0+0 [83775a58] Zlib_jll v1.2.13+1 [8e850b90] libblastrampoline_jll v5.11.0+0 [8e850ede] nghttp2_jll v1.59.0+0 [3f19e933] p7zip_jll v17.4.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... ┌ Info: Julia Version 1.11.4 │ Commit a71dd056e0* (2025-04-07 13:42 UTC) │ Platform Info: │ OS: Linux (x86_64-linux-gnu) │ CPU: 128 × AMD EPYC 7502 32-Core Processor │ WORD_SIZE: 64 │ LLVM: libLLVM-16.0.6 (ORCJIT, znver2) │ Threads: 1 default, 0 interactive, 1 GC (on 1 virtual cores) │ Environment: │ JULIA_CPU_THREADS = 1 │ JULIA_NUM_PRECOMPILE_TASKS = 1 │ JULIA_PKG_PRECOMPILE_AUTO = 0 │ JULIA_PKGEVAL = true │ JULIA_DEPOT_PATH = /home/pkgeval/.julia:/usr/local/share/julia: │ JULIA_NUM_THREADS = 1 └ JULIA_LOAD_PATH = @:/tmp/jl_TDKgxk [ Info: Running tests for group: all with 1 workers [ Info: Scanning for test items in project `LineSearch` at paths: /home/pkgeval/.julia/packages/LineSearch/Ky1ZB [ Info: Finished scanning for test items in 5.35 seconds. Scheduling 4 tests on pid 119 with 1 worker processes and 1 threads per worker. [ Info: Starting test workers Worker 123: [ Info: Starting test worker 1 on pid = 123, with 1 threads [ Info: Starting running test items Worker 123: 13:06:39 | maxrss 1.5% | mem 4.1% | START (1/4) test item "LineSearches.jl: Custom Optimizer" at test/custom_optimizer_tests.jl:51 Worker 123: 13:26:54 | maxrss 3.5% | mem 7.4% | DONE (1/4) test item "LineSearches.jl: Custom Optimizer" 1196.5 secs (32.7% compile, <0.1% recompile, 0.3% GC), 162.40 M allocs (8.767 GB) Worker 123: 13:26:55 | maxrss 3.5% | mem 7.4% | START (2/4) test item "Native Line Search: Custom Optimizer" at test/custom_optimizer_tests.jl:103 Worker 123: 13:27:33 | maxrss 3.5% | mem 7.4% | DONE (2/4) test item "Native Line Search: Custom Optimizer" 38.0 secs (91.7% compile, 1.0% GC), 34.63 M allocs (1.500 GB) Worker 123: 13:27:33 | maxrss 3.5% | mem 7.4% | START (3/4) test item "LineSearches.jl: Newton Raphson" at test/root_finding_tests.jl:77 Worker 123: 13:30:13 | maxrss 4.1% | mem 7.9% | DONE (3/4) test item "LineSearches.jl: Newton Raphson" 158.5 secs (95.7% compile, 0.6% GC), 57.19 M allocs (3.120 GB) Captured Logs for test item "LineSearches.jl: Newton Raphson" at test/root_finding_tests.jl:77 on worker 123 ┌ Warning: TODO forward zero-set of memorycopy used memset rather than runtime type │ Caused by: │ Stacktrace: │ [1] copy │ @ ./array.jl:350 │ [2] unaliascopy │ @ ./abstractarray.jl:1516 │ [3] unalias │ @ ./abstractarray.jl:1500 │ [4] broadcast_unalias │ @ ./broadcast.jl:946 │ [5] preprocess │ @ ./broadcast.jl:953 │ [6] preprocess_args │ @ ./broadcast.jl:956 │ [7] preprocess_args │ @ ./broadcast.jl:955 │ [8] preprocess │ @ ./broadcast.jl:952 │ [9] override_bc_copyto! │ @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 │ [10] copyto! │ @ ./broadcast.jl:925 │ [11] copy │ @ ./broadcast.jl:897 │ [12] materialize │ @ ./broadcast.jl:872 │ [13] nlf │ @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:82 └ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/2MI6e/src/utils.jl:61 ┌ Warning: TODO forward zero-set of memorycopy used memset rather than runtime type │ Caused by: │ Stacktrace: │ [1] copy │ @ ./array.jl:350 │ [2] unaliascopy │ @ ./abstractarray.jl:1516 │ [3] unalias │ @ ./abstractarray.jl:1500 │ [4] broadcast_unalias │ @ ./broadcast.jl:946 │ [5] preprocess │ @ ./broadcast.jl:953 │ [6] preprocess_args │ @ ./broadcast.jl:956 │ [7] preprocess_args │ @ ./broadcast.jl:955 │ [8] preprocess │ @ ./broadcast.jl:952 │ [9] override_bc_copyto! │ @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 │ [10] copyto! │ @ ./broadcast.jl:925 │ [11] copy │ @ ./broadcast.jl:897 │ [12] materialize │ @ ./broadcast.jl:872 │ [13] nlf │ @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:82 └ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/2MI6e/src/utils.jl:61 ┌ Warning: TODO forward zero-set of memorycopy used memset rather than runtime type │ Caused by: │ Stacktrace: │ [1] copy │ @ ./array.jl:350 │ [2] unaliascopy │ @ ./abstractarray.jl:1516 │ [3] unalias │ @ ./abstractarray.jl:1500 │ [4] broadcast_unalias │ @ ./broadcast.jl:946 │ [5] preprocess │ @ ./broadcast.jl:953 │ [6] preprocess_args │ @ ./broadcast.jl:956 │ [7] preprocess_args │ @ ./broadcast.jl:955 │ [8] preprocess │ @ ./broadcast.jl:952 │ [9] override_bc_copyto! │ @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 │ [10] copyto! │ @ ./broadcast.jl:925 │ [11] copy │ @ ./broadcast.jl:897 │ [12] materialize │ @ ./broadcast.jl:872 │ [13] nlf │ @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:82 └ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/2MI6e/src/utils.jl:61 Illegal replace ficticious phi for: %_replacementA99 = phi {} addrspace(10)* , !dbg !170 of %87 = call nonnull "enzyme_type"="{[-1]:Pointer, [-1,0]:Integer, [-1,1]:Integer, [-1,2]:Integer, [-1,3]:Integer, [-1,4]:Integer, [-1,5]:Integer, [-1,6]:Integer, [-1,7]:Integer, [-1,8]:Pointer, [-1,8,-1]:Float@double}" {} addrspace(10)* @jl_genericmemory_copy_slice({} addrspace(10)* noundef %214, i64 %86, i64 %18) #31, !dbg !159 ┌ Warning: TODO forward zero-set of memorycopy used memset rather than runtime type │ Caused by: │ Stacktrace: │ [1] copy │ @ ./array.jl:350 │ [2] unaliascopy │ @ ./abstractarray.jl:1516 │ [3] unalias │ @ ./abstractarray.jl:1500 │ [4] broadcast_unalias │ @ ./broadcast.jl:946 │ [5] preprocess │ @ ./broadcast.jl:953 │ [6] preprocess_args │ @ ./broadcast.jl:956 │ [7] preprocess_args │ @ ./broadcast.jl:955 │ [8] preprocess │ @ ./broadcast.jl:952 │ [9] override_bc_copyto! │ @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 │ [10] copyto! │ @ ./broadcast.jl:925 │ [11] copy │ @ ./broadcast.jl:897 │ [12] materialize │ @ ./broadcast.jl:872 │ [13] nlf │ @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:82 └ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/2MI6e/src/utils.jl:61 Illegal replace ficticious phi for: %_replacementA99 = phi {} addrspace(10)* , !dbg !170 of %87 = call nonnull "enzyme_type"="{[-1]:Pointer, [-1,0]:Integer, [-1,1]:Integer, [-1,2]:Integer, [-1,3]:Integer, [-1,4]:Integer, [-1,5]:Integer, [-1,6]:Integer, [-1,7]:Integer, [-1,8]:Pointer, [-1,8,-1]:Float@double}" {} addrspace(10)* @jl_genericmemory_copy_slice({} addrspace(10)* noundef %214, i64 %86, i64 %18) #31, !dbg !159 ┌ Warning: TODO forward zero-set of memorycopy used memset rather than runtime type │ Caused by: │ Stacktrace: │ [1] copy │ @ ./array.jl:350 │ [2] unaliascopy │ @ ./abstractarray.jl:1516 │ [3] unalias │ @ ./abstractarray.jl:1500 │ [4] broadcast_unalias │ @ ./broadcast.jl:946 │ [5] preprocess │ @ ./broadcast.jl:953 │ [6] preprocess_args │ @ ./broadcast.jl:956 │ [7] preprocess_args │ @ ./broadcast.jl:955 │ [8] preprocess │ @ ./broadcast.jl:952 │ [9] override_bc_copyto! │ @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 │ [10] copyto! │ @ ./broadcast.jl:925 │ [11] copy │ @ ./broadcast.jl:897 │ [12] materialize │ @ ./broadcast.jl:872 │ [13] nlf │ @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:82 └ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/2MI6e/src/utils.jl:61 Illegal replace ficticious phi for: %_replacementA99 = phi {} addrspace(10)* , !dbg !170 of %87 = call nonnull "enzyme_type"="{[-1]:Pointer, [-1,0]:Integer, [-1,1]:Integer, [-1,2]:Integer, [-1,3]:Integer, [-1,4]:Integer, [-1,5]:Integer, [-1,6]:Integer, [-1,7]:Integer, [-1,8]:Pointer, [-1,8,-1]:Float@double}" {} addrspace(10)* @jl_genericmemory_copy_slice({} addrspace(10)* noundef %214, i64 %86, i64 %18) #31, !dbg !159 ┌ Warning: TODO forward zero-set of memorycopy used memset rather than runtime type │ Caused by: │ Stacktrace: │ [1] copy │ @ ./array.jl:350 │ [2] unaliascopy │ @ ./abstractarray.jl:1516 │ [3] unalias │ @ ./abstractarray.jl:1500 │ [4] broadcast_unalias │ @ ./broadcast.jl:946 │ [5] preprocess │ @ ./broadcast.jl:953 │ [6] preprocess_args │ @ ./broadcast.jl:956 │ [7] preprocess_args │ @ ./broadcast.jl:955 │ [8] preprocess │ @ ./broadcast.jl:952 │ [9] override_bc_copyto! │ @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 │ [10] copyto! │ @ ./broadcast.jl:925 │ [11] copy │ @ ./broadcast.jl:897 │ [12] materialize │ @ ./broadcast.jl:872 │ [13] nlf │ @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:82 └ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/2MI6e/src/utils.jl:61 Illegal replace ficticious phi for: %_replacementA99 = phi {} addrspace(10)* , !dbg !170 of %87 = call nonnull "enzyme_type"="{[-1]:Pointer, [-1,0]:Integer, [-1,1]:Integer, [-1,2]:Integer, [-1,3]:Integer, [-1,4]:Integer, [-1,5]:Integer, [-1,6]:Integer, [-1,7]:Integer, [-1,8]:Pointer, [-1,8,-1]:Float@double}" {} addrspace(10)* @jl_genericmemory_copy_slice({} addrspace(10)* noundef %214, i64 %86, i64 %18) #31, !dbg !159 ┌ Warning: TODO forward zero-set of memorycopy used memset rather than runtime type │ Caused by: │ Stacktrace: │ [1] copy │ @ ./array.jl:350 │ [2] unaliascopy │ @ ./abstractarray.jl:1516 │ [3] unalias │ @ ./abstractarray.jl:1500 │ [4] broadcast_unalias │ @ ./broadcast.jl:946 │ [5] preprocess │ @ ./broadcast.jl:953 │ [6] preprocess_args │ @ ./broadcast.jl:956 │ [7] preprocess_args │ @ ./broadcast.jl:955 │ [8] preprocess │ @ ./broadcast.jl:952 │ [9] override_bc_copyto! │ @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 │ [10] copyto! │ @ ./broadcast.jl:925 │ [11] copy │ @ ./broadcast.jl:897 │ [12] materialize │ @ ./broadcast.jl:872 │ [13] nlf │ @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:82 └ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/2MI6e/src/utils.jl:61 Illegal replace ficticious phi for: %_replacementA99 = phi {} addrspace(10)* , !dbg !170 of %87 = call nonnull "enzyme_type"="{[-1]:Pointer, [-1,0]:Integer, [-1,1]:Integer, [-1,2]:Integer, [-1,3]:Integer, [-1,4]:Integer, [-1,5]:Integer, [-1,6]:Integer, [-1,7]:Integer, [-1,8]:Pointer, [-1,8,-1]:Float@double}" {} addrspace(10)* @jl_genericmemory_copy_slice({} addrspace(10)* noundef %214, i64 %86, i64 %18) #31, !dbg !159 ┌ Warning: TODO forward zero-set of memorycopy used memset rather than runtime type │ Caused by: │ Stacktrace: │ [1] copy │ @ ./array.jl:350 │ [2] unaliascopy │ @ ./abstractarray.jl:1516 │ [3] unalias │ @ ./abstractarray.jl:1500 │ [4] broadcast_unalias │ @ ./broadcast.jl:946 │ [5] preprocess │ @ ./broadcast.jl:953 │ [6] preprocess_args │ @ ./broadcast.jl:956 │ [7] preprocess_args │ @ ./broadcast.jl:955 │ [8] preprocess │ @ ./broadcast.jl:952 │ [9] override_bc_copyto! │ @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 │ [10] copyto! │ @ ./broadcast.jl:925 │ [11] materialize! │ @ ./broadcast.jl:883 │ [12] materialize! │ @ ./broadcast.jl:880 │ [13] nlf │ @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:106 └ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/2MI6e/src/utils.jl:61 Error in testset "method: BackTracking" on worker 123: Error During Test at /home/pkgeval/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:89 Got exception outside of a @test Enzyme compilation failed due to an internal error. Please open an issue with the code to reproduce and full error log on github.com/EnzymeAD/Enzyme.jl To toggle more information for debugging (needed for bug reports), set Enzyme.Compiler.VERBOSE_ERRORS[] = true (default false) Stacktrace: [1] copy @ ./array.jl:350 [2] unaliascopy @ ./abstractarray.jl:1516 [3] unalias @ ./abstractarray.jl:1500 [4] broadcast_unalias @ ./broadcast.jl:946 [5] preprocess @ ./broadcast.jl:953 [6] preprocess_args @ ./broadcast.jl:956 [7] preprocess_args @ ./broadcast.jl:955 [8] preprocess @ ./broadcast.jl:952 [9] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [10] copyto! @ ./broadcast.jl:925 [11] copy @ ./broadcast.jl:897 [12] materialize @ ./broadcast.jl:872 [13] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:82 Stacktrace: [1] julia_error(msg::String, val::Ptr{LLVM.API.LLVMOpaqueValue}, errtype::Enzyme.API.ErrorType, data::Ptr{Nothing}, data2::Ptr{LLVM.API.LLVMOpaqueValue}, B::Ptr{LLVM.API.LLVMOpaqueBuilder}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/errors.jl:384 [2] julia_error(cstr::Cstring, val::Ptr{LLVM.API.LLVMOpaqueValue}, errtype::Enzyme.API.ErrorType, data::Ptr{Nothing}, data2::Ptr{LLVM.API.LLVMOpaqueValue}, B::Ptr{LLVM.API.LLVMOpaqueBuilder}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/errors.jl:210 [3] 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, width::Int64, additionalArg::Ptr{LLVM.API.LLVMOpaqueType}, forceAnonymousTape::Bool, typeInfo::Enzyme.FnTypeInfo, uncacheable_args::Vector{Bool}, augmented::Ptr{Nothing}, atomicAdd::Bool) @ Enzyme.API ~/.julia/packages/Enzyme/g1jMR/src/api.jl:269 [4] enzyme!(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}, 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}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:1707 [5] codegen(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}; libraries::Bool, deferred_codegen::Bool, optimize::Bool, toplevel::Bool, strip::Bool, validate::Bool, only_entry::Bool, parent_job::Nothing) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4655 [6] codegen @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:3441 [inlined] [7] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5515 [8] _thunk @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5515 [inlined] [9] cached_compilation @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5567 [inlined] [10] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.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, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5678 [11] thunk_generator(world::UInt64, source::LineNumberNode, 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, 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) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5863 [12] autodiff_thunk @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:975 [inlined] [13] seeded_autodiff_thunk(::EnzymeCore.ReverseModeSplit{true, true, false, 0, true, EnzymeCore.FFIABI, false, true, false}, ::Vector{Float64}, ::EnzymeCore.Const{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}}, ::Type{EnzymeCore.Duplicated{Vector{Float64}}}, ::EnzymeCore.Duplicated{Vector{Float64}}, ::EnzymeCore.Const{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:8 [14] value_and_pullback(f::SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, prep::DifferentiationInterfaceEnzymeExt.EnzymeReverseOneArgPullbackPrep{Nothing, Vector{Float64}}, backend::ADTypes.AutoEnzyme{Nothing, Nothing}, x::Vector{Float64}, ty::Tuple{Vector{Float64}}, contexts::DifferentiationInterface.Constant{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:85 [15] pullback @ ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:131 [inlined] [16] #10 @ ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:319 [inlined] [17] (::SciMLJacobianOperators.JacobianOperator{false, Float64, SciMLJacobianOperators.VJP, Nothing, SciMLJacobianOperators.var"#10#14"{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, DifferentiationInterfaceEnzymeExt.EnzymeReverseOneArgPullbackPrep{Nothing, Vector{Float64}}, ADTypes.AutoEnzyme{Nothing, Nothing}, Vector{Float64}}, Tuple{Int64, Int64}, Vector{Float64}, Vector{Float64}})(v::Vector{Float64}, u::Vector{Float64}, p::Vector{Float64}) @ SciMLJacobianOperators ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:143 [18] (::LineSearch.var"#4#6")(du::Vector{Float64}, u::Vector{Float64}, fu::Vector{Float64}, p::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/utils.jl:44 [19] #52 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:88 [inlined] [20] #58 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:102 [inlined] [21] solve!(cache::LineSearch.LineSearchesJLCache{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, LineSearch.var"#50#53"{typeof(+), typeof(*), Nothing}, LineSearch.var"#51#54"{typeof(+), typeof(*), Nothing}, LineSearch.var"#52#55"{typeof(+), typeof(*), Nothing}, LineSearches.BackTracking{Float64, Int64}, Float64, Float64, LineSearch.var"#4#6", Vector{Float64}, Vector{Float64}, Nothing, LineSearch.LineSearchesJL{LineSearches.BackTracking{Float64, Int64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}}, u::Vector{Float64}, du::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:105 [22] newton_raphson_oop(prob::SciMLBase.NonlinearProblem{Vector{Float64}, false, Vector{Float64}, SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.BackTracking{Float64, Int64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:33 [23] newton_raphson(prob::SciMLBase.NonlinearProblem{Vector{Float64}, false, Vector{Float64}, SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.BackTracking{Float64, Int64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:13 [24] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:97 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [26] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:89 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [28] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:85 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [30] top-level scope @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:82 [31] eval @ ./boot.jl:430 [inlined] [32] #96 @ ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [inlined] [33] with_source_path(f::ReTestItems.var"#96#100"{Expr}, path::String) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:914 [34] (::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr})() @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [35] redirect_stdio(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}; stdin::Nothing, stderr::IOContext{IOStream}, stdout::IOContext{IOStream}) @ Base ./stream.jl:1448 [36] redirect_stdio @ ./stream.jl:1411 [inlined] [37] _redirect_logs(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}, target::IOStream) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:124 [38] #31 @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [39] open(::ReTestItems.var"#31#32"{ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}}, ::String, ::Vararg{String}; kwargs::@Kwargs{}) @ Base ./io.jl:410 [40] open @ ./io.jl:407 [inlined] [41] _redirect_logs @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [42] macro expansion @ ~/.julia/packages/ReTestItems/Q6zs8/src/macros.jl:82 [inlined] [43] runtestitem(ti::TestItem, ctx::ReTestItems.TestContext; test_end_expr::Expr, logs::Symbol, verbose_results::Bool, finish_test::Bool, catch_test_error::Bool, failfast::Bool) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1093 [44] top-level scope @ none:1 [45] eval @ ./boot.jl:430 [inlined] [46] execute @ ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:334 [inlined] [47] (::ReTestItems.Workers.var"#22#23"{Sockets.TCPSocket, ReentrantLock, ReTestItems.Workers.Request})() @ ReTestItems.Workers ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:348 Error in testset "method: StrongWolfe" on worker 123: Error During Test at /home/pkgeval/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:89 Got exception outside of a @test Enzyme compilation failed due to an internal error. Please open an issue with the code to reproduce and full error log on github.com/EnzymeAD/Enzyme.jl To toggle more information for debugging (needed for bug reports), set Enzyme.Compiler.VERBOSE_ERRORS[] = true (default false) Stacktrace: [1] copy @ ./array.jl:350 [2] unaliascopy @ ./abstractarray.jl:1516 [3] unalias @ ./abstractarray.jl:1500 [4] broadcast_unalias @ ./broadcast.jl:946 [5] preprocess @ ./broadcast.jl:953 [6] preprocess_args @ ./broadcast.jl:956 [7] preprocess_args @ ./broadcast.jl:955 [8] preprocess @ ./broadcast.jl:952 [9] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [10] copyto! @ ./broadcast.jl:925 [11] copy @ ./broadcast.jl:897 [12] materialize @ ./broadcast.jl:872 [13] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:82 Stacktrace: [1] julia_error(msg::String, val::Ptr{LLVM.API.LLVMOpaqueValue}, errtype::Enzyme.API.ErrorType, data::Ptr{Nothing}, data2::Ptr{LLVM.API.LLVMOpaqueValue}, B::Ptr{LLVM.API.LLVMOpaqueBuilder}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/errors.jl:384 [2] julia_error(cstr::Cstring, val::Ptr{LLVM.API.LLVMOpaqueValue}, errtype::Enzyme.API.ErrorType, data::Ptr{Nothing}, data2::Ptr{LLVM.API.LLVMOpaqueValue}, B::Ptr{LLVM.API.LLVMOpaqueBuilder}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/errors.jl:210 [3] 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, width::Int64, additionalArg::Ptr{LLVM.API.LLVMOpaqueType}, forceAnonymousTape::Bool, typeInfo::Enzyme.FnTypeInfo, uncacheable_args::Vector{Bool}, augmented::Ptr{Nothing}, atomicAdd::Bool) @ Enzyme.API ~/.julia/packages/Enzyme/g1jMR/src/api.jl:269 [4] enzyme!(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}, 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}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:1707 [5] codegen(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}; libraries::Bool, deferred_codegen::Bool, optimize::Bool, toplevel::Bool, strip::Bool, validate::Bool, only_entry::Bool, parent_job::Nothing) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4655 [6] codegen @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:3441 [inlined] [7] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5515 [8] _thunk @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5515 [inlined] [9] cached_compilation @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5567 [inlined] [10] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.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, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5678 [11] thunk_generator(world::UInt64, source::LineNumberNode, 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, 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) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5863 [12] autodiff_thunk @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:975 [inlined] [13] seeded_autodiff_thunk(::EnzymeCore.ReverseModeSplit{true, true, false, 0, true, EnzymeCore.FFIABI, false, true, false}, ::Vector{Float64}, ::EnzymeCore.Const{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}}, ::Type{EnzymeCore.Duplicated{Vector{Float64}}}, ::EnzymeCore.Duplicated{Vector{Float64}}, ::EnzymeCore.Const{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:8 [14] value_and_pullback(f::SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, prep::DifferentiationInterfaceEnzymeExt.EnzymeReverseOneArgPullbackPrep{Nothing, Vector{Float64}}, backend::ADTypes.AutoEnzyme{Nothing, Nothing}, x::Vector{Float64}, ty::Tuple{Vector{Float64}}, contexts::DifferentiationInterface.Constant{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:85 [15] pullback @ ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:131 [inlined] [16] #10 @ ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:319 [inlined] [17] (::SciMLJacobianOperators.JacobianOperator{false, Float64, SciMLJacobianOperators.VJP, Nothing, SciMLJacobianOperators.var"#10#14"{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, DifferentiationInterfaceEnzymeExt.EnzymeReverseOneArgPullbackPrep{Nothing, Vector{Float64}}, ADTypes.AutoEnzyme{Nothing, Nothing}, Vector{Float64}}, Tuple{Int64, Int64}, Vector{Float64}, Vector{Float64}})(v::Vector{Float64}, u::Vector{Float64}, p::Vector{Float64}) @ SciMLJacobianOperators ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:143 [18] (::LineSearch.var"#4#6")(du::Vector{Float64}, u::Vector{Float64}, fu::Vector{Float64}, p::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/utils.jl:44 [19] #52 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:88 [inlined] [20] #58 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:102 [inlined] [21] solve!(cache::LineSearch.LineSearchesJLCache{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, LineSearch.var"#50#53"{typeof(+), typeof(*), Nothing}, LineSearch.var"#51#54"{typeof(+), typeof(*), Nothing}, LineSearch.var"#52#55"{typeof(+), typeof(*), Nothing}, LineSearches.StrongWolfe{Float64}, Float64, Float64, LineSearch.var"#4#6", Vector{Float64}, Vector{Float64}, Nothing, LineSearch.LineSearchesJL{LineSearches.StrongWolfe{Float64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}}, u::Vector{Float64}, du::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:105 [22] newton_raphson_oop(prob::SciMLBase.NonlinearProblem{Vector{Float64}, false, Vector{Float64}, SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.StrongWolfe{Float64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:33 [23] newton_raphson(prob::SciMLBase.NonlinearProblem{Vector{Float64}, false, Vector{Float64}, SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.StrongWolfe{Float64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:13 [24] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:97 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [26] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:89 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [28] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:85 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [30] top-level scope @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:82 [31] eval @ ./boot.jl:430 [inlined] [32] #96 @ ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [inlined] [33] with_source_path(f::ReTestItems.var"#96#100"{Expr}, path::String) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:914 [34] (::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr})() @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [35] redirect_stdio(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}; stdin::Nothing, stderr::IOContext{IOStream}, stdout::IOContext{IOStream}) @ Base ./stream.jl:1448 [36] redirect_stdio @ ./stream.jl:1411 [inlined] [37] _redirect_logs(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}, target::IOStream) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:124 [38] #31 @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [39] open(::ReTestItems.var"#31#32"{ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}}, ::String, ::Vararg{String}; kwargs::@Kwargs{}) @ Base ./io.jl:410 [40] open @ ./io.jl:407 [inlined] [41] _redirect_logs @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [42] macro expansion @ ~/.julia/packages/ReTestItems/Q6zs8/src/macros.jl:82 [inlined] [43] runtestitem(ti::TestItem, ctx::ReTestItems.TestContext; test_end_expr::Expr, logs::Symbol, verbose_results::Bool, finish_test::Bool, catch_test_error::Bool, failfast::Bool) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1093 [44] top-level scope @ none:1 [45] eval @ ./boot.jl:430 [inlined] [46] execute @ ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:334 [inlined] [47] (::ReTestItems.Workers.var"#22#23"{Sockets.TCPSocket, ReentrantLock, ReTestItems.Workers.Request})() @ ReTestItems.Workers ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:348 Error in testset "method: HagerZhang" on worker 123: Error During Test at /home/pkgeval/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:89 Got exception outside of a @test Enzyme compilation failed due to an internal error. Please open an issue with the code to reproduce and full error log on github.com/EnzymeAD/Enzyme.jl To toggle more information for debugging (needed for bug reports), set Enzyme.Compiler.VERBOSE_ERRORS[] = true (default false) Stacktrace: [1] copy @ ./array.jl:350 [2] unaliascopy @ ./abstractarray.jl:1516 [3] unalias @ ./abstractarray.jl:1500 [4] broadcast_unalias @ ./broadcast.jl:946 [5] preprocess @ ./broadcast.jl:953 [6] preprocess_args @ ./broadcast.jl:956 [7] preprocess_args @ ./broadcast.jl:955 [8] preprocess @ ./broadcast.jl:952 [9] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [10] copyto! @ ./broadcast.jl:925 [11] copy @ ./broadcast.jl:897 [12] materialize @ ./broadcast.jl:872 [13] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:82 Stacktrace: [1] julia_error(msg::String, val::Ptr{LLVM.API.LLVMOpaqueValue}, errtype::Enzyme.API.ErrorType, data::Ptr{Nothing}, data2::Ptr{LLVM.API.LLVMOpaqueValue}, B::Ptr{LLVM.API.LLVMOpaqueBuilder}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/errors.jl:384 [2] julia_error(cstr::Cstring, val::Ptr{LLVM.API.LLVMOpaqueValue}, errtype::Enzyme.API.ErrorType, data::Ptr{Nothing}, data2::Ptr{LLVM.API.LLVMOpaqueValue}, B::Ptr{LLVM.API.LLVMOpaqueBuilder}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/errors.jl:210 [3] 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, width::Int64, additionalArg::Ptr{LLVM.API.LLVMOpaqueType}, forceAnonymousTape::Bool, typeInfo::Enzyme.FnTypeInfo, uncacheable_args::Vector{Bool}, augmented::Ptr{Nothing}, atomicAdd::Bool) @ Enzyme.API ~/.julia/packages/Enzyme/g1jMR/src/api.jl:269 [4] enzyme!(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}, 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}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:1707 [5] codegen(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}; libraries::Bool, deferred_codegen::Bool, optimize::Bool, toplevel::Bool, strip::Bool, validate::Bool, only_entry::Bool, parent_job::Nothing) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4655 [6] codegen @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:3441 [inlined] [7] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5515 [8] _thunk @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5515 [inlined] [9] cached_compilation @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5567 [inlined] [10] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.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, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5678 [11] thunk_generator(world::UInt64, source::LineNumberNode, 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, 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) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5863 [12] autodiff_thunk @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:975 [inlined] [13] seeded_autodiff_thunk(::EnzymeCore.ReverseModeSplit{true, true, false, 0, true, EnzymeCore.FFIABI, false, true, false}, ::Vector{Float64}, ::EnzymeCore.Const{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}}, ::Type{EnzymeCore.Duplicated{Vector{Float64}}}, ::EnzymeCore.Duplicated{Vector{Float64}}, ::EnzymeCore.Const{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:8 [14] value_and_pullback(f::SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, prep::DifferentiationInterfaceEnzymeExt.EnzymeReverseOneArgPullbackPrep{Nothing, Vector{Float64}}, backend::ADTypes.AutoEnzyme{Nothing, Nothing}, x::Vector{Float64}, ty::Tuple{Vector{Float64}}, contexts::DifferentiationInterface.Constant{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:85 [15] pullback @ ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:131 [inlined] [16] #10 @ ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:319 [inlined] [17] (::SciMLJacobianOperators.JacobianOperator{false, Float64, SciMLJacobianOperators.VJP, Nothing, SciMLJacobianOperators.var"#10#14"{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, DifferentiationInterfaceEnzymeExt.EnzymeReverseOneArgPullbackPrep{Nothing, Vector{Float64}}, ADTypes.AutoEnzyme{Nothing, Nothing}, Vector{Float64}}, Tuple{Int64, Int64}, Vector{Float64}, Vector{Float64}})(v::Vector{Float64}, u::Vector{Float64}, p::Vector{Float64}) @ SciMLJacobianOperators ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:143 [18] (::LineSearch.var"#4#6")(du::Vector{Float64}, u::Vector{Float64}, fu::Vector{Float64}, p::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/utils.jl:44 [19] #52 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:88 [inlined] [20] #58 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:102 [inlined] [21] solve!(cache::LineSearch.LineSearchesJLCache{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, LineSearch.var"#50#53"{typeof(+), typeof(*), Nothing}, LineSearch.var"#51#54"{typeof(+), typeof(*), Nothing}, LineSearch.var"#52#55"{typeof(+), typeof(*), Nothing}, LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Float64, Float64, LineSearch.var"#4#6", Vector{Float64}, Vector{Float64}, Nothing, LineSearch.LineSearchesJL{LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}}, u::Vector{Float64}, du::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:105 [22] newton_raphson_oop(prob::SciMLBase.NonlinearProblem{Vector{Float64}, false, Vector{Float64}, SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:33 [23] newton_raphson(prob::SciMLBase.NonlinearProblem{Vector{Float64}, false, Vector{Float64}, SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:13 [24] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:97 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [26] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:89 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [28] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:85 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [30] top-level scope @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:82 [31] eval @ ./boot.jl:430 [inlined] [32] #96 @ ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [inlined] [33] with_source_path(f::ReTestItems.var"#96#100"{Expr}, path::String) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:914 [34] (::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr})() @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [35] redirect_stdio(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}; stdin::Nothing, stderr::IOContext{IOStream}, stdout::IOContext{IOStream}) @ Base ./stream.jl:1448 [36] redirect_stdio @ ./stream.jl:1411 [inlined] [37] _redirect_logs(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}, target::IOStream) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:124 [38] #31 @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [39] open(::ReTestItems.var"#31#32"{ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}}, ::String, ::Vararg{String}; kwargs::@Kwargs{}) @ Base ./io.jl:410 [40] open @ ./io.jl:407 [inlined] [41] _redirect_logs @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [42] macro expansion @ ~/.julia/packages/ReTestItems/Q6zs8/src/macros.jl:82 [inlined] [43] runtestitem(ti::TestItem, ctx::ReTestItems.TestContext; test_end_expr::Expr, logs::Symbol, verbose_results::Bool, finish_test::Bool, catch_test_error::Bool, failfast::Bool) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1093 [44] top-level scope @ none:1 [45] eval @ ./boot.jl:430 [inlined] [46] execute @ ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:334 [inlined] [47] (::ReTestItems.Workers.var"#22#23"{Sockets.TCPSocket, ReentrantLock, ReTestItems.Workers.Request})() @ ReTestItems.Workers ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:348 Error in testset "method: MoreThuente" on worker 123: Error During Test at /home/pkgeval/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:89 Got exception outside of a @test Enzyme compilation failed due to an internal error. Please open an issue with the code to reproduce and full error log on github.com/EnzymeAD/Enzyme.jl To toggle more information for debugging (needed for bug reports), set Enzyme.Compiler.VERBOSE_ERRORS[] = true (default false) Stacktrace: [1] copy @ ./array.jl:350 [2] unaliascopy @ ./abstractarray.jl:1516 [3] unalias @ ./abstractarray.jl:1500 [4] broadcast_unalias @ ./broadcast.jl:946 [5] preprocess @ ./broadcast.jl:953 [6] preprocess_args @ ./broadcast.jl:956 [7] preprocess_args @ ./broadcast.jl:955 [8] preprocess @ ./broadcast.jl:952 [9] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [10] copyto! @ ./broadcast.jl:925 [11] copy @ ./broadcast.jl:897 [12] materialize @ ./broadcast.jl:872 [13] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:82 Stacktrace: [1] julia_error(msg::String, val::Ptr{LLVM.API.LLVMOpaqueValue}, errtype::Enzyme.API.ErrorType, data::Ptr{Nothing}, data2::Ptr{LLVM.API.LLVMOpaqueValue}, B::Ptr{LLVM.API.LLVMOpaqueBuilder}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/errors.jl:384 [2] julia_error(cstr::Cstring, val::Ptr{LLVM.API.LLVMOpaqueValue}, errtype::Enzyme.API.ErrorType, data::Ptr{Nothing}, data2::Ptr{LLVM.API.LLVMOpaqueValue}, B::Ptr{LLVM.API.LLVMOpaqueBuilder}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/errors.jl:210 [3] 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, width::Int64, additionalArg::Ptr{LLVM.API.LLVMOpaqueType}, forceAnonymousTape::Bool, typeInfo::Enzyme.FnTypeInfo, uncacheable_args::Vector{Bool}, augmented::Ptr{Nothing}, atomicAdd::Bool) @ Enzyme.API ~/.julia/packages/Enzyme/g1jMR/src/api.jl:269 [4] enzyme!(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}, 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}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:1707 [5] codegen(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}; libraries::Bool, deferred_codegen::Bool, optimize::Bool, toplevel::Bool, strip::Bool, validate::Bool, only_entry::Bool, parent_job::Nothing) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4655 [6] codegen @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:3441 [inlined] [7] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5515 [8] _thunk @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5515 [inlined] [9] cached_compilation @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5567 [inlined] [10] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.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, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5678 [11] thunk_generator(world::UInt64, source::LineNumberNode, 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, 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) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5863 [12] autodiff_thunk @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:975 [inlined] [13] seeded_autodiff_thunk(::EnzymeCore.ReverseModeSplit{true, true, false, 0, true, EnzymeCore.FFIABI, false, true, false}, ::Vector{Float64}, ::EnzymeCore.Const{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}}, ::Type{EnzymeCore.Duplicated{Vector{Float64}}}, ::EnzymeCore.Duplicated{Vector{Float64}}, ::EnzymeCore.Const{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:8 [14] value_and_pullback(f::SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, prep::DifferentiationInterfaceEnzymeExt.EnzymeReverseOneArgPullbackPrep{Nothing, Vector{Float64}}, backend::ADTypes.AutoEnzyme{Nothing, Nothing}, x::Vector{Float64}, ty::Tuple{Vector{Float64}}, contexts::DifferentiationInterface.Constant{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:85 [15] pullback @ ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:131 [inlined] [16] #10 @ ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:319 [inlined] [17] (::SciMLJacobianOperators.JacobianOperator{false, Float64, SciMLJacobianOperators.VJP, Nothing, SciMLJacobianOperators.var"#10#14"{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, DifferentiationInterfaceEnzymeExt.EnzymeReverseOneArgPullbackPrep{Nothing, Vector{Float64}}, ADTypes.AutoEnzyme{Nothing, Nothing}, Vector{Float64}}, Tuple{Int64, Int64}, Vector{Float64}, Vector{Float64}})(v::Vector{Float64}, u::Vector{Float64}, p::Vector{Float64}) @ SciMLJacobianOperators ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:143 [18] (::LineSearch.var"#4#6")(du::Vector{Float64}, u::Vector{Float64}, fu::Vector{Float64}, p::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/utils.jl:44 [19] #52 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:88 [inlined] [20] #58 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:102 [inlined] [21] solve!(cache::LineSearch.LineSearchesJLCache{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, LineSearch.var"#50#53"{typeof(+), typeof(*), Nothing}, LineSearch.var"#51#54"{typeof(+), typeof(*), Nothing}, LineSearch.var"#52#55"{typeof(+), typeof(*), Nothing}, LineSearches.MoreThuente{Float64}, Float64, Float64, LineSearch.var"#4#6", Vector{Float64}, Vector{Float64}, Nothing, LineSearch.LineSearchesJL{LineSearches.MoreThuente{Float64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}}, u::Vector{Float64}, du::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:105 [22] newton_raphson_oop(prob::SciMLBase.NonlinearProblem{Vector{Float64}, false, Vector{Float64}, SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.MoreThuente{Float64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:33 [23] newton_raphson(prob::SciMLBase.NonlinearProblem{Vector{Float64}, false, Vector{Float64}, SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.MoreThuente{Float64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:13 [24] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:97 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [26] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:89 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [28] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:85 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [30] top-level scope @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:82 [31] eval @ ./boot.jl:430 [inlined] [32] #96 @ ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [inlined] [33] with_source_path(f::ReTestItems.var"#96#100"{Expr}, path::String) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:914 [34] (::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr})() @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [35] redirect_stdio(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}; stdin::Nothing, stderr::IOContext{IOStream}, stdout::IOContext{IOStream}) @ Base ./stream.jl:1448 [36] redirect_stdio @ ./stream.jl:1411 [inlined] [37] _redirect_logs(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}, target::IOStream) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:124 [38] #31 @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [39] open(::ReTestItems.var"#31#32"{ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}}, ::String, ::Vararg{String}; kwargs::@Kwargs{}) @ Base ./io.jl:410 [40] open @ ./io.jl:407 [inlined] [41] _redirect_logs @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [42] macro expansion @ ~/.julia/packages/ReTestItems/Q6zs8/src/macros.jl:82 [inlined] [43] runtestitem(ti::TestItem, ctx::ReTestItems.TestContext; test_end_expr::Expr, logs::Symbol, verbose_results::Bool, finish_test::Bool, catch_test_error::Bool, failfast::Bool) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1093 [44] top-level scope @ none:1 [45] eval @ ./boot.jl:430 [inlined] [46] execute @ ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:334 [inlined] [47] (::ReTestItems.Workers.var"#22#23"{Sockets.TCPSocket, ReentrantLock, ReTestItems.Workers.Request})() @ ReTestItems.Workers ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:348 Error in testset "method: Static" on worker 123: Error During Test at /home/pkgeval/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:89 Got exception outside of a @test Enzyme compilation failed due to an internal error. Please open an issue with the code to reproduce and full error log on github.com/EnzymeAD/Enzyme.jl To toggle more information for debugging (needed for bug reports), set Enzyme.Compiler.VERBOSE_ERRORS[] = true (default false) Stacktrace: [1] copy @ ./array.jl:350 [2] unaliascopy @ ./abstractarray.jl:1516 [3] unalias @ ./abstractarray.jl:1500 [4] broadcast_unalias @ ./broadcast.jl:946 [5] preprocess @ ./broadcast.jl:953 [6] preprocess_args @ ./broadcast.jl:956 [7] preprocess_args @ ./broadcast.jl:955 [8] preprocess @ ./broadcast.jl:952 [9] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [10] copyto! @ ./broadcast.jl:925 [11] copy @ ./broadcast.jl:897 [12] materialize @ ./broadcast.jl:872 [13] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:82 Stacktrace: [1] julia_error(msg::String, val::Ptr{LLVM.API.LLVMOpaqueValue}, errtype::Enzyme.API.ErrorType, data::Ptr{Nothing}, data2::Ptr{LLVM.API.LLVMOpaqueValue}, B::Ptr{LLVM.API.LLVMOpaqueBuilder}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/errors.jl:384 [2] julia_error(cstr::Cstring, val::Ptr{LLVM.API.LLVMOpaqueValue}, errtype::Enzyme.API.ErrorType, data::Ptr{Nothing}, data2::Ptr{LLVM.API.LLVMOpaqueValue}, B::Ptr{LLVM.API.LLVMOpaqueBuilder}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/errors.jl:210 [3] 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, width::Int64, additionalArg::Ptr{LLVM.API.LLVMOpaqueType}, forceAnonymousTape::Bool, typeInfo::Enzyme.FnTypeInfo, uncacheable_args::Vector{Bool}, augmented::Ptr{Nothing}, atomicAdd::Bool) @ Enzyme.API ~/.julia/packages/Enzyme/g1jMR/src/api.jl:269 [4] enzyme!(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}, 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}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:1707 [5] codegen(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}; libraries::Bool, deferred_codegen::Bool, optimize::Bool, toplevel::Bool, strip::Bool, validate::Bool, only_entry::Bool, parent_job::Nothing) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4655 [6] codegen @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:3441 [inlined] [7] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5515 [8] _thunk @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5515 [inlined] [9] cached_compilation @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5567 [inlined] [10] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.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, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5678 [11] thunk_generator(world::UInt64, source::LineNumberNode, 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, 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) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5863 [12] autodiff_thunk @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:975 [inlined] [13] seeded_autodiff_thunk(::EnzymeCore.ReverseModeSplit{true, true, false, 0, true, EnzymeCore.FFIABI, false, true, false}, ::Vector{Float64}, ::EnzymeCore.Const{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}}, ::Type{EnzymeCore.Duplicated{Vector{Float64}}}, ::EnzymeCore.Duplicated{Vector{Float64}}, ::EnzymeCore.Const{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:8 [14] value_and_pullback(f::SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, prep::DifferentiationInterfaceEnzymeExt.EnzymeReverseOneArgPullbackPrep{Nothing, Vector{Float64}}, backend::ADTypes.AutoEnzyme{Nothing, Nothing}, x::Vector{Float64}, ty::Tuple{Vector{Float64}}, contexts::DifferentiationInterface.Constant{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:85 [15] pullback @ ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:131 [inlined] [16] #10 @ ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:319 [inlined] [17] (::SciMLJacobianOperators.JacobianOperator{false, Float64, SciMLJacobianOperators.VJP, Nothing, SciMLJacobianOperators.var"#10#14"{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, DifferentiationInterfaceEnzymeExt.EnzymeReverseOneArgPullbackPrep{Nothing, Vector{Float64}}, ADTypes.AutoEnzyme{Nothing, Nothing}, Vector{Float64}}, Tuple{Int64, Int64}, Vector{Float64}, Vector{Float64}})(v::Vector{Float64}, u::Vector{Float64}, p::Vector{Float64}) @ SciMLJacobianOperators ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:143 [18] (::LineSearch.var"#4#6")(du::Vector{Float64}, u::Vector{Float64}, fu::Vector{Float64}, p::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/utils.jl:44 [19] #52 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:88 [inlined] [20] #58 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:102 [inlined] [21] solve!(cache::LineSearch.LineSearchesJLCache{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, LineSearch.var"#50#53"{typeof(+), typeof(*), Nothing}, LineSearch.var"#51#54"{typeof(+), typeof(*), Nothing}, LineSearch.var"#52#55"{typeof(+), typeof(*), Nothing}, LineSearches.Static, Float64, Float64, LineSearch.var"#4#6", Vector{Float64}, Vector{Float64}, Nothing, LineSearch.LineSearchesJL{LineSearches.Static, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}}, u::Vector{Float64}, du::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:105 [22] newton_raphson_oop(prob::SciMLBase.NonlinearProblem{Vector{Float64}, false, Vector{Float64}, SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.Static, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:33 [23] newton_raphson(prob::SciMLBase.NonlinearProblem{Vector{Float64}, false, Vector{Float64}, SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.Static, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:13 [24] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:97 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [26] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:89 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [28] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:85 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [30] top-level scope @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:82 [31] eval @ ./boot.jl:430 [inlined] [32] #96 @ ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [inlined] [33] with_source_path(f::ReTestItems.var"#96#100"{Expr}, path::String) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:914 [34] (::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr})() @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [35] redirect_stdio(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}; stdin::Nothing, stderr::IOContext{IOStream}, stdout::IOContext{IOStream}) @ Base ./stream.jl:1448 [36] redirect_stdio @ ./stream.jl:1411 [inlined] [37] _redirect_logs(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}, target::IOStream) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:124 [38] #31 @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [39] open(::ReTestItems.var"#31#32"{ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}}, ::String, ::Vararg{String}; kwargs::@Kwargs{}) @ Base ./io.jl:410 [40] open @ ./io.jl:407 [inlined] [41] _redirect_logs @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [42] macro expansion @ ~/.julia/packages/ReTestItems/Q6zs8/src/macros.jl:82 [inlined] [43] runtestitem(ti::TestItem, ctx::ReTestItems.TestContext; test_end_expr::Expr, logs::Symbol, verbose_results::Bool, finish_test::Bool, catch_test_error::Bool, failfast::Bool) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1093 [44] top-level scope @ none:1 [45] eval @ ./boot.jl:430 [inlined] [46] execute @ ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:334 [inlined] [47] (::ReTestItems.Workers.var"#22#23"{Sockets.TCPSocket, ReentrantLock, ReTestItems.Workers.Request})() @ ReTestItems.Workers ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:348 Error in testset "method: BackTracking" on worker 123: Error During Test at /home/pkgeval/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:112 Got exception outside of a @test Constant memory is stored (or returned) to a differentiable variable. As a result, Enzyme cannot provably ensure correctness and throws this error. This might be due to the use of a constant variable as temporary storage for active memory (https://enzyme.mit.edu/julia/stable/faq/#Runtime-Activity). If Enzyme should be able to prove this use non-differentable, open an issue! To work around this issue, either: a) rewrite this variable to not be conditionally active (fastest, but requires a code change), or b) set the Enzyme mode to turn on runtime activity (e.g. autodiff(set_runtime_activity(Reverse), ...) ). This will maintain correctness, but may slightly reduce performance. Mismatched activity for: %nodecayed..pre-phi113 = phi {} addrspace(10)* [ %95, %L184 ], [ %0, %L119 ], [ %2, %L136 ], [ %2, %guard_exit29 ], !dbg !161 const val: {} addrspace(10)* %2 value=Unknown object of type Vector{Float64} llvalue={} addrspace(10)* %2 Stacktrace: [1] size @ ./array.jl:194 [2] axes @ ./abstractarray.jl:98 [3] newindexer @ ./broadcast.jl:598 [4] extrude @ ./broadcast.jl:645 [5] preprocess @ ./broadcast.jl:953 [6] preprocess_args @ ./broadcast.jl:956 [7] preprocess_args @ ./broadcast.jl:955 [8] preprocess @ ./broadcast.jl:952 [9] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [10] copyto! @ ./broadcast.jl:925 [11] materialize! @ ./broadcast.jl:883 [12] materialize! @ ./broadcast.jl:880 [13] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:106 Stacktrace: [1] mightalias @ ./abstractarray.jl:1537 [inlined] [2] unalias @ ./abstractarray.jl:1500 [inlined] [3] broadcast_unalias @ ./broadcast.jl:946 [inlined] [4] preprocess @ ./broadcast.jl:953 [inlined] [5] preprocess_args @ ./broadcast.jl:956 [inlined] [6] preprocess_args @ ./broadcast.jl:955 [inlined] [7] preprocess @ ./broadcast.jl:952 [inlined] [8] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [inlined] [9] copyto! @ ./broadcast.jl:925 [inlined] [10] materialize! @ ./broadcast.jl:883 [inlined] [11] materialize! @ ./broadcast.jl:880 [inlined] [12] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:106 [13] NonlinearFunction @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:2471 [inlined] [14] NonlinearFunction @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:0 [inlined] [15] diffejulia_NonlinearFunction_99231_inner_3wrap @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:0 [16] macro expansion @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5445 [inlined] [17] enzyme_call @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4983 [inlined] [18] CombinedAdjointThunk @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4855 [inlined] [19] autodiff @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:503 [inlined] [20] autodiff @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:524 [inlined] [21] value_and_pullback!(f!::SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, y::Vector{Float64}, tx::Tuple{Vector{Float64}}, prep::DifferentiationInterfaceEnzymeExt.EnzymeReverseTwoArgPullbackPrep{Nothing, Tuple{Vector{Float64}}}, backend::ADTypes.AutoEnzyme{Nothing, Nothing}, x::Vector{Float64}, ty::Tuple{Vector{Float64}}, contexts::DifferentiationInterface.Constant{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_twoarg.jl:132 [22] pullback! @ ~/.julia/packages/DifferentiationInterface/7eD1K/src/first_order/pullback.jl:441 [inlined] [23] #9 @ ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:312 [inlined] [24] (::SciMLJacobianOperators.JacobianOperator{true, Float64, SciMLJacobianOperators.VJP, Nothing, SciMLJacobianOperators.var"#9#13"{SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, DifferentiationInterfaceEnzymeExt.EnzymeReverseTwoArgPullbackPrep{Nothing, Tuple{Vector{Float64}}}, ADTypes.AutoEnzyme{Nothing, Nothing}}, Tuple{Int64, Int64}, Vector{Float64}, Vector{Float64}})(v::Vector{Float64}, u::Vector{Float64}, p::Vector{Float64}) @ SciMLJacobianOperators ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:140 [25] (::LineSearch.var"#4#6")(du::Vector{Float64}, u::Vector{Float64}, fu::Vector{Float64}, p::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/utils.jl:44 [26] #52 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:88 [inlined] [27] #58 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:102 [inlined] [28] solve!(cache::LineSearch.LineSearchesJLCache{SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, LineSearch.var"#50#53"{typeof(+), typeof(*), Nothing}, LineSearch.var"#51#54"{typeof(+), typeof(*), Nothing}, LineSearch.var"#52#55"{typeof(+), typeof(*), Nothing}, LineSearches.BackTracking{Float64, Int64}, Float64, Float64, LineSearch.var"#4#6", Vector{Float64}, Vector{Float64}, Nothing, LineSearch.LineSearchesJL{LineSearches.BackTracking{Float64, Int64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}}, u::Vector{Float64}, du::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:105 [29] newton_raphson_iip(prob::SciMLBase.NonlinearProblem{Vector{Float64}, true, Vector{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.BackTracking{Float64, Int64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:62 [30] newton_raphson(prob::SciMLBase.NonlinearProblem{Vector{Float64}, true, Vector{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.BackTracking{Float64, Int64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:11 [31] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:120 [inlined] [32] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [33] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:112 [inlined] [34] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [35] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:109 [inlined] [36] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [37] top-level scope @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:106 [38] eval @ ./boot.jl:430 [inlined] [39] #96 @ ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [inlined] [40] with_source_path(f::ReTestItems.var"#96#100"{Expr}, path::String) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:914 [41] (::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr})() @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [42] redirect_stdio(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}; stdin::Nothing, stderr::IOContext{IOStream}, stdout::IOContext{IOStream}) @ Base ./stream.jl:1448 [43] redirect_stdio @ ./stream.jl:1411 [inlined] [44] _redirect_logs(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}, target::IOStream) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:124 [45] #31 @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [46] open(::ReTestItems.var"#31#32"{ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}}, ::String, ::Vararg{String}; kwargs::@Kwargs{}) @ Base ./io.jl:410 [47] open @ ./io.jl:407 [inlined] [48] _redirect_logs @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [49] macro expansion @ ~/.julia/packages/ReTestItems/Q6zs8/src/macros.jl:82 [inlined] [50] runtestitem(ti::TestItem, ctx::ReTestItems.TestContext; test_end_expr::Expr, logs::Symbol, verbose_results::Bool, finish_test::Bool, catch_test_error::Bool, failfast::Bool) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1093 [51] top-level scope @ none:1 [52] eval @ ./boot.jl:430 [inlined] [53] execute @ ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:334 [inlined] Error in testset "method: StrongWolfe" on worker 123: Error During Test at /home/pkgeval/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:112 Got exception outside of a @test Constant memory is stored (or returned) to a differentiable variable. As a result, Enzyme cannot provably ensure correctness and throws this error. This might be due to the use of a constant variable as temporary storage for active memory (https://enzyme.mit.edu/julia/stable/faq/#Runtime-Activity). If Enzyme should be able to prove this use non-differentable, open an issue! To work around this issue, either: a) rewrite this variable to not be conditionally active (fastest, but requires a code change), or b) set the Enzyme mode to turn on runtime activity (e.g. autodiff(set_runtime_activity(Reverse), ...) ). This will maintain correctness, but may slightly reduce performance. Mismatched activity for: %nodecayed..pre-phi113 = phi {} addrspace(10)* [ %95, %L184 ], [ %0, %L119 ], [ %2, %L136 ], [ %2, %guard_exit29 ], !dbg !161 const val: {} addrspace(10)* %2 value=Unknown object of type Vector{Float64} llvalue={} addrspace(10)* %2 Stacktrace: [1] size @ ./array.jl:194 [2] axes @ ./abstractarray.jl:98 [3] newindexer @ ./broadcast.jl:598 [4] extrude @ ./broadcast.jl:645 [5] preprocess @ ./broadcast.jl:953 [6] preprocess_args @ ./broadcast.jl:956 [7] preprocess_args @ ./broadcast.jl:955 [8] preprocess @ ./broadcast.jl:952 [9] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [10] copyto! @ ./broadcast.jl:925 [11] materialize! @ ./broadcast.jl:883 [12] materialize! @ ./broadcast.jl:880 [13] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:106 Stacktrace: [1] mightalias @ ./abstractarray.jl:1537 [inlined] [2] unalias @ ./abstractarray.jl:1500 [inlined] [3] broadcast_unalias @ ./broadcast.jl:946 [inlined] [4] preprocess @ ./broadcast.jl:953 [inlined] [5] preprocess_args @ ./broadcast.jl:956 [inlined] [6] preprocess_args @ ./broadcast.jl:955 [inlined] [7] preprocess @ ./broadcast.jl:952 [inlined] [8] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [inlined] [9] copyto! @ ./broadcast.jl:925 [inlined] [10] materialize! @ ./broadcast.jl:883 [inlined] [11] materialize! @ ./broadcast.jl:880 [inlined] [12] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:106 [13] NonlinearFunction @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:2471 [inlined] [14] NonlinearFunction @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:0 [inlined] [15] diffejulia_NonlinearFunction_99231_inner_3wrap @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:0 [16] macro expansion @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5445 [inlined] [17] enzyme_call @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4983 [inlined] [18] CombinedAdjointThunk @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4855 [inlined] [19] autodiff @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:503 [inlined] [20] autodiff @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:524 [inlined] [21] value_and_pullback!(f!::SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, y::Vector{Float64}, tx::Tuple{Vector{Float64}}, prep::DifferentiationInterfaceEnzymeExt.EnzymeReverseTwoArgPullbackPrep{Nothing, Tuple{Vector{Float64}}}, backend::ADTypes.AutoEnzyme{Nothing, Nothing}, x::Vector{Float64}, ty::Tuple{Vector{Float64}}, contexts::DifferentiationInterface.Constant{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_twoarg.jl:132 [22] pullback! @ ~/.julia/packages/DifferentiationInterface/7eD1K/src/first_order/pullback.jl:441 [inlined] [23] #9 @ ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:312 [inlined] [24] (::SciMLJacobianOperators.JacobianOperator{true, Float64, SciMLJacobianOperators.VJP, Nothing, SciMLJacobianOperators.var"#9#13"{SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, DifferentiationInterfaceEnzymeExt.EnzymeReverseTwoArgPullbackPrep{Nothing, Tuple{Vector{Float64}}}, ADTypes.AutoEnzyme{Nothing, Nothing}}, Tuple{Int64, Int64}, Vector{Float64}, Vector{Float64}})(v::Vector{Float64}, u::Vector{Float64}, p::Vector{Float64}) @ SciMLJacobianOperators ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:140 [25] (::LineSearch.var"#4#6")(du::Vector{Float64}, u::Vector{Float64}, fu::Vector{Float64}, p::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/utils.jl:44 [26] #52 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:88 [inlined] [27] #58 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:102 [inlined] [28] solve!(cache::LineSearch.LineSearchesJLCache{SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, LineSearch.var"#50#53"{typeof(+), typeof(*), Nothing}, LineSearch.var"#51#54"{typeof(+), typeof(*), Nothing}, LineSearch.var"#52#55"{typeof(+), typeof(*), Nothing}, LineSearches.StrongWolfe{Float64}, Float64, Float64, LineSearch.var"#4#6", Vector{Float64}, Vector{Float64}, Nothing, LineSearch.LineSearchesJL{LineSearches.StrongWolfe{Float64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}}, u::Vector{Float64}, du::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:105 [29] newton_raphson_iip(prob::SciMLBase.NonlinearProblem{Vector{Float64}, true, Vector{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.StrongWolfe{Float64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:62 [30] newton_raphson(prob::SciMLBase.NonlinearProblem{Vector{Float64}, true, Vector{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.StrongWolfe{Float64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:11 [31] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:120 [inlined] [32] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [33] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:112 [inlined] [34] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [35] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:109 [inlined] [36] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [37] top-level scope @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:106 [38] eval @ ./boot.jl:430 [inlined] [39] #96 @ ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [inlined] [40] with_source_path(f::ReTestItems.var"#96#100"{Expr}, path::String) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:914 [41] (::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr})() @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [42] redirect_stdio(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}; stdin::Nothing, stderr::IOContext{IOStream}, stdout::IOContext{IOStream}) @ Base ./stream.jl:1448 [43] redirect_stdio @ ./stream.jl:1411 [inlined] [44] _redirect_logs(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}, target::IOStream) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:124 [45] #31 @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [46] open(::ReTestItems.var"#31#32"{ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}}, ::String, ::Vararg{String}; kwargs::@Kwargs{}) @ Base ./io.jl:410 [47] open @ ./io.jl:407 [inlined] [48] _redirect_logs @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [49] macro expansion @ ~/.julia/packages/ReTestItems/Q6zs8/src/macros.jl:82 [inlined] [50] runtestitem(ti::TestItem, ctx::ReTestItems.TestContext; test_end_expr::Expr, logs::Symbol, verbose_results::Bool, finish_test::Bool, catch_test_error::Bool, failfast::Bool) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1093 [51] top-level scope @ none:1 [52] eval @ ./boot.jl:430 [inlined] [53] execute @ ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:334 [inlined] Error in testset "method: HagerZhang" on worker 123: Error During Test at /home/pkgeval/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:112 Got exception outside of a @test Constant memory is stored (or returned) to a differentiable variable. As a result, Enzyme cannot provably ensure correctness and throws this error. This might be due to the use of a constant variable as temporary storage for active memory (https://enzyme.mit.edu/julia/stable/faq/#Runtime-Activity). If Enzyme should be able to prove this use non-differentable, open an issue! To work around this issue, either: a) rewrite this variable to not be conditionally active (fastest, but requires a code change), or b) set the Enzyme mode to turn on runtime activity (e.g. autodiff(set_runtime_activity(Reverse), ...) ). This will maintain correctness, but may slightly reduce performance. Mismatched activity for: %nodecayed..pre-phi113 = phi {} addrspace(10)* [ %95, %L184 ], [ %0, %L119 ], [ %2, %L136 ], [ %2, %guard_exit29 ], !dbg !161 const val: {} addrspace(10)* %2 value=Unknown object of type Vector{Float64} llvalue={} addrspace(10)* %2 Stacktrace: [1] size @ ./array.jl:194 [2] axes @ ./abstractarray.jl:98 [3] newindexer @ ./broadcast.jl:598 [4] extrude @ ./broadcast.jl:645 [5] preprocess @ ./broadcast.jl:953 [6] preprocess_args @ ./broadcast.jl:956 [7] preprocess_args @ ./broadcast.jl:955 [8] preprocess @ ./broadcast.jl:952 [9] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [10] copyto! @ ./broadcast.jl:925 [11] materialize! @ ./broadcast.jl:883 [12] materialize! @ ./broadcast.jl:880 [13] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:106 Stacktrace: [1] mightalias @ ./abstractarray.jl:1537 [inlined] [2] unalias @ ./abstractarray.jl:1500 [inlined] [3] broadcast_unalias @ ./broadcast.jl:946 [inlined] [4] preprocess @ ./broadcast.jl:953 [inlined] [5] preprocess_args @ ./broadcast.jl:956 [inlined] [6] preprocess_args @ ./broadcast.jl:955 [inlined] [7] preprocess @ ./broadcast.jl:952 [inlined] [8] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [inlined] [9] copyto! @ ./broadcast.jl:925 [inlined] [10] materialize! @ ./broadcast.jl:883 [inlined] [11] materialize! @ ./broadcast.jl:880 [inlined] [12] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:106 [13] NonlinearFunction @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:2471 [inlined] [14] NonlinearFunction @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:0 [inlined] [15] diffejulia_NonlinearFunction_99231_inner_3wrap @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:0 [16] macro expansion @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5445 [inlined] [17] enzyme_call @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4983 [inlined] [18] CombinedAdjointThunk @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4855 [inlined] [19] autodiff @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:503 [inlined] [20] autodiff @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:524 [inlined] [21] value_and_pullback!(f!::SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, y::Vector{Float64}, tx::Tuple{Vector{Float64}}, prep::DifferentiationInterfaceEnzymeExt.EnzymeReverseTwoArgPullbackPrep{Nothing, Tuple{Vector{Float64}}}, backend::ADTypes.AutoEnzyme{Nothing, Nothing}, x::Vector{Float64}, ty::Tuple{Vector{Float64}}, contexts::DifferentiationInterface.Constant{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_twoarg.jl:132 [22] pullback! @ ~/.julia/packages/DifferentiationInterface/7eD1K/src/first_order/pullback.jl:441 [inlined] [23] #9 @ ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:312 [inlined] [24] (::SciMLJacobianOperators.JacobianOperator{true, Float64, SciMLJacobianOperators.VJP, Nothing, SciMLJacobianOperators.var"#9#13"{SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, DifferentiationInterfaceEnzymeExt.EnzymeReverseTwoArgPullbackPrep{Nothing, Tuple{Vector{Float64}}}, ADTypes.AutoEnzyme{Nothing, Nothing}}, Tuple{Int64, Int64}, Vector{Float64}, Vector{Float64}})(v::Vector{Float64}, u::Vector{Float64}, p::Vector{Float64}) @ SciMLJacobianOperators ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:140 [25] (::LineSearch.var"#4#6")(du::Vector{Float64}, u::Vector{Float64}, fu::Vector{Float64}, p::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/utils.jl:44 [26] #52 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:88 [inlined] [27] #58 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:102 [inlined] [28] solve!(cache::LineSearch.LineSearchesJLCache{SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, LineSearch.var"#50#53"{typeof(+), typeof(*), Nothing}, LineSearch.var"#51#54"{typeof(+), typeof(*), Nothing}, LineSearch.var"#52#55"{typeof(+), typeof(*), Nothing}, LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Float64, Float64, LineSearch.var"#4#6", Vector{Float64}, Vector{Float64}, Nothing, LineSearch.LineSearchesJL{LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}}, u::Vector{Float64}, du::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:105 [29] newton_raphson_iip(prob::SciMLBase.NonlinearProblem{Vector{Float64}, true, Vector{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:62 [30] newton_raphson(prob::SciMLBase.NonlinearProblem{Vector{Float64}, true, Vector{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:11 [31] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:120 [inlined] [32] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [33] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:112 [inlined] [34] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [35] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:109 [inlined] [36] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [37] top-level scope @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:106 [38] eval @ ./boot.jl:430 [inlined] [39] #96 @ ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [inlined] [40] with_source_path(f::ReTestItems.var"#96#100"{Expr}, path::String) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:914 [41] (::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr})() @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [42] redirect_stdio(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}; stdin::Nothing, stderr::IOContext{IOStream}, stdout::IOContext{IOStream}) @ Base ./stream.jl:1448 [43] redirect_stdio @ ./stream.jl:1411 [inlined] [44] _redirect_logs(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}, target::IOStream) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:124 [45] #31 @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [46] open(::ReTestItems.var"#31#32"{ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}}, ::String, ::Vararg{String}; kwargs::@Kwargs{}) @ Base ./io.jl:410 [47] open @ ./io.jl:407 [inlined] [48] _redirect_logs @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [49] macro expansion @ ~/.julia/packages/ReTestItems/Q6zs8/src/macros.jl:82 [inlined] [50] runtestitem(ti::TestItem, ctx::ReTestItems.TestContext; test_end_expr::Expr, logs::Symbol, verbose_results::Bool, finish_test::Bool, catch_test_error::Bool, failfast::Bool) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1093 [51] top-level scope @ none:1 [52] eval @ ./boot.jl:430 [inlined] [53] execute @ ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:334 [inlined] Error in testset "method: MoreThuente" on worker 123: Error During Test at /home/pkgeval/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:112 Got exception outside of a @test Constant memory is stored (or returned) to a differentiable variable. As a result, Enzyme cannot provably ensure correctness and throws this error. This might be due to the use of a constant variable as temporary storage for active memory (https://enzyme.mit.edu/julia/stable/faq/#Runtime-Activity). If Enzyme should be able to prove this use non-differentable, open an issue! To work around this issue, either: a) rewrite this variable to not be conditionally active (fastest, but requires a code change), or b) set the Enzyme mode to turn on runtime activity (e.g. autodiff(set_runtime_activity(Reverse), ...) ). This will maintain correctness, but may slightly reduce performance. Mismatched activity for: %nodecayed..pre-phi113 = phi {} addrspace(10)* [ %95, %L184 ], [ %0, %L119 ], [ %2, %L136 ], [ %2, %guard_exit29 ], !dbg !161 const val: {} addrspace(10)* %2 value=Unknown object of type Vector{Float64} llvalue={} addrspace(10)* %2 Stacktrace: [1] size @ ./array.jl:194 [2] axes @ ./abstractarray.jl:98 [3] newindexer @ ./broadcast.jl:598 [4] extrude @ ./broadcast.jl:645 [5] preprocess @ ./broadcast.jl:953 [6] preprocess_args @ ./broadcast.jl:956 [7] preprocess_args @ ./broadcast.jl:955 [8] preprocess @ ./broadcast.jl:952 [9] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [10] copyto! @ ./broadcast.jl:925 [11] materialize! @ ./broadcast.jl:883 [12] materialize! @ ./broadcast.jl:880 [13] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:106 Stacktrace: [1] mightalias @ ./abstractarray.jl:1537 [inlined] [2] unalias @ ./abstractarray.jl:1500 [inlined] [3] broadcast_unalias @ ./broadcast.jl:946 [inlined] [4] preprocess @ ./broadcast.jl:953 [inlined] [5] preprocess_args @ ./broadcast.jl:956 [inlined] [6] preprocess_args @ ./broadcast.jl:955 [inlined] [7] preprocess @ ./broadcast.jl:952 [inlined] [8] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [inlined] [9] copyto! @ ./broadcast.jl:925 [inlined] [10] materialize! @ ./broadcast.jl:883 [inlined] [11] materialize! @ ./broadcast.jl:880 [inlined] [12] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:106 [13] NonlinearFunction @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:2471 [inlined] [14] NonlinearFunction @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:0 [inlined] [15] diffejulia_NonlinearFunction_99231_inner_3wrap @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:0 [16] macro expansion @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5445 [inlined] [17] enzyme_call @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4983 [inlined] [18] CombinedAdjointThunk @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4855 [inlined] [19] autodiff @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:503 [inlined] [20] autodiff @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:524 [inlined] [21] value_and_pullback!(f!::SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, y::Vector{Float64}, tx::Tuple{Vector{Float64}}, prep::DifferentiationInterfaceEnzymeExt.EnzymeReverseTwoArgPullbackPrep{Nothing, Tuple{Vector{Float64}}}, backend::ADTypes.AutoEnzyme{Nothing, Nothing}, x::Vector{Float64}, ty::Tuple{Vector{Float64}}, contexts::DifferentiationInterface.Constant{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_twoarg.jl:132 [22] pullback! @ ~/.julia/packages/DifferentiationInterface/7eD1K/src/first_order/pullback.jl:441 [inlined] [23] #9 @ ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:312 [inlined] [24] (::SciMLJacobianOperators.JacobianOperator{true, Float64, SciMLJacobianOperators.VJP, Nothing, SciMLJacobianOperators.var"#9#13"{SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, DifferentiationInterfaceEnzymeExt.EnzymeReverseTwoArgPullbackPrep{Nothing, Tuple{Vector{Float64}}}, ADTypes.AutoEnzyme{Nothing, Nothing}}, Tuple{Int64, Int64}, Vector{Float64}, Vector{Float64}})(v::Vector{Float64}, u::Vector{Float64}, p::Vector{Float64}) @ SciMLJacobianOperators ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:140 [25] (::LineSearch.var"#4#6")(du::Vector{Float64}, u::Vector{Float64}, fu::Vector{Float64}, p::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/utils.jl:44 [26] #52 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:88 [inlined] [27] #58 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:102 [inlined] [28] solve!(cache::LineSearch.LineSearchesJLCache{SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, LineSearch.var"#50#53"{typeof(+), typeof(*), Nothing}, LineSearch.var"#51#54"{typeof(+), typeof(*), Nothing}, LineSearch.var"#52#55"{typeof(+), typeof(*), Nothing}, LineSearches.MoreThuente{Float64}, Float64, Float64, LineSearch.var"#4#6", Vector{Float64}, Vector{Float64}, Nothing, LineSearch.LineSearchesJL{LineSearches.MoreThuente{Float64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}}, u::Vector{Float64}, du::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:105 [29] newton_raphson_iip(prob::SciMLBase.NonlinearProblem{Vector{Float64}, true, Vector{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.MoreThuente{Float64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:62 [30] newton_raphson(prob::SciMLBase.NonlinearProblem{Vector{Float64}, true, Vector{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.MoreThuente{Float64}, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:11 [31] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:120 [inlined] [32] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [33] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:112 [inlined] [34] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [35] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:109 [inlined] [36] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [37] top-level scope @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:106 [38] eval @ ./boot.jl:430 [inlined] [39] #96 @ ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [inlined] [40] with_source_path(f::ReTestItems.var"#96#100"{Expr}, path::String) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:914 [41] (::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr})() @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [42] redirect_stdio(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}; stdin::Nothing, stderr::IOContext{IOStream}, stdout::IOContext{IOStream}) @ Base ./stream.jl:1448 [43] redirect_stdio @ ./stream.jl:1411 [inlined] [44] _redirect_logs(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}, target::IOStream) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:124 [45] #31 @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [46] open(::ReTestItems.var"#31#32"{ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}}, ::String, ::Vararg{String}; kwargs::@Kwargs{}) @ Base ./io.jl:410 [47] open @ ./io.jl:407 [inlined] [48] _redirect_logs @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [49] macro expansion @ ~/.julia/packages/ReTestItems/Q6zs8/src/macros.jl:82 [inlined] [50] runtestitem(ti::TestItem, ctx::ReTestItems.TestContext; test_end_expr::Expr, logs::Symbol, verbose_results::Bool, finish_test::Bool, catch_test_error::Bool, failfast::Bool) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1093 [51] top-level scope @ none:1 [52] eval @ ./boot.jl:430 [inlined] [53] execute @ ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:334 [inlined] Error in testset "method: Static" on worker 123: Error During Test at /home/pkgeval/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:112 Got exception outside of a @test Constant memory is stored (or returned) to a differentiable variable. As a result, Enzyme cannot provably ensure correctness and throws this error. This might be due to the use of a constant variable as temporary storage for active memory (https://enzyme.mit.edu/julia/stable/faq/#Runtime-Activity). If Enzyme should be able to prove this use non-differentable, open an issue! To work around this issue, either: a) rewrite this variable to not be conditionally active (fastest, but requires a code change), or b) set the Enzyme mode to turn on runtime activity (e.g. autodiff(set_runtime_activity(Reverse), ...) ). This will maintain correctness, but may slightly reduce performance. Mismatched activity for: %nodecayed..pre-phi113 = phi {} addrspace(10)* [ %95, %L184 ], [ %0, %L119 ], [ %2, %L136 ], [ %2, %guard_exit29 ], !dbg !161 const val: {} addrspace(10)* %2 value=Unknown object of type Vector{Float64} llvalue={} addrspace(10)* %2 Stacktrace: [1] size @ ./array.jl:194 [2] axes @ ./abstractarray.jl:98 [3] newindexer @ ./broadcast.jl:598 [4] extrude @ ./broadcast.jl:645 [5] preprocess @ ./broadcast.jl:953 [6] preprocess_args @ ./broadcast.jl:956 [7] preprocess_args @ ./broadcast.jl:955 [8] preprocess @ ./broadcast.jl:952 [9] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [10] copyto! @ ./broadcast.jl:925 [11] materialize! @ ./broadcast.jl:883 [12] materialize! @ ./broadcast.jl:880 [13] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:106 Stacktrace: [1] mightalias @ ./abstractarray.jl:1537 [inlined] [2] unalias @ ./abstractarray.jl:1500 [inlined] [3] broadcast_unalias @ ./broadcast.jl:946 [inlined] [4] preprocess @ ./broadcast.jl:953 [inlined] [5] preprocess_args @ ./broadcast.jl:956 [inlined] [6] preprocess_args @ ./broadcast.jl:955 [inlined] [7] preprocess @ ./broadcast.jl:952 [inlined] [8] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [inlined] [9] copyto! @ ./broadcast.jl:925 [inlined] [10] materialize! @ ./broadcast.jl:883 [inlined] [11] materialize! @ ./broadcast.jl:880 [inlined] [12] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:106 [13] NonlinearFunction @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:2471 [inlined] [14] NonlinearFunction @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:0 [inlined] [15] diffejulia_NonlinearFunction_99231_inner_3wrap @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:0 [16] macro expansion @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5445 [inlined] [17] enzyme_call @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4983 [inlined] [18] CombinedAdjointThunk @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4855 [inlined] [19] autodiff @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:503 [inlined] [20] autodiff @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:524 [inlined] [21] value_and_pullback!(f!::SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, y::Vector{Float64}, tx::Tuple{Vector{Float64}}, prep::DifferentiationInterfaceEnzymeExt.EnzymeReverseTwoArgPullbackPrep{Nothing, Tuple{Vector{Float64}}}, backend::ADTypes.AutoEnzyme{Nothing, Nothing}, x::Vector{Float64}, ty::Tuple{Vector{Float64}}, contexts::DifferentiationInterface.Constant{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_twoarg.jl:132 [22] pullback! @ ~/.julia/packages/DifferentiationInterface/7eD1K/src/first_order/pullback.jl:441 [inlined] [23] #9 @ ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:312 [inlined] [24] (::SciMLJacobianOperators.JacobianOperator{true, Float64, SciMLJacobianOperators.VJP, Nothing, SciMLJacobianOperators.var"#9#13"{SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, DifferentiationInterfaceEnzymeExt.EnzymeReverseTwoArgPullbackPrep{Nothing, Tuple{Vector{Float64}}}, ADTypes.AutoEnzyme{Nothing, Nothing}}, Tuple{Int64, Int64}, Vector{Float64}, Vector{Float64}})(v::Vector{Float64}, u::Vector{Float64}, p::Vector{Float64}) @ SciMLJacobianOperators ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:140 [25] (::LineSearch.var"#4#6")(du::Vector{Float64}, u::Vector{Float64}, fu::Vector{Float64}, p::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/utils.jl:44 [26] #52 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:88 [inlined] [27] #58 @ ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:102 [inlined] [28] solve!(cache::LineSearch.LineSearchesJLCache{SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, LineSearch.var"#50#53"{typeof(+), typeof(*), Nothing}, LineSearch.var"#51#54"{typeof(+), typeof(*), Nothing}, LineSearch.var"#52#55"{typeof(+), typeof(*), Nothing}, LineSearches.Static, Float64, Float64, LineSearch.var"#4#6", Vector{Float64}, Vector{Float64}, Nothing, LineSearch.LineSearchesJL{LineSearches.Static, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}}, u::Vector{Float64}, du::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/line_searches_ext.jl:105 [29] newton_raphson_iip(prob::SciMLBase.NonlinearProblem{Vector{Float64}, true, Vector{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.Static, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:62 [30] newton_raphson(prob::SciMLBase.NonlinearProblem{Vector{Float64}, true, Vector{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##LineSearches.jl: Newton Raphson#4210".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.LineSearchesJL{LineSearches.Static, Bool, ADTypes.AutoEnzyme{Nothing, Nothing}}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:11 [31] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:120 [inlined] [32] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [33] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:112 [inlined] [34] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [35] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:109 [inlined] [36] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [37] top-level scope @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:106 [38] eval @ ./boot.jl:430 [inlined] [39] #96 @ ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [inlined] [40] with_source_path(f::ReTestItems.var"#96#100"{Expr}, path::String) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:914 [41] (::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr})() @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [42] redirect_stdio(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}; stdin::Nothing, stderr::IOContext{IOStream}, stdout::IOContext{IOStream}) @ Base ./stream.jl:1448 [43] redirect_stdio @ ./stream.jl:1411 [inlined] [44] _redirect_logs(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}, target::IOStream) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:124 [45] #31 @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [46] open(::ReTestItems.var"#31#32"{ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}}, ::String, ::Vararg{String}; kwargs::@Kwargs{}) @ Base ./io.jl:410 [47] open @ ./io.jl:407 [inlined] [48] _redirect_logs @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [49] macro expansion @ ~/.julia/packages/ReTestItems/Q6zs8/src/macros.jl:82 [inlined] [50] runtestitem(ti::TestItem, ctx::ReTestItems.TestContext; test_end_expr::Expr, logs::Symbol, verbose_results::Bool, finish_test::Bool, catch_test_error::Bool, failfast::Bool) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1093 [51] top-level scope @ none:1 [52] eval @ ./boot.jl:430 [inlined] [53] execute @ ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:334 [inlined] Worker 123: 13:30:13 | maxrss 4.1% | mem 7.9% | START (4/4) test item "Native Line Search: Newton Raphson" at test/root_finding_tests.jl:129 Worker 123: 13:30:50 | maxrss 4.2% | mem 8.0% | DONE (4/4) test item "Native Line Search: Newton Raphson" 36.6 secs (93.1% compile, 0.7% GC), 18.34 M allocs (987.833 MB) Captured Logs for test item "Native Line Search: Newton Raphson" at test/root_finding_tests.jl:129 on worker 123 ┌ Warning: TODO forward zero-set of memorycopy used memset rather than runtime type │ Caused by: │ Stacktrace: │ [1] copy │ @ ./array.jl:350 │ [2] unaliascopy │ @ ./abstractarray.jl:1516 │ [3] unalias │ @ ./abstractarray.jl:1500 │ [4] broadcast_unalias │ @ ./broadcast.jl:946 │ [5] preprocess │ @ ./broadcast.jl:953 │ [6] preprocess_args │ @ ./broadcast.jl:956 │ [7] preprocess_args │ @ ./broadcast.jl:955 │ [8] preprocess │ @ ./broadcast.jl:952 │ [9] override_bc_copyto! │ @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 │ [10] copyto! │ @ ./broadcast.jl:925 │ [11] copy │ @ ./broadcast.jl:897 │ [12] materialize │ @ ./broadcast.jl:872 │ [13] nlf │ @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:134 └ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/2MI6e/src/utils.jl:61 ┌ Warning: TODO forward zero-set of memorycopy used memset rather than runtime type │ Caused by: │ Stacktrace: │ [1] copy │ @ ./array.jl:350 │ [2] unaliascopy │ @ ./abstractarray.jl:1516 │ [3] unalias │ @ ./abstractarray.jl:1500 │ [4] broadcast_unalias │ @ ./broadcast.jl:946 │ [5] preprocess │ @ ./broadcast.jl:953 │ [6] preprocess_args │ @ ./broadcast.jl:956 │ [7] preprocess_args │ @ ./broadcast.jl:955 │ [8] preprocess │ @ ./broadcast.jl:952 │ [9] override_bc_copyto! │ @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 │ [10] copyto! │ @ ./broadcast.jl:925 │ [11] copy │ @ ./broadcast.jl:897 │ [12] materialize │ @ ./broadcast.jl:872 │ [13] nlf │ @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:134 └ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/2MI6e/src/utils.jl:61 ┌ Warning: TODO forward zero-set of memorycopy used memset rather than runtime type │ Caused by: │ Stacktrace: │ [1] copy │ @ ./array.jl:350 │ [2] unaliascopy │ @ ./abstractarray.jl:1516 │ [3] unalias │ @ ./abstractarray.jl:1500 │ [4] broadcast_unalias │ @ ./broadcast.jl:946 │ [5] preprocess │ @ ./broadcast.jl:953 │ [6] preprocess_args │ @ ./broadcast.jl:956 │ [7] preprocess_args │ @ ./broadcast.jl:955 │ [8] preprocess │ @ ./broadcast.jl:952 │ [9] override_bc_copyto! │ @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 │ [10] copyto! │ @ ./broadcast.jl:925 │ [11] copy │ @ ./broadcast.jl:897 │ [12] materialize │ @ ./broadcast.jl:872 │ [13] nlf │ @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:134 └ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/2MI6e/src/utils.jl:61 Illegal replace ficticious phi for: %_replacementA99 = phi {} addrspace(10)* , !dbg !170 of %87 = call nonnull "enzyme_type"="{[-1]:Pointer, [-1,0]:Integer, [-1,1]:Integer, [-1,2]:Integer, [-1,3]:Integer, [-1,4]:Integer, [-1,5]:Integer, [-1,6]:Integer, [-1,7]:Integer, [-1,8]:Pointer, [-1,8,-1]:Float@double}" {} addrspace(10)* @jl_genericmemory_copy_slice({} addrspace(10)* noundef %214, i64 %86, i64 %18) #31, !dbg !159 ┌ Warning: TODO forward zero-set of memorycopy used memset rather than runtime type │ Caused by: │ Stacktrace: │ [1] copy │ @ ./array.jl:350 │ [2] unaliascopy │ @ ./abstractarray.jl:1516 │ [3] unalias │ @ ./abstractarray.jl:1500 │ [4] broadcast_unalias │ @ ./broadcast.jl:946 │ [5] preprocess │ @ ./broadcast.jl:953 │ [6] preprocess_args │ @ ./broadcast.jl:956 │ [7] preprocess_args │ @ ./broadcast.jl:955 │ [8] preprocess │ @ ./broadcast.jl:952 │ [9] override_bc_copyto! │ @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 │ [10] copyto! │ @ ./broadcast.jl:925 │ [11] copy │ @ ./broadcast.jl:897 │ [12] materialize │ @ ./broadcast.jl:872 │ [13] nlf │ @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:134 └ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/2MI6e/src/utils.jl:61 Illegal replace ficticious phi for: %_replacementA99 = phi {} addrspace(10)* , !dbg !170 of %87 = call nonnull "enzyme_type"="{[-1]:Pointer, [-1,0]:Integer, [-1,1]:Integer, [-1,2]:Integer, [-1,3]:Integer, [-1,4]:Integer, [-1,5]:Integer, [-1,6]:Integer, [-1,7]:Integer, [-1,8]:Pointer, [-1,8,-1]:Float@double}" {} addrspace(10)* @jl_genericmemory_copy_slice({} addrspace(10)* noundef %214, i64 %86, i64 %18) #31, !dbg !159 ┌ Warning: TODO forward zero-set of memorycopy used memset rather than runtime type │ Caused by: │ Stacktrace: │ [1] copy │ @ ./array.jl:350 │ [2] unaliascopy │ @ ./abstractarray.jl:1516 │ [3] unalias │ @ ./abstractarray.jl:1500 │ [4] broadcast_unalias │ @ ./broadcast.jl:946 │ [5] preprocess │ @ ./broadcast.jl:953 │ [6] preprocess_args │ @ ./broadcast.jl:956 │ [7] preprocess_args │ @ ./broadcast.jl:955 │ [8] preprocess │ @ ./broadcast.jl:952 │ [9] override_bc_copyto! │ @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 │ [10] copyto! │ @ ./broadcast.jl:925 │ [11] materialize! │ @ ./broadcast.jl:883 │ [12] materialize! │ @ ./broadcast.jl:880 │ [13] nlf │ @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:164 └ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/2MI6e/src/utils.jl:61 Error in testset "method: BackTracking" on worker 123: Error During Test at /home/pkgeval/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:151 Got exception outside of a @test Enzyme compilation failed due to an internal error. Please open an issue with the code to reproduce and full error log on github.com/EnzymeAD/Enzyme.jl To toggle more information for debugging (needed for bug reports), set Enzyme.Compiler.VERBOSE_ERRORS[] = true (default false) Stacktrace: [1] copy @ ./array.jl:350 [2] unaliascopy @ ./abstractarray.jl:1516 [3] unalias @ ./abstractarray.jl:1500 [4] broadcast_unalias @ ./broadcast.jl:946 [5] preprocess @ ./broadcast.jl:953 [6] preprocess_args @ ./broadcast.jl:956 [7] preprocess_args @ ./broadcast.jl:955 [8] preprocess @ ./broadcast.jl:952 [9] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [10] copyto! @ ./broadcast.jl:925 [11] copy @ ./broadcast.jl:897 [12] materialize @ ./broadcast.jl:872 [13] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:134 Stacktrace: [1] julia_error(msg::String, val::Ptr{LLVM.API.LLVMOpaqueValue}, errtype::Enzyme.API.ErrorType, data::Ptr{Nothing}, data2::Ptr{LLVM.API.LLVMOpaqueValue}, B::Ptr{LLVM.API.LLVMOpaqueBuilder}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/errors.jl:384 [2] julia_error(cstr::Cstring, val::Ptr{LLVM.API.LLVMOpaqueValue}, errtype::Enzyme.API.ErrorType, data::Ptr{Nothing}, data2::Ptr{LLVM.API.LLVMOpaqueValue}, B::Ptr{LLVM.API.LLVMOpaqueBuilder}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/errors.jl:210 [3] 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, width::Int64, additionalArg::Ptr{LLVM.API.LLVMOpaqueType}, forceAnonymousTape::Bool, typeInfo::Enzyme.FnTypeInfo, uncacheable_args::Vector{Bool}, augmented::Ptr{Nothing}, atomicAdd::Bool) @ Enzyme.API ~/.julia/packages/Enzyme/g1jMR/src/api.jl:269 [4] enzyme!(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}, 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}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:1707 [5] codegen(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}; libraries::Bool, deferred_codegen::Bool, optimize::Bool, toplevel::Bool, strip::Bool, validate::Bool, only_entry::Bool, parent_job::Nothing) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4655 [6] codegen @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:3441 [inlined] [7] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5515 [8] _thunk @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5515 [inlined] [9] cached_compilation @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5567 [inlined] [10] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.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, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5678 [11] thunk_generator(world::UInt64, source::LineNumberNode, 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, 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) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5863 [12] autodiff_thunk @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:975 [inlined] [13] seeded_autodiff_thunk(::EnzymeCore.ReverseModeSplit{true, true, false, 0, true, EnzymeCore.FFIABI, false, true, false}, ::Vector{Float64}, ::EnzymeCore.Const{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}}, ::Type{EnzymeCore.Duplicated{Vector{Float64}}}, ::EnzymeCore.Duplicated{Vector{Float64}}, ::EnzymeCore.Const{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:8 [14] value_and_pullback(f::SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, prep::DifferentiationInterfaceEnzymeExt.EnzymeReverseOneArgPullbackPrep{Nothing, Vector{Float64}}, backend::ADTypes.AutoEnzyme{Nothing, Nothing}, x::Vector{Float64}, ty::Tuple{Vector{Float64}}, contexts::DifferentiationInterface.Constant{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:85 [15] pullback @ ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:131 [inlined] [16] #10 @ ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:319 [inlined] [17] (::SciMLJacobianOperators.JacobianOperator{false, Float64, SciMLJacobianOperators.VJP, Nothing, SciMLJacobianOperators.var"#10#14"{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, DifferentiationInterfaceEnzymeExt.EnzymeReverseOneArgPullbackPrep{Nothing, Vector{Float64}}, ADTypes.AutoEnzyme{Nothing, Nothing}, Vector{Float64}}, Tuple{Int64, Int64}, Vector{Float64}, Vector{Float64}})(v::Vector{Float64}, u::Vector{Float64}, p::Vector{Float64}) @ SciMLJacobianOperators ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:143 [18] (::LineSearch.var"#4#6")(du::Vector{Float64}, u::Vector{Float64}, fu::Vector{Float64}, p::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/utils.jl:44 [19] #10 @ ~/.julia/packages/LineSearch/Ky1ZB/src/backtracking.jl:78 [inlined] [20] #14 @ ~/.julia/packages/LineSearch/Ky1ZB/src/backtracking.jl:94 [inlined] [21] solve!(cache::LineSearch.BackTrackingCache{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, LineSearch.var"#9#11"{typeof(+), typeof(*), Nothing}, LineSearch.var"#10#12"{typeof(+), typeof(*), Nothing}, Float64, Float64, LineSearch.var"#4#6", Vector{Float64}, Vector{Float64}, Nothing, LineSearch.BackTracking{ADTypes.AutoEnzyme{Nothing, Nothing}, Float64, Float64, Float64, Val{3}, Float64, Bool}}, u::Vector{Float64}, du::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/backtracking.jl:97 [22] newton_raphson_oop(prob::SciMLBase.NonlinearProblem{Vector{Float64}, false, Vector{Float64}, SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.BackTracking{ADTypes.AutoEnzyme{Nothing, Nothing}, Float64, Float64, Float64, Val{3}, Float64, Bool}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:33 [23] newton_raphson(prob::SciMLBase.NonlinearProblem{Vector{Float64}, false, Vector{Float64}, SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.BackTracking{ADTypes.AutoEnzyme{Nothing, Nothing}, Float64, Float64, Float64, Val{3}, Float64, Bool}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:13 [24] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:155 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [26] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:151 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [28] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:147 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [30] top-level scope @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:134 [31] eval @ ./boot.jl:430 [inlined] [32] #96 @ ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [inlined] [33] with_source_path(f::ReTestItems.var"#96#100"{Expr}, path::String) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:914 [34] (::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr})() @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [35] redirect_stdio(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}; stdin::Nothing, stderr::IOContext{IOStream}, stdout::IOContext{IOStream}) @ Base ./stream.jl:1448 [36] redirect_stdio @ ./stream.jl:1411 [inlined] [37] _redirect_logs(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}, target::IOStream) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:124 [38] #31 @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [39] open(::ReTestItems.var"#31#32"{ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}}, ::String, ::Vararg{String}; kwargs::@Kwargs{}) @ Base ./io.jl:410 [40] open @ ./io.jl:407 [inlined] [41] _redirect_logs @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [42] macro expansion @ ~/.julia/packages/ReTestItems/Q6zs8/src/macros.jl:82 [inlined] [43] runtestitem(ti::TestItem, ctx::ReTestItems.TestContext; test_end_expr::Expr, logs::Symbol, verbose_results::Bool, finish_test::Bool, catch_test_error::Bool, failfast::Bool) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1093 [44] top-level scope @ none:1 [45] eval @ ./boot.jl:430 [inlined] [46] execute @ ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:334 [inlined] [47] (::ReTestItems.Workers.var"#22#23"{Sockets.TCPSocket, ReentrantLock, ReTestItems.Workers.Request})() @ ReTestItems.Workers ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:348 Error in testset "method: BackTracking" on worker 123: Error During Test at /home/pkgeval/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:151 Got exception outside of a @test Enzyme compilation failed due to an internal error. Please open an issue with the code to reproduce and full error log on github.com/EnzymeAD/Enzyme.jl To toggle more information for debugging (needed for bug reports), set Enzyme.Compiler.VERBOSE_ERRORS[] = true (default false) Stacktrace: [1] copy @ ./array.jl:350 [2] unaliascopy @ ./abstractarray.jl:1516 [3] unalias @ ./abstractarray.jl:1500 [4] broadcast_unalias @ ./broadcast.jl:946 [5] preprocess @ ./broadcast.jl:953 [6] preprocess_args @ ./broadcast.jl:956 [7] preprocess_args @ ./broadcast.jl:955 [8] preprocess @ ./broadcast.jl:952 [9] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [10] copyto! @ ./broadcast.jl:925 [11] copy @ ./broadcast.jl:897 [12] materialize @ ./broadcast.jl:872 [13] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:134 Stacktrace: [1] julia_error(msg::String, val::Ptr{LLVM.API.LLVMOpaqueValue}, errtype::Enzyme.API.ErrorType, data::Ptr{Nothing}, data2::Ptr{LLVM.API.LLVMOpaqueValue}, B::Ptr{LLVM.API.LLVMOpaqueBuilder}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/errors.jl:384 [2] julia_error(cstr::Cstring, val::Ptr{LLVM.API.LLVMOpaqueValue}, errtype::Enzyme.API.ErrorType, data::Ptr{Nothing}, data2::Ptr{LLVM.API.LLVMOpaqueValue}, B::Ptr{LLVM.API.LLVMOpaqueBuilder}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/errors.jl:210 [3] 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, width::Int64, additionalArg::Ptr{LLVM.API.LLVMOpaqueType}, forceAnonymousTape::Bool, typeInfo::Enzyme.FnTypeInfo, uncacheable_args::Vector{Bool}, augmented::Ptr{Nothing}, atomicAdd::Bool) @ Enzyme.API ~/.julia/packages/Enzyme/g1jMR/src/api.jl:269 [4] enzyme!(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}, 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}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:1707 [5] codegen(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}; libraries::Bool, deferred_codegen::Bool, optimize::Bool, toplevel::Bool, strip::Bool, validate::Bool, only_entry::Bool, parent_job::Nothing) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4655 [6] codegen @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:3441 [inlined] [7] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget, Enzyme.Compiler.EnzymeCompilerParams}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5515 [8] _thunk @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5515 [inlined] [9] cached_compilation @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5567 [inlined] [10] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.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, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5678 [11] thunk_generator(world::UInt64, source::LineNumberNode, 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, 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) @ Enzyme.Compiler ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5863 [12] autodiff_thunk @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:975 [inlined] [13] seeded_autodiff_thunk(::EnzymeCore.ReverseModeSplit{true, true, false, 0, true, EnzymeCore.FFIABI, false, true, false}, ::Vector{Float64}, ::EnzymeCore.Const{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}}, ::Type{EnzymeCore.Duplicated{Vector{Float64}}}, ::EnzymeCore.Duplicated{Vector{Float64}}, ::EnzymeCore.Const{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:8 [14] value_and_pullback(f::SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, prep::DifferentiationInterfaceEnzymeExt.EnzymeReverseOneArgPullbackPrep{Nothing, Vector{Float64}}, backend::ADTypes.AutoEnzyme{Nothing, Nothing}, x::Vector{Float64}, ty::Tuple{Vector{Float64}}, contexts::DifferentiationInterface.Constant{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:85 [15] pullback @ ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_onearg.jl:131 [inlined] [16] #10 @ ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:319 [inlined] [17] (::SciMLJacobianOperators.JacobianOperator{false, Float64, SciMLJacobianOperators.VJP, Nothing, SciMLJacobianOperators.var"#10#14"{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, DifferentiationInterfaceEnzymeExt.EnzymeReverseOneArgPullbackPrep{Nothing, Vector{Float64}}, ADTypes.AutoEnzyme{Nothing, Nothing}, Vector{Float64}}, Tuple{Int64, Int64}, Vector{Float64}, Vector{Float64}})(v::Vector{Float64}, u::Vector{Float64}, p::Vector{Float64}) @ SciMLJacobianOperators ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:143 [18] (::LineSearch.var"#4#6")(du::Vector{Float64}, u::Vector{Float64}, fu::Vector{Float64}, p::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/utils.jl:44 [19] #10 @ ~/.julia/packages/LineSearch/Ky1ZB/src/backtracking.jl:78 [inlined] [20] #14 @ ~/.julia/packages/LineSearch/Ky1ZB/src/backtracking.jl:94 [inlined] [21] solve!(cache::LineSearch.BackTrackingCache{SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, LineSearch.var"#9#11"{typeof(+), typeof(*), Nothing}, LineSearch.var"#10#12"{typeof(+), typeof(*), Nothing}, Float64, Float64, LineSearch.var"#4#6", Vector{Float64}, Vector{Float64}, Nothing, LineSearch.BackTracking{ADTypes.AutoEnzyme{Nothing, Nothing}, Float64, Float64, Float64, Val{2}, Float64, Bool}}, u::Vector{Float64}, du::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/backtracking.jl:97 [22] newton_raphson_oop(prob::SciMLBase.NonlinearProblem{Vector{Float64}, false, Vector{Float64}, SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.BackTracking{ADTypes.AutoEnzyme{Nothing, Nothing}, Float64, Float64, Float64, Val{2}, Float64, Bool}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:33 [23] newton_raphson(prob::SciMLBase.NonlinearProblem{Vector{Float64}, false, Vector{Float64}, SciMLBase.NonlinearFunction{false, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#1", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.BackTracking{ADTypes.AutoEnzyme{Nothing, Nothing}, Float64, Float64, Float64, Val{2}, Float64, Bool}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:13 [24] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:155 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [26] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:151 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [28] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:147 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [30] top-level scope @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:134 [31] eval @ ./boot.jl:430 [inlined] [32] #96 @ ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [inlined] [33] with_source_path(f::ReTestItems.var"#96#100"{Expr}, path::String) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:914 [34] (::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr})() @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [35] redirect_stdio(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}; stdin::Nothing, stderr::IOContext{IOStream}, stdout::IOContext{IOStream}) @ Base ./stream.jl:1448 [36] redirect_stdio @ ./stream.jl:1411 [inlined] [37] _redirect_logs(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}, target::IOStream) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:124 [38] #31 @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [39] open(::ReTestItems.var"#31#32"{ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}}, ::String, ::Vararg{String}; kwargs::@Kwargs{}) @ Base ./io.jl:410 [40] open @ ./io.jl:407 [inlined] [41] _redirect_logs @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [42] macro expansion @ ~/.julia/packages/ReTestItems/Q6zs8/src/macros.jl:82 [inlined] [43] runtestitem(ti::TestItem, ctx::ReTestItems.TestContext; test_end_expr::Expr, logs::Symbol, verbose_results::Bool, finish_test::Bool, catch_test_error::Bool, failfast::Bool) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1093 [44] top-level scope @ none:1 [45] eval @ ./boot.jl:430 [inlined] [46] execute @ ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:334 [inlined] [47] (::ReTestItems.Workers.var"#22#23"{Sockets.TCPSocket, ReentrantLock, ReTestItems.Workers.Request})() @ ReTestItems.Workers ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:348 Error in testset "method: BackTracking" on worker 123: Error During Test at /home/pkgeval/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:180 Got exception outside of a @test Constant memory is stored (or returned) to a differentiable variable. As a result, Enzyme cannot provably ensure correctness and throws this error. This might be due to the use of a constant variable as temporary storage for active memory (https://enzyme.mit.edu/julia/stable/faq/#Runtime-Activity). If Enzyme should be able to prove this use non-differentable, open an issue! To work around this issue, either: a) rewrite this variable to not be conditionally active (fastest, but requires a code change), or b) set the Enzyme mode to turn on runtime activity (e.g. autodiff(set_runtime_activity(Reverse), ...) ). This will maintain correctness, but may slightly reduce performance. Mismatched activity for: %nodecayed..pre-phi113 = phi {} addrspace(10)* [ %95, %L184 ], [ %0, %L119 ], [ %2, %L136 ], [ %2, %guard_exit29 ], !dbg !161 const val: {} addrspace(10)* %2 value=Unknown object of type Vector{Float64} llvalue={} addrspace(10)* %2 Stacktrace: [1] size @ ./array.jl:194 [2] axes @ ./abstractarray.jl:98 [3] newindexer @ ./broadcast.jl:598 [4] extrude @ ./broadcast.jl:645 [5] preprocess @ ./broadcast.jl:953 [6] preprocess_args @ ./broadcast.jl:956 [7] preprocess_args @ ./broadcast.jl:955 [8] preprocess @ ./broadcast.jl:952 [9] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [10] copyto! @ ./broadcast.jl:925 [11] materialize! @ ./broadcast.jl:883 [12] materialize! @ ./broadcast.jl:880 [13] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:164 Stacktrace: [1] mightalias @ ./abstractarray.jl:1537 [inlined] [2] unalias @ ./abstractarray.jl:1500 [inlined] [3] broadcast_unalias @ ./broadcast.jl:946 [inlined] [4] preprocess @ ./broadcast.jl:953 [inlined] [5] preprocess_args @ ./broadcast.jl:956 [inlined] [6] preprocess_args @ ./broadcast.jl:955 [inlined] [7] preprocess @ ./broadcast.jl:952 [inlined] [8] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [inlined] [9] copyto! @ ./broadcast.jl:925 [inlined] [10] materialize! @ ./broadcast.jl:883 [inlined] [11] materialize! @ ./broadcast.jl:880 [inlined] [12] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:164 [13] NonlinearFunction @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:2471 [inlined] [14] NonlinearFunction @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:0 [inlined] [15] diffejulia_NonlinearFunction_107693_inner_3wrap @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:0 [16] macro expansion @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5445 [inlined] [17] enzyme_call @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4983 [inlined] [18] CombinedAdjointThunk @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4855 [inlined] [19] autodiff @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:503 [inlined] [20] autodiff @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:524 [inlined] [21] value_and_pullback!(f!::SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, y::Vector{Float64}, tx::Tuple{Vector{Float64}}, prep::DifferentiationInterfaceEnzymeExt.EnzymeReverseTwoArgPullbackPrep{Nothing, Tuple{Vector{Float64}}}, backend::ADTypes.AutoEnzyme{Nothing, Nothing}, x::Vector{Float64}, ty::Tuple{Vector{Float64}}, contexts::DifferentiationInterface.Constant{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_twoarg.jl:132 [22] pullback! @ ~/.julia/packages/DifferentiationInterface/7eD1K/src/first_order/pullback.jl:441 [inlined] [23] #9 @ ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:312 [inlined] [24] (::SciMLJacobianOperators.JacobianOperator{true, Float64, SciMLJacobianOperators.VJP, Nothing, SciMLJacobianOperators.var"#9#13"{SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, DifferentiationInterfaceEnzymeExt.EnzymeReverseTwoArgPullbackPrep{Nothing, Tuple{Vector{Float64}}}, ADTypes.AutoEnzyme{Nothing, Nothing}}, Tuple{Int64, Int64}, Vector{Float64}, Vector{Float64}})(v::Vector{Float64}, u::Vector{Float64}, p::Vector{Float64}) @ SciMLJacobianOperators ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:140 [25] (::LineSearch.var"#4#6")(du::Vector{Float64}, u::Vector{Float64}, fu::Vector{Float64}, p::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/utils.jl:44 [26] #10 @ ~/.julia/packages/LineSearch/Ky1ZB/src/backtracking.jl:78 [inlined] [27] #14 @ ~/.julia/packages/LineSearch/Ky1ZB/src/backtracking.jl:94 [inlined] [28] solve!(cache::LineSearch.BackTrackingCache{SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, LineSearch.var"#9#11"{typeof(+), typeof(*), Nothing}, LineSearch.var"#10#12"{typeof(+), typeof(*), Nothing}, Float64, Float64, LineSearch.var"#4#6", Vector{Float64}, Vector{Float64}, Nothing, LineSearch.BackTracking{ADTypes.AutoEnzyme{Nothing, Nothing}, Float64, Float64, Float64, Val{3}, Float64, Bool}}, u::Vector{Float64}, du::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/backtracking.jl:97 [29] newton_raphson_iip(prob::SciMLBase.NonlinearProblem{Vector{Float64}, true, Vector{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.BackTracking{ADTypes.AutoEnzyme{Nothing, Nothing}, Float64, Float64, Float64, Val{3}, Float64, Bool}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:62 [30] newton_raphson(prob::SciMLBase.NonlinearProblem{Vector{Float64}, true, Vector{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.BackTracking{ADTypes.AutoEnzyme{Nothing, Nothing}, Float64, Float64, Float64, Val{3}, Float64, Bool}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:11 [31] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:184 [inlined] [32] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [33] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:180 [inlined] [34] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [35] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:177 [inlined] [36] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [37] top-level scope @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:164 [38] eval @ ./boot.jl:430 [inlined] [39] #96 @ ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [inlined] [40] with_source_path(f::ReTestItems.var"#96#100"{Expr}, path::String) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:914 [41] (::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr})() @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [42] redirect_stdio(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}; stdin::Nothing, stderr::IOContext{IOStream}, stdout::IOContext{IOStream}) @ Base ./stream.jl:1448 [43] redirect_stdio @ ./stream.jl:1411 [inlined] [44] _redirect_logs(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}, target::IOStream) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:124 [45] #31 @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [46] open(::ReTestItems.var"#31#32"{ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}}, ::String, ::Vararg{String}; kwargs::@Kwargs{}) @ Base ./io.jl:410 [47] open @ ./io.jl:407 [inlined] [48] _redirect_logs @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [49] macro expansion @ ~/.julia/packages/ReTestItems/Q6zs8/src/macros.jl:82 [inlined] [50] runtestitem(ti::TestItem, ctx::ReTestItems.TestContext; test_end_expr::Expr, logs::Symbol, verbose_results::Bool, finish_test::Bool, catch_test_error::Bool, failfast::Bool) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1093 [51] top-level scope @ none:1 [52] eval @ ./boot.jl:430 [inlined] [53] execute @ ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:334 [inlined] Error in testset "method: BackTracking" on worker 123: Error During Test at /home/pkgeval/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:180 Got exception outside of a @test Constant memory is stored (or returned) to a differentiable variable. As a result, Enzyme cannot provably ensure correctness and throws this error. This might be due to the use of a constant variable as temporary storage for active memory (https://enzyme.mit.edu/julia/stable/faq/#Runtime-Activity). If Enzyme should be able to prove this use non-differentable, open an issue! To work around this issue, either: a) rewrite this variable to not be conditionally active (fastest, but requires a code change), or b) set the Enzyme mode to turn on runtime activity (e.g. autodiff(set_runtime_activity(Reverse), ...) ). This will maintain correctness, but may slightly reduce performance. Mismatched activity for: %nodecayed..pre-phi113 = phi {} addrspace(10)* [ %95, %L184 ], [ %0, %L119 ], [ %2, %L136 ], [ %2, %guard_exit29 ], !dbg !161 const val: {} addrspace(10)* %2 value=Unknown object of type Vector{Float64} llvalue={} addrspace(10)* %2 Stacktrace: [1] size @ ./array.jl:194 [2] axes @ ./abstractarray.jl:98 [3] newindexer @ ./broadcast.jl:598 [4] extrude @ ./broadcast.jl:645 [5] preprocess @ ./broadcast.jl:953 [6] preprocess_args @ ./broadcast.jl:956 [7] preprocess_args @ ./broadcast.jl:955 [8] preprocess @ ./broadcast.jl:952 [9] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [10] copyto! @ ./broadcast.jl:925 [11] materialize! @ ./broadcast.jl:883 [12] materialize! @ ./broadcast.jl:880 [13] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:164 Stacktrace: [1] mightalias @ ./abstractarray.jl:1537 [inlined] [2] unalias @ ./abstractarray.jl:1500 [inlined] [3] broadcast_unalias @ ./broadcast.jl:946 [inlined] [4] preprocess @ ./broadcast.jl:953 [inlined] [5] preprocess_args @ ./broadcast.jl:956 [inlined] [6] preprocess_args @ ./broadcast.jl:955 [inlined] [7] preprocess @ ./broadcast.jl:952 [inlined] [8] override_bc_copyto! @ ~/.julia/packages/Enzyme/g1jMR/src/compiler/interpreter.jl:798 [inlined] [9] copyto! @ ./broadcast.jl:925 [inlined] [10] materialize! @ ./broadcast.jl:883 [inlined] [11] materialize! @ ./broadcast.jl:880 [inlined] [12] nlf @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:164 [13] NonlinearFunction @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:2471 [inlined] [14] NonlinearFunction @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:0 [inlined] [15] diffejulia_NonlinearFunction_107693_inner_3wrap @ ~/.julia/packages/SciMLBase/LGLmH/src/scimlfunctions.jl:0 [16] macro expansion @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:5445 [inlined] [17] enzyme_call @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4983 [inlined] [18] CombinedAdjointThunk @ ~/.julia/packages/Enzyme/g1jMR/src/compiler.jl:4855 [inlined] [19] autodiff @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:503 [inlined] [20] autodiff @ ~/.julia/packages/Enzyme/g1jMR/src/Enzyme.jl:524 [inlined] [21] value_and_pullback!(f!::SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, y::Vector{Float64}, tx::Tuple{Vector{Float64}}, prep::DifferentiationInterfaceEnzymeExt.EnzymeReverseTwoArgPullbackPrep{Nothing, Tuple{Vector{Float64}}}, backend::ADTypes.AutoEnzyme{Nothing, Nothing}, x::Vector{Float64}, ty::Tuple{Vector{Float64}}, contexts::DifferentiationInterface.Constant{Vector{Float64}}) @ DifferentiationInterfaceEnzymeExt ~/.julia/packages/DifferentiationInterface/7eD1K/ext/DifferentiationInterfaceEnzymeExt/reverse_twoarg.jl:132 [22] pullback! @ ~/.julia/packages/DifferentiationInterface/7eD1K/src/first_order/pullback.jl:441 [inlined] [23] #9 @ ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:312 [inlined] [24] (::SciMLJacobianOperators.JacobianOperator{true, Float64, SciMLJacobianOperators.VJP, Nothing, SciMLJacobianOperators.var"#9#13"{SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, DifferentiationInterfaceEnzymeExt.EnzymeReverseTwoArgPullbackPrep{Nothing, Tuple{Vector{Float64}}}, ADTypes.AutoEnzyme{Nothing, Nothing}}, Tuple{Int64, Int64}, Vector{Float64}, Vector{Float64}})(v::Vector{Float64}, u::Vector{Float64}, p::Vector{Float64}) @ SciMLJacobianOperators ~/.julia/packages/SciMLJacobianOperators/W8DtG/src/SciMLJacobianOperators.jl:140 [25] (::LineSearch.var"#4#6")(du::Vector{Float64}, u::Vector{Float64}, fu::Vector{Float64}, p::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/utils.jl:44 [26] #10 @ ~/.julia/packages/LineSearch/Ky1ZB/src/backtracking.jl:78 [inlined] [27] #14 @ ~/.julia/packages/LineSearch/Ky1ZB/src/backtracking.jl:94 [inlined] [28] solve!(cache::LineSearch.BackTrackingCache{SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, LineSearch.var"#9#11"{typeof(+), typeof(*), Nothing}, LineSearch.var"#10#12"{typeof(+), typeof(*), Nothing}, Float64, Float64, LineSearch.var"#4#6", Vector{Float64}, Vector{Float64}, Nothing, LineSearch.BackTracking{ADTypes.AutoEnzyme{Nothing, Nothing}, Float64, Float64, Float64, Val{2}, Float64, Bool}}, u::Vector{Float64}, du::Vector{Float64}) @ LineSearch ~/.julia/packages/LineSearch/Ky1ZB/src/backtracking.jl:97 [29] newton_raphson_iip(prob::SciMLBase.NonlinearProblem{Vector{Float64}, true, Vector{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.BackTracking{ADTypes.AutoEnzyme{Nothing, Nothing}, Float64, Float64, Float64, Val{2}, Float64, Bool}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:62 [30] newton_raphson(prob::SciMLBase.NonlinearProblem{Vector{Float64}, true, Vector{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, Main.var"##Native Line Search: Newton Raphson#7115".var"#nlf#2", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, ls::LineSearch.BackTracking{ADTypes.AutoEnzyme{Nothing, Nothing}, Float64, Float64, Float64, Val{2}, Float64, Bool}) @ Main.var"##RootFinding#4209" ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:11 [31] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:184 [inlined] [32] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [33] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:180 [inlined] [34] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1793 [inlined] [35] macro expansion @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:177 [inlined] [36] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [37] top-level scope @ ~/.julia/packages/LineSearch/Ky1ZB/test/root_finding_tests.jl:164 [38] eval @ ./boot.jl:430 [inlined] [39] #96 @ ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [inlined] [40] with_source_path(f::ReTestItems.var"#96#100"{Expr}, path::String) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:914 [41] (::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr})() @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1096 [42] redirect_stdio(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}; stdin::Nothing, stderr::IOContext{IOStream}, stdout::IOContext{IOStream}) @ Base ./stream.jl:1448 [43] redirect_stdio @ ./stream.jl:1411 [inlined] [44] _redirect_logs(f::ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}, target::IOStream) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:124 [45] #31 @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [46] open(::ReTestItems.var"#31#32"{ReTestItems.var"#95#99"{TestItem, String, Expr, Expr}}, ::String, ::Vararg{String}; kwargs::@Kwargs{}) @ Base ./io.jl:410 [47] open @ ./io.jl:407 [inlined] [48] _redirect_logs @ ~/.julia/packages/ReTestItems/Q6zs8/src/log_capture.jl:107 [inlined] [49] macro expansion @ ~/.julia/packages/ReTestItems/Q6zs8/src/macros.jl:82 [inlined] [50] runtestitem(ti::TestItem, ctx::ReTestItems.TestContext; test_end_expr::Expr, logs::Symbol, verbose_results::Bool, finish_test::Bool, catch_test_error::Bool, failfast::Bool) @ ReTestItems ~/.julia/packages/ReTestItems/Q6zs8/src/ReTestItems.jl:1093 [51] top-level scope @ none:1 [52] eval @ ./boot.jl:430 [inlined] [53] execute @ ~/.julia/packages/ReTestItems/Q6zs8/src/workers.jl:334 [inlined] [ Info: All tests on worker 1 completed. Closing Worker(pid=123). Worker 123: [123] signal 15: Terminated [ Tests Completed: 4/4 test items were run. Test Summary: | Pass Error Total Time LineSearch | 360 14 374 24m38.3s test | 360 14 374 test/custom_optimizer_tests.jl | 240 240 test/root_finding_tests.jl | 120 14 134 LineSearches.jl: Newton Raphson | 80 10 90 2m38.5s OOP Problem | 50 5 55 1m39.1s autodiff = ADTypes.AutoTracker() | 10 10 24.3s autodiff = ADTypes.AutoForwardDiff() | 10 10 11.5s autodiff = ADTypes.AutoZygote() | 10 10 12.9s autodiff = ADTypes.AutoEnzyme() | 5 5 25.1s method: BackTracking | 1 1 18.1s method: StrongWolfe | 1 1 1.7s method: HagerZhang | 1 1 1.8s method: MoreThuente | 1 1 1.8s method: Static | 1 1 1.7s autodiff = ADTypes.AutoReverseDiff() | 10 10 14.0s autodiff = ADTypes.AutoFiniteDiff() | 10 10 11.2s In-Place Problem | 30 5 35 59.3s autodiff = ADTypes.AutoForwardDiff() | 10 10 18.3s autodiff = ADTypes.AutoEnzyme() | 5 5 12.8s method: BackTracking | 1 1 7.4s method: StrongWolfe | 1 1 1.3s method: HagerZhang | 1 1 1.4s method: MoreThuente | 1 1 1.3s method: Static | 1 1 1.3s autodiff = ADTypes.AutoReverseDiff() | 10 10 14.3s autodiff = ADTypes.AutoFiniteDiff() | 10 10 13.9s Native Line Search: Newton Raphson | 40 4 44 36.6s OOP Problem | 24 2 26 19.3s method: LiFukushimaLineSearch | 2 2 4.4s method: NoLineSearch | 2 2 0.1s autodiff = ADTypes.AutoTracker() | 4 4 1.2s autodiff = ADTypes.AutoForwardDiff() | 4 4 2.1s autodiff = ADTypes.AutoZygote() | 4 4 2.6s autodiff = ADTypes.AutoEnzyme() | 2 2 5.6s method: BackTracking | 1 1 3.9s method: BackTracking | 1 1 1.7s autodiff = ADTypes.AutoReverseDiff() | 4 4 1.4s autodiff = ADTypes.AutoFiniteDiff() | 4 4 1.9s In-Place Problem | 16 2 18 17.2s method: LiFukushimaLineSearch | 2 2 4.9s method: NoLineSearch | 2 2 0.4s autodiff = ADTypes.AutoForwardDiff() | 4 4 2.9s autodiff = ADTypes.AutoEnzyme() | 2 2 3.6s method: BackTracking | 1 1 2.5s method: BackTracking | 1 1 1.1s autodiff = ADTypes.AutoReverseDiff() | 4 4 2.7s autodiff = ADTypes.AutoFiniteDiff() | 4 4 2.7s ERROR: LoadError: Some tests did not pass: 360 passed, 0 failed, 14 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/LineSearch/Ky1ZB/test/runtests.jl:15 Testing failed after 1503.86s ERROR: LoadError: Package LineSearch errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.11/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.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.11/Pkg/src/Operations.jl:2124 [3] test @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:2007 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.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.11/Pkg/src/API.jl:481 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:159 [6] test @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:147 [inlined] [7] #test#74 @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:146 [inlined] [8] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 1796.98s: package tests unexpectedly errored