Package evaluation of SimpleMock on Julia 1.13.0-DEV.640 (0a970d81aa*) started at 2025-05-27T11:16:19.887 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.1s ################################################################################ # 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.9s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 12.68s ################################################################################ # Testing # Testing SimpleMock Status `/tmp/jl_FATvUO/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_FATvUO/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:1833 [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:310 [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:1833 [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:1833 [inlined] [11] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [13] top-level scope @ none:6 [14] eval(m::Module, e::Any) @ Core ./boot.jl:489 [15] exec_options(opts::JLOptions) @ Base ./client.jl:297 [16] _start() @ Base ./client.jl:564 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:373 [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:1833 [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:727 [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:1833 [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:310 [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:1833 [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:1833 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:297 [17] _start() @ Base ./client.jl:564 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:1833 [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:310 [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:1833 [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:1833 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:297 [17] _start() @ Base ./client.jl:564 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:1833 [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:310 [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:1833 [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:1833 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:297 [17] _start() @ Base ./client.jl:564 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:1833 [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:310 [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:1833 [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:1833 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:297 [17] _start() @ Base ./client.jl:564 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:1833 [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:727 [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:1833 [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:727 [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:373 [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:1833 [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:727 [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.13/Test/src/Test.jl:1833 [inlined] [4] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:110 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1833 [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:310 [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:1833 [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:1833 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:297 [17] _start() @ Base ./client.jl:564 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.13/Test/src/Test.jl:1833 [inlined] [4] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:130 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1833 [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:310 [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:1833 [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:1833 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:297 [17] _start() @ Base ./client.jl:564 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:1833 [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:1833 [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:310 [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:1833 [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:1833 [inlined] [14] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::JLOptions) @ Base ./client.jl:297 [19] _start() @ Base ./client.jl:564 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.13/Test/src/Test.jl:1833 [inlined] [4] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:166 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1833 [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:310 [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:1833 [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:1833 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::JLOptions) @ Base ./client.jl:297 [17] _start() @ Base ./client.jl:564 WARNING: Detected access to binding `Main.kw_f` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. 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.13/Test/src/Test.jl:1833 [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:1833 [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:727 [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.13/Test/src/Test.jl:1833 [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:1833 [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:727 [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.13/Test/src/Test.jl:1833 [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:1833 [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:727 [inlined] Test Summary: | Pass Error Total Time SimpleMock.jl | 80 16 96 1m13.0s Mock type | 79 79 6.1s mock function | 1 16 17 1m06.9s Basics | 1 1 9.5s Non-Mock mocks | 1 1 4.0s Specific methods | 1 1 3.7s Multiple mocks | 1 1 5.5s Varargs | 1 1 3.7s Parametric types | 1 1 3.5s mock does not overwrite methods | 1 1 2.5s Reusing Context | 2 2 7.1s Any context name is valid | 1 1 3.0s Filters | 2 2 5.9s Maximum/minimum depth | 1 1 2.8s Exclude/include | 1 1 3.1s Keyword arguments | 5 5 17.4s Keyword arguments are passed to mocked functions | 1 1 3.4s Keyword arguments are discarded when recursing | 1 1 3.5s Metadata records original functions and not keyword wrappers | 3 3 10.5s RNG of the outermost testset: Random.Xoshiro(0x01ff53e41c9e37cf, 0x2d91cabab0e8cc2b, 0xb160e394a0d12fae, 0xc3d4854f91358342, 0x5c68cb284be52184) 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 83.44s 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:2421 [3] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Operations.jl:2276 [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:498 [5] 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:164 [6] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:152 [7] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:152 [inlined] [8] #test#81 @ /opt/julia/share/julia/stdlib/v1.13/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:309 [11] exec_options(opts::Base.JLOptions) @ Base ./client.jl:331 [12] _start() @ Base ./client.jl:564 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 120.01s: package tests unexpectedly errored