Package evaluation of SimpleMock on Julia 1.13.0-DEV.974 (7bbb213719*) started at 2025-08-12T11:19:13.138 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 10.03s ################################################################################ # Installation # Installing SimpleMock... Resolving package versions... Updating `~/.julia/environments/v1.13/Project.toml` [a896ed2c] + SimpleMock v1.2.1 Updating `~/.julia/environments/v1.13/Manifest.toml` [7057c7e9] + Cassette v0.3.14 [a896ed2c] + SimpleMock v1.2.1 Installation completed after 0.73s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 15.1s ################################################################################ # Testing # Testing SimpleMock Status `/tmp/jl_VBXroZ/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_VBXroZ/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.13/Test/src/Test.jl:1929 [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:312 [7] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [9] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [11] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [13] top-level scope @ none:6 [14] eval(m::Module, e::Any) @ Core ./boot.jl:489 [15] exec_options(opts::JLOptions) @ Base ./client.jl:286 [16] _start() @ Base ./client.jl:553 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] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:388 [5] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:22 [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [7] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:22 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [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.13/Test/src/Test.jl:1929 [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:312 [8] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [10] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 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.13/Test/src/Test.jl:1929 [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:312 [8] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [10] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 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.13/Test/src/Test.jl:1929 [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:312 [8] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [10] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 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.13/Test/src/Test.jl:1929 [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:312 [8] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [10] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 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.13/Test/src/Test.jl:1929 [inlined] [5] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:99 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [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.13/Test/src/Test.jl:1929 [inlined] [5] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:100 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [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] eval_test_function(func::Any, args::Any, kwargs::Any, quoted_func::Union{Expr, Symbol}, source::LineNumberNode, negate::Bool) @ Test /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:388 [4] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:105 [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:105 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [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] kwcall(::@NamedTuple{filters::Vector{SimpleMock.var"#max_depth##0#max_depth##1"{Int64}}}, ::typeof(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:109 [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [5] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:110 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [7] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:114 [inlined] [8] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [9] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [11] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [13] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 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] kwcall(::@NamedTuple{filters::Vector{SimpleMock.var"#excluding##0#excluding##1"{Tuple{Module, var"#c#c##0"}}}}, ::typeof(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:109 [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [5] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:130 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [7] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:137 [inlined] [8] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [9] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [11] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [13] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 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.13/Test/src/Test.jl:1929 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:159 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [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:312 [10] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 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] kwcall(::@NamedTuple{filters::Vector{SimpleMock.var"#including##0#including##1"{Tuple{}}}}, ::typeof(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:154 [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [5] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:166 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [7] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:168 [inlined] [8] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [9] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [11] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [13] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:489 [17] exec_options(opts::JLOptions) @ Base ./client.jl:286 [18] _start() @ Base ./client.jl:553 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] kwcall(::@NamedTuple{filters::Vector{var"#104#105"{Bool, typeof(kw_f)}}}, ::typeof(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.13/Test/src/Test.jl:1929 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:182 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:202 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [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] kwcall(::@NamedTuple{filters::Vector{var"#104#105"{Bool, var"#118#119"}}}, ::typeof(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.13/Test/src/Test.jl:1929 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:182 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:204 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [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] kwcall(::@NamedTuple{filters::Vector{var"#104#105"{Bool, var"#kw_j#kw_j##0"{var"#kw_j#73#101"}}}}, ::typeof(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.13/Test/src/Test.jl:1929 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:182 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:206 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] Test Summary: | Pass Error Total Time SimpleMock.jl | 80 16 96 28.5s Mock type | 79 79 6.0s mock function | 1 16 17 22.5s Basics | 1 1 6.3s Non-Mock mocks | 1 1 1.3s Specific methods | 1 1 1.1s Multiple mocks | 1 1 3.2s Varargs | 1 1 1.2s Parametric types | 1 1 0.7s mock does not overwrite methods | 1 1 0.7s Reusing Context | 2 2 1.6s Any context name is valid | 1 1 0.3s Filters | 2 2 0.6s Maximum/minimum depth | 1 1 0.3s Exclude/include | 1 1 0.3s Keyword arguments | 5 5 4.3s Keyword arguments are passed to mocked functions | 1 1 0.7s Keyword arguments are discarded when recursing | 1 1 0.9s Metadata records original functions and not keyword wrappers | 3 3 2.6s RNG of the outermost testset: Random.Xoshiro(0xcc4b194b3dca5efd, 0x0ce4e892306cb0a7, 0x31a584a298336123, 0x6e3de183c5ff0e96, 0xeee694c9320abcbb) 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 37.87s ERROR: LoadError: Package SimpleMock errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.13/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.13/Pkg/src/Operations.jl:2672 [3] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Operations.jl:2521 [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.13/Pkg/src/API.jl:538 [5] kwcall(::@NamedTuple{julia_args::Cmd, io::IOContext{IO}}, ::typeof(Pkg.API.test), ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:515 [6] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:168 [7] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:157 [8] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:156 [9] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:156 [inlined] [10] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkg::String) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:155 [11] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 [12] include(mod::Module, _path::String) @ Base ./Base.jl:311 [13] exec_options(opts::Base.JLOptions) @ Base ./client.jl:320 [14] _start() @ Base ./client.jl:553 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 78.88s: package tests unexpectedly errored