Package evaluation of StochasticAD on Julia 1.10.8 (92f03a4775*) started at 2025-02-25T10:07:24.494 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 4.54s ################################################################################ # Installation # Installing StochasticAD... Resolving package versions... Updating `~/.julia/environments/v1.10/Project.toml` [e4facb34] + StochasticAD v0.1.26 Updating `~/.julia/environments/v1.10/Manifest.toml` [79e6a3ab] + Adapt v4.2.0 [66dad0bd] + AliasTables v1.1.3 [082447d4] + ChainRules v1.72.2 [d360d2e6] + ChainRulesCore v1.25.1 [f51149dc] + ChainRulesOverloadGeneration v0.1.4 [bbf7d656] + CommonSubexpressions v0.3.1 [34da2185] + Compat v4.16.0 [187b0558] + ConstructionBase v1.5.8 [9a962f9c] + DataAPI v1.16.0 [864edb3b] + DataStructures v0.18.20 [e2d170a0] + DataValueInterfaces v1.0.0 ⌅ [85a47980] + Dictionaries v0.3.29 [163ba53b] + DiffResults v1.1.0 [b552c78f] + DiffRules v1.15.1 [31c24e10] + Distributions v0.25.117 [ced4e74d] + DistributionsAD v0.6.57 [ffbed154] + DocStringExtensions v0.9.3 [e2ba6199] + ExprTools v0.1.10 [1a297f60] + FillArrays v1.13.0 [f6369f11] + ForwardDiff v0.10.38 ⌅ [d9f16b24] + Functors v0.4.12 [46192b85] + GPUArraysCore v0.2.0 [34004b35] + HypergeometricFunctions v0.3.27 [313cdc1a] + Indexing v1.1.1 [92d709cd] + IrrationalConstants v0.2.4 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.7.0 [2ab3a3ac] + LogExpFunctions v0.3.29 [1914dd2f] + MacroTools v0.5.15 [e1d29d7a] + Missings v1.2.0 [77ba4419] + NaNMath v1.1.2 [bac558e1] + OrderedCollections v1.8.0 [90014a1f] + PDMats v0.11.32 [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [43287f4e] + PtrArrays v1.3.0 [1fd47b50] + QuadGK v2.11.2 [c1ae055f] + RealDot v0.1.0 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.0 [79098fc4] + Rmath v0.8.0 [a2af1166] + SortingAlgorithms v1.2.1 [dc90abb0] + SparseInverseSubset v0.1.2 [276daf66] + SpecialFunctions v2.5.0 [90137ffa] + StaticArrays v1.9.12 [1e83bf80] + StaticArraysCore v1.4.3 [82ae8749] + StatsAPI v1.7.0 [2913bbd2] + StatsBase v0.34.4 [4c63d2b9] + StatsFuns v1.3.2 [e4facb34] + StochasticAD v0.1.26 [09ab397b] + StructArrays v0.7.0 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.0 [700de1a5] + ZygoteRules v0.2.7 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [f50d1b31] + Rmath_jll v0.5.1+0 [56f22d72] + Artifacts [2a0f44e3] + Base64 [ade2ca70] + Dates [8ba89e20] + Distributed [b77e0a4c] + InteractiveUtils [76f85450] + LibGit2 [8f399da3] + Libdl [37e2e46d] + LinearAlgebra [d6f4376e] + Markdown [ca575930] + NetworkOptions v1.2.0 [de0858da] + Printf [9a3f8284] + Random [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization [6462fe0b] + Sockets [2f01184e] + SparseArrays v1.10.0 [10745b16] + Statistics v1.10.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [cf7118a7] + UUIDs [4ec0a83e] + Unicode [e66e0078] + CompilerSupportLibraries_jll v1.1.1+0 [e37daf67] + LibGit2_jll v1.6.4+0 [29816b5a] + LibSSH2_jll v1.11.0+1 [c8ffd9c3] + MbedTLS_jll v2.28.2+1 [4536629a] + OpenBLAS_jll v0.3.23+4 [05823500] + OpenLibm_jll v0.8.1+4 [bea87d4a] + SuiteSparse_jll v7.2.1+1 [8e850b90] + libblastrampoline_jll v5.11.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 5.31s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 44.8s ################################################################################ # Testing # Testing StochasticAD Status `/tmp/jl_S1jI3j/Project.toml` [d360d2e6] ChainRulesCore v1.25.1 [f51149dc] ChainRulesOverloadGeneration v0.1.4 ⌅ [85a47980] Dictionaries v0.3.29 [163ba53b] DiffResults v1.1.0 [31c24e10] Distributions v0.25.117 [ced4e74d] DistributionsAD v0.6.57 [e2ba6199] ExprTools v0.1.10 [f6369f11] ForwardDiff v0.10.38 ⌅ [d9f16b24] Functors v0.4.12 [43dcc890] GaussianDistributions v0.5.2 [eff96d63] Measurements v2.12.0 [6fe1bfb0] OffsetArrays v1.15.0 [1bc83da4] SafeTestsets v0.1.0 [90137ffa] StaticArrays v1.9.12 [2913bbd2] StatsBase v0.34.4 [e4facb34] StochasticAD v0.1.26 [3a884ed6] UnPack v1.0.2 [e88e6eb3] Zygote v0.7.4 [37e2e46d] LinearAlgebra [44cfe95a] Pkg v1.10.0 [de0858da] Printf [9a3f8284] Random [10745b16] Statistics v1.10.0 [8dfed614] Test Status `/tmp/jl_S1jI3j/Manifest.toml` [621f4979] AbstractFFTs v1.5.0 [79e6a3ab] Adapt v4.2.0 [66dad0bd] AliasTables v1.1.3 [a9b6321e] Atomix v1.1.0 [fa961155] CEnum v0.5.0 [49dc2e85] Calculus v0.5.2 [082447d4] ChainRules v1.72.2 [d360d2e6] ChainRulesCore v1.25.1 [f51149dc] ChainRulesOverloadGeneration v0.1.4 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.16.0 [187b0558] ConstructionBase v1.5.8 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.18.20 [e2d170a0] DataValueInterfaces v1.0.0 ⌅ [85a47980] Dictionaries v0.3.29 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [31c24e10] Distributions v0.25.117 [ced4e74d] DistributionsAD v0.6.57 [ffbed154] DocStringExtensions v0.9.3 [e2ba6199] ExprTools v0.1.10 [1a297f60] FillArrays v1.13.0 [f6369f11] ForwardDiff v0.10.38 ⌅ [d9f16b24] Functors v0.4.12 [0c68f7d7] GPUArrays v11.2.2 [46192b85] GPUArraysCore v0.2.0 [43dcc890] GaussianDistributions v0.5.2 [076d061b] HashArrayMappedTries v0.2.0 [34004b35] HypergeometricFunctions v0.3.27 [7869d1d1] IRTools v0.4.14 [313cdc1a] Indexing v1.1.1 [92d709cd] IrrationalConstants v0.2.4 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.7.0 [63c18a36] KernelAbstractions v0.9.34 [929cbde3] LLVM v9.2.0 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.15 [eff96d63] Measurements v2.12.0 [e1d29d7a] Missings v1.2.0 [77ba4419] NaNMath v1.1.2 [6fe1bfb0] OffsetArrays v1.15.0 [bac558e1] OrderedCollections v1.8.0 [90014a1f] PDMats v0.11.32 [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [43287f4e] PtrArrays v1.3.0 [1fd47b50] QuadGK v2.11.2 [c1ae055f] RealDot v0.1.0 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.0 [79098fc4] Rmath v0.8.0 [1bc83da4] SafeTestsets v0.1.0 [7e506255] ScopedValues v1.3.0 [a2af1166] SortingAlgorithms v1.2.1 [dc90abb0] SparseInverseSubset v0.1.2 [276daf66] SpecialFunctions v2.5.0 [90137ffa] StaticArrays v1.9.12 [1e83bf80] StaticArraysCore v1.4.3 [82ae8749] StatsAPI v1.7.0 [2913bbd2] StatsBase v0.34.4 [4c63d2b9] StatsFuns v1.3.2 [e4facb34] StochasticAD v0.1.26 [09ab397b] StructArrays v0.7.0 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.0 [3a884ed6] UnPack v1.0.2 [013be700] UnsafeAtomics v0.3.0 [e88e6eb3] Zygote v0.7.4 [700de1a5] ZygoteRules v0.2.7 [dad2f222] LLVMExtra_jll v0.0.35+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [f50d1b31] Rmath_jll v0.5.1+0 [0dad84c5] ArgTools v1.1.1 [56f22d72] Artifacts [2a0f44e3] Base64 [ade2ca70] Dates [8ba89e20] Distributed [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching [b77e0a4c] InteractiveUtils [4af54fe1] LazyArtifacts [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 [8f399da3] Libdl [37e2e46d] LinearAlgebra [56ddb016] Logging [d6f4376e] Markdown [ca575930] NetworkOptions v1.2.0 [44cfe95a] Pkg v1.10.0 [de0858da] Printf [3fa0cd96] REPL [9a3f8284] Random [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization [6462fe0b] Sockets [2f01184e] SparseArrays v1.10.0 [10745b16] Statistics v1.10.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test [cf7118a7] UUIDs [4ec0a83e] Unicode [e66e0078] CompilerSupportLibraries_jll v1.1.1+0 [deac9b47] LibCURL_jll v8.4.0+0 [e37daf67] LibGit2_jll v1.6.4+0 [29816b5a] LibSSH2_jll v1.11.0+1 [c8ffd9c3] MbedTLS_jll v2.28.2+1 [14a3606d] MozillaCACerts_jll v2023.1.10 [4536629a] OpenBLAS_jll v0.3.23+4 [05823500] OpenLibm_jll v0.8.1+4 [bea87d4a] SuiteSparse_jll v7.2.1+1 [83775a58] Zlib_jll v1.2.13+1 [8e850b90] libblastrampoline_jll v5.11.0+0 [8e850ede] nghttp2_jll v1.52.0+1 [3f19e933] p7zip_jll v17.4.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... Test Summary: | Pass Broken Total Time Triples | 1083 13 1096 9m16.8s 557.188284 seconds (1.20 G allocations: 59.272 GiB, 5.13% gc time, 57.61% compilation time: <1% of which was recompilation) Test Summary: | Pass Total Time Game of life | 1 1 48.4s 48.400032 seconds (699.80 M allocations: 22.052 GiB, 11.72% gc time, 7.73% compilation time: <1% of which was recompilation) Test Summary: | Pass Total Time Random walk | 1 1 12.4s 12.375613 seconds (33.61 M allocations: 1.346 GiB, 6.62% gc time, 78.91% compilation time) ┌ Warning: `ignore(f)` is deprecated, use `ChainRulesCore.ignore_derivatives(f)` instead. │ caller = resample(m::Int64, X::Vector{Vector{ForwardDiff.Dual{ForwardDiff.Tag{Main.var"##Resampling#228".ParticleFilterCore.var"#17#18"{Int64, Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}}, Float64}, Float64, 1}}}, W::Vector{ForwardDiff.Dual{ForwardDiff.Tag{Main.var"##Resampling#228".ParticleFilterCore.var"#17#18"{Int64, Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}}, Float64}, Float64, 1}}, ω::ForwardDiff.Dual{ForwardDiff.Tag{Main.var"##Resampling#228".ParticleFilterCore.var"#17#18"{Int64, Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}}, Float64}, Float64, 1}, sample_strategy::typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified), use_new_weight::Bool) at core.jl:170 └ @ Main.var"##Resampling#228".ParticleFilterCore ~/.julia/packages/StochasticAD/YFSbJ/tutorials/particle_filter/core.jl:170 ┌ Warning: `ignore(f)` is deprecated, use `ChainRulesCore.ignore_derivatives(f)` instead. │ caller = adjoint at deprecated.jl:31 [inlined] └ @ Core ~/.julia/packages/Zygote/3To5I/src/deprecated.jl:31 forward-mode and reverse-mode AD: single run: Error During Test at /home/pkgeval/.julia/packages/StochasticAD/YFSbJ/test/resampling.jl:50 Got exception outside of a @test MethodError: Cannot `convert` an object of type Vector{Float64} to an object of type Union{ChainRulesCore.ZeroTangent, ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#553#558"{Vector{Float64}, Matrix{Float64}}}, ChainRules.var"#552#557"{Vector{Float64}, Matrix{Float64}}}} Closest candidates are: convert(::Type{T}, !Matched::T) where T @ Base Base.jl:84 Stacktrace: [1] setindex!(A::Vector{Union{ChainRulesCore.ZeroTangent, ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#553#558"{Vector{Float64}, Matrix{Float64}}}, ChainRules.var"#552#557"{Vector{Float64}, Matrix{Float64}}}}}, x::Vector{Float64}, i1::Int64) @ Base ./array.jl:1021 [2] setindex! @ ./subarray.jl:331 [inlined] [3] macro expansion @ ./broadcast.jl:1004 [inlined] [4] macro expansion @ ./simdloop.jl:77 [inlined] [5] copyto! @ ./broadcast.jl:1003 [inlined] [6] copyto! @ ./broadcast.jl:956 [inlined] [7] materialize! @ ./broadcast.jl:914 [inlined] [8] materialize! @ ./broadcast.jl:911 [inlined] [9] ∇getindex!(dx::Vector{Union{ChainRulesCore.ZeroTangent, ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#553#558"{Vector{Float64}, Matrix{Float64}}}, ChainRules.var"#552#557"{Vector{Float64}, Matrix{Float64}}}}}, dy::Vector{ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#553#558"{Vector{Float64}, Matrix{Float64}}}, ChainRules.var"#552#557"{Vector{Float64}, Matrix{Float64}}}}, inds::Vector{Int64}) @ ChainRules ~/.julia/packages/ChainRules/sm2ny/src/rulesets/Base/indexing.jl:151 [10] ∇getindex(x::Vector{Vector{Float64}}, dy::Vector{ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#553#558"{Vector{Float64}, Matrix{Float64}}}, ChainRules.var"#552#557"{Vector{Float64}, Matrix{Float64}}}}, inds::Vector{Int64}) @ ChainRules ~/.julia/packages/ChainRules/sm2ny/src/rulesets/Base/indexing.jl:89 [11] #672 @ ~/.julia/packages/ChainRules/sm2ny/src/rulesets/Base/indexing.jl:69 [inlined] [12] unthunk @ ~/.julia/packages/ChainRulesCore/U6wNx/src/tangent_types/thunks.jl:213 [inlined] [13] unthunk @ ~/.julia/packages/ChainRulesCore/U6wNx/src/tangent_types/thunks.jl:252 [inlined] [14] accum(x::ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#672#674"{Vector{Vector{Float64}}, Vector{ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#553#558"{Vector{Float64}, Matrix{Float64}}}, ChainRules.var"#552#557"{Vector{Float64}, Matrix{Float64}}}}, Tuple{Vector{Int64}}}}, ChainRules.var"#671#673"{Vector{Vector{Float64}}, Vector{ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#553#558"{Vector{Float64}, Matrix{Float64}}}, ChainRules.var"#552#557"{Vector{Float64}, Matrix{Float64}}}}, Tuple{Vector{Int64}}}}, y::Vector{Vector{Float64}}) @ Zygote ~/.julia/packages/Zygote/3To5I/src/lib/lib.jl:47 [15] (::Zygote.var"#back#316"{:contents, Zygote.Context{false}, Core.Box, Vector{Vector{Float64}}})(Δ::Vector{Vector{Float64}}) @ Zygote ~/.julia/packages/Zygote/3To5I/src/lib/lib.jl:245 [16] (::Zygote.var"#2201#back#317"{Zygote.var"#back#316"{:contents, Zygote.Context{false}, Core.Box, Vector{Vector{Float64}}}})(Δ::Vector{Vector{Float64}}) @ Zygote ~/.julia/packages/ZygoteRules/CkVIK/src/adjoint.jl:72 [17] #_#5 @ ~/.julia/packages/StochasticAD/YFSbJ/tutorials/particle_filter/core.jl:209 [inlined] [18] (::Zygote.Pullback{Tuple{Main.var"##Resampling#228".ParticleFilterCore.var"##_#5", Bool, Bool, Int64, Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}, Vector{Float64}}, Any})(Δ::Tuple{Nothing, ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#719#722"{Float64, Colon, Vector{Float64}, ChainRulesCore.ProjectTo{AbstractArray, @NamedTuple{element::ChainRulesCore.ProjectTo{Float64, @NamedTuple{}}, axes::Tuple{Base.OneTo{Int64}}}}}}, ChainRules.var"#718#721"{Float64, Colon}}}) @ Zygote ~/.julia/packages/Zygote/3To5I/src/compiler/interface2.jl:0 [19] ParticleFilter @ ~/.julia/packages/StochasticAD/YFSbJ/tutorials/particle_filter/core.jl:198 [inlined] [20] (::Zygote.Pullback{Tuple{typeof(Core.kwcall), @NamedTuple{store_path::Bool, use_new_weight::Bool, s::Int64}, Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}, Vector{Float64}}, Any})(Δ::Tuple{Nothing, ChainRulesCore.InplaceableThunk{ChainRulesCore.Thunk{ChainRules.var"#719#722"{Float64, Colon, Vector{Float64}, ChainRulesCore.ProjectTo{AbstractArray, @NamedTuple{element::ChainRulesCore.ProjectTo{Float64, @NamedTuple{}}, axes::Tuple{Base.OneTo{Int64}}}}}}, ChainRules.var"#718#721"{Float64, Colon}}}) @ Zygote ~/.julia/packages/Zygote/3To5I/src/compiler/interface2.jl:0 [21] log_likelihood @ ~/.julia/packages/StochasticAD/YFSbJ/tutorials/particle_filter/core.jl:269 [inlined] [22] (::Zygote.Pullback{Tuple{typeof(Main.var"##Resampling#228".ParticleFilterCore.log_likelihood), Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}, Vector{Float64}, Bool, Int64}, Tuple{Zygote.var"#2050#back#227"{Zygote.var"#back#225"{2, 1, Zygote.Context{false}, Vector{Vector{Float64}}}}, Zygote.var"#back#259"{Zygote.var"#2050#back#227"{Zygote.var"#back#225"{2, 1, Zygote.Context{false}, Vector{Vector{Float64}}}}}, Zygote.Pullback{Tuple{typeof(Core.kwcall), @NamedTuple{store_path::Bool, use_new_weight::Bool, s::Int64}, Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}, Vector{Float64}}, Any}, Zygote.var"#2034#back#218"{typeof(identity)}, Zygote.var"#back#260"{Zygote.var"#2050#back#227"{Zygote.var"#back#225"{2, 2, Zygote.Context{false}, Vector{Float64}}}}, Zygote.var"#2050#back#227"{Zygote.var"#back#225"{2, 2, Zygote.Context{false}, Int64}}, Zygote.ZBack{ChainRules.var"#sum_pullback#720"{Colon, Vector{Float64}, ChainRulesCore.ProjectTo{AbstractArray, @NamedTuple{element::ChainRulesCore.ProjectTo{Float64, @NamedTuple{}}, axes::Tuple{Base.OneTo{Int64}}}}}}, Zygote.var"#2050#back#227"{Zygote.var"#back#225"{2, 1, Zygote.Context{false}, Vector{Float64}}}, Zygote.Pullback{Tuple{Type{NamedTuple{(:store_path, :use_new_weight, :s)}}, Tuple{Bool, Bool, Int64}}, Tuple{Zygote.var"#2241#back#329"{Zygote.Jnew{@NamedTuple{store_path::Bool, use_new_weight::Bool, s::Int64}, Nothing, true}}}}, Zygote.ZBack{ChainRules.var"#log_pullback#401"{Float64, ChainRulesCore.ProjectTo{Float64, @NamedTuple{}}}}}})(Δ::Float64) @ Zygote ~/.julia/packages/Zygote/3To5I/src/compiler/interface2.jl:0 [23] #20 @ ~/.julia/packages/StochasticAD/YFSbJ/tutorials/particle_filter/core.jl:293 [inlined] [24] (::Zygote.Pullback{Tuple{Main.var"##Resampling#228".ParticleFilterCore.var"#20#21"{Int64, Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}}, Vector{Float64}}, Tuple{Zygote.var"#2201#back#317"{Zygote.var"#back#316"{:F, Zygote.Context{false}, Main.var"##Resampling#228".ParticleFilterCore.var"#20#21"{Int64, Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}}, Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}}}, Zygote.var"#2201#back#317"{Zygote.var"#back#316"{:s, Zygote.Context{false}, Main.var"##Resampling#228".ParticleFilterCore.var"#20#21"{Int64, Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}}, Int64}}, Zygote.Pullback{Tuple{typeof(Main.var"##Resampling#228".ParticleFilterCore.log_likelihood), Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}, Vector{Float64}, Bool, Int64}, Tuple{Zygote.var"#2050#back#227"{Zygote.var"#back#225"{2, 1, Zygote.Context{false}, Vector{Vector{Float64}}}}, Zygote.var"#back#259"{Zygote.var"#2050#back#227"{Zygote.var"#back#225"{2, 1, Zygote.Context{false}, Vector{Vector{Float64}}}}}, Zygote.Pullback{Tuple{typeof(Core.kwcall), @NamedTuple{store_path::Bool, use_new_weight::Bool, s::Int64}, Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}, Vector{Float64}}, Any}, Zygote.var"#2034#back#218"{typeof(identity)}, Zygote.var"#back#260"{Zygote.var"#2050#back#227"{Zygote.var"#back#225"{2, 2, Zygote.Context{false}, Vector{Float64}}}}, Zygote.var"#2050#back#227"{Zygote.var"#back#225"{2, 2, Zygote.Context{false}, Int64}}, Zygote.ZBack{ChainRules.var"#sum_pullback#720"{Colon, Vector{Float64}, ChainRulesCore.ProjectTo{AbstractArray, @NamedTuple{element::ChainRulesCore.ProjectTo{Float64, @NamedTuple{}}, axes::Tuple{Base.OneTo{Int64}}}}}}, Zygote.var"#2050#back#227"{Zygote.var"#back#225"{2, 1, Zygote.Context{false}, Vector{Float64}}}, Zygote.Pullback{Tuple{Type{NamedTuple{(:store_path, :use_new_weight, :s)}}, Tuple{Bool, Bool, Int64}}, Tuple{Zygote.var"#2241#back#329"{Zygote.Jnew{@NamedTuple{store_path::Bool, use_new_weight::Bool, s::Int64}, Nothing, true}}}}, Zygote.ZBack{ChainRules.var"#log_pullback#401"{Float64, ChainRulesCore.ProjectTo{Float64, @NamedTuple{}}}}}}}})(Δ::Float64) @ Zygote ~/.julia/packages/Zygote/3To5I/src/compiler/interface2.jl:0 [25] (::Zygote.var"#88#89"{Zygote.Pullback{Tuple{Main.var"##Resampling#228".ParticleFilterCore.var"#20#21"{Int64, Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}}, Vector{Float64}}, Tuple{Zygote.var"#2201#back#317"{Zygote.var"#back#316"{:F, Zygote.Context{false}, Main.var"##Resampling#228".ParticleFilterCore.var"#20#21"{Int64, Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}}, Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}}}, Zygote.var"#2201#back#317"{Zygote.var"#back#316"{:s, Zygote.Context{false}, Main.var"##Resampling#228".ParticleFilterCore.var"#20#21"{Int64, Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}}, Int64}}, Zygote.Pullback{Tuple{typeof(Main.var"##Resampling#228".ParticleFilterCore.log_likelihood), Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}, Vector{Float64}, Bool, Int64}, Tuple{Zygote.var"#2050#back#227"{Zygote.var"#back#225"{2, 1, Zygote.Context{false}, Vector{Vector{Float64}}}}, Zygote.var"#back#259"{Zygote.var"#2050#back#227"{Zygote.var"#back#225"{2, 1, Zygote.Context{false}, Vector{Vector{Float64}}}}}, Zygote.Pullback{Tuple{typeof(Core.kwcall), @NamedTuple{store_path::Bool, use_new_weight::Bool, s::Int64}, Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}, Vector{Float64}}, Any}, Zygote.var"#2034#back#218"{typeof(identity)}, Zygote.var"#back#260"{Zygote.var"#2050#back#227"{Zygote.var"#back#225"{2, 2, Zygote.Context{false}, Vector{Float64}}}}, Zygote.var"#2050#back#227"{Zygote.var"#back#225"{2, 2, Zygote.Context{false}, Int64}}, Zygote.ZBack{ChainRules.var"#sum_pullback#720"{Colon, Vector{Float64}, ChainRulesCore.ProjectTo{AbstractArray, @NamedTuple{element::ChainRulesCore.ProjectTo{Float64, @NamedTuple{}}, axes::Tuple{Base.OneTo{Int64}}}}}}, Zygote.var"#2050#back#227"{Zygote.var"#back#225"{2, 1, Zygote.Context{false}, Vector{Float64}}}, Zygote.Pullback{Tuple{Type{NamedTuple{(:store_path, :use_new_weight, :s)}}, Tuple{Bool, Bool, Int64}}, Tuple{Zygote.var"#2241#back#329"{Zygote.Jnew{@NamedTuple{store_path::Bool, use_new_weight::Bool, s::Int64}, Nothing, true}}}}, Zygote.ZBack{ChainRules.var"#log_pullback#401"{Float64, ChainRulesCore.ProjectTo{Float64, @NamedTuple{}}}}}}}}})(Δ::Float64) @ Zygote ~/.julia/packages/Zygote/3To5I/src/compiler/interface.jl:97 [26] gradient(f::Function, args::Vector{Float64}) @ Zygote ~/.julia/packages/Zygote/3To5I/src/compiler/interface.jl:154 [27] #back_grad#19 @ ~/.julia/packages/StochasticAD/YFSbJ/tutorials/particle_filter/core.jl:293 [inlined] [28] back_grad(θ::Vector{Float64}, F::Main.var"##Resampling#228".ParticleFilterCore.ParticleFilter{Int64, Main.var"##Resampling#228".ParticleFilterCore.StochasticModel{Int64, typeof(Main.var"##Resampling#228".start), typeof(Main.var"##Resampling#228".dyn), typeof(Main.var"##Resampling#228".obs)}, Vector{Vector{Float64}}, typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified)}) @ Main.var"##Resampling#228".ParticleFilterCore ~/.julia/packages/StochasticAD/YFSbJ/tutorials/particle_filter/core.jl:292 [29] macro expansion @ ~/.julia/packages/StochasticAD/YFSbJ/test/resampling.jl:54 [inlined] [30] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [31] top-level scope @ ~/.julia/packages/StochasticAD/YFSbJ/test/resampling.jl:51 [32] include(mod::Module, _path::String) @ Base ./Base.jl:495 [33] include(x::String) @ Main.var"##Resampling#228" ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [34] macro expansion @ ~/.julia/packages/StochasticAD/YFSbJ/test/runtests.jl:22 [inlined] [35] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [36] macro expansion @ ~/.julia/packages/StochasticAD/YFSbJ/test/runtests.jl:22 [inlined] [37] top-level scope @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:30 [38] eval(m::Module, e::Any) @ Core ./boot.jl:385 [39] macro expansion @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] [40] macro expansion @ ./timing.jl:279 [inlined] [41] macro expansion @ ~/.julia/packages/StochasticAD/YFSbJ/test/runtests.jl:21 [inlined] [42] macro expansion @ ./timing.jl:279 [inlined] [43] top-level scope @ ~/.julia/packages/StochasticAD/YFSbJ/test/runtests.jl:269 [44] include(fname::String) @ Base.MainInclude ./client.jl:494 [45] top-level scope @ none:6 [46] eval @ ./boot.jl:385 [inlined] [47] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [48] _start() @ Base ./client.jl:557 ┌ Warning: `ignore(f)` is deprecated, use `ChainRulesCore.ignore_derivatives(f)` instead. │ caller = resample(m::Int64, X::Vector{Vector{Float64}}, W::Vector{Float64}, ω::Float64, sample_strategy::typeof(Main.var"##Resampling#228".ParticleFilterCore.sample_stratified), use_new_weight::Bool) at core.jl:170 └ @ Main.var"##Resampling#228".ParticleFilterCore ~/.julia/packages/StochasticAD/YFSbJ/tutorials/particle_filter/core.jl:170 Test Summary: | Pass Error Total Time Resampling | 6 1 7 1m34.2s new weight | 5 5 0.2s forward-mode and reverse-mode AD: single run | 1 1 50.5s AD and Finite Differences | 1 1 39.5s ERROR: LoadError: Some tests did not pass: 6 passed, 0 failed, 1 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/StochasticAD/YFSbJ/test/runtests.jl:10 Testing failed after 717.53s ERROR: LoadError: Package StochasticAD errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:2034 [3] test @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1915 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::Base.PipeEndpoint}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:444 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.PipeEndpoint, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:159 [6] test @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined] [7] #test#74 @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:146 [inlined] [8] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 787.74s: package tests unexpectedly errored