Package evaluation of SimpleMock on Julia 1.12.0-rc1.2 (995ff9db19*) started at 2025-07-14T10:31:50.283 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.11s ################################################################################ # Installation # Installing SimpleMock... Resolving package versions... Updating `~/.julia/environments/v1.12/Project.toml` [a896ed2c] + SimpleMock v1.2.1 Updating `~/.julia/environments/v1.12/Manifest.toml` [7057c7e9] + Cassette v0.3.14 [a896ed2c] + SimpleMock v1.2.1 Installation completed after 0.91s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 14.23s ################################################################################ # Testing # Testing SimpleMock Status `/tmp/jl_hO3a66/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_hO3a66/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 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.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 [f489334b] StyledStrings v1.11.0 [8dfed614] Test v1.11.0 Testing Running tests... Basics: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:3 Got exception outside of a @test As of Julia 1.12, generated functions must return `CodeInfo`. See `Base.generated_body_to_codeinfo`. Stacktrace: [1] mock(f::Function, ctx::Symbol, args::Function; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [2] mock(f::Function, ctx::Symbol, args::Function) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [3] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:4 [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [5] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:4 [inlined] [6] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [7] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [9] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [11] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [13] top-level scope @ none:6 [14] eval(m::Module, e::Any) @ Core ./boot.jl:489 [15] exec_options(opts::JLOptions) @ Base ./client.jl:287 [16] _start() @ Base ./client.jl:554 Non-Mock mocks: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:22 Test threw exception Expression: mock((_id->begin #= /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:22 =# identity(2) == 4 end), identity => (x->begin #= /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:22 =# 2x end)) As of Julia 1.12, generated functions must return `CodeInfo`. See `Base.generated_body_to_codeinfo`. Stacktrace: [1] mock(f::Function, ctx::Symbol, args::Pair{typeof(identity), var"#11#12"}; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [2] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [3] mock(f::Function, args::Pair{typeof(identity), var"#11#12"}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [4] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:22 [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:22 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:677 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:22 [inlined] Specific methods: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:25 Got exception outside of a @test As of Julia 1.12, generated functions must return `CodeInfo`. See `Base.generated_body_to_codeinfo`. Stacktrace: [1] mock(f::Function, ctx::Symbol, args::Pair{Tuple{typeof(+), DataType, DataType}, Mock{var"#17#18"}}; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [2] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [3] mock(f::Function, args::Pair{Tuple{typeof(+), DataType, DataType}, Mock{var"#17#18"}}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [4] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:26 [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:26 [inlined] [7] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [8] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [10] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:287 [17] _start() @ Base ./client.jl:554 Multiple mocks: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:33 Got exception outside of a @test As of Julia 1.12, generated functions must return `CodeInfo`. See `Base.generated_body_to_codeinfo`. Stacktrace: [1] mock(::Function, ::Symbol, ::Function, ::Vararg{Function}; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [2] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [3] mock(::Function, ::Function, ::Function) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [4] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:34 [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:34 [inlined] [7] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [8] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [10] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:287 [17] _start() @ Base ./client.jl:554 Varargs: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:42 Got exception outside of a @test As of Julia 1.12, generated functions must return `CodeInfo`. See `Base.generated_body_to_codeinfo`. Stacktrace: [1] mock(f::Function, ctx::Symbol, args::Tuple{var"#varargs#varargs##0", Core.TypeofVararg, Core.TypeofVararg, Core.TypeofVararg}; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [2] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [3] mock(f::Function, args::Tuple{var"#varargs#varargs##0", Core.TypeofVararg, Core.TypeofVararg, Core.TypeofVararg}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [4] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:43 [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:46 [inlined] [7] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [8] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [10] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:287 [17] _start() @ Base ./client.jl:554 Parametric types: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:55 Got exception outside of a @test As of Julia 1.12, generated functions must return `CodeInfo`. See `Base.generated_body_to_codeinfo`. Stacktrace: [1] mock(f::Function, ctx::Symbol, args::Tuple{var"#params#params##0", DataType}; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [2] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [3] mock(f::Function, args::Tuple{var"#params#params##0", DataType}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [4] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:56 [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:61 [inlined] [7] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [8] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [10] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:287 [17] _start() @ Base ./client.jl:554 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 " As of Julia 1.12, generated functions must return `CodeInfo`. See `Base.generated_body_to_codeinfo`. Stacktrace: [1] mock(f::Function, ctx::Symbol, args::Pair{typeof(strip), typeof(identity)}; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [2] mock(f::Function, ctx::Symbol, args::Pair{typeof(strip), typeof(identity)}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [3] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:96 [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [5] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:99 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:677 [inlined] Reusing Context: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:100 Test threw exception Expression: mock((_f->begin #= /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:100 =# f(" hi ") end), ctx, uppercase => identity) == "hi" As of Julia 1.12, generated functions must return `CodeInfo`. See `Base.generated_body_to_codeinfo`. Stacktrace: [1] mock(f::Function, ctx::Symbol, args::Pair{typeof(uppercase), typeof(identity)}; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [2] mock(f::Function, ctx::Symbol, args::Pair{typeof(uppercase), typeof(identity)}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [3] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:96 [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [5] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:100 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:677 [inlined] Any context name is valid: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:105 Test threw exception Expression: mock((_id->begin #= /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:105 =# true end), :mock, identity) As of Julia 1.12, generated functions must return `CodeInfo`. See `Base.generated_body_to_codeinfo`. Stacktrace: [1] mock(f::Function, ctx::Symbol, args::Function; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [2] mock(f::Function, ctx::Symbol, args::Function) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [3] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:105 [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [5] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:105 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:677 [inlined] [7] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:105 [inlined] Maximum/minimum depth: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:109 Got exception outside of a @test As of Julia 1.12, generated functions must return `CodeInfo`. See `Base.generated_body_to_codeinfo`. Stacktrace: [1] mock(f::Function, ctx::Symbol, args::Function; filters::Vector{SimpleMock.var"#max_depth##0#max_depth##1"{Int64}}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [2] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:109 [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [4] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:110 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:114 [inlined] [7] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [8] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [10] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:287 [17] _start() @ Base ./client.jl:554 Exclude/include: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:129 Got exception outside of a @test As of Julia 1.12, generated functions must return `CodeInfo`. See `Base.generated_body_to_codeinfo`. Stacktrace: [1] mock(f::Function, ctx::Symbol, args::Function; filters::Vector{SimpleMock.var"#excluding##0#excluding##1"{Tuple{Module, var"#c#c##0"}}}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [2] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:109 [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [4] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:130 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:137 [inlined] [7] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [8] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [10] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:287 [17] _start() @ Base ./client.jl:554 Keyword arguments are passed to mocked functions: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:158 Got exception outside of a @test As of Julia 1.12, generated functions must return `CodeInfo`. See `Base.generated_body_to_codeinfo`. Stacktrace: [1] mock(f::Function, ctx::Symbol, args::Function; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [2] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [3] mock(f::Function, args::Function) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [4] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:154 [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:159 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:159 [inlined] [9] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [10] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [14] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::JLOptions) @ Base ./client.jl:287 [19] _start() @ Base ./client.jl:554 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 As of Julia 1.12, generated functions must return `CodeInfo`. See `Base.generated_body_to_codeinfo`. Stacktrace: [1] mock(f::Function, ctx::Symbol, args::Function; filters::Vector{SimpleMock.var"#including##0#including##1"{Tuple{}}}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [2] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:154 [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [4] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:166 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:168 [inlined] [7] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [8] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [10] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:306 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:287 [17] _start() @ Base ./client.jl:554 Metadata records original functions and not keyword wrappers: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:202 Test threw exception Expression: mock((_g->begin #= /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:202 =# kw_f(; x = 1) end), kw_g; filters = [test(kw_f)]) != 2 As of Julia 1.12, generated functions must return `CodeInfo`. See `Base.generated_body_to_codeinfo`. Stacktrace: [1] mock(f::Function, ctx::Symbol, args::Function; filters::Vector{var"#104#105"{Bool, typeof(kw_f)}}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [2] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [3] #mock#25 @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [inlined] [4] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:154 [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:182 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:202 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:677 [inlined] Metadata records original functions and not keyword wrappers: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:204 Test threw exception Expression: mock((_i->begin #= /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:204 =# kw_h(; x = 1) end), kw_i; filters = [test(kw_h)]) != 2 As of Julia 1.12, generated functions must return `CodeInfo`. See `Base.generated_body_to_codeinfo`. Stacktrace: [1] mock(f::Function, ctx::Symbol, args::Function; filters::Vector{var"#104#105"{Bool, var"#118#119"}}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [2] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [3] #mock#25 @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [inlined] [4] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:154 [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:182 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:204 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:677 [inlined] Metadata records original functions and not keyword wrappers: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:206 Test threw exception Expression: mock((_k->begin #= /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:206 =# kw_j(; x = 1) end), kw_k; filters = [test(kw_j; broken = true)]) != 2 As of Julia 1.12, generated functions must return `CodeInfo`. See `Base.generated_body_to_codeinfo`. Stacktrace: [1] mock(f::Function, ctx::Symbol, args::Function; filters::Vector{var"#104#105"{Bool, var"#kw_j#kw_j##0"{var"#kw_j#73#101"}}}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [2] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [3] #mock#25 @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [inlined] [4] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:154 [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:182 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:206 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:677 [inlined] Test Summary: | Pass Error Total Time SimpleMock.jl | 80 16 96 32.7s Mock type | 79 79 6.5s mock function | 1 16 17 26.2s Basics | 1 1 7.1s Non-Mock mocks | 1 1 1.5s Specific methods | 1 1 1.3s Multiple mocks | 1 1 3.7s Varargs | 1 1 1.4s Parametric types | 1 1 0.9s mock does not overwrite methods | 1 1 0.9s Reusing Context | 2 2 2.1s Any context name is valid | 1 1 0.3s Filters | 2 2 0.6s Maximum/minimum depth | 1 1 0.4s Exclude/include | 1 1 0.3s Keyword arguments | 5 5 5.1s Keyword arguments are passed to mocked functions | 1 1 0.9s Keyword arguments are discarded when recursing | 1 1 1.0s Metadata records original functions and not keyword wrappers | 3 3 3.2s RNG of the outermost testset: Random.Xoshiro(0x32fe54991986fabb, 0x232b9e3b7fb83154, 0x4329e058a4f0ebd2, 0xad30ea27cd5bee00, 0xa8a8f81d6ee7abd1) ERROR: LoadError: Some tests did not pass: 80 passed, 0 failed, 16 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/runtests.jl:9 Testing failed after 42.98s ERROR: LoadError: Package SimpleMock errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.12/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.12/Pkg/src/Operations.jl:2458 [3] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:2313 [inlined] [4] 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.12/Pkg/src/API.jl:511 [5] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:164 [6] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:152 [7] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:152 [inlined] [8] #test#81 @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:151 [inlined] [9] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 [10] include(mod::Module, _path::String) @ Base ./Base.jl:305 [11] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [12] _start() @ Base ./client.jl:554 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 82.32s: package tests unexpectedly errored