Package evaluation of DeferredFutures on Julia 1.11.4 (a71dd056e0*) started at 2025-04-08T07:34:09.108 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.99s ################################################################################ # Installation # Installing DeferredFutures... Resolving package versions... Updating `~/.julia/environments/v1.11/Project.toml` [d2772ebe] + DeferredFutures v1.0.0 Updating `~/.julia/environments/v1.11/Manifest.toml` ⌅ [15f4f7f2] + AutoHashEquals v0.2.0 [d2772ebe] + DeferredFutures v1.0.0 [8ba89e20] + Distributed v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.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 1.14s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 12.58s ################################################################################ # Testing # Testing DeferredFutures Status `/tmp/jl_zBt9gg/Project.toml` ⌅ [15f4f7f2] AutoHashEquals v0.2.0 [d2772ebe] DeferredFutures v1.0.0 [8ba89e20] Distributed v1.11.0 [9e88b42a] Serialization v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_zBt9gg/Manifest.toml` ⌅ [15f4f7f2] AutoHashEquals v0.2.0 [d2772ebe] DeferredFutures v1.0.0 [2a0f44e3] Base64 v1.11.0 [8ba89e20] Distributed v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [8dfed614] Test v1.11.0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... Transfer: Error During Test at /home/pkgeval/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:236 Got exception outside of a @test On worker 6: Global Main.data does not exist and cannot be assigned. Declare it using `global` before attempting assignment. Stacktrace: [1] #7 @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:258 [2] #invokelatest#2 @ ./essentials.jl:1055 [3] invokelatest @ ./essentials.jl:1052 [4] #110 @ /opt/julia/share/julia/stdlib/v1.11/Distributed/src/process_messages.jl:287 [5] run_work_thunk @ /opt/julia/share/julia/stdlib/v1.11/Distributed/src/process_messages.jl:70 [6] #109 @ /opt/julia/share/julia/stdlib/v1.11/Distributed/src/process_messages.jl:287 Stacktrace: [1] remotecall_fetch(f::Function, w::Distributed.Worker, args::DeferredFuture; kwargs::@Kwargs{}) @ Distributed /opt/julia/share/julia/stdlib/v1.11/Distributed/src/remotecall.jl:465 [2] remotecall_fetch(f::Function, w::Distributed.Worker, args::DeferredFuture) @ Distributed /opt/julia/share/julia/stdlib/v1.11/Distributed/src/remotecall.jl:454 [3] remotecall_fetch(f::Function, id::Int64, args::DeferredFuture) @ Distributed /opt/julia/share/julia/stdlib/v1.11/Distributed/src/remotecall.jl:492 [4] macro expansion @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:255 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [6] macro expansion @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:237 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [8] top-level scope @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:7 [9] include(fname::String) @ Main ./sysimg.jl:38 [10] top-level scope @ none:6 [11] eval @ ./boot.jl:430 [inlined] [12] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [13] _start() @ Base ./client.jl:531 ┌ Warning: macroexpand no longer throws a LoadError so `@test_throws LoadError ...` is deprecated and passed without checking the error type! │ caller = macro expansion at runtests.jl:292 [inlined] └ @ Core ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:292 @defer: Error During Test at /home/pkgeval/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:297 Test threw exception Expression: e.error isa AssertionError type AssertionError has no field error Stacktrace: [1] getproperty(x::AssertionError, f::Symbol) @ Base ./Base.jl:49 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:676 [inlined] [3] macro expansion @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:297 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [5] macro expansion @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:277 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [7] top-level scope @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:7 caused by: AssertionError: Expected expression to be a function call, but got mutable struct Foo #= /home/pkgeval/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:294 =# end. Stacktrace: [1] var"@defer"(__source__::LineNumberNode, __module__::Module, ex::Expr) @ DeferredFutures ~/.julia/packages/DeferredFutures/TCvh2/src/DeferredFutures.jl:283 [2] #macroexpand#74 @ ./expr.jl:125 [inlined] [3] macroexpand(m::Module, x::Any) @ Base ./expr.jl:123 [4] macro expansion @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:294 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [6] macro expansion @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:277 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [8] top-level scope @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:7 ┌ Warning: macroexpand no longer throws a LoadError so `@test_throws LoadError ...` is deprecated and passed without checking the error type! │ caller = macro expansion at runtests.jl:300 [inlined] └ @ Core ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:300 @defer: Error During Test at /home/pkgeval/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:305 Test threw exception Expression: e.error isa AssertionError type AssertionError has no field error Stacktrace: [1] getproperty(x::AssertionError, f::Symbol) @ Base ./Base.jl:49 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:676 [inlined] [3] macro expansion @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:305 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [5] macro expansion @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:277 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [7] top-level scope @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:7 caused by: AssertionError: Expected RemoteChannel or Future and got Channel. Stacktrace: [1] var"@defer"(__source__::LineNumberNode, __module__::Module, ex::Expr) @ DeferredFutures ~/.julia/packages/DeferredFutures/TCvh2/src/DeferredFutures.jl:291 [2] #macroexpand#74 @ ./expr.jl:125 [inlined] [3] macroexpand(m::Module, x::Any) @ Base ./expr.jl:123 [4] macro expansion @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:302 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [6] macro expansion @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:277 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [8] top-level scope @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:7 DeferredFuture serialization on a cluster: Error During Test at /home/pkgeval/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:333 Got exception outside of a @test On worker 7: KeyError: key Base.PkgId(Base.UUID("8dfed614-e22c-5e08-85e1-65c5234f0b40"), "Test") not found Stacktrace: [1] getindex @ ./dict.jl:477 [inlined] [2] macro expansion @ ./lock.jl:273 [inlined] [3] root_module @ ./loading.jl:2471 [4] deserialize_module @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:1024 [5] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:926 [6] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:844 [7] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:934 [8] deserialize_fillarray! @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:1318 [9] deserialize_array @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:1310 [10] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:895 [11] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:844 [inlined] [12] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:1166 [13] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:990 [14] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:844 [inlined] [15] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:1077 [16] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:990 [17] deserialize_fillarray! @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:1318 [18] deserialize_array @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:1310 [19] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:895 [20] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:844 [inlined] [21] deserialize_typename @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:1432 [22] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Distributed/src/clusterserialize.jl:68 [23] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:990 [24] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:844 [25] deserialize_datatype @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:0 [26] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:899 [27] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:844 [28] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:904 [29] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:844 [inlined] [30] deserialize_msg @ /opt/julia/share/julia/stdlib/v1.11/Distributed/src/messages.jl:87 [31] #invokelatest#2 @ ./essentials.jl:1055 [inlined] [32] invokelatest @ ./essentials.jl:1052 [inlined] [33] message_handler_loop @ /opt/julia/share/julia/stdlib/v1.11/Distributed/src/process_messages.jl:176 [34] process_tcp_streams @ /opt/julia/share/julia/stdlib/v1.11/Distributed/src/process_messages.jl:133 [35] #103 @ /opt/julia/share/julia/stdlib/v1.11/Distributed/src/process_messages.jl:121 Stacktrace: [1] remotecall_fetch(::Function, ::Distributed.Worker; kwargs::@Kwargs{}) @ Distributed /opt/julia/share/julia/stdlib/v1.11/Distributed/src/remotecall.jl:465 [2] remotecall_fetch(::Function, ::Distributed.Worker) @ Distributed /opt/julia/share/julia/stdlib/v1.11/Distributed/src/remotecall.jl:454 [3] remotecall_fetch(::Function, ::Int64) @ Distributed /opt/julia/share/julia/stdlib/v1.11/Distributed/src/remotecall.jl:492 [4] macro expansion @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:355 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [6] macro expansion @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:334 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [8] macro expansion @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:321 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [10] top-level scope @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:7 [11] include(fname::String) @ Main ./sysimg.jl:38 [12] top-level scope @ none:6 [13] eval @ ./boot.jl:430 [inlined] [14] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [15] _start() @ Base ./client.jl:531 DeferredChannel serialization on a cluster: Error During Test at /home/pkgeval/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:418 Got exception outside of a @test On worker 8: KeyError: key Base.PkgId(Base.UUID("8dfed614-e22c-5e08-85e1-65c5234f0b40"), "Test") not found Stacktrace: [1] getindex @ ./dict.jl:477 [inlined] [2] macro expansion @ ./lock.jl:273 [inlined] [3] root_module @ ./loading.jl:2471 [4] deserialize_module @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:1024 [5] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:926 [6] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:844 [7] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:934 [8] deserialize_fillarray! @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:1318 [9] deserialize_array @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:1310 [10] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:895 [11] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:844 [inlined] [12] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:1166 [13] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:990 [14] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:844 [inlined] [15] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:1077 [16] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:990 [17] deserialize_fillarray! @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:1318 [18] deserialize_array @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:1310 [19] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:895 [20] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:844 [inlined] [21] deserialize_typename @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:1432 [22] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Distributed/src/clusterserialize.jl:68 [23] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:990 [24] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:844 [25] deserialize_datatype @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:0 [26] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:899 [27] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:844 [28] handle_deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:904 [29] deserialize @ /opt/julia/share/julia/stdlib/v1.11/Serialization/src/Serialization.jl:844 [inlined] [30] deserialize_msg @ /opt/julia/share/julia/stdlib/v1.11/Distributed/src/messages.jl:87 [31] #invokelatest#2 @ ./essentials.jl:1055 [inlined] [32] invokelatest @ ./essentials.jl:1052 [inlined] [33] message_handler_loop @ /opt/julia/share/julia/stdlib/v1.11/Distributed/src/process_messages.jl:176 [34] process_tcp_streams @ /opt/julia/share/julia/stdlib/v1.11/Distributed/src/process_messages.jl:133 [35] #103 @ /opt/julia/share/julia/stdlib/v1.11/Distributed/src/process_messages.jl:121 Stacktrace: [1] remotecall_fetch(::Function, ::Distributed.Worker; kwargs::@Kwargs{}) @ Distributed /opt/julia/share/julia/stdlib/v1.11/Distributed/src/remotecall.jl:465 [2] remotecall_fetch(::Function, ::Distributed.Worker) @ Distributed /opt/julia/share/julia/stdlib/v1.11/Distributed/src/remotecall.jl:454 [3] remotecall_fetch(::Function, ::Int64) @ Distributed /opt/julia/share/julia/stdlib/v1.11/Distributed/src/remotecall.jl:492 [4] macro expansion @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:440 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [6] macro expansion @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:419 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [8] macro expansion @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:321 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [10] top-level scope @ ~/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:7 [11] include(fname::String) @ Main ./sysimg.jl:38 [12] top-level scope @ none:6 [13] eval @ ./boot.jl:430 [inlined] [14] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [15] _start() @ Base ./client.jl:531 Test Summary: | Pass Error Total Time DeferredRemoteRefs | 117 5 122 4m18.8s DeferredFuture Comparison | 2 2 0.3s DeferredChannel Comparison | 2 2 0.1s Finalizing | 60 60 2.1s Distributed DeferredFuture | 18 18 41.6s Distributed DeferredChannel | 20 20 21.4s Allocation | 2 2 27.7s Transfer | 1 1 1m19.2s @defer | 5 2 7 4.9s Show | 2 2 0.2s Serialization | 6 2 8 1m21.2s DeferredFuture serialization on same process | 1 1 2.8s DeferredFuture serialization on a cluster | 1 1 18.3s DeferredChannel serialization on same process | 1 1 0.1s DeferredChannel serialization on a cluster | 1 1 18.2s DeferredFuture serialization as part of another object | 2 2 21.8s DeferredChannel serialization as part of another object | 2 2 20.1s ERROR: LoadError: Some tests did not pass: 117 passed, 0 failed, 5 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/DeferredFutures/TCvh2/test/runtests.jl:6 Testing failed after 267.21s ERROR: LoadError: Package DeferredFutures 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 305.47s: package tests unexpectedly errored