Package evaluation of SimpleMock on Julia 1.11.4 (a71dd056e0*) started at 2025-04-08T07:17:40.335 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.95s ################################################################################ # Installation # Installing SimpleMock... Resolving package versions... Updating `~/.julia/environments/v1.11/Project.toml` [a896ed2c] + SimpleMock v1.2.1 Updating `~/.julia/environments/v1.11/Manifest.toml` [7057c7e9] + Cassette v0.3.14 [a896ed2c] + SimpleMock v1.2.1 Installation completed after 1.1s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 13.47s ################################################################################ # Testing # Testing SimpleMock Status `/tmp/jl_3bdg8T/Project.toml` [7057c7e9] Cassette v0.3.14 [a896ed2c] SimpleMock v1.2.1 [fd094767] Suppressor v0.2.8 [8dfed614] Test v1.11.0 Status `/tmp/jl_3bdg8T/Manifest.toml` [7057c7e9] Cassette v0.3.14 [a896ed2c] SimpleMock v1.2.1 [fd094767] Suppressor v0.2.8 [2a0f44e3] Base64 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 [8dfed614] Test v1.11.0 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 div(::Mock{SimpleMock.var"#15#17"{SimpleMock.var"#15#16#18"}}, ::Int64, ::RoundingMode{:ToZero}) The function `div` exists, but no method is defined for this combination of argument types. Closest candidates are: div(!Matched::Missing, ::Number, ::RoundingMode) @ Base missing.jl:129 div(!Matched::Rational, ::Integer, ::RoundingMode) @ Base rational.jl:491 div(!Matched::T, ::T, ::RoundingMode{:ToZero}) where T<:Union{Int128, Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8} @ Base div.jl:310 ... 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"####307#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(div), ::Mock{SimpleMock.var"#15#17"{SimpleMock.var"#15#16#18"}}, ::Int64, ::RoundingMode{:ToZero}) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:596 [5] div(::Mock{SimpleMock.var" @ ./div.jl:49 [inlined] [6] div @ ./div.jl:49 [inlined] [7] overdub(::Cassette.Context{SimpleMock.var"####307#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(div), ::Mock{SimpleMock.var"#15#17"{SimpleMock.var"#15#16#18"}}, ::Int64) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [8] (::Base.var" @ ./array.jl:1117 [inlined] [9] #133 @ ./array.jl:1117 [inlined] [10] overdub(overdub_context#230::Cassette.Context{SimpleMock.var"####307#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, overdub_arguments#231::Base.var"#133#134"{Vector{Union{Ptr{Nothing}, Base.InterpreterIP}}, Int64, Int64, Int64, Int64, Int64, Memory{Union{Ptr{Nothing}, Base.InterpreterIP}}, MemoryRef{Union{Ptr{Nothing}, Base.InterpreterIP}}}) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [11] _growend! @ ./array.jl:1116 [inlined] [12] overdub(::Cassette.Context{SimpleMock.var"####307#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(Base._growend!), ::Vector{Union{Ptr{Nothing}, Base.InterpreterIP}}, ::Int64) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [13] push! @ ./array.jl:1261 [inlined] [14] overdub(::Cassette.Context{SimpleMock.var"####307#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(push!), ::Vector{Union{Ptr{Nothing}, Base.InterpreterIP}}, ::Ptr{Nothing}) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [15] _reformat_bt @ ./error.jl:79 [inlined] [16] overdub(::Cassette.Context{SimpleMock.var"####307#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(Base._reformat_bt), ::Vector{Ptr{Nothing}}, ::Vector{Any}) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [17] #current_exceptions#97 @ ./error.jl:156 [inlined] [18] overdub(::Cassette.Context{SimpleMock.var"####307#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::Base.var"##current_exceptions#97", ::Bool, ::typeof(current_exceptions), ::Task) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [19] current_exceptions(::Task) @ ./error.jl:150 [inlined] [20] current_exceptions @ ./error.jl:150 [inlined] [21] current_exceptions() @ ./error.jl:150 [inlined] [22] current_exceptions @ ./error.jl:150 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:679 [inlined] [24] #13 @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:37 [inlined] [25] overdub(::Cassette.Context{SimpleMock.var"####307#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", 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 [26] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1055 [27] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [28] mock(::Function, ::Symbol, ::Function, ::Vararg{Function}; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [29] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [30] mock(::Function, ::Function, ::Function) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [31] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:34 [inlined] [32] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [33] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:34 [34] include(fname::String) @ Main ./sysimg.jl:38 [35] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [36] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [37] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [38] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [39] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [40] include(fname::String) @ Main ./sysimg.jl:38 [41] top-level scope @ none:6 [42] eval @ ./boot.jl:430 [inlined] [43] exec_options(opts::JLOptions) @ Base ./client.jl:296 [44] _start() @ Base ./client.jl:531 caused by: MethodError: no method matching div(::Mock{SimpleMock.var"#15#17"{SimpleMock.var"#15#16#18"}}, ::Int64, ::RoundingMode{:Up}) The function `div` exists, but no method is defined for this combination of argument types. Closest candidates are: div(!Matched::T, ::T, ::RoundingMode{:Up}) where T<:Integer @ Base div.jl:364 div(!Matched::Missing, ::Number, ::RoundingMode) @ Base missing.jl:129 div(!Matched::Rational, ::Integer, ::RoundingMode) @ Base rational.jl:491 ... 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"####307#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(div), ::Mock{SimpleMock.var"#15#17"{SimpleMock.var"#15#16#18"}}, ::Int64, ::RoundingMode{:Up}) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:596 [5] cld(::Mock{SimpleMock.var" @ ./div.jl:160 [inlined] [6] cld @ ./div.jl:160 [inlined] [7] overdub(::Cassette.Context{SimpleMock.var"####307#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(cld), ::Mock{SimpleMock.var"#15#17"{SimpleMock.var"#15#16#18"}}, ::Int64) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [8] #sizehint!#423 @ ./dict.jl:198 [inlined] [9] recurse(::Cassette.Context{SimpleMock.var"####307#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::Base.var"##sizehint!#423", ::Bool, ::typeof(sizehint!), ::Dict{Union{}, Nothing}, ::Int64) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [10] kwcall(::@NamedTuple{shrink::Bool}, ::typeof(sizehint!), ::Dict{Union{}, Nothing}, ::Int64) @ ./dict.jl:193 [inlined] [11] sizehint! @ ./dict.jl:193 [inlined] [12] var" @ ./set.jl:172 [inlined] [13] kwcall(::@NamedTuple{shrink::Bool}, ::typeof(sizehint!), ::Set{Union{}}, ::Int64) @ ./set.jl:172 [inlined] [14] sizehint! @ ./set.jl:172 [inlined] [15] overdub(::Cassette.Context{SimpleMock.var"####307#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(Core.kwcall), ::@NamedTuple{shrink::Bool}, ::typeof(sizehint!), ::Set{Union{}}, ::Int64) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [16] union!(::Set{Union{}}, ::Tuple{}) @ ./abstractset.jl:104 [inlined] [17] union! @ ./abstractset.jl:104 [inlined] [18] overdub(::Cassette.Context{SimpleMock.var"####307#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(union!), ::Set{Union{}}, ::Tuple{}) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [19] Set{Union{}}(::Tuple{}) @ ./set.jl:47 [inlined] [20] Set @ ./set.jl:47 [inlined] [21] _Set(::Tuple{}, ::Base.HasEltype) @ ./set.jl:59 [inlined] [22] _Set @ ./set.jl:59 [inlined] [23] Set(::Tuple{}) @ ./set.jl:58 [inlined] [24] Set @ ./set.jl:58 [inlined] [25] issetequal(::Tuple{}, ::Tuple{}) @ ./abstractset.jl:527 [inlined] [26] issetequal @ ./abstractset.jl:527 [inlined] [27] overdub(::Cassette.Context{SimpleMock.var"####307#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(issetequal), ::Tuple{}, ::Tuple{}) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [28] call_matches(::Call{Tuple{Int64, Int64}, Base.Pairs{Symbol, Union{}, Tuple{}, @NamedTuple{}}}, ::Call{Tuple{Int64, Int64}, Base.Pairs{Symbol, Union{}, Tuple{}, @NamedTuple{}}}) @ ~/.julia/packages/SimpleMock/tMnal/src/mock_type.jl:189 [inlined] [29] call_matches @ ~/.julia/packages/SimpleMock/tMnal/src/mock_type.jl:189 [inlined] [30] (::SimpleMock.var" @ ~/.julia/packages/SimpleMock/tMnal/src/mock_type.jl:149 [inlined] [31] #23 @ ~/.julia/packages/SimpleMock/tMnal/src/mock_type.jl:149 [inlined] [32] overdub(::Cassette.Context{SimpleMock.var"####307#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::SimpleMock.var"#23#24"{Call{Tuple{Int64, Int64}, @Kwargs{}}}, ::Call{Tuple{Int64, Int64}, @Kwargs{}}) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [33] _any @ ./reduce.jl:1237 [inlined] [34] overdub(::Cassette.Context{SimpleMock.var"####307#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(Base._any), ::SimpleMock.var"#23#24"{Call{Tuple{Int64, Int64}, @Kwargs{}}}, ::Vector{Call}, ::Colon) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [35] var" @ ./reducedim.jl:992 [inlined] [36] any(::SimpleMock.var" @ ./reducedim.jl:992 [inlined] [37] any @ ./reducedim.jl:992 [inlined] [38] has_call(::Mock{SimpleMock.var" @ ~/.julia/packages/SimpleMock/tMnal/src/mock_type.jl:149 [inlined] [39] has_call @ ~/.julia/packages/SimpleMock/tMnal/src/mock_type.jl:149 [inlined] [40] var" @ ~/.julia/packages/SimpleMock/tMnal/src/mock_type.jl:127 [inlined] [41] called_with(::Mock{SimpleMock.var" @ ~/.julia/packages/SimpleMock/tMnal/src/mock_type.jl:127 [inlined] [42] called_with @ ~/.julia/packages/SimpleMock/tMnal/src/mock_type.jl:127 [inlined] [43] var" @ ~/.julia/packages/SimpleMock/tMnal/src/mock_type.jl:141 [inlined] [44] called_once_with(::Mock{SimpleMock.var" @ ~/.julia/packages/SimpleMock/tMnal/src/mock_type.jl:141 [inlined] [45] called_once_with @ ~/.julia/packages/SimpleMock/tMnal/src/mock_type.jl:141 [inlined] [46] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:37 [inlined] [47] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:676 [inlined] [48] #13 @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:37 [inlined] [49] overdub(::Cassette.Context{SimpleMock.var"####307#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", 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 [50] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1055 [51] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [52] mock(::Function, ::Symbol, ::Function, ::Vararg{Function}; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [53] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [54] mock(::Function, ::Function, ::Function) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [55] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:34 [inlined] [56] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [57] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:34 [58] include(fname::String) @ Main ./sysimg.jl:38 [59] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [60] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] --- the above 2 lines are repeated 1 more time --- [63] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [64] include(fname::String) @ Main ./sysimg.jl:38 [65] top-level scope @ none:6 [66] eval @ ./boot.jl:430 [inlined] [67] exec_options(opts::JLOptions) @ Base ./client.jl:296 Reusing Context: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:99 Test threw exception Expression: mock((_f->begin #= /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:99 =# f(" hi ") end), ctx, strip => identity) == " HI " The function body AST defined by this @generated function is not pure. This likely means it contains a closure, a comprehension or a generator. Stacktrace: [1] StringMemory(::Int64) @ ./iobuffer.jl:44 [inlined] [2] StringMemory @ ./iobuffer.jl:44 [inlined] [3] overdub(::Cassette.Context{SimpleMock.var"####351#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(Base.StringMemory), ::Int64) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [4] StringVector(::Int64) @ ./iobuffer.jl:45 [inlined] [5] StringVector @ ./iobuffer.jl:45 [inlined] [6] overdub(::Cassette.Context{SimpleMock.var"####351#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(Base.StringVector), ::Int64) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [7] map(::typeof(uppercase), ::String) @ ./strings/basic.jl:665 [inlined] [8] map @ ./strings/basic.jl:665 [inlined] [9] overdub(::Cassette.Context{SimpleMock.var"####351#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(map), ::typeof(uppercase), ::String) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [10] uppercase(::String) @ ./strings/unicode.jl:618 [inlined] [11] uppercase @ ./strings/unicode.jl:618 [inlined] [12] (::var" @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:96 [inlined] [13] f @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:96 [inlined] [14] overdub(::Cassette.Context{SimpleMock.var"####351#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::var"#f#31", ::String) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [15] (::var" @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:99 [inlined] [16] #29 @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:99 [inlined] [17] overdub(::Cassette.Context{SimpleMock.var"####351#Name", SimpleMock.Metadata{false}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::var"#29#32"{var"#f#31"}, ::typeof(identity)) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [18] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1055 [19] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [20] mock(f::Function, ctx::Symbol, args::Pair{typeof(strip), typeof(identity)}; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [21] mock(f::Function, ctx::Symbol, args::Pair{typeof(strip), typeof(identity)}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:676 [inlined] [23] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:99 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [25] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:96 ┌ Warning: Discarding keyword arguments │ f = (::var"#bar#70"{var"#bar#50#71"}) (generic function with 1 method) │ kwargs = │ pairs(::NamedTuple) with 1 entry: │ :foo => :baz └ @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:226 Keyword arguments are discarded when recursing: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:165 Got exception outside of a @test The function body AST defined by this @generated function is not pure. This likely means it contains a closure, a comprehension or a generator. Stacktrace: [1] StringMemory(::Int64) @ ./iobuffer.jl:44 [inlined] [2] StringMemory @ ./iobuffer.jl:44 [inlined] [3] overdub(::Cassette.Context{SimpleMock.var"####376#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(Base.StringMemory), ::Int64) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [4] #IOBuffer#519 @ ./iobuffer.jl:128 [inlined] [5] overdub(::Cassette.Context{SimpleMock.var"####376#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::Base.var"##IOBuffer#519", ::Bool, ::Bool, ::Nothing, ::Bool, ::Int64, ::Nothing, ::Type{IOBuffer}) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [6] IOBuffer() @ ./iobuffer.jl:119 [inlined] [7] GenericIOBuffer @ ./iobuffer.jl:119 [inlined] [8] var" @ ./util.jl:76 [inlined] [9] #with_output_color#1056 @ ./util.jl:76 [inlined] [10] recurse(::Cassette.Context{SimpleMock.var"####376#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::Base.var"##with_output_color#1056", ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::typeof(Base.with_output_color), ::typeof(print), ::Symbol, ::Base.PipeEndpoint, ::String, ::String) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [11] recurse @ ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:669 [inlined] [12] kwcall(::@NamedTuple{bold::Bool, italic::Bool, underline::Bool, blink::Bool, reverse::Bool, hidden::Bool}, ::typeof(Base.with_output_color), ::typeof(print), ::Symbol, ::Base.PipeEndpoint, ::String, ::String) @ ./util.jl:73 [inlined] [13] with_output_color @ ./util.jl:73 [inlined] [14] overdub(::Cassette.Context{SimpleMock.var"####376#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(Core.kwcall), ::@NamedTuple{bold::Bool, italic::Bool, underline::Bool, blink::Bool, reverse::Bool, hidden::Bool}, ::typeof(Base.with_output_color), ::typeof(print), ::Symbol, ::Base.PipeEndpoint, ::String, ::String) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [15] var" @ ./util.jl:141 [inlined] [16] #printstyled#1057 @ ./util.jl:141 [inlined] [17] recurse(::Cassette.Context{SimpleMock.var"####376#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::Base.var"##printstyled#1057", ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Symbol, ::typeof(printstyled), ::Base.PipeEndpoint, ::String, ::String) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [18] recurse @ ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:669 [inlined] [19] kwcall(::@NamedTuple{bold::Bool, italic::Bool, underline::Bool, blink::Bool, reverse::Bool, hidden::Bool, color::Symbol}, ::typeof(printstyled), ::Base.PipeEndpoint, ::String, ::String) @ ./util.jl:141 [inlined] [20] printstyled @ ./util.jl:141 [inlined] [21] overdub(::Cassette.Context{SimpleMock.var"####376#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(Core.kwcall), ::@NamedTuple{bold::Bool, italic::Bool, underline::Bool, blink::Bool, reverse::Bool, hidden::Bool, color::Symbol}, ::typeof(printstyled), ::Base.PipeEndpoint, ::String, ::String) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [22] var" @ ./util.jl:143 [inlined] [23] #printstyled#1058 @ ./util.jl:143 [inlined] [24] recurse(::Cassette.Context{SimpleMock.var"####376#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::Base.var"##printstyled#1058", ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Symbol, ::typeof(printstyled), ::String, ::String) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [25] recurse @ ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:669 [inlined] [26] kwcall(::@NamedTuple{color::Symbol}, ::typeof(printstyled), ::String, ::String) @ ./util.jl:143 [inlined] [27] printstyled @ ./util.jl:143 [inlined] [28] record @ /opt/julia/share/julia/stdlib/v1.11/Test/src/logging.jl:164 [inlined] [29] overdub(::Cassette.Context{SimpleMock.var"####376#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::typeof(Test.record), ::Test.DefaultTestSet, ::Test.LogTestFailure) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [30] (::var" @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:169 [inlined] [31] #53 @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:169 [inlined] [32] overdub(::Cassette.Context{SimpleMock.var"####376#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#232", Nothing, Nothing}, ::var"#53#75", ::Mock{SimpleMock.var"#15#17"{SimpleMock.var"#15#16#18"}}) @ Cassette ~/.julia/packages/Cassette/ROd5e/src/overdub.jl:0 [33] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1055 [34] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [35] mock(f::Function, ctx::Symbol, args::Function; filters::Vector{SimpleMock.var"#9#10"{Tuple{}}}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [36] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:168 [inlined] [37] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [38] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:166 [inlined] [39] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [40] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:154 [41] include(fname::String) @ Main ./sysimg.jl:38 [42] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [43] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] --- the above 2 lines are repeated 1 more time --- [46] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [47] include(fname::String) @ Main ./sysimg.jl:38 [48] top-level scope @ none:6 [49] eval @ ./boot.jl:430 [inlined] [50] exec_options(opts::JLOptions) @ Base ./client.jl:296 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.11/Test/src/Test.jl:679 [inlined] [2] #64 @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:196 [inlined] [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:1310 [5] all(f::Function, a::Vector{var"#64#89"{Bool, typeof(kw_f)}}; dims::Function) @ Base ./reducedim.jl:995 [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#78 @ ~/.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"####380#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#232", 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"####380#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#232", 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:1055 [19] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [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.11/Test/src/Test.jl:676 [inlined] [24] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:202 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [26] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:182 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [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.11/Test/src/Test.jl:679 [inlined] [2] #64 @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:196 [inlined] [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:1310 [5] all(f::Function, a::Vector{var"#64#89"{Bool, var"#95#99"}}; dims::Function) @ Base ./reducedim.jl:995 [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#80 @ ~/.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"####385#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#232", 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"####385#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#232", 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"####385#Name", SimpleMock.Metadata{true}, Nothing, Cassette.var"##PassType#232", 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:1055 [20] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [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.11/Test/src/Test.jl:676 [inlined] [25] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:204 [inlined] [26] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [27] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:182 [inlined] [28] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [29] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:154 Test Summary: | Pass Fail Error Broken Total Time SimpleMock.jl | 132 2 3 1 138 6m34.7s Mock type | 79 79 6.4s mock function | 53 2 3 1 59 6m28.3s Basics | 7 7 25.1s Non-Mock mocks | 1 1 1.0s Specific methods | 3 3 12.2s Multiple mocks | 2 1 3 24.6s Varargs | 5 5 22.3s Parametric types | 11 11 1m25.9s mock does not overwrite methods | 1 1 1.0s Reusing Context | 1 1 2 31.2s Any context name is valid | 1 1 0.9s Filters | 16 16 52.2s Keyword arguments | 5 2 1 1 9 2m11.0s Keyword arguments are passed to mocked functions | 2 2 29.9s Keyword arguments are discarded when recursing | 1 1 1m27.0s Metadata records original functions and not keyword wrappers | 3 2 1 6 14.1s ERROR: LoadError: Some tests did not pass: 132 passed, 2 failed, 3 errored, 1 broken. in expression starting at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/runtests.jl:9 Testing failed after 401.46s ERROR: LoadError: Package SimpleMock 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 436.97s: package tests unexpectedly errored