Package evaluation of OptimizationCallbacks on Julia 1.11.4 (a71dd056e0*) started at 2025-04-08T09:01:59.679 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.17s ################################################################################ # Installation # Installing OptimizationCallbacks... Resolving package versions... Updating `~/.julia/environments/v1.11/Project.toml` [65fa8838] + OptimizationCallbacks v0.1.0 Updating `~/.julia/environments/v1.11/Manifest.toml` [2569d6c7] + ConcreteStructs v0.2.3 [5789e2e9] + FileIO v1.17.0 [033835bb] + JLD2 v0.5.12 [1914dd2f] + MacroTools v0.5.15 [65fa8838] + OptimizationCallbacks v0.1.0 [bac558e1] + OrderedCollections v1.8.0 ⌅ [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [ae029012] + Requires v1.3.1 [3bb67fe8] + TranscodingStreams v0.11.3 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [f43a241f] + Downloads v1.6.0 [7b1f6079] + FileWatching v1.11.0 [b27032c2] + LibCURL v0.6.4 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.2.0 [44cfe95a] + Pkg v1.11.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [deac9b47] + LibCURL_jll v8.6.0+0 [e37daf67] + LibGit2_jll v1.7.2+0 [29816b5a] + LibSSH2_jll v1.11.0+1 [c8ffd9c3] + MbedTLS_jll v2.28.6+0 [14a3606d] + MozillaCACerts_jll v2023.12.12 [83775a58] + Zlib_jll v1.2.13+1 [8e850ede] + nghttp2_jll v1.59.0+0 [3f19e933] + p7zip_jll v17.4.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 1.76s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 28.43s ################################################################################ # Testing # Testing OptimizationCallbacks Status `/tmp/jl_j0Fzp3/Project.toml` ⌃ [4c88cf16] Aqua v0.8.9 ⌃ [e30172f5] Documenter v1.8.0 ⌅ [f6369f11] ForwardDiff v0.10.38 ⌅ [c3a54625] JET v0.9.12 ⌃ [033835bb] JLD2 v0.5.9 ⌃ [7f7a1694] Optimization v4.0.5 [65fa8838] OptimizationCallbacks v0.1.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_j0Fzp3/Manifest.toml` ⌃ [47edcb42] ADTypes v1.10.0 [a4c015fc] ANSIColoredPrinters v0.0.1 [1520ce14] AbstractTrees v0.4.5 ⌃ [7d9f7c33] Accessors v0.1.38 ⌃ [79e6a3ab] Adapt v4.1.1 ⌃ [4c88cf16] Aqua v0.8.9 ⌃ [4fba245c] ArrayInterface v7.17.1 ⌃ [da1fd8a2] CodeTracking v1.3.6 ⌃ [944b1d66] CodecZlib v0.7.6 [38540f10] CommonSolve v0.2.4 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.16.0 [a33af91c] CompositionsBase v0.1.2 [2569d6c7] ConcreteStructs v0.2.3 [88cd18e8] ConsoleProgressMonitor v0.1.2 [187b0558] ConstructionBase v1.5.8 [9a962f9c] DataAPI v1.16.0 ⌃ [864edb3b] DataStructures v0.18.20 [e2d170a0] DataValueInterfaces v1.0.0 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 ⌃ [a0c0ee7d] DifferentiationInterface v0.6.22 ⌃ [ffbed154] DocStringExtensions v0.9.3 ⌃ [e30172f5] Documenter v1.8.0 ⌃ [4e289a0a] EnumX v1.0.4 [e2ba6199] ExprTools v0.1.10 ⌅ [6b7a57c9] Expronicon v0.8.5 [9aa1b823] FastClosures v0.3.2 ⌃ [5789e2e9] FileIO v1.16.6 [1a297f60] FillArrays v1.13.0 ⌅ [f6369f11] ForwardDiff v0.10.38 [069b7b12] FunctionWrappers v1.1.3 [77dc65aa] FunctionWrappersWrappers v0.1.3 [46192b85] GPUArraysCore v0.2.0 [d7ba0133] Git v1.3.1 [b5f81e59] IOCapture v0.2.5 [3587e190] InverseFunctions v0.1.17 ⌃ [92d709cd] IrrationalConstants v0.2.2 [82899510] IteratorInterfaceExtensions v1.0.0 ⌅ [c3a54625] JET v0.9.12 ⌃ [033835bb] JLD2 v0.5.9 ⌃ [692b3bcd] JLLWrappers v1.6.1 [682c06a0] JSON v0.21.4 ⌃ [aa1ae85d] JuliaInterpreter v0.9.37 [5be7bae1] LBFGSB v0.4.1 [0e77f7df] LazilyInitializedFields v1.3.0 [1d6d02ad] LeftChildRightSiblingTrees v0.2.0 ⌃ [2ab3a3ac] LogExpFunctions v0.3.28 [e6f89c97] LoggingExtras v1.1.0 ⌃ [6f1432cf] LoweredCodeUtils v3.0.5 [d8e11817] MLStyle v0.4.17 ⌃ [1914dd2f] MacroTools v0.5.13 [d0879d2d] MarkdownAST v0.1.2 ⌃ [77ba4419] NaNMath v1.0.2 ⌃ [7f7a1694] Optimization v4.0.5 ⌃ [bca83a33] OptimizationBase v2.4.0 [65fa8838] OptimizationCallbacks v0.1.0 ⌃ [bac558e1] OrderedCollections v1.6.3 ⌃ [90014a1f] PDMats v0.11.31 [69de0a69] Parsers v2.8.1 ⌅ [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [33c8b6b6] ProgressLogging v0.1.4 ⌃ [92933f4c] ProgressMeter v1.10.2 [3cdcf5f2] RecipesBase v1.3.4 ⌃ [731186ca] RecursiveArrayTools v3.27.3 [189a3867] Reexport v1.2.2 [2792f1a3] RegistryInstances v0.1.0 ⌃ [ae029012] Requires v1.3.0 [7e49a35a] RuntimeGeneratedFunctions v0.5.13 ⌃ [0bca4576] SciMLBase v2.62.0 ⌃ [c0aeaf25] SciMLOperators v0.3.12 ⌃ [53ae85a6] SciMLStructures v1.6.0 ⌃ [9f842d2f] SparseConnectivityTracer v0.6.8 ⌃ [0a514795] SparseMatrixColorings v0.4.10 ⌃ [276daf66] SpecialFunctions v2.4.0 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 ⌃ [2efcf032] SymbolicIndexingInterface v0.3.35 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.0 [5d786b92] TerminalLoggers v0.1.7 [3bb67fe8] TranscodingStreams v0.11.3 ⌃ [2e619515] Expat_jll v2.6.4+0 ⌃ [f8c6e375] Git_jll v2.46.2+0 [81d17ec3] L_BFGS_B_jll v3.0.1+0 ⌃ [94ce4f54] Libiconv_jll v1.17.0+1 ⌃ [458c3c95] OpenSSL_jll v3.0.15+1 ⌃ [efe28fd5] OpenSpecFun_jll v0.5.5+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.6.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.11.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.2.0 [44cfe95a] Pkg v1.11.0 [de0858da] Printf v1.11.0 [3fa0cd96] REPL 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.11.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.1.1+0 [deac9b47] LibCURL_jll v8.6.0+0 [e37daf67] LibGit2_jll v1.7.2+0 [29816b5a] LibSSH2_jll v1.11.0+1 [c8ffd9c3] MbedTLS_jll v2.28.6+0 [14a3606d] MozillaCACerts_jll v2023.12.12 [4536629a] OpenBLAS_jll v0.3.27+1 [05823500] OpenLibm_jll v0.8.5+0 [efcefdf7] PCRE2_jll v10.42.0+1 [bea87d4a] SuiteSparse_jll v7.7.0+0 [83775a58] Zlib_jll v1.2.13+1 [8e850b90] libblastrampoline_jll v5.11.0+0 [8e850ede] nghttp2_jll v1.59.0+0 [3f19e933] p7zip_jll v17.4.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... Precompiling OptimizationCallbacks... 55508.4 ms ✓ JLD2 8358.4 ms ✓ OptimizationCallbacks 2 dependencies successfully precompiled in 64 seconds. 32 already precompiled. Precompiling Documenter... 820.2 ms ✓ CodecZlib 933.3 ms ✓ JLLWrappers 1238.6 ms ✓ OpenSSL_jll 1183.3 ms ✓ Libiconv_jll 1223.2 ms ✓ Expat_jll 1512.6 ms ✓ Git_jll 1047.6 ms ✓ Git 48263.3 ms ✓ Documenter 8 dependencies successfully precompiled in 57 seconds. 43 already precompiled. Precompiling Optimization... 982.5 ms ✓ ADTypes 666.5 ms ✓ ConsoleProgressMonitor 3510.0 ms ✓ Accessors 770.6 ms ✓ ArrayInterface 702.7 ms ✓ GPUArraysCore 881.9 ms ✓ FillArrays → FillArraysPDMatsExt 2362.2 ms ✓ DataStructures 942.4 ms ✓ L_BFGS_B_jll 1115.7 ms ✓ DifferentiationInterface 579.4 ms ✓ ADTypes → ADTypesConstructionBaseExt 6593.0 ms ✓ SparseConnectivityTracer 1649.1 ms ✓ Accessors → AccessorsDatesExt 780.1 ms ✓ SciMLStructures 1127.7 ms ✓ ArrayInterface → ArrayInterfaceSparseArraysExt 738.0 ms ✓ ArrayInterface → ArrayInterfaceStaticArraysCoreExt 3329.5 ms ✓ SciMLOperators 552.0 ms ✓ ArrayInterface → ArrayInterfaceGPUArraysCoreExt 1573.9 ms ✓ SparseMatrixColorings 771.8 ms ✓ LBFGSB 845.7 ms ✓ DifferentiationInterface → DifferentiationInterfaceSparseArraysExt 2479.1 ms ✓ SymbolicIndexingInterface 858.3 ms ✓ SciMLOperators → SciMLOperatorsStaticArraysCoreExt 1144.6 ms ✓ SciMLOperators → SciMLOperatorsSparseArraysExt 1170.2 ms ✓ DifferentiationInterface → DifferentiationInterfaceSparseMatrixColoringsExt 3779.1 ms ✓ RecursiveArrayTools 1459.8 ms ✓ RecursiveArrayTools → RecursiveArrayToolsSparseArraysExt 20867.4 ms ✓ SciMLBase 3602.0 ms ✓ OptimizationBase 3617.9 ms ✓ Optimization 29 dependencies successfully precompiled in 70 seconds. 75 already precompiled. Precompiling AccessorsTestExt... 865.0 ms ✓ Accessors → AccessorsTestExt 1 dependency successfully precompiled in 1 seconds. 14 already precompiled. Precompiling ForwardDiff... 866.4 ms ✓ LogExpFunctions 939.8 ms ✓ OpenSpecFun_jll 4053.1 ms ✓ SpecialFunctions 5579.2 ms ✓ ForwardDiff 4 dependencies successfully precompiled in 12 seconds. 35 already precompiled. Precompiling SparseConnectivityTracerNaNMathExt... 1968.0 ms ✓ SparseConnectivityTracer → SparseConnectivityTracerNaNMathExt 1 dependency successfully precompiled in 2 seconds. 18 already precompiled. Precompiling SparseConnectivityTracerLogExpFunctionsExt... 1706.4 ms ✓ SparseConnectivityTracer → SparseConnectivityTracerLogExpFunctionsExt 1 dependency successfully precompiled in 2 seconds. 18 already precompiled. Precompiling LogExpFunctionsInverseFunctionsExt... 664.9 ms ✓ LogExpFunctions → LogExpFunctionsInverseFunctionsExt 1 dependency successfully precompiled in 1 seconds. 12 already precompiled. Precompiling SparseConnectivityTracerSpecialFunctionsExt... 2308.3 ms ✓ SparseConnectivityTracer → SparseConnectivityTracerSpecialFunctionsExt 1 dependency successfully precompiled in 2 seconds. 40 already precompiled. Precompiling RecursiveArrayToolsForwardDiffExt... 1353.4 ms ✓ RecursiveArrayTools → RecursiveArrayToolsForwardDiffExt 1 dependency successfully precompiled in 2 seconds. 68 already precompiled. Precompiling DifferentiationInterfaceForwardDiffExt... 1553.6 ms ✓ DifferentiationInterface → DifferentiationInterfaceForwardDiffExt 1 dependency successfully precompiled in 2 seconds. 41 already precompiled. Precompiling OptimizationForwardDiffExt... 1055.7 ms ✓ OptimizationBase → OptimizationForwardDiffExt 1 dependency successfully precompiled in 1 seconds. 110 already precompiled. ┌ Warning: Unable to determine HTML(edit_link = ...) from remote HEAD branch, defaulting to "master". │ Calling `git remote` failed with an exception. Set JULIA_DEBUG=Documenter to see the error. │ Unless this is due to a configuration error, the relevant variable should be set explicitly. └ @ Documenter ~/.julia/packages/Documenter/Bs999/src/utilities/utilities.jl:651 [ Info: SetupBuildDirectory: setting up build directory. [ Info: Doctest: running doctests. ┌ Error: doctest failure in ~/.julia/packages/OptimizationCallbacks/4yegF/src/OptimizationCallbacks.jl:136-162 │ │ ```jldoctest │ julia> using Optimization │ │ julia> using OptimizationCallbacks │ │ julia> import ForwardDiff │ │ julia> function rosenbrock(x, p) │ sleep(.1) │ (p[1] - x[1])^2 + p[2] * (x[2] - x[1]^2)^2 │ end │ rosenbrock (generic function with 1 method) │ │ julia> optf = OptimizationFunction(rosenbrock, AutoForwardDiff()); │ │ julia> prob = OptimizationProblem(optf, [0., 0.], [1., 100.]); │ │ julia> callback = Callback(TimeTrigger(2.0), (_,_,_,_) -> @info("Hi")); │ │ julia> sol = solve(prob, Optimization.LBFGS(); callback) │ [ Info: Hi │ [ Info: Hi │ retcode: Success │ u: 2-element Vector{Float64}: │ 0.9999997057368228 │ 0.999999398151528 │ │ ``` │ │ Subexpression: │ │ sol = solve(prob, Optimization.LBFGS(); callback) │ │ Evaluated output: │ │ [ Info: Hi │ [ Info: Hi │ [ Info: Hi │ retcode: Success │ u: 2-element Vector{Float64}: │ 0.9999997057368228 │ 0.999999398151528 │ │ Expected output: │ │ [ Info: Hi │ [ Info: Hi │ retcode: Success │ u: 2-element Vector{Float64}: │ 0.9999997057368228 │ 0.999999398151528 │ │ diff = │ Warning: Diff output requires color. │ [ Info: Hi │ [ Info: Hi │ [ Info: Hi │ retcode: Success │ u: 2-element Vector{Float64}: │ 0.9999997057368228 │ 0.999999398151528 └ @ Documenter ~/.julia/packages/OptimizationCallbacks/4yegF/src/OptimizationCallbacks.jl:136 ┌ Error: Doctesting failed │ exception = │ `makedocs` encountered a doctest error. Terminating build │ Stacktrace: │ [1] error(s::String) │ @ Base ./error.jl:35 │ [2] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ @ Documenter ~/.julia/packages/Documenter/Bs999/src/builder_pipeline.jl:213 │ [3] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ @ Documenter.Selectors ~/.julia/packages/Documenter/Bs999/src/utilities/Selectors.jl:170 │ [4] #89 │ @ ~/.julia/packages/Documenter/Bs999/src/makedocs.jl:273 [inlined] │ [5] withenv(::Documenter.var"#89#91"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ @ Base ./env.jl:265 │ [6] #88 │ @ ~/.julia/packages/Documenter/Bs999/src/makedocs.jl:272 [inlined] │ [7] cd(f::Documenter.var"#88#90"{Documenter.Document}, dir::String) │ @ Base.Filesystem ./file.jl:112 │ [8] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ @ Documenter ~/.julia/packages/Documenter/Bs999/src/makedocs.jl:271 │ [9] (::Documenter.var"#all_doctests#134"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ @ Documenter ~/.julia/packages/Documenter/Bs999/src/doctest.jl:85 │ [10] macro expansion │ @ ~/.julia/packages/Documenter/Bs999/src/doctest.jl:110 [inlined] │ [11] macro expansion │ @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:676 [inlined] │ [12] macro expansion │ @ ~/.julia/packages/Documenter/Bs999/src/doctest.jl:110 [inlined] │ [13] macro expansion │ @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] │ [14] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ @ Documenter ~/.julia/packages/Documenter/Bs999/src/doctest.jl:110 │ [15] doctest │ @ ~/.julia/packages/Documenter/Bs999/src/doctest.jl:69 [inlined] │ [16] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ @ Documenter ~/.julia/packages/Documenter/Bs999/src/doctest.jl:37 │ [17] doctest(package::Module) │ @ Documenter ~/.julia/packages/Documenter/Bs999/src/doctest.jl:20 │ [18] top-level scope │ @ ~/.julia/packages/OptimizationCallbacks/4yegF/test/runtests.jl:7 │ [19] include(fname::String) │ @ Main ./sysimg.jl:38 │ [20] top-level scope │ @ none:6 │ [21] eval │ @ ./boot.jl:430 [inlined] │ [22] exec_options(opts::Base.JLOptions) │ @ Base ./client.jl:296 │ [23] _start() │ @ Base ./client.jl:531 └ @ Documenter ~/.julia/packages/Documenter/Bs999/src/doctest.jl:99 Doctests: OptimizationCallbacks: Test Failed at /home/pkgeval/.julia/packages/Documenter/Bs999/src/doctest.jl:110 Expression: all_doctests() Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:679 [inlined] [2] macro expansion @ ~/.julia/packages/Documenter/Bs999/src/doctest.jl:110 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [4] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) @ Documenter ~/.julia/packages/Documenter/Bs999/src/doctest.jl:110 Test Summary: | Fail Total Time Doctests: OptimizationCallbacks | 1 1 2m28.9s ERROR: LoadError: Some tests did not pass: 0 passed, 1 failed, 0 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/OptimizationCallbacks/4yegF/test/runtests.jl:7 Testing failed after 377.87s ERROR: LoadError: Package OptimizationCallbacks errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.11/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.11/Pkg/src/Operations.jl:2124 [3] test @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:2007 [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.11/Pkg/src/API.jl:481 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:159 [6] test @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:147 [inlined] [7] #test#74 @ /opt/julia/share/julia/stdlib/v1.11/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 437.79s: package has test failures