Package evaluation of Distances on Julia 1.13.0-DEV.897 (a39797a4fb*) started at 2025-07-24T11:42:56.443 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.67s ################################################################################ # Installation # Installing Distances... Resolving package versions... Updating `~/.julia/environments/v1.13/Project.toml` [b4f34e82] + Distances v0.10.12 Updating `~/.julia/environments/v1.13/Manifest.toml` [b4f34e82] + Distances v0.10.12 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.7.1 [56f22d72] + Artifacts v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.13.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [4536629a] + OpenBLAS_jll v0.3.29+0 [8e850b90] + libblastrampoline_jll v5.13.1+0 Installation completed after 1.1s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 17.43s ################################################################################ # Testing # Testing Distances Status `/tmp/jl_EczqQg/Project.toml` [d360d2e6] ChainRulesCore v1.25.2 [cdddcdb0] ChainRulesTestUtils v1.13.0 [b4f34e82] Distances v0.10.12 [6fe1bfb0] OffsetArrays v1.17.0 [860ef19b] StableRNGs v1.0.3 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.1 [1986cc42] Unitful v1.23.1 [37e2e46d] LinearAlgebra v1.13.0 [9a3f8284] Random v1.11.0 [2f01184e] SparseArrays v1.13.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_EczqQg/Manifest.toml` [d360d2e6] ChainRulesCore v1.25.2 [cdddcdb0] ChainRulesTestUtils v1.13.0 [34da2185] Compat v4.17.0 [b4f34e82] Distances v0.10.12 [26cc04aa] FiniteDifferences v0.12.32 [6fe1bfb0] OffsetArrays v1.17.0 [aea7be01] PrecompileTools v1.3.2 [21216c6a] Preferences v1.4.3 [708f8203] Richardson v1.4.2 [860ef19b] StableRNGs v1.0.3 [90137ffa] StaticArrays v1.9.14 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.1 [fd094767] Suppressor v0.2.8 [1986cc42] Unitful v1.23.1 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.13.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 [2f01184e] SparseArrays v1.13.0 [f489334b] StyledStrings v1.11.0 [fa267f1f] TOML v1.0.3 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [4536629a] OpenBLAS_jll v0.3.29+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [8e850b90] libblastrampoline_jll v5.13.1+0 Testing Running tests... Test Summary: | Pass Total Time result_type | 16 16 0.9s Test Summary: | Pass Total Time PreMetric, SemiMetric, Metric on Float64 | 489 489 1m23.8s Test Summary: | Pass Total Time PreMetric, SemiMetric, Metric on F64 | 489 489 1m14.2s Test Summary: | Pass Total Time individual metrics | 711 711 1m28.6s Test Summary: | Pass Total Time NaN behavior | 6 6 0.4s Test Summary: | Pass Total Time empty vector | 138 138 2.5s Test Summary: | Pass Total Time DimensionMismatch throwing | 27 27 3.5s Test Summary: | Pass Total Time Different input types | 52 52 11.3s ┌ Warning: matrix is not symmetric/Hermitian └ @ Distances ~/.julia/packages/Distances/mlz7p/src/mahalanobis.jl:57 ┌ Warning: matrix is not symmetric/Hermitian └ @ Distances ~/.julia/packages/Distances/mlz7p/src/mahalanobis.jl:26 ┌ Warning: matrix is not symmetric/Hermitian └ @ Distances ~/.julia/packages/Distances/mlz7p/src/mahalanobis.jl:57 ┌ Warning: matrix is not symmetric/Hermitian └ @ Distances ~/.julia/packages/Distances/mlz7p/src/mahalanobis.jl:26 ┌ Warning: matrix is not symmetric/Hermitian └ @ Distances ~/.julia/packages/Distances/mlz7p/src/mahalanobis.jl:57 ┌ Warning: matrix is not symmetric/Hermitian └ @ Distances ~/.julia/packages/Distances/mlz7p/src/mahalanobis.jl:26 Test Summary: | Pass Total Time mahalanobis | 48 48 10.2s Test Summary: | Pass Total Time haversine | 52 52 8.2s Test Summary: | Pass Total Time spherical angle | 7 7 0.3s Test Summary: | Pass Total Time bhattacharyya / hellinger | 78 78 7.9s Test Summary: | Pass Total Time column-wise metrics on Float64 | 400 400 1m43.0s Test Summary: | Pass Total Time column-wise metrics on F64 | 400 400 1m32.7s Test Summary: | Pass Total Time pairwise metrics on Float64 | 2880 2880 5m30.9s Test Summary: | Pass Total Time pairwise metrics on F64 | 2880 2880 4m56.5s Test Summary: | Pass Total Time pairwise metrics on complex arrays | 192 192 42.0s Test Summary: | Pass Total Time scalar pairwise metrics on Float64 | 775 775 2m12.8s Test Summary: | Pass Total Time scalar pairwise metrics on F64 | 775 775 1m39.2s Test Summary: | Pass Total Time Euclidean precision | 8 8 0.4s Test Summary: | Pass Total Time non-negativity | 12 12 0.7s Test Summary: | Pass Total Time Bregman Divergence | 8 8 5.2s Test Summary: | Pass Total Time Unitful data | 47 47 19.3s Test Summary: | Pass Total Time SparseVector, nnz(a) != nnz(b) | 18 18 0.0s Precompiling packages... 1035.6 ms ✓ Distances → DistancesChainRulesCoreExt 1 dependency successfully precompiled in 1 seconds. 11 already precompiled. Precompiling packages... 4613.5 ms ✓ FiniteDifferences Info Given ChainRulesTestUtils was explicitly requested, output will be shown live  WARNING: Imported binding Test.eval_test was undeclared at import time during import to ChainRulesTestUtils. 14377.0 ms ✓ ChainRulesTestUtils 2 dependencies successfully precompiled in 19 seconds. 26 already precompiled. 1 dependency had output during precompilation: ┌ ChainRulesTestUtils │ [Output was shown above] └ ┌ Warning: inference tests have been disabled └ @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/global_config.jl:13 test_rrule: ChainRulesTestUtils.PrimalAndTangent{SqEuclidean, NoTangent}(SqEuclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [7] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [8] test_rrule(::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:17 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{SqEuclidean, NoTangent}(SqEuclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule(::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:17 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{SqEuclidean, NoTangent}(SqEuclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule(::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:17 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{SqEuclidean, NoTangent}(SqEuclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 2, 4-element Vector{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [19] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [20] test_rrule(::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:17 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{SqEuclidean, NoTangent}(SqEuclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [20] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [21] test_rrule(::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:17 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{SqEuclidean, NoTangent}(SqEuclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4-element Vector{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [19] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [20] test_rrule(::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:17 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{SqEuclidean, NoTangent}(SqEuclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [20] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [21] test_rrule(::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:17 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{SqEuclidean, NoTangent}(SqEuclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [7] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [8] test_rrule(::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:18 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{SqEuclidean, NoTangent}(SqEuclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule(::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:18 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{SqEuclidean, NoTangent}(SqEuclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule(::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:18 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{SqEuclidean, NoTangent}(SqEuclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 2, 4-element Vector{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [19] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [20] test_rrule(::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:18 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{SqEuclidean, NoTangent}(SqEuclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [20] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [21] test_rrule(::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:18 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{SqEuclidean, NoTangent}(SqEuclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4-element Vector{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [19] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [20] test_rrule(::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:18 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{SqEuclidean, NoTangent}(SqEuclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [20] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [21] test_rrule(::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:18 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 ┌ Warning: implicit `dims=2` argument now has to be passed explicitly to specify that distances between columns should be computed │ caller = ip:0x0 └ @ Core :-1 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:28 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:28 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:28 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:28 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:28 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:29 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:29 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:29 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:29 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:29 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:30 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:30 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:30 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:30 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:30 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:28 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:28 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:28 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:28 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:28 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:29 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:29 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:29 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:29 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:29 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:30 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:30 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:30 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:30 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:30 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: colwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:41 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on SqEuclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:42 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{Euclidean, NoTangent}(Euclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:17 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{Euclidean, NoTangent}(Euclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:17 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{Euclidean, NoTangent}(Euclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:17 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{Euclidean, NoTangent}(Euclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 2, 4-element Vector{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:17 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{Euclidean, NoTangent}(Euclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:17 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{Euclidean, NoTangent}(Euclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4-element Vector{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:17 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{Euclidean, NoTangent}(Euclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:17 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{Euclidean, NoTangent}(Euclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:18 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{Euclidean, NoTangent}(Euclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:18 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{Euclidean, NoTangent}(Euclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:18 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{Euclidean, NoTangent}(Euclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 2, 4-element Vector{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:18 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{Euclidean, NoTangent}(Euclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:18 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{Euclidean, NoTangent}(Euclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4-element Vector{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:18 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: ChainRulesTestUtils.PrimalAndTangent{Euclidean, NoTangent}(Euclidean(0.0), NoTangent()) on Vector{Float64},Vector{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Tuple{NoTangent, Vector{Float64}, Vector{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:18 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: colwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: colwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: colwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: colwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: colwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: colwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: colwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:22 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:28 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:28 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:28 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:28 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:28 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:29 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:29 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:29 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:29 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:29 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:30 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:30 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:30 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:30 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:30 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:31 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:32 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [11] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [6] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [10] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [19] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [23] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ none:6 [28] eval(m::Module, e::Any) @ Core ./boot.jl:489 [29] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [30] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:33 [inlined] [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [24] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 test_rrule: colwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: colwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: colwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: colwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: colwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: colwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: colwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:37 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [6] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [7] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [8] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [9] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [11] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [13] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:489 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [20] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [4] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [10] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [12] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] #foldl#275 @ ./reduce.jl:196 [inlined] [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [20] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [21] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [22] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [24] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [26] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 4×3 Matrix{Float64} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:738 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [4] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [5] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [6] #foreach##2 @ ./tuple.jl:680 [inlined] [7] BottomRF @ ./reduce.jl:84 [inlined] [8] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [9] foldl_impl @ ./reduce.jl:46 [inlined] [10] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [11] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [12] mapfoldl @ ./reduce.jl:173 [inlined] [13] #foldl#275 @ ./reduce.jl:196 [inlined] [14] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Tuple{NoTangent, NoTangent, Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [15] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [17] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [18] test_rrule(::RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [19] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [20] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [21] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:40 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1947 [inlined] [23] macro expansion @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:15 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1858 [inlined] [25] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/chainrules.jl:6 [26] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [27] top-level scope @ ~/.julia/packages/Distances/mlz7p/test/runtests.jl:20 [28] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [29] top-level scope @ none:6 [30] eval(m::Module, e::Any) @ Core ./boot.jl:489 [31] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [32] _start() @ Base ./client.jl:553 test_rrule: pairwise on Euclidean,Matrix{Float64},Matrix{Float64}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_tes PkgEval terminated after 1637.09s: test log exceeded the size limit