Package evaluation of SimpleMock on Julia 1.12.0-DEV.1805 (a080deafdd*) started at 2025-03-24T11:11:50.585 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.07s ################################################################################ # 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.93s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 16.43s ################################################################################ # Testing # Testing SimpleMock Status `/tmp/jl_7ktGKC/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_7ktGKC/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 [dc6e5ff7] 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 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] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1056 [2] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [3] mock(f::Function, ctx::Symbol, args::Function; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [4] mock(f::Function, ctx::Symbol, args::Function) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [5] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:4 [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [7] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:4 [inlined] [8] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [9] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [11] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [13] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:485 [17] exec_options(opts::JLOptions) @ Base ./client.jl:295 [18] _start() @ Base ./client.jl:558 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)) 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] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1056 [2] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [3] 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 [4] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [5] mock(f::Function, args::Pair{typeof(identity), var"#11#12"}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [6] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:22 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:22 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] [10] 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 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] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1056 [2] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [3] 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 [4] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [5] mock(f::Function, args::Pair{Tuple{typeof(+), DataType, DataType}, Mock{var"#17#18"}}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [6] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:26 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:26 [inlined] [9] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [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:1724 [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:1724 [inlined] [14] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:485 [18] exec_options(opts::JLOptions) @ Base ./client.jl:295 [19] _start() @ Base ./client.jl:558 Multiple mocks: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:33 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] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1056 [2] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [3] mock(::Function, ::Symbol, ::Function, ::Vararg{Function}; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [4] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [5] mock(::Function, ::Function, ::Function) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [6] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:34 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:34 [inlined] [9] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [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:1724 [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:1724 [inlined] [14] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:485 [18] exec_options(opts::JLOptions) @ Base ./client.jl:295 [19] _start() @ Base ./client.jl:558 Varargs: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:42 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] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1056 [2] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [3] 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 [4] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [5] 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 [6] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:43 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:46 [inlined] [9] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [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:1724 [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:1724 [inlined] [14] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:485 [18] exec_options(opts::JLOptions) @ Base ./client.jl:295 [19] _start() @ Base ./client.jl:558 Parametric types: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:55 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] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1056 [2] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [3] 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 [4] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [5] mock(f::Function, args::Tuple{var"#params#params##0", DataType}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [6] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:56 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:61 [inlined] [9] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [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:1724 [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:1724 [inlined] [14] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:485 [18] exec_options(opts::JLOptions) @ Base ./client.jl:295 [19] _start() @ Base ./client.jl:558 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] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1056 [2] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [3] mock(f::Function, ctx::Symbol, args::Pair{typeof(strip), typeof(identity)}; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [4] mock(f::Function, ctx::Symbol, args::Pair{typeof(strip), typeof(identity)}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [5] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:96 [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [7] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:99 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [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" 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] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1056 [2] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [3] mock(f::Function, ctx::Symbol, args::Pair{typeof(uppercase), typeof(identity)}; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [4] mock(f::Function, ctx::Symbol, args::Pair{typeof(uppercase), typeof(identity)}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [5] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:96 [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [7] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:100 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [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) 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] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1056 [2] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [3] mock(f::Function, ctx::Symbol, args::Function; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [4] mock(f::Function, ctx::Symbol, args::Function) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [5] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:105 [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [7] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:105 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] [9] 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 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] 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:1724 [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:1724 [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:301 [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:1724 [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:1724 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:485 [16] exec_options(opts::JLOptions) @ Base ./client.jl:295 [17] _start() @ Base ./client.jl:558 Exclude/include: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:129 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] 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:1724 [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:1724 [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:301 [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:1724 [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:1724 [inlined] [12] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:485 [16] exec_options(opts::JLOptions) @ Base ./client.jl:295 [17] _start() @ Base ./client.jl:558 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 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] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1056 [2] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [3] mock(f::Function, ctx::Symbol, args::Function; filters::Vector{Function}) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:140 [4] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [5] mock(f::Function, args::Function) @ SimpleMock ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [6] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:154 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:159 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [10] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:159 [inlined] [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [12] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:10 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [14] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [16] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:485 [20] exec_options(opts::JLOptions) @ Base ./client.jl:295 [21] _start() @ Base ./client.jl:558 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] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1056 [2] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [3] 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 [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:1724 [inlined] [6] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:166 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:168 [inlined] [9] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [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:1724 [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:1724 [inlined] [14] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/runtests.jl:14 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:485 [18] exec_options(opts::JLOptions) @ Base ./client.jl:295 [19] _start() @ Base ./client.jl:558 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 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] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1056 [2] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [3] 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 [4] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [5] #mock#25 @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [inlined] [6] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:154 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:182 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [10] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:202 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [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 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] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1056 [2] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [3] 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 [4] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [5] #mock#25 @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [inlined] [6] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:154 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:182 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [10] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:204 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [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 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] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base ./essentials.jl:1056 [2] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base ./essentials.jl:1052 [3] 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 [4] mock @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:116 [inlined] [5] #mock#25 @ ~/.julia/packages/SimpleMock/tMnal/src/mock_fun.jl:113 [inlined] [6] top-level scope @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:154 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [8] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:182 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [10] macro expansion @ ~/.julia/packages/SimpleMock/tMnal/test/mock_fun.jl:206 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Test Summary: | Pass Error Total Time SimpleMock.jl | 80 16 96 1m13.7s Mock type | 79 79 5.9s mock function | 1 16 17 1m07.8s Basics | 1 1 9.5s Non-Mock mocks | 1 1 4.1s Specific methods | 1 1 3.8s Multiple mocks | 1 1 5.9s Varargs | 1 1 3.8s Parametric types | 1 1 3.4s mock does not overwrite methods | 1 1 2.7s Reusing Context | 2 2 7.6s Any context name is valid | 1 1 3.1s Filters | 2 2 5.2s Maximum/minimum depth | 1 1 2.6s Exclude/include | 1 1 2.5s Keyword arguments | 5 5 18.0s Keyword arguments are passed to mocked functions | 1 1 2.9s Keyword arguments are discarded when recursing | 1 1 3.5s Metadata records original functions and not keyword wrappers | 3 3 11.6s 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 81.59s 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{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.12/Pkg/src/Operations.jl:2359 [3] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:2214 [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.12/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.12/Pkg/src/API.jl:159 [6] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:147 [7] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:147 [inlined] [8] #test#81 @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:146 [inlined] [9] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 [10] include(mod::Module, _path::String) @ Base ./Base.jl:300 [11] exec_options(opts::Base.JLOptions) @ Base ./client.jl:329 [12] _start() @ Base ./client.jl:558 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 122.1s: package tests unexpectedly errored