Package evaluation of CrossEntropyMethod on Julia 1.13.0-DEV.140 (fac1ce7906*) started at 2025-03-02T14:10:20.728 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 7.89s ################################################################################ # Installation # Installing CrossEntropyMethod... Resolving package versions... Updating `~/.julia/environments/v1.13/Project.toml` [f7e364ee] + CrossEntropyMethod v0.1.2 Updating `~/.julia/environments/v1.13/Manifest.toml` [66dad0bd] + AliasTables v1.1.3 [ec485272] + ArnoldiMethod v0.4.0 [35d6a980] + ColorSchemes v3.29.0 [3da002f7] + ColorTypes v0.12.0 [c3611d14] + ColorVectorSpace v0.11.0 [5ae59095] + Colors v0.13.0 [d842c3ba] + CommonRLInterface v0.3.3 [34da2185] + Compat v4.16.0 [d38c429a] + Contour v0.6.3 [a8cc5b0e] + Crayons v4.1.1 [f7e364ee] + CrossEntropyMethod v0.1.2 [9a962f9c] + DataAPI v1.16.0 [a93c6f00] + DataFrames v1.7.0 [864edb3b] + DataStructures v0.18.20 [e2d170a0] + DataValueInterfaces v1.0.0 [31c24e10] + Distributions v0.25.117 [ffbed154] + DocStringExtensions v0.9.3 [1a297f60] + FillArrays v1.13.0 [53c48c17] + FixedPointNumbers v0.8.5 [86223c79] + Graphs v1.12.0 [34004b35] + HypergeometricFunctions v0.3.27 [d25df0c9] + Inflate v0.1.5 [842dd82b] + InlineStrings v1.4.3 [41ab1584] + InvertedIndices v1.3.1 [92d709cd] + IrrationalConstants v0.2.4 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.7.0 [b964fa9f] + LaTeXStrings v1.4.0 [2ab3a3ac] + LogExpFunctions v0.3.29 [1914dd2f] + MacroTools v0.5.15 [299715c1] + MarchingCubes v0.1.11 [e1d29d7a] + Missings v1.2.0 [77ba4419] + NaNMath v1.1.2 ⌅ [d9ec5142] + NamedTupleTools v0.13.7 [bac558e1] + OrderedCollections v1.8.0 [90014a1f] + PDMats v0.11.32 [f3bd98c0] + POMDPLinter v0.1.2 [182e52fb] + POMDPPolicies v0.4.3 [e0d0a172] + POMDPSimulators v0.3.14 ⌅ [7588e00f] + POMDPTools v0.1.6 ⌅ [a93abf59] + POMDPs v0.9.6 [d96e819e] + Parameters v0.12.3 [2dfb63ee] + PooledArrays v1.4.3 [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [08abe8d2] + PrettyTables v2.4.0 [92933f4c] + ProgressMeter v1.10.2 [43287f4e] + PtrArrays v1.3.0 [1fd47b50] + QuadGK v2.11.2 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [79098fc4] + Rmath v0.8.0 [91c51154] + SentinelArrays v1.4.8 [699a6c99] + SimpleTraits v0.9.4 [a2af1166] + SortingAlgorithms v1.2.1 [276daf66] + SpecialFunctions v2.5.0 [90137ffa] + StaticArrays v1.9.13 [1e83bf80] + StaticArraysCore v1.4.3 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.7.0 ⌅ [2913bbd2] + StatsBase v0.33.21 [4c63d2b9] + StatsFuns v1.3.2 [892a3eda] + StringManipulation v0.4.1 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.0 [62fd8b95] + TensorCore v0.1.1 [410a4b4d] + Tricks v0.1.10 [3a884ed6] + UnPack v1.0.2 [b8865327] + UnicodePlots v3.7.2 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [f50d1b31] + Rmath_jll v0.5.1+0 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [8ba89e20] + Distributed v1.11.0 [f43a241f] + Downloads v1.7.0 [7b1f6079] + FileWatching v1.11.0 [9fa8497b] + Future v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.12.0 [b27032c2] + LibCURL v0.6.4 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.12.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.3.0 [44cfe95a] + Pkg v1.12.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [1a1011a3] + SharedArrays v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.12.0 [f489334b] + StyledStrings v1.11.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] + LibCURL_jll v8.11.1+1 [e37daf67] + LibGit2_jll v1.9.0+0 [29816b5a] + LibSSH2_jll v1.11.3+1 [14a3606d] + MozillaCACerts_jll v2024.12.31 [4536629a] + OpenBLAS_jll v0.3.29+0 [05823500] + OpenLibm_jll v0.8.5+0 [458c3c95] + OpenSSL_jll v3.0.16+0 [bea87d4a] + SuiteSparse_jll v7.8.3+2 [83775a58] + Zlib_jll v1.3.1+2 [8e850b90] + libblastrampoline_jll v5.12.0+0 [8e850ede] + nghttp2_jll v1.64.0+1 [3f19e933] + p7zip_jll v17.5.0+2 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 4.27s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... ┌ Warning: Could not use exact versions of packages in manifest, re-resolving └ @ TestEnv ~/.julia/packages/TestEnv/tgnBf/src/julia-1.11/activate_set.jl:63 Precompiling package dependencies... Precompilation completed after 517.27s ################################################################################ # Testing # Testing CrossEntropyMethod Test Could not use exact versions of packages in manifest. Re-resolving dependencies Updating `/tmp/jl_w3gdPZ/Project.toml` [f7e364ee] + CrossEntropyMethod v0.1.2 [355abbd5] + POMDPModels v0.4.21 [8dfed614] ~ Test ⇒ v1.11.0 Updating `/tmp/jl_w3gdPZ/Manifest.toml` ⌅ [3da002f7] ↓ ColorTypes v0.12.0 ⇒ v0.11.5 ⌃ [c3611d14] ↓ ColorVectorSpace v0.11.0 ⇒ v0.10.0 ⌅ [5ae59095] ↓ Colors v0.13.0 ⇒ v0.12.11 [a81c6b42] + Compose v0.9.5 [f7e364ee] + CrossEntropyMethod v0.1.2 [c8e1da08] + IterTools v1.10.0 [682c06a0] + JSON v0.21.4 [442fdcdd] + Measures v0.3.2 [355abbd5] + POMDPModels v0.4.21 [69de0a69] + Parsers v2.8.1 [8dfed614] ~ Test ⇒ v1.11.0 Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m` Test Successfully re-resolved Status `/tmp/jl_w3gdPZ/Project.toml` [f7e364ee] CrossEntropyMethod v0.1.2 [31c24e10] Distributions v0.25.117 [355abbd5] POMDPModels v0.4.21 [182e52fb] POMDPPolicies v0.4.3 [e0d0a172] POMDPSimulators v0.3.14 ⌅ [a93abf59] POMDPs v0.9.6 [92933f4c] ProgressMeter v1.10.2 [9a3f8284] Random v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_w3gdPZ/Manifest.toml` [66dad0bd] AliasTables v1.1.3 [ec485272] ArnoldiMethod v0.4.0 [35d6a980] ColorSchemes v3.29.0 ⌅ [3da002f7] ColorTypes v0.11.5 ⌃ [c3611d14] ColorVectorSpace v0.10.0 ⌅ [5ae59095] Colors v0.12.11 [d842c3ba] CommonRLInterface v0.3.3 [34da2185] Compat v4.16.0 [a81c6b42] Compose v0.9.5 [d38c429a] Contour v0.6.3 [a8cc5b0e] Crayons v4.1.1 [f7e364ee] CrossEntropyMethod v0.1.2 [9a962f9c] DataAPI v1.16.0 [a93c6f00] DataFrames v1.7.0 [864edb3b] DataStructures v0.18.20 [e2d170a0] DataValueInterfaces v1.0.0 [31c24e10] Distributions v0.25.117 [ffbed154] DocStringExtensions v0.9.3 [1a297f60] FillArrays v1.13.0 [53c48c17] FixedPointNumbers v0.8.5 [86223c79] Graphs v1.12.0 [34004b35] HypergeometricFunctions v0.3.27 [d25df0c9] Inflate v0.1.5 [842dd82b] InlineStrings v1.4.3 [41ab1584] InvertedIndices v1.3.1 [92d709cd] IrrationalConstants v0.2.4 [c8e1da08] IterTools v1.10.0 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.7.0 [682c06a0] JSON v0.21.4 [b964fa9f] LaTeXStrings v1.4.0 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.15 [299715c1] MarchingCubes v0.1.11 [442fdcdd] Measures v0.3.2 [e1d29d7a] Missings v1.2.0 [77ba4419] NaNMath v1.1.2 ⌅ [d9ec5142] NamedTupleTools v0.13.7 [bac558e1] OrderedCollections v1.8.0 [90014a1f] PDMats v0.11.32 [f3bd98c0] POMDPLinter v0.1.2 [355abbd5] POMDPModels v0.4.21 [182e52fb] POMDPPolicies v0.4.3 [e0d0a172] POMDPSimulators v0.3.14 ⌅ [7588e00f] POMDPTools v0.1.6 ⌅ [a93abf59] POMDPs v0.9.6 [d96e819e] Parameters v0.12.3 [69de0a69] Parsers v2.8.1 [2dfb63ee] PooledArrays v1.4.3 [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [08abe8d2] PrettyTables v2.4.0 [92933f4c] ProgressMeter v1.10.2 [43287f4e] PtrArrays v1.3.0 [1fd47b50] QuadGK v2.11.2 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [79098fc4] Rmath v0.8.0 [91c51154] SentinelArrays v1.4.8 [699a6c99] SimpleTraits v0.9.4 [a2af1166] SortingAlgorithms v1.2.1 [276daf66] SpecialFunctions v2.5.0 [90137ffa] StaticArrays v1.9.13 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.0 ⌅ [2913bbd2] StatsBase v0.33.21 [4c63d2b9] StatsFuns v1.3.2 [892a3eda] StringManipulation v0.4.1 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.0 [62fd8b95] TensorCore v0.1.1 [410a4b4d] Tricks v0.1.10 [3a884ed6] UnPack v1.0.2 [b8865327] UnicodePlots v3.7.2 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [f50d1b31] Rmath_jll v0.5.1+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [9fa8497b] Future v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.12.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.12.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [1a1011a3] SharedArrays v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.12.0 [f489334b] StyledStrings v1.11.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] LibCURL_jll v8.11.1+1 [e37daf67] LibGit2_jll v1.9.0+0 [29816b5a] LibSSH2_jll v1.11.3+1 [14a3606d] MozillaCACerts_jll v2024.12.31 [4536629a] OpenBLAS_jll v0.3.29+0 [05823500] OpenLibm_jll v0.8.5+0 [458c3c95] OpenSSL_jll v3.0.16+0 [bea87d4a] SuiteSparse_jll v7.8.3+2 [83775a58] Zlib_jll v1.3.1+2 [8e850b90] libblastrampoline_jll v5.12.0+0 [8e850ede] nghttp2_jll v1.64.0+1 [3f19e933] p7zip_jll v17.5.0+2 Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. Testing Running tests... WARNING: Method definition l(Any, Any) in module Main at /home/pkgeval/.julia/packages/CrossEntropyMethod/J432y/test/cross_entropy_method_tests.jl:15 overwritten at /home/pkgeval/.julia/packages/CrossEntropyMethod/J432y/test/cross_entropy_method_tests.jl:60. Warning: all weights are zero ERROR: LoadError: Tried to sample from a SparseCat distribution with probabilities that sum to 0.0. vals = StaticArraysCore.SVector{2, Int64}[[10, 5], [10, 6], [10, 4], [9, 5], [-1, -1]] probs = [0.0, 0.0, 0.0, 0.0, 0.0] Stacktrace: [1] error(s::String) @ Base ./error.jl:44 [2] rand(rng::TaskLocalRNG, s::Random.SamplerTrivial{POMDPTools.POMDPDistributions.SparseCat{StaticArraysCore.SVector{5, StaticArraysCore.SVector{2, Int64}}, StaticArraysCore.SVector{5, Float64}}, StaticArraysCore.SVector{2, Int64}}) @ POMDPTools.POMDPDistributions ~/.julia/packages/POMDPTools/7Rekv/src/POMDPDistributions/sparse_cat.jl:39 [3] rand @ /opt/julia/share/julia/stdlib/v1.13/Random/src/Random.jl:255 [inlined] [4] macro expansion @ ~/.julia/packages/POMDPs/0qEIe/src/gen_impl.jl:39 [inlined] [5] genout @ ~/.julia/packages/POMDPs/0qEIe/src/gen_impl.jl:19 [inlined] [6] #simulate##2 @ ~/.julia/packages/POMDPs/0qEIe/src/generative.jl:67 [inlined] [7] simulate(sim::POMDPTools.Simulators.RolloutSimulator{TaskLocalRNG}, mdp::SimpleGridWorld, policy::PlaybackPolicy{Vector{Symbol}, RandomPolicy{TaskLocalRNG, SimpleGridWorld, POMDPTools.BeliefUpdaters.NothingUpdater}, Vector{Float64}}, initialstate::StaticArraysCore.SVector{2, Int64}) @ POMDPTools.Simulators ~/.julia/packages/POMDPTools/7Rekv/src/Simulators/rollout.jl:143 [8] simulate(sim::POMDPTools.Simulators.RolloutSimulator{TaskLocalRNG}, mdp::SimpleGridWorld, policy::PlaybackPolicy{Vector{Symbol}, RandomPolicy{TaskLocalRNG, SimpleGridWorld, POMDPTools.BeliefUpdaters.NothingUpdater}, Vector{Float64}}) @ POMDPTools.Simulators ~/.julia/packages/POMDPTools/7Rekv/src/Simulators/rollout.jl:130 [9] (::CrossEntropyMethod.var"#loss#mdp_loss##0"{SimpleGridWorld, RandomPolicy{TaskLocalRNG, SimpleGridWorld, POMDPTools.BeliefUpdaters.NothingUpdater}})(d::Dict{Symbol, Tuple{Sampleable, Int64}}, s::Dict{Symbol, Vector{Int64}}) @ CrossEntropyMethod ~/.julia/packages/CrossEntropyMethod/J432y/src/mdp_helpers.jl:13 [10] (::CrossEntropyMethod.var"#58#59"{CrossEntropyMethod.var"#loss#mdp_loss##0"{SimpleGridWorld, RandomPolicy{TaskLocalRNG, SimpleGridWorld, POMDPTools.BeliefUpdaters.NothingUpdater}}})(s::Dict{Symbol, Vector{Int64}}) @ CrossEntropyMethod ./none:-1 [11] iterate @ ./generator.jl:48 [inlined] [12] collect(itr::Base.Generator{Vector{Dict{Symbol, Vector{Int64}}}, CrossEntropyMethod.var"#58#59"{CrossEntropyMethod.var"#loss#mdp_loss##0"{SimpleGridWorld, RandomPolicy{TaskLocalRNG, SimpleGridWorld, POMDPTools.BeliefUpdaters.NothingUpdater}}}}) @ Base ./array.jl:790 [13] cross_entropy_method(loss::CrossEntropyMethod.var"#loss#mdp_loss##0"{SimpleGridWorld, RandomPolicy{TaskLocalRNG, SimpleGridWorld, POMDPTools.BeliefUpdaters.NothingUpdater}}, d_in::Dict{Symbol, Tuple{Sampleable, Int64}}; max_iter::Int64, N::Int64, elite_thresh::Float64, min_elite_samples::Int64, max_elite_samples::Int64, weight_fn::CrossEntropyMethod.var"#cross_entropy_method##4#cross_entropy_method##5", rng::TaskLocalRNG, verbose::Bool, show_progress::Bool, batched::Bool, add_entropy::CrossEntropyMethod.var"#cross_entropy_method##6#cross_entropy_method##7") @ CrossEntropyMethod ~/.julia/packages/CrossEntropyMethod/J432y/src/cross_entropy_method.jl:97 [14] top-level scope @ ~/.julia/packages/CrossEntropyMethod/J432y/test/mdp_helper_tests.jl:17 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [16] top-level scope @ ~/.julia/packages/CrossEntropyMethod/J432y/test/runtests.jl:2 [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:488 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:294 [21] _start() @ Base ./client.jl:560 in expression starting at /home/pkgeval/.julia/packages/CrossEntropyMethod/J432y/test/mdp_helper_tests.jl:17 in expression starting at /home/pkgeval/.julia/packages/CrossEntropyMethod/J432y/test/runtests.jl:2 Testing failed after 73.71s ERROR: LoadError: Package CrossEntropyMethod errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Operations.jl:2386 [3] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Operations.jl:2241 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:486 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:164 [6] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:152 [7] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:152 [inlined] [8] #test#81 @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:151 [inlined] [9] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 [10] include(mod::Module, _path::String) @ Base ./Base.jl:306 [11] exec_options(opts::Base.JLOptions) @ Base ./client.jl:328 [12] _start() @ Base ./client.jl:560 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 637.04s: package tests unexpectedly errored