Package evaluation to test TaskBasedProduction on Julia 1.12.7-DEV.42 (6f510b6086*) started at 2026-06-19T19:24:59.567 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.12` Set-up completed after 8.28s ################################################################################ # Installation # Installing TaskBasedProduction... Resolving package versions... Updating `~/.julia/environments/v1.12/Project.toml` [0c6611b4] + TaskBasedProduction v1.0.0 Updating `~/.julia/environments/v1.12/Manifest.toml` [47edcb42] + ADTypes v1.22.0 [79e6a3ab] + Adapt v4.6.1 [66dad0bd] + AliasTables v1.1.3 [4fba245c] + ArrayInterface v7.25.0 [bbf7d656] + CommonSubexpressions v0.3.1 [34da2185] + Compat v4.18.1 [187b0558] + ConstructionBase v1.6.0 [9a962f9c] + DataAPI v1.16.0 [864edb3b] + DataStructures v0.19.5 [163ba53b] + DiffResults v1.1.0 [b552c78f] + DiffRules v1.16.0 [a0c0ee7d] + DifferentiationInterface v0.7.18 [31c24e10] + Distributions v0.25.127 [ffbed154] + DocStringExtensions v0.9.5 [1a297f60] + FillArrays v1.16.0 [6a86dc24] + FiniteDiff v2.31.0 ⌅ [f6369f11] + ForwardDiff v0.10.39 [34004b35] + HypergeometricFunctions v0.3.28 [92d709cd] + IrrationalConstants v0.2.6 [692b3bcd] + JLLWrappers v1.8.0 [0fc2ff8b] + LeastSquaresOptim v0.8.9 ⌃ [d3d80556] + LineSearches v7.5.1 ⌅ [2ab3a3ac] + LogExpFunctions v0.3.29 [1914dd2f] + MacroTools v0.5.16 [e1d29d7a] + Missings v1.2.0 ⌅ [d41bc354] + NLSolversBase v7.10.0 [77ba4419] + NaNMath v1.1.4 ⌅ [429524aa] + Optim v1.9.4 ⌅ [bac558e1] + OrderedCollections v1.8.2 [90014a1f] + PDMats v0.11.37 ⌅ [d96e819e] + Parameters v0.12.3 [85a6dd25] + PositiveFactorizations v0.2.4 [21216c6a] + Preferences v1.5.2 [43287f4e] + PtrArrays v1.4.0 ⌅ [1fd47b50] + QuadGK v2.10.1 [189a3867] + Reexport v1.2.2 [79098fc4] + Rmath v0.9.0 [efcf1570] + Setfield v1.1.2 [a2af1166] + SortingAlgorithms v1.2.2 ⌅ [276daf66] + SpecialFunctions v2.4.0 [1e83bf80] + StaticArraysCore v1.4.4 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.8.0 [2913bbd2] + StatsBase v0.34.12 [4c63d2b9] + StatsFuns v2.2.0 [0c6611b4] + TaskBasedProduction v1.0.0 [3a884ed6] + UnPack v1.0.2 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [f50d1b31] + Rmath_jll v0.5.1+0 [56f22d72] + Artifacts v1.11.0 [ade2ca70] + Dates v1.11.0 [8ba89e20] + Distributed v1.11.0 [9fa8497b] + Future v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.12.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.12.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [4536629a] + OpenBLAS_jll v0.3.29+0 [05823500] + OpenLibm_jll v0.8.7+0 [bea87d4a] + SuiteSparse_jll v7.8.3+2 [8e850b90] + libblastrampoline_jll v5.15.0+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` Installation completed after 6.3s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompiling packages... 2356.2 ms ✓ QuadGK 5793.7 ms ✓ SpecialFunctions 3337.0 ms ✓ HypergeometricFunctions 19508.6 ms ✓ ForwardDiff 5476.6 ms ✓ StatsFuns 14980.8 ms ✓ DifferentiationInterface → DifferentiationInterfaceForwardDiffExt 29355.7 ms ✓ Distributions 51296.9 ms ✓ NLSolversBase 55986.7 ms ✓ Distributions → DistributionsTestExt 69545.1 ms ✓ LineSearches 13446.6 ms ✓ Optim 9515.8 ms ✓ LeastSquaresOptim 35645.9 ms ✓ TaskBasedProduction 13 dependencies successfully precompiled in 322 seconds. 72 already precompiled. 9 dependencies precompiled but different versions are currently loaded (Base64, Dates, JuliaSyntaxHighlighting, Logging, Markdown, Printf, StyledStrings, TOML and UUIDs). Restart julia to access the new versions. Otherwise, 24 dependents of these packages may trigger further precompilation to work with the unexpected versions. Precompilation completed after 338.82s ################################################################################ # Testing # Testing TaskBasedProduction Status `/tmp/jl_fX4UVd/Project.toml` [31c24e10] Distributions v0.25.127 [0fc2ff8b] LeastSquaresOptim v0.8.9 ⌅ [429524aa] Optim v1.9.4 ⌅ [1fd47b50] QuadGK v2.10.1 ⌅ [276daf66] SpecialFunctions v2.4.0 [0c6611b4] TaskBasedProduction v1.0.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_fX4UVd/Manifest.toml` [47edcb42] ADTypes v1.22.0 [79e6a3ab] Adapt v4.6.1 [66dad0bd] AliasTables v1.1.3 [4fba245c] ArrayInterface v7.25.0 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.18.1 [187b0558] ConstructionBase v1.6.0 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.19.5 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.16.0 [a0c0ee7d] DifferentiationInterface v0.7.18 [31c24e10] Distributions v0.25.127 [ffbed154] DocStringExtensions v0.9.5 [1a297f60] FillArrays v1.16.0 [6a86dc24] FiniteDiff v2.31.0 ⌅ [f6369f11] ForwardDiff v0.10.39 [34004b35] HypergeometricFunctions v0.3.28 [92d709cd] IrrationalConstants v0.2.6 [692b3bcd] JLLWrappers v1.8.0 [0fc2ff8b] LeastSquaresOptim v0.8.9 ⌃ [d3d80556] LineSearches v7.5.1 ⌅ [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.16 [e1d29d7a] Missings v1.2.0 ⌅ [d41bc354] NLSolversBase v7.10.0 [77ba4419] NaNMath v1.1.4 ⌅ [429524aa] Optim v1.9.4 ⌅ [bac558e1] OrderedCollections v1.8.2 [90014a1f] PDMats v0.11.37 ⌅ [d96e819e] Parameters v0.12.3 [85a6dd25] PositiveFactorizations v0.2.4 [21216c6a] Preferences v1.5.2 [43287f4e] PtrArrays v1.4.0 ⌅ [1fd47b50] QuadGK v2.10.1 [189a3867] Reexport v1.2.2 [79098fc4] Rmath v0.9.0 [efcf1570] Setfield v1.1.2 [a2af1166] SortingAlgorithms v1.2.2 ⌅ [276daf66] SpecialFunctions v2.4.0 [1e83bf80] StaticArraysCore v1.4.4 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.8.0 [2913bbd2] StatsBase v0.34.12 [4c63d2b9] StatsFuns v2.2.0 [0c6611b4] TaskBasedProduction v1.0.0 [3a884ed6] UnPack v1.0.2 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [f50d1b31] Rmath_jll v0.5.1+0 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.11.0 [9fa8497b] Future v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.12.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.12.0 [f489334b] StyledStrings v1.11.0 [4607b0f0] SuiteSparse [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 [05823500] OpenLibm_jll v0.8.7+0 [bea87d4a] SuiteSparse_jll v7.8.3+2 [8e850b90] libblastrampoline_jll v5.15.0+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. Testing Running tests... Precompiling packages... 5457.4 ms ✓ Distributions → DistributionsTestExt 1 dependency successfully precompiled in 7 seconds. 48 already precompiled. 47 dependencies precompiled but different versions are currently loaded (AliasTables, Base64, CompilerSupportLibraries_jll, DataAPI, DataStructures, Dates, Distributions, DocStringExtensions, FillArrays, FillArrays → FillArraysPDMatsExt, FillArrays → FillArraysSparseArraysExt, FillArrays → FillArraysStatisticsExt, HypergeometricFunctions, InteractiveUtils, IrrationalConstants, JLLWrappers, JuliaSyntaxHighlighting, LogExpFunctions, Logging, Markdown, Missings, OpenLibm_jll, OpenSpecFun_jll, OrderedCollections, PDMats, PDMats → StatsBaseExt, Preferences, Printf, PtrArrays, QuadGK, Reexport, Rmath, Rmath_jll, Serialization, SortingAlgorithms, SparseArrays, SpecialFunctions, Statistics, Statistics → SparseArraysExt, StatsAPI, StatsBase, StatsFuns, StyledStrings, SuiteSparse, SuiteSparse_jll, TOML and Test). Restart julia to access the new versions. Otherwise, 1 dependent of these packages may trigger further precompilation to work with the unexpected versions. Running tests for labor_input = [0.5, 0.04, 0.19] Test Summary: | Pass Total Time unitInputDemand Tests | 1 1 1.5s Test Summary: | Pass Total Time MPL function | 1 1 0.4s Test Summary: | Pass Total Time MPL function | 1 1 0.0s Test Summary: | Pass Total Time MPL numerical comparison | 1 1 0.0s ERROR: LoadError: BoundsError: attempt to access Float64 at index [2] Stacktrace: [1] indexed_iterate(I::Float64, i::Int64, state::Nothing) @ Base ./tuple.jl:171 [2] (::LineSearches.var"#ϕdϕ#make_ϕdϕ##0"{Optim.ManifoldObjective{NLSolversBase.OnceDifferentiable{Float64, Vector{Float64}, Vector{Float64}}}, Vector{Float64}, Vector{Float64}, Vector{Float64}})(α::Float64) @ LineSearches ~/.julia/packages/LineSearches/2BCHN/src/LineSearches.jl:32 [3] (::LineSearches.HagerZhang{Float64, Base.RefValue{Bool}})(ϕ::Function, ϕdϕ::LineSearches.var"#ϕdϕ#make_ϕdϕ##0"{Optim.ManifoldObjective{NLSolversBase.OnceDifferentiable{Float64, Vector{Float64}, Vector{Float64}}}, Vector{Float64}, Vector{Float64}, Vector{Float64}}, c::Float64, phi_0::Float64, dphi_0::Float64) @ LineSearches ~/.julia/packages/LineSearches/2BCHN/src/hagerzhang.jl:147 [4] HagerZhang @ ~/.julia/packages/LineSearches/2BCHN/src/hagerzhang.jl:103 [inlined] [5] perform_linesearch!(state::Optim.BFGSState{Vector{Float64}, Matrix{Float64}, Float64, Vector{Float64}}, method::Optim.BFGS{LineSearches.InitialStatic{Float64}, LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Nothing, Nothing, Optim.Flat}, d::Optim.ManifoldObjective{NLSolversBase.OnceDifferentiable{Float64, Vector{Float64}, Vector{Float64}}}) @ Optim ~/.julia/packages/Optim/ZhuZN/src/utilities/perform_linesearch.jl:58 [6] update_state!(d::NLSolversBase.OnceDifferentiable{Float64, Vector{Float64}, Vector{Float64}}, state::Optim.BFGSState{Vector{Float64}, Matrix{Float64}, Float64, Vector{Float64}}, method::Optim.BFGS{LineSearches.InitialStatic{Float64}, LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Nothing, Nothing, Optim.Flat}) @ Optim ~/.julia/packages/Optim/ZhuZN/src/multivariate/solvers/first_order/bfgs.jl:139 [7] optimize(d::NLSolversBase.OnceDifferentiable{Float64, Vector{Float64}, Vector{Float64}}, initial_x::Vector{Float64}, method::Optim.BFGS{LineSearches.InitialStatic{Float64}, LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Nothing, Nothing, Optim.Flat}, options::Optim.Options{Float64, Nothing}, state::Optim.BFGSState{Vector{Float64}, Matrix{Float64}, Float64, Vector{Float64}}) @ Optim ~/.julia/packages/Optim/ZhuZN/src/multivariate/optimize/optimize.jl:54 [8] optimize @ ~/.julia/packages/Optim/ZhuZN/src/multivariate/optimize/optimize.jl:36 [inlined] [9] #optimize#75 @ ~/.julia/packages/Optim/ZhuZN/src/multivariate/optimize/interface.jl:143 [inlined] [10] optimize @ ~/.julia/packages/Optim/ZhuZN/src/multivariate/optimize/interface.jl:139 [inlined] [11] optimize(f::Function, initial_x::Vector{Float64}, method::Optim.BFGS{LineSearches.InitialStatic{Float64}, LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Nothing, Nothing, Optim.Flat}) @ Optim ~/.julia/packages/Optim/ZhuZN/src/multivariate/optimize/interface.jl:139 [12] (::TaskBasedProduction.var"#calculate_percentile#19"{Bool, TaskBasedProduction.var"#c_cdf#18"})(p::Float64, b_g::Function) @ TaskBasedProduction ~/.julia/packages/TaskBasedProduction/uhIwS/src/getStartGuessGen_xT.jl:60 [13] #22 @ ./none:-1 [inlined] [14] iterate @ ./generator.jl:48 [inlined] [15] collect(itr::Base.Generator{Vector{Float64}, TaskBasedProduction.var"#22#23"{var"#b_g#run_tests##0"{Float64, Float64}, TaskBasedProduction.var"#calculate_percentile#19"{Bool, TaskBasedProduction.var"#c_cdf#18"}}}) @ Base ./array.jl:790 [16] (::TaskBasedProduction.var"#generate_initial_xT#21"{var"#b_g#run_tests##0"{Float64, Float64}, TaskBasedProduction.var"#calculate_percentile#19"{Bool, TaskBasedProduction.var"#c_cdf#18"}, Int64})() @ TaskBasedProduction ~/.julia/packages/TaskBasedProduction/uhIwS/src/getStartGuessGen_xT.jl:70 [17] getStartGuessGen_xT(z::Float64, b_g::Function, e_h::Vector{Function}; threshold::Float64, verbose::Bool) @ TaskBasedProduction ~/.julia/packages/TaskBasedProduction/uhIwS/src/getStartGuessGen_xT.jl:104 [18] getStartGuessGen_xT @ ~/.julia/packages/TaskBasedProduction/uhIwS/src/getStartGuessGen_xT.jl:29 [inlined] [19] prodFunGeneral(labor_input::Vector{Float64}, z::Float64, b_g::var"#b_g#run_tests##0"{Float64, Float64}, e_h::Vector{Function}; initial_guess::Nothing, x_tol::Float64, f_tol::Float64, g_tol::Float64, iterations::Int64, max_retries::Int64) @ TaskBasedProduction ~/.julia/packages/TaskBasedProduction/uhIwS/src/prodFunGeneral.jl:37 [20] prodFunGeneral @ ~/.julia/packages/TaskBasedProduction/uhIwS/src/prodFunGeneral.jl:22 [inlined] [21] run_tests(labor_input::Vector{Float64}) @ Main ~/.julia/packages/TaskBasedProduction/uhIwS/test/runtests.jl:56 [22] top-level scope @ ~/.julia/packages/TaskBasedProduction/uhIwS/test/runtests.jl:127 [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:489 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [27] _start() @ Base ./client.jl:550 in expression starting at /home/pkgeval/.julia/packages/TaskBasedProduction/uhIwS/test/runtests.jl:125 Testing failed after 95.62s ERROR: LoadError: Package TaskBasedProduction errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:2538 [3] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:2387 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:552 [5] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:169 [6] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:157 [7] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:157 [inlined] [8] #test#81 @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:156 [inlined] [9] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:223 [10] include(mod::Module, _path::String) @ Base ./Base.jl:306 [11] exec_options(opts::Base.JLOptions) @ Base ./client.jl:317 [12] _start() @ Base ./client.jl:550 in expression starting at /PkgEval.jl/scripts/evaluate.jl:214 PkgEval failed after 467.76s: package tests unexpectedly errored