Package evaluation of SimpleMock on Julia 1.10.9 (96dc2d8c45*) started at 2025-06-06T11:35:23.396 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 4.08s ################################################################################ # Installation # Installing SimpleMock... Resolving package versions... Updating `~/.julia/environments/v1.10/Project.toml` [a896ed2c] + SimpleMock v1.2.1 Updating `~/.julia/environments/v1.10/Manifest.toml` [7057c7e9] + Cassette v0.3.14 [a896ed2c] + SimpleMock v1.2.1 Installation completed after 2.8s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 9.95s ################################################################################ # Testing # Testing SimpleMock Status `/tmp/jl_sFxtTm/Project.toml` [7057c7e9] Cassette v0.3.14 [a896ed2c] SimpleMock v1.2.1 [fd094767] Suppressor v0.2.8 [8dfed614] Test Status `/tmp/jl_sFxtTm/Manifest.toml` [7057c7e9] Cassette v0.3.14 [a896ed2c] SimpleMock v1.2.1 [fd094767] Suppressor v0.2.8 [2a0f44e3] Base64 [b77e0a4c] InteractiveUtils [56ddb016] Logging [d6f4376e] Markdown [9a3f8284] Random [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization [8dfed614] Test Testing Running tests... Multiple mocks: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:33 Got exception outside of a @test MethodError: no method matching Int64(::Mock{SimpleMock.var"#15#17"{SimpleMock.var"#15#16#18"}}) Closest candidates are: Int64(!Matched::Float64) @ Base float.jl:908 Int64(!Matched::Float32) @ Base float.jl:908 Int64(!Matched::Float16) @ Base float.jl:908 ... Stacktrace: [1] call @ ~/.julia/packages/Cassette/ROd5e/src/context.jl:454 [inlined] [2] fallback @ ~/.julia/packages/Cassette/ROd5e/src/context.jl:452 [inlined] [3] _overdub_fallback(::Any, ::Vararg{Any}) @ ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:596 [inlined] [4] overdub(::Cassette.Context{SimpleMock.var"####302#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#235", Nothing, Nothing}, ::Type{Int64}, ::Mock{SimpleMock.var"#15#17"{SimpleMock.var"#15#16#18"}}) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:596 [5] pointer @ ./abstractarray.jl:1239 [inlined] [6] unsafe_copyto! @ ./array.jl:331 [inlined] [7] overdub(::Cassette.Context{SimpleMock.var"####302#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#235", Nothing, Nothing}, ::typeof(unsafe_copyto!), ::Vector{Union{Ptr{Nothing}, Base.InterpreterIP}}, ::Int64, ::Vector{Union{Ptr{Nothing}, Base.InterpreterIP}}, ::Int64, ::Int64) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [8] _copyto_impl! @ ./array.jl:376 [inlined] [9] overdub(::Cassette.Context{SimpleMock.var"####302#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#235", Nothing, Nothing}, ::typeof(Base._copyto_impl!), ::Vector{Union{Ptr{Nothing}, Base.InterpreterIP}}, ::Int64, ::Vector{Union{Ptr{Nothing}, Base.InterpreterIP}}, ::Int64, ::Int64) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [10] copyto!(::Vector{Union{Ptr{Nothing}, Base.InterpreterIP}}, ::Int64, ::Vector{Union{Ptr{Nothing}, Base.InterpreterIP}}, ::Int64, ::Int64) @ ./array.jl:368 [inlined] [11] copyto! @ ./array.jl:368 [inlined] [12] overdub(::Cassette.Context{SimpleMock.var"####302#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#235", Nothing, Nothing}, ::typeof(copyto!), ::Vector{Union{Ptr{Nothing}, Base.InterpreterIP}}, ::Int64, ::Vector{Union{Ptr{Nothing}, Base.InterpreterIP}}, ::Int64, ::Int64) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [13] getindex @ ./array.jl:977 [inlined] [14] overdub(::Cassette.Context{SimpleMock.var"####302#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#235", Nothing, Nothing}, ::typeof(getindex), ::Vector{Union{Ptr{Nothing}, Base.InterpreterIP}}, ::UnitRange{Int64}) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [15] scrub_backtrace @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:95 [inlined] [16] overdub(::Cassette.Context{SimpleMock.var"####302#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#235", Nothing, Nothing}, ::typeof(Test.scrub_backtrace), ::Vector{Union{Ptr{Nothing}, Base.InterpreterIP}}, ::Nothing, ::String) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [17] scrub_exc_stack(::Vector{Any}, ::Nothing, ::String) @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:100 [inlined] [18] scrub_exc_stack @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:100 [inlined] [19] overdub(::Cassette.Context{SimpleMock.var"####302#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#235", Nothing, Nothing}, ::typeof(Test.scrub_exc_stack), ::Vector{Any}, ::Nothing, ::String) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [20] Error @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:222 [inlined] [21] overdub(::Cassette.Context{SimpleMock.var"####302#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#235", Nothing, Nothing}, ::Type{Test.Error}, ::Symbol, ::Expr, ::MethodError, ::Vector{Any}, ::LineNumberNode) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [22] do_test @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:702 [inlined] [23] overdub(::Cassette.Context{SimpleMock.var"####302#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#235", Nothing, Nothing}, ::typeof(Test.do_test), ::Test.Threw, ::Expr) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:672 [inlined] [25] #13 @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:37 [inlined] [26] overdub(::Cassette.Context{SimpleMock.var"####302#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#235", Nothing, Nothing}, ::var"#13#14", ::Mock{SimpleMock.var"#15#17"{SimpleMock.var"#15#16#18"}}, ::Mock{SimpleMock.var"#15#17"{SimpleMock.var"#15#16#18"}}) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [27] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:892 [28] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:889 [29] mock(::Function, ::Symbol, ::Function, ::Vararg{Function}; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [30] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [31] mock(::Function, ::Function, ::Function) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [32] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:34 [inlined] [33] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [34] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:34 [35] include(fname::String) @ Base.MainInclude ./client.jl:494 [36] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [37] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [38] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [39] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [40] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [41] include(fname::String) @ Base.MainInclude ./client.jl:494 [42] top-level scope @ none:6 [43] eval @ ./boot.jl:385 [inlined] [44] exec_options(opts::JLOptions) @ Base ./client.jl:296 [45] _start() @ Base ./client.jl:557 Metadata records original functions and not keyword wrappers: Test Failed at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:196 Expression: eq Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:672 [inlined] [2] (::var"#64#89"{Bool, typeof(kw_f)})(m::SimpleMock.Metadata{true}) @ Main ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:196 [3] #1 @ ~/.julia/packages/SimpleMock/tMnal/src/metadata.jl:54 [inlined] [4] _all(f::SimpleMock.var"#1#2"{SimpleMock.Metadata{true}}, itr::Vector{var"#64#89"{Bool, typeof(kw_f)}}, ::Colon) @ Base ./reduce.jl:1288 [5] all(f::Function, a::Vector{var"#64#89"{Bool, typeof(kw_f)}}; dims::Function) @ Base ./reducedim.jl:1025 [6] should_mock(m::SimpleMock.Metadata{true}, method::Tuple{typeof(kw_g), Core.TypeofVararg}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/metadata.jl:54 [7] #overdub#79 @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:223 [inlined] [8] overdub @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:221 [inlined] [9] overdub @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:232 [inlined] [10] var" @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:183 [inlined] [11] #kw_f#93 @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:183 [inlined] [12] recurse(::Cassette.Context{SimpleMock.var"####387#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#235", Nothing, Nothing}, ::var"##kw_f#93", ::Int64, ::typeof(kw_f)) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [13] kwcall(::@NamedTuple{x::Int64}, ::typeof(kw_f)) @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:183 [inlined] [14] kw_f @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:183 [inlined] [15] (::var" @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:202 [inlined] [16] #65 @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:202 [inlined] [17] overdub(::Cassette.Context{SimpleMock.var"####387#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#235", Nothing, Nothing}, ::var"#65#90", ::Mock{SimpleMock.var"#15#17"{SimpleMock.var"#15#16#18"}}) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [18] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:892 [19] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:889 [20] mock(f::Function, ctx::Symbol, args::Function; filters::Vector{var"#64#89"{Bool, typeof(kw_f)}}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [21] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [22] #mock#35 @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:669 [inlined] [24] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:202 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [26] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:182 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [28] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:154 Metadata records original functions and not keyword wrappers: Test Failed at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:196 Expression: eq Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:672 [inlined] [2] (::var"#64#89"{Bool, var"#95#99"})(m::SimpleMock.Metadata{true}) @ Main ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:196 [3] #1 @ ~/.julia/packages/SimpleMock/tMnal/src/metadata.jl:54 [inlined] [4] _all(f::SimpleMock.var"#1#2"{SimpleMock.Metadata{true}}, itr::Vector{var"#64#89"{Bool, var"#95#99"}}, ::Colon) @ Base ./reduce.jl:1288 [5] all(f::Function, a::Vector{var"#64#89"{Bool, var"#95#99"}}; dims::Function) @ Base ./reducedim.jl:1025 [6] should_mock(m::SimpleMock.Metadata{true}, method::Tuple{var"#97#100", Core.TypeofVararg}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/metadata.jl:54 [7] #overdub#81 @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:223 [inlined] [8] overdub @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:221 [inlined] [9] overdub @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:232 [inlined] [10] var" @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:185 [inlined] [11] #95#96 @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:185 [inlined] [12] recurse(::Cassette.Context{SimpleMock.var"####392#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#235", Nothing, Nothing}, ::var"##95#96", ::Int64, ::var"#95#99") @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [13] kwcall(::@NamedTuple{x::Int64}, ::var" @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:185 [inlined] [14] #95 @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:185 [inlined] [15] overdub(::Cassette.Context{SimpleMock.var"####392#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#235", Nothing, Nothing}, ::typeof(Core.kwcall), ::@NamedTuple{x::Int64}, ::var"#95#99") @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [16] (::var" @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:204 [inlined] [17] #66 @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:204 [inlined] [18] overdub(::Cassette.Context{SimpleMock.var"####392#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#235", Nothing, Nothing}, ::var"#66#91", ::Mock{SimpleMock.var"#15#17"{SimpleMock.var"#15#16#18"}}) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [19] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:892 [20] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:889 [21] mock(f::Function, ctx::Symbol, args::Function; filters::Vector{var"#64#89"{Bool, var"#95#99"}}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [22] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [23] #mock#35 @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:669 [inlined] [25] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:204 [inlined] [26] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [27] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:182 [inlined] [28] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [29] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:154 Test Summary: | Pass Fail Error Broken Total Time SimpleMock.jl | 138 2 1 1 142 7m43.8s Mock type | 79 79 6.3s mock function | 59 2 1 1 63 7m37.5s Basics | 7 7 20.1s Non-Mock mocks | 1 1 0.8s Specific methods | 3 3 9.9s Multiple mocks | 2 1 3 27.9s Varargs | 5 5 22.4s Parametric types | 11 11 1m21.1s mock does not overwrite methods | 1 1 1.4s Reusing Context | 2 2 33.9s Any context name is valid | 1 1 1.2s Filters | 16 16 44.7s Keyword arguments | 10 2 1 13 3m33.5s Keyword arguments are passed to mocked functions | 2 2 27.5s Keyword arguments are discarded when recursing | 5 5 2m53.5s Metadata records original functions and not keyword wrappers | 3 2 1 6 12.5s ERROR: LoadError: Some tests did not pass: 138 passed, 2 failed, 1 errored, 1 broken. in expression starting at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/runtests.jl:9 Testing failed after 468.89s ERROR: LoadError: Package SimpleMock errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70 [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.10/Pkg/src/Operations.jl:2034 [3] test @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1915 [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::Base.PipeEndpoint}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:444 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.PipeEndpoint, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:159 [6] test @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined] [7] #test#74 @ /opt/julia/share/julia/stdlib/v1.10/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 491.49s: package tests unexpectedly errored