Package evaluation to test NLopt on Julia 1.14.0-DEV.1352 (749bc618c5*) started at 2025-12-09T21:39:11.188 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 9.78s ################################################################################ # Installation # Installing NLopt... Resolving package versions... Updating `~/.julia/environments/v1.14/Project.toml` [76087f3c] + NLopt v1.2.1 Updating `~/.julia/environments/v1.14/Manifest.toml` [fa961155] + CEnum v0.5.0 [692b3bcd] + JLLWrappers v1.7.1 [76087f3c] + NLopt v1.2.1 [21216c6a] + Preferences v1.5.0 [079eb43e] + NLopt_jll v2.10.0+0 [56f22d72] + Artifacts v1.11.0 [ade2ca70] + Dates v1.11.0 [8f399da3] + Libdl v1.11.0 [de0858da] + Printf v1.11.0 [fa267f1f] + TOML v1.0.3 [4ec0a83e] + Unicode v1.11.0 Installation completed after 4.51s ################################################################################ # Precompilation # ERROR: LoadError: MethodError: no method matching setindex!(::Base.ScopedValues.ScopedValue{IO}, ::Nothing) The function `setindex!` exists, but no method is defined for this combination of argument types. Stacktrace: [1] top-level scope @ /PkgEval.jl/scripts/precompile.jl:10 [2] include(mod::Module, _path::String) @ Base ./Base.jl:309 [3] exec_options(opts::Base.JLOptions) @ Base ./client.jl:344 [4] _start() @ Base ./client.jl:577 in expression starting at /PkgEval.jl/scripts/precompile.jl:6 caused by: MethodError: no method matching setindex!(::Base.ScopedValues.ScopedValue{IO}, ::Base.DevNull) The function `setindex!` exists, but no method is defined for this combination of argument types. Stacktrace: [1] top-level scope @ /PkgEval.jl/scripts/precompile.jl:7 [2] include(mod::Module, _path::String) @ Base ./Base.jl:309 [3] exec_options(opts::Base.JLOptions) @ Base ./client.jl:344 [4] _start() @ Base ./client.jl:577 Precompilation failed after 13.72s ################################################################################ # Testing # Testing NLopt Status `/tmp/jl_Lo9whu/Project.toml` [fa961155] CEnum v0.5.0 [b8f27783] MathOptInterface v1.47.0 [76087f3c] NLopt v1.2.1 [079eb43e] NLopt_jll v2.10.0+0 [8dfed614] Test v1.11.0 Status `/tmp/jl_Lo9whu/Manifest.toml` [6e4b80f9] BenchmarkTools v1.6.3 [fa961155] CEnum v0.5.0 [523fee87] CodecBzip2 v0.8.5 [944b1d66] CodecZlib v0.7.8 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.18.1 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [ffbed154] DocStringExtensions v0.9.5 [f6369f11] ForwardDiff v1.3.0 [92d709cd] IrrationalConstants v0.2.6 [692b3bcd] JLLWrappers v1.7.1 [682c06a0] JSON v1.3.0 [0f8b85d8] JSON3 v1.14.3 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.16 [b8f27783] MathOptInterface v1.47.0 [d8a4904e] MutableArithmetics v1.6.7 [76087f3c] NLopt v1.2.1 [77ba4419] NaNMath v1.1.3 [bac558e1] OrderedCollections v1.8.1 [69de0a69] Parsers v2.8.3 [aea7be01] PrecompileTools v1.3.3 [21216c6a] Preferences v1.5.0 [276daf66] SpecialFunctions v2.6.1 [1e83bf80] StaticArraysCore v1.4.4 [10745b16] Statistics v1.11.1 [856f2bd8] StructTypes v1.11.0 [ec057cc2] StructUtils v2.6.0 [3bb67fe8] TranscodingStreams v0.11.3 [6e34b625] Bzip2_jll v1.0.9+0 [079eb43e] NLopt_jll v2.10.0+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.13.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.13.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [de0858da] Printf v1.11.0 [9abbd945] Profile v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.0.0 [9e88b42a] Serialization v1.11.0 [2f01184e] SparseArrays v1.13.0 [f489334b] StyledStrings v1.13.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 [05823500] OpenLibm_jll v0.8.7+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.1+2 [8e850b90] libblastrampoline_jll v5.15.0+0 Testing Running tests... Test Summary: | Pass Total Time test_algorithm | 1 1 0.1s Test Summary: | Pass Total Time test_algorithm_enum | 2 2 0.1s Test Summary: | Pass Total Time test_algorithm_name | 5 5 0.3s Test Summary: | Pass Total Time test_chk | 5 5 0.6s Test Summary: | Pass Total Time test_copy | 3 3 2.6s Test Summary: | Pass Total Time test_copy_failure | 1 1 0.0s Test Summary: | Pass Total Time test_get_opt_params_default | 1 1 0.1s Test Summary: | Pass Total Time test_initial_step | 14 14 1.1s Test Summary: | Pass Total Time test_invalid_algorithms | 2 2 0.1s Test Summary: | Pass Total Time test_issue_132 | 1 1 0.2s got 0.34271757484331283 at [0.41494431548852434, 0.17011136902295138] with constraints (returned XTOL_REACHED) got 0.0 at [1.0, 1.0] after removing constraints (returned XTOL_REACHED) Test Summary: | Pass Total Time test_issue_133 | 4 4 1.8s Test Summary: | Pass Total Time test_issue_156_CapturedException | 3 3 2.2s Test Summary: | Pass Total Time test_issue_156_ForcedStop | 2 2 0.2s Test Summary: | Pass Total Time test_issue_156_no_error | 2 2 0.2s Test Summary: | Pass Total Time test_issue_163 | 1 1 0.7s Test Summary: | Pass Total Time test_lower_bounds | 6 6 0.3s Test Summary: | Pass Total Time test_max_objective | 2 2 0.5s Test Summary: | Pass Total Time test_min_objective | 2 2 0.2s Test Summary: | Pass Total Time test_modify_empty_vector | 2 2 0.2s Test Summary: | Pass Total Time test_opt_argument_error | 1 1 0.1s Test Summary: | Pass Total Time test_optimize!_bounds_error | 1 1 0.0s Test Summary: | Pass Total Time test_property_names | 48 48 1.9s Test Summary: | Pass Total Time test_readme_example | 3 3 0.5s Test Summary: | Pass Total Time test_readme_example_vector | 3 3 0.3s Test Summary: | Pass Total Time test_readme_example_vector_real_tol | 3 3 0.4s Test Summary: | Pass Total Time test_result_arithmetic | 4 4 0.2s Test Summary: | Pass Total Time test_result_enum | 2 2 0.1s Test Summary: | Pass Total Time test_return_FAILURE_from_optimize | 1 1 0.4s Test Summary: | Pass Total Time test_show_opt | 1 1 0.1s Test Summary: | Pass Total Time test_srand | 2 2 0.0s f_1([1.234, 5.678]) f_2([0.8787394664016357, 5.551370325142423]) f_3([0.8262160034228196, 5.043903787432386]) f_4([0.4739440370386794, 4.0767726724255375]) f_5([0.35389779634506047, 3.0308503583016]) f_6([0.33387310647853335, 1.9717933962872487]) f_7([0.3333337209575201, 1.0450874902862517]) f_8([0.33333357431034494, 0.4695027039311135]) f_9([0.3333332772332185, 0.3057923933552822]) f_10([0.33333339455750244, 0.2963215980646768]) f_11([0.3333333342139688, 0.29629628951338166]) got 0.5443310477213124 at [0.3333333342139688, 0.29629628951338166] after 11 iterations (returned XTOL_REACHED) Test Summary: | Pass Total Time test_tutorial | 7 7 0.8s Test Summary: | Pass Total Time test_upper_bounds | 6 6 0.3s Test Summary: | Pass Total Time test_vector_equality_constraint_real_tol | 3 3 0.4s Test Summary: | Pass Total Time test_vector_equality_constraint_scalar_tol | 3 3 0.4s Test Summary: | Pass Total Time test_vector_forced_stop | 1 1 0.3s Test Summary: | Pass Total Time test_vector_interrupt_exception | 1 1 0.3s Test Summary: | Pass Total Time test_xtol_abs | 6 6 0.3s ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for MathOptInterface [b8f27783-ece8-5eb3-8dc8-9495eed66fee] │ exception = Required dependency Base.PkgId(Base.UUID("bac558e1-5e72-5ebc-8fee-abe8a469f55d"), "OrderedCollections") failed to load from a cache file. └ @ Base loading.jl:2891 ERROR: LoadError: Precompiled image Base.PkgId(Base.UUID("b8f27783-ece8-5eb3-8dc8-9495eed66fee"), "MathOptInterface") not available with flags CacheFlags(; use_pkgimages=false, debug_level=1, check_bounds=0, inline=true, opt_level=0) Stacktrace:  [1] error(s::String)  @ Base ./error.jl:44  [2] __require_prelocked(pkg::Base.PkgId, env::String)  @ Base ./loading.jl:2813  [3] _require_prelocked(uuidkey::Base.PkgId, env::String)  @ Base ./loading.jl:2665  [4] macro expansion  @ ./loading.jl:2593 [inlined]  [5] macro expansion  @ ./lock.jl:376 [inlined]  [6] __require(into::Module, mod::Symbol)  @ Base ./loading.jl:2557  [7] require  @ ./loading.jl:2533 [inlined]  [8] eval_import_path  @ ./module.jl:36 [inlined]  [9] _eval_import(imported::Bool, to::Module, from::Nothing, paths::Expr)  @ Base ./module.jl:111  [10] top-level scope  @ ~/.julia/packages/NLopt/wMgqN/ext/NLoptMathOptInterfaceExt.jl:8  [11] include(mod::Module, _path::String)  @ Base ./Base.jl:309  [12] include_package_for_output(pkg::Base.PkgId, input::String, syntax_version::VersionNumber, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)  @ Base ./loading.jl:3250  [13] top-level scope  @ stdin:5  [14] eval(m::Module, e::Any)  @ Core ./boot.jl:489  [15] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)  @ Base ./loading.jl:3092  [16] include_string  @ ./loading.jl:3102 [inlined]  [17] exec_options(opts::Base.JLOptions)  @ Base ./client.jl:342  [18] _start()  @ Base ./client.jl:577 in expression starting at /home/pkgeval/.julia/packages/NLopt/wMgqN/ext/NLoptMathOptInterfaceExt.jl:6 in expression starting at stdin:5 1 dependency had output during precompilation: ┌ NLopt → NLoptMathOptInterfaceExt │ [Output was shown above] └ ┌ Error: Error during loading of extension NLoptMathOptInterfaceExt of NLopt, use `Base.retry_load_extensions()` to retry. │ exception = │ 1-element ExceptionStack: │ The following 1 package failed to precompile: │ │ NLoptMathOptInterfaceExt │ Failed to precompile NLoptMathOptInterfaceExt [1e488f32-c0e1-5296-86bb-3752c51e08e2] to "/home/pkgeval/.julia/compiled/v1.14/NLoptMathOptInterfaceExt/jl_LTkffu" (ProcessExited(1)). │ └ @ Base loading.jl:1721 test_AutomaticDifferentiationBackend: Error During Test at /home/pkgeval/.julia/packages/NLopt/wMgqN/test/MOI_wrapper.jl:15 Got exception outside of a @test UndefVarError: `Optimizer` not defined in `NLopt` Suggestion: add an appropriate import or assignment. This global was declared but not assigned. Stacktrace: [1] getproperty @ ./Base_compiler.jl:50 [inlined] [2] test_AutomaticDifferentiationBackend() @ Main.TestMOIWrapper ~/.julia/packages/NLopt/wMgqN/test/MOI_wrapper.jl:281 [3] macro expansion @ ~/.julia/packages/NLopt/wMgqN/test/MOI_wrapper.jl:16 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] [5] runtests() @ Main.TestMOIWrapper ~/.julia/packages/NLopt/wMgqN/test/MOI_wrapper.jl:16 [6] top-level scope @ ~/.julia/packages/NLopt/wMgqN/test/MOI_wrapper.jl:366 [7] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [8] top-level scope @ ~/.julia/packages/NLopt/wMgqN/test/runtests.jl:7 [9] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [10] top-level scope @ none:6 [11] eval(m::Module, e::Any) @ Core ./boot.jl:489 [12] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [13] _start() @ Base ./client.jl:577 Test Summary: | Error Total Time test_AutomaticDifferentiationBackend | 1 1 2.0s RNG of the outermost testset: Random.Xoshiro(0x9358e6cc60caf6ea, 0x95d75cc0e7f7780e, 0xc02f228f82bb5568, 0x0f05f92e0dd7fb2f, 0x7ef47a1f0741e865) ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/NLopt/wMgqN/test/MOI_wrapper.jl:366 in expression starting at /home/pkgeval/.julia/packages/NLopt/wMgqN/test/runtests.jl:7 Testing failed after 286.7s ERROR: LoadError: Package NLopt errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/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.14/Pkg/src/Operations.jl:3053 [3] test @ /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Operations.jl:2902 [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.14/Pkg/src/API.jl:572 [5] kwcall(::@NamedTuple{julia_args::Cmd, io::IOContext{IO}}, ::typeof(Pkg.API.test), ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:548 [6] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:172 [7] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:161 [8] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:160 [9] test @ /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:160 [inlined] [10] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkg::String) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:159 [11] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:237 [12] include(mod::Module, _path::String) @ Base ./Base.jl:309 [13] exec_options(opts::Base.JLOptions) @ Base ./client.jl:344 [14] _start() @ Base ./client.jl:577 in expression starting at /PkgEval.jl/scripts/evaluate.jl:228 PkgEval failed after 332.47s: package fails to precompile