Package evaluation of StructJuMP on Julia 1.11.4 (a71dd056e0*) started at 2025-04-08T12:46:42.527 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.07s ################################################################################ # Installation # Installing StructJuMP... Resolving package versions... Updating `~/.julia/environments/v1.11/Project.toml` [34f15cae] + StructJuMP v0.3.2 Updating `~/.julia/environments/v1.11/Manifest.toml` [6e4b80f9] + BenchmarkTools v1.6.0 [523fee87] + CodecBzip2 v0.8.5 [944b1d66] + CodecZlib v0.7.8 [bbf7d656] + CommonSubexpressions v0.3.1 [34da2185] + Compat v4.16.0 [864edb3b] + DataStructures v0.18.22 [163ba53b] + DiffResults v1.1.0 [b552c78f] + DiffRules v1.15.1 [ffbed154] + DocStringExtensions v0.9.4 [f6369f11] + ForwardDiff v1.0.1 [92d709cd] + IrrationalConstants v0.2.4 [692b3bcd] + JLLWrappers v1.7.0 [682c06a0] + JSON v0.21.4 [0f8b85d8] + JSON3 v1.14.2 [4076af6c] + JuMP v1.25.0 [2ab3a3ac] + LogExpFunctions v0.3.29 [1914dd2f] + MacroTools v0.5.15 [b8f27783] + MathOptInterface v1.38.1 [d8a4904e] + MutableArithmetics v1.6.4 [77ba4419] + NaNMath v1.1.3 [bac558e1] + OrderedCollections v1.8.0 [774612a8] + ParameterJuMP v0.4.1 [69de0a69] + Parsers v2.8.1 ⌅ [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [276daf66] + SpecialFunctions v2.5.0 [1e83bf80] + StaticArraysCore v1.4.3 [10745b16] + Statistics v1.11.1 [34f15cae] + StructJuMP v0.3.2 [856f2bd8] + StructTypes v1.11.0 [3bb67fe8] + TranscodingStreams v0.11.3 [6e34b625] + Bzip2_jll v1.0.9+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 [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 [de0858da] + Printf v1.11.0 [9abbd945] + Profile v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [2f01184e] + SparseArrays v1.11.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.1.1+0 [4536629a] + OpenBLAS_jll v0.3.27+1 [05823500] + OpenLibm_jll v0.8.5+0 [bea87d4a] + SuiteSparse_jll v7.7.0+0 [83775a58] + Zlib_jll v1.2.13+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 4.48s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 39.85s ################################################################################ # Testing # Testing StructJuMP Status `/tmp/jl_rmZ3sq/Project.toml` [e2685f51] ECOS v1.1.3 [60bf3e95] GLPK v1.2.1 [4076af6c] JuMP v1.25.0 [b8f27783] MathOptInterface v1.38.1 [774612a8] ParameterJuMP v0.4.1 [34f15cae] StructJuMP v0.3.2 [37e2e46d] LinearAlgebra v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_rmZ3sq/Manifest.toml` [6e4b80f9] BenchmarkTools v1.6.0 [fa961155] CEnum v0.5.0 [523fee87] CodecBzip2 v0.8.5 [944b1d66] CodecZlib v0.7.8 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.16.0 [864edb3b] DataStructures v0.18.22 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [ffbed154] DocStringExtensions v0.9.4 [e2685f51] ECOS v1.1.3 [f6369f11] ForwardDiff v1.0.1 [60bf3e95] GLPK v1.2.1 [92d709cd] IrrationalConstants v0.2.4 [692b3bcd] JLLWrappers v1.7.0 [682c06a0] JSON v0.21.4 [0f8b85d8] JSON3 v1.14.2 [4076af6c] JuMP v1.25.0 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.15 [b8f27783] MathOptInterface v1.38.1 [d8a4904e] MutableArithmetics v1.6.4 [77ba4419] NaNMath v1.1.3 [bac558e1] OrderedCollections v1.8.0 [774612a8] ParameterJuMP v0.4.1 [69de0a69] Parsers v2.8.1 ⌅ [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [276daf66] SpecialFunctions v2.5.0 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [34f15cae] StructJuMP v0.3.2 [856f2bd8] StructTypes v1.11.0 [3bb67fe8] TranscodingStreams v0.11.3 [6e34b625] Bzip2_jll v1.0.9+0 [c2c64177] ECOS_jll v200.0.800+0 [e8aa6df9] GLPK_jll v5.0.1+1 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [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 [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 [9abbd945] Profile v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [2f01184e] SparseArrays v1.11.0 [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 [781609d7] GMP_jll v6.3.0+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 [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 ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... printhook: Error During Test at /home/pkgeval/.julia/packages/StructJuMP/PgIAn/test/printhook.jl:5 Got exception outside of a @test MethodError: no method matching is_valid(::StructuredModel, ::StructJuMP.StructuredVariableRef) The function `is_valid` exists, but no method is defined for this combination of argument types. Closest candidates are: is_valid(!Matched::Model, !Matched::ParameterJuMP.ParameterRef) @ ParameterJuMP ~/.julia/packages/ParameterJuMP/BKAAx/src/variable_interface.jl:45 is_valid(!Matched::Model, !Matched::NonlinearConstraintRef) @ JuMP ~/.julia/packages/JuMP/RGIK3/src/nlp.jl:546 is_valid(!Matched::GenericModel, !Matched::GenericVariableRef) @ JuMP ~/.julia/packages/JuMP/RGIK3/src/variables.jl:547 ... Stacktrace: [1] function_string(mode::MIME{Symbol("text/plain")}, v::StructJuMP.StructuredVariableRef) @ JuMP ~/.julia/packages/JuMP/RGIK3/src/print.jl:806 [2] function_string(mode::MIME{Symbol("text/plain")}, q::GenericQuadExpr{Float64, StructJuMP.StructuredVariableRef}) @ JuMP ~/.julia/packages/JuMP/RGIK3/src/print.jl:912 [3] objective_function_string(print_mode::MIME{Symbol("text/plain")}, model::StructuredModel) @ StructJuMP ~/.julia/packages/StructJuMP/PgIAn/src/StructJuMP.jl:291 [4] _print_model(io::IOBuffer, model::StructuredModel) @ JuMP ~/.julia/packages/JuMP/RGIK3/src/print.jl:438 [5] print @ ~/.julia/packages/JuMP/RGIK3/src/print.jl:43 [inlined] [6] print_to_string(xs::StructuredModel) @ Base ./strings/io.jl:148 [7] string @ ./strings/io.jl:189 [inlined] [8] macro expansion @ ~/.julia/packages/StructJuMP/PgIAn/test/printhook.jl:23 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [10] top-level scope @ ~/.julia/packages/StructJuMP/PgIAn/test/printhook.jl:7 [11] include(fname::String) @ Main ./sysimg.jl:38 [12] top-level scope @ ~/.julia/packages/StructJuMP/PgIAn/test/runtests.jl:1 [13] include(fname::String) @ Main ./sysimg.jl:38 [14] top-level scope @ none:6 [15] eval @ ./boot.jl:430 [inlined] [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [17] _start() @ Base ./client.jl:531 Test Summary: | Error Total Time printhook | 1 1 9.5s ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/StructJuMP/PgIAn/test/printhook.jl:5 in expression starting at /home/pkgeval/.julia/packages/StructJuMP/PgIAn/test/runtests.jl:1 Testing failed after 48.84s ERROR: LoadError: Package StructJuMP 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 115.82s: package tests unexpectedly errored