Package evaluation to test ModelObjectTools on Julia 1.14.0-DEV.2593 (15c2b67521*) started at 2026-07-03T13:17:05.843 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 15.35s ################################################################################ # Installation # Installing ModelObjectTools... Resolving package versions... Installed ModelObjectTools ─ v1.0.0 Updating `~/.julia/environments/v1.14/Project.toml` [7833e302] + ModelObjectTools v1.0.0 Updating `~/.julia/environments/v1.14/Manifest.toml` [7833e302] + ModelObjectTools v1.0.0 Installation completed after 1.31s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling project... 8.8 s ✓ TestEnv 1 dependency successfully precompiled in 9 seconds. 27 already precompiled. Precompiling package dependencies... Precompiling project... 1.1 s ✓ ModelObjectTools 1 dependency successfully precompiled in 1 seconds. 8 already precompiled. Precompilation completed after 44.98s ################################################################################ # Testing # Testing ModelObjectTools Status `/tmp/jl_4spsid/Project.toml` [7833e302] ModelObjectTools v1.0.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_4spsid/Manifest.toml` [7833e302] ModelObjectTools v1.0.0 [2a0f44e3] Base64 v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.13.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.13.0 [9e88b42a] Serialization v1.11.0 [f489334b] StyledStrings v1.13.0 [8dfed614] Test v1.11.0 Testing Running tests... ┌ Info: JuliaLowering threw given input: │ code = │ :(#= /home/pkgeval/.julia/packages/ModelObjectTools/BMpFU/test/runtests.jl:28 =# @modef struct Str_problem │ #= /home/pkgeval/.julia/packages/ModelObjectTools/BMpFU/test/runtests.jl:29 =# │ scalarVar::Float64 │ #= /home/pkgeval/.julia/packages/ModelObjectTools/BMpFU/test/runtests.jl:30 =# │ orderedVar::Vector{Float64} = [1.0, 2.0, 3.0] │ end) │ st0 = │ SyntaxTree with attributes mod,kind,var_id,toplevel_pure,scope_type,context,syntax_flags,name_val,meta,value,jl_source,is_toplevel_thunk,source │ [macrocall] | │ @modef :: Identifier | │ :(#= /home/pkgeval/.julia/packages/ModelObjectTools/BMpFU/test/runtests.jl:28 =#) :: Value | │ [struct] | │ false :: Value | │ Str_problem :: Identifier | │ [block] | │ [::] | │ scalarVar :: Identifier | │ Float64 :: Identifier | │ [=] | │ [::] | │ orderedVar :: Identifier | │ [curly] | │ Vector :: Identifier | │ Float64 :: Identifier | │ [vect] | │ 1.0 :: Value | │ 2.0 :: Value | │ 3.0 :: Value | │ │ st1 = nothing │ file = "none" │ line = 1 └ mod = Main ModelObjectTools.jl: Test Failed at /home/pkgeval/.julia/packages/ModelObjectTools/BMpFU/test/runtests.jl:32 Expression: eval(expression_problem) Expected: LoadError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @modef in module Main: #= none:1 =# - Error expanding macro Caused by: When using @modef, all fields must have default values. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] (::ModelObjectTools.var"#@modef##->###0")(fieldname::Symbol, defval::Nothing) @ ModelObjectTools ~/.julia/packages/ModelObjectTools/BMpFU/src/code.jl:481 [3] (::Base.Splat{ModelObjectTools.var"#@modef##->###0"})(args::Tuple{Symbol, Nothing}) @ Base operators.jl:1366 [4] iterate(::Base.Generator{Base.Iterators.Zip{Tuple{Vector{Any}, Vector{Any}}}, Base.Splat{ModelObjectTools.var"#@modef##->###0"}}) @ Base generator.jl:48 [inlined] [5] collect(itr::Base.Generator{Base.Iterators.Zip{Tuple{Vector{Any}, Vector{Any}}}, Base.Splat{ModelObjectTools.var"#@modef##->###0"}}) @ Base array.jl:833 [6] map(f::Function, it::Vector{Any}, iters::Vector{Any}) @ Base abstractarray.jl:3622 [7] macro expansion @ ~/.julia/packages/ModelObjectTools/BMpFU/src/code.jl:481 [8] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [9] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [10] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [11] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [12] eval(m::Module, e::Any) @ Core boot.jl:522 [13] top-level scope @ ~/.julia/packages/ModelObjectTools/BMpFU/test/runtests.jl:4 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core boot.jl:522 [17] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [18] _start() @ Base client.jl:596 Stacktrace: [1] top-level scope @ ~/.julia/packages/ModelObjectTools/BMpFU/test/runtests.jl:4 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ none:6 [4] eval(m::Module, e::Any) @ Core boot.jl:522 [5] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [6] _start() @ Base client.jl:596 Test Summary: | Pass Fail Total Time ModelObjectTools.jl | 295 1 296 37.2s Encoding and recoding specific params | 6 6 9.4s Encoding and recoding specific params | 6 6 0.3s Encoding and recoding specific params | 6 6 0.3s Encoding and recoding specific params | 6 6 0.2s Encoding and recoding specific params | 6 6 0.0s Encoding and recoding specific params | 6 6 0.0s Encoding and recoding specific params | 6 6 0.0s Encoding and recoding specific params | 6 6 0.0s Encoding and recoding complete model | 5 5 2.6s Changes in vector representation generate valid models | 228 228 0.3s RNG of the outermost testset: Random.Xoshiro(0x3712366b35355417, 0x9b0aa86c5539a490, 0xcb019350efbafbeb, 0xe57462ecd1bb6529, 0x4568c4be9fa8f17d) ERROR: LoadError: Some tests did not pass: 295 passed, 1 failed, 0 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/ModelObjectTools/BMpFU/test/runtests.jl:4 Testing failed after 158.22s ERROR: LoadError: Package ModelObjectTools 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:3247 [3] 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:587 [4] 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 [5] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:160 [6] test(pkg::String; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:159 [inlined] [7] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:223 [8] include(mod::Module, _path::String) @ Base Base.jl:325 [9] exec_options(opts::Base.JLOptions) @ Base client.jl:355 [10] _start() @ Base client.jl:596 in expression starting at /PkgEval.jl/scripts/evaluate.jl:214 PkgEval failed after 244.91s: package has test failures