Package evaluation to test Chain on Julia 1.14.0-DEV.2593 (15c2b67521*) started at 2026-07-03T12:59:44.988 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 15.27s ################################################################################ # Installation # Installing Chain... Resolving package versions... Installed Chain ─ v1.0.0 Updating `~/.julia/environments/v1.14/Project.toml` [8be319e6] + Chain v1.0.0 Updating `~/.julia/environments/v1.14/Manifest.toml` [8be319e6] + Chain v1.0.0 Installation completed after 1.28s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling project... 8.9 s ✓ TestEnv 1 dependency successfully precompiled in 9 seconds. 27 already precompiled. Precompiling package dependencies... Precompiling project... 1.0 s ✓ Chain 1 dependency successfully precompiled in 1 seconds. 8 already precompiled. Precompilation completed after 44.67s ################################################################################ # Testing # Testing Chain Status `/tmp/jl_XSCpdj/Project.toml` [8be319e6] Chain v1.0.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_XSCpdj/Manifest.toml` [8be319e6] Chain 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... Test Summary: | Pass Total Time 1 | 5 5 0.4s Test Summary: | Pass Total Time 2 | 1 1 0.3s Test Summary: | Pass Total Time nested begin | 1 1 0.0s Test Summary: | Pass Total Time no begin | 10 10 0.3s ┌ Info: JuliaLowering threw given input: │ code = │ quote │ #= /home/pkgeval/.julia/packages/Chain/z5W37/test/runtests.jl:104 =# │ #= /home/pkgeval/.julia/packages/Chain/z5W37/test/runtests.jl:104 =# @chain [1, 2, 3] let │ #= /home/pkgeval/.julia/packages/Chain/z5W37/test/runtests.jl:105 =# │ sum │ end │ 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 │ [block] | │ [macrocall] | │ @chain :: Identifier | │ :(#= /home/pkgeval/.julia/packages/Chain/z5W37/test/runtests.jl:104 =#) :: Value | │ [vect] | │ 1 :: Value | │ 2 :: Value | │ 3 :: Value | │ [let] | │ [block] | │ [block] | │ sum :: Identifier | │ │ st1 = nothing │ file = "none" │ line = 1 └ mod = Main invalid invocations: Test Failed at /home/pkgeval/.julia/packages/Chain/z5W37/test/runtests.jl:103 Expression: eval(quote #= /home/pkgeval/.julia/packages/Chain/z5W37/test/runtests.jl:104 =# #= /home/pkgeval/.julia/packages/Chain/z5W37/test/runtests.jl:104 =# @chain [1, 2, 3] let #= /home/pkgeval/.julia/packages/Chain/z5W37/test/runtests.jl:105 =# sum end end) Expected: LoadError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @chain in module Main: #= /home/pkgeval/.julia/packages/Chain/z5W37/test/runtests.jl:104 =# - Error expanding macro Caused by: Can't insert a first argument into: let #= /home/pkgeval/.julia/packages/Chain/z5W37/test/runtests.jl:105 =# sum end. First argument insertion works with expressions like these, where [Module.SubModule.] is optional: [Module.SubModule.]func [Module.SubModule.]func(args...) [Module.SubModule.]func(args...; kwargs...) [Module.SubModule.]@macro [Module.SubModule.]@macro(args...) @. [Module.SubModule.]func Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] insertionerror(expr::Expr) @ Chain ~/.julia/packages/Chain/z5W37/src/Chain.jl:13 [3] insert_first_arg(e::Expr, firstarg::Symbol; assignment::Bool) @ Chain ~/.julia/packages/Chain/z5W37/src/Chain.jl:98 [4] insert_first_arg(e::Expr, firstarg::Symbol) @ Chain ~/.julia/packages/Chain/z5W37/src/Chain.jl:38 [inlined] [5] rewrite(expr::Expr, replacement::Symbol) @ Chain ~/.julia/packages/Chain/z5W37/src/Chain.jl:113 [6] rewrite_chain_block(block::Expr) @ Chain ~/.julia/packages/Chain/z5W37/src/Chain.jl:281 [7] macro expansion @ ~/.julia/packages/Chain/z5W37/src/Chain.jl:129 [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] mapchildren(f::Base.JuliaLowering.var"#expand_forms_1##0#expand_forms_1##1"{Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}}, ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:840 [11] 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:386 [12] 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 [13] 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 [14] eval(m::Module, e::Any) @ Core boot.jl:522 [15] top-level scope @ ~/.julia/packages/Chain/z5W37/test/runtests.jl:101 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core boot.jl:522 [19] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [20] _start() @ Base client.jl:596 Stacktrace: [1] top-level scope @ ~/.julia/packages/Chain/z5W37/test/runtests.jl:101 [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: | Fail Total Time invalid invocations | 1 1 10.8s RNG of the outermost testset: Random.Xoshiro(0xef97ad97a060b014, 0x61b1cb8b5691f7e0, 0x4ba94801c5322190, 0x55d972f4ba5dab38, 0xe7ed9cf396a0ee0c) ERROR: LoadError: Some tests did not pass: 0 passed, 1 failed, 0 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/Chain/z5W37/test/runtests.jl:101 Testing failed after 137.07s ERROR: LoadError: Package Chain 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 223.35s: package has test failures