Package evaluation to test Chain on Julia 1.14.0-DEV.2309 (6e1a27e459*) started at 2026-06-06T01:36:51.457 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 17.03s ################################################################################ # 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.72s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling project... 6.5 s ✓ TestEnv 1 dependency successfully precompiled in 7 seconds. 27 already precompiled. Precompiling package dependencies... Precompiling project... 0.6 s ✓ Chain 1 dependency successfully precompiled in 1 seconds. 8 already precompiled. Precompilation completed after 33.33s ################################################################################ # Testing # Testing Chain Status `/tmp/jl_xnPZGs/Project.toml` [8be319e6] Chain v1.0.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_xnPZGs/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.5s 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.5s ┌ 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,macro_source,name_val,syntax_flags,meta,scope_layer,value,jl_source,is_toplevel_thunk,source,__macro_ctx__ │ [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:241 [inlined] [8] macro expansion @ ~/.julia/packages/Chain/z5W37/src/Chain.jl:129 [9] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, outer_sl::Base.JuliaLowering.ScopeLayer) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:343 [10] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, sl::Base.JuliaLowering.ScopeLayer) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:431 [11] (::Base.JuliaLowering.var"#expand_forms_1##2#expand_forms_1##3"{Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, Base.JuliaLowering.ScopeLayer})(e::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:461 [inlined] [12] mapchildren(f::Base.JuliaLowering.var"#expand_forms_1##2#expand_forms_1##3"{Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, Base.JuliaLowering.ScopeLayer}, 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:707 [13] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, sl::Base.JuliaLowering.ScopeLayer) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:461 [14] expand_forms_1(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, macro_world::UInt64) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:485 [15] 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 [16] eval(m::Module, e::Any) @ Core boot.jl:521 [17] top-level scope @ ~/.julia/packages/Chain/z5W37/test/runtests.jl:101 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] ┌[20] macro expansion │ @ ~/.julia/packages/Chain/z5W37/test/runtests.jl:103 [inlined] ╰──── repeated 2 times Stacktrace: [1] top-level scope @ ~/.julia/packages/Chain/z5W37/test/runtests.jl:101 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2241 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2415 [inlined] ┌[4] macro expansion │ @ ~/.julia/packages/Chain/z5W37/test/runtests.jl:103 [inlined] ╰─── repeated 2 times Test Summary: | Fail Total Time invalid invocations | 1 1 12.6s RNG of the outermost testset: Random.Xoshiro(0x19b08818bc2845c9, 0xadfe72527f9adc3b, 0x0e7555100d890aa3, 0xdc15ad685a818c5f, 0x708e463af830e642) 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 143.5s 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:326 [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 215.41s: package has test failures