Package evaluation to test CxxWrap on Julia 1.14.0-DEV.2593 (15c2b67521*) started at 2026-07-03T16:41:04.732 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 15.13s ################################################################################ # Installation # Installing CxxWrap... Resolving package versions... Installed libcxxwrap_julia_jll ─ v0.14.10+1 Installed JLLWrappers ────────── v1.8.0 Installed MacroTools ─────────── v0.5.16 Installed CxxWrap ────────────── v0.17.5 Installed Preferences ────────── v1.5.2 Installing 1 artifacts Installed artifact libcxxwrap_julia 6.4 MiB Updating `~/.julia/environments/v1.14/Project.toml` [1f15a43c] + CxxWrap v0.17.5 Updating `~/.julia/environments/v1.14/Manifest.toml` [1f15a43c] + CxxWrap v0.17.5 [692b3bcd] + JLLWrappers v1.8.0 [1914dd2f] + MacroTools v0.5.16 [21216c6a] + Preferences v1.5.2 [3eaa8342] + libcxxwrap_julia_jll v0.14.10+1 [56f22d72] + Artifacts v1.11.0 [ade2ca70] + Dates v1.11.0 [8f399da3] + Libdl v1.11.0 [de0858da] + Printf v1.11.0 [fa267f1f] + TOML v1.0.3 [4ec0a83e] + Unicode v1.11.0 Installation completed after 4.84s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling project... 8.8 s ✓ TestEnv 1 dependency successfully precompiled in 9 seconds. 27 already precompiled. Precompiling package dependencies... Precompiling project... 4.1 s ✓ MacroTools 1.3 s ✓ Statistics 31.8 s ✓ StructUtils 31.5 s ✓ Preferences 2.0 s ✓ Compat 31.7 s ✓ JLLWrappers 30.9 s ✓ PrecompileTools 1.0 s ✓ Compat → CompatLinearAlgebraExt 31.6 s ✓ libcxxwrap_julia_jll 67.6 s ✓ Parsers 226.9 s ✓ CxxWrap 132.3 s ✓ JSON 64.6 s ✓ BenchmarkTools 13 dependencies successfully precompiled in 657 seconds. 14 already precompiled. Precompilation completed after 706.98s ################################################################################ # Testing # Testing CxxWrap Status `/tmp/jl_BgGLy3/Project.toml` [6e4b80f9] BenchmarkTools v1.8.0 [1f15a43c] CxxWrap v0.17.5 [1914dd2f] MacroTools v0.5.16 [3eaa8342] libcxxwrap_julia_jll v0.14.10+1 [8f399da3] Libdl v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_BgGLy3/Manifest.toml` [6e4b80f9] BenchmarkTools v1.8.0 [34da2185] Compat v4.18.1 [1f15a43c] CxxWrap v0.17.5 [692b3bcd] JLLWrappers v1.8.0 [682c06a0] JSON v1.6.1 [1914dd2f] MacroTools v0.5.16 [69de0a69] Parsers v2.8.6 [aea7be01] PrecompileTools v1.3.4 [21216c6a] Preferences v1.5.2 [10745b16] Statistics v1.11.1 [ec057cc2] StructUtils v2.8.2 [3eaa8342] libcxxwrap_julia_jll v0.14.10+1 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.13.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.14.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [de0858da] Printf v1.11.0 [9abbd945] Profile v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.13.0 [9e88b42a] Serialization v1.11.0 [f489334b] StyledStrings v1.13.0 [fa267f1f] TOML v1.0.3 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.5.5+2 [4536629a] OpenBLAS_jll v0.3.33+0 [8e850b90] libblastrampoline_jll v5.15.0+0 Testing Running tests... Running tests from basic_types.jl... basic_types: Error During Test at /home/pkgeval/.julia/packages/CxxWrap/0hc89/test/basic_types.jl:179 Test threw exception Expression: BasicTypes.strict_method(CxxChar(1)) == "char" MethodError: no method matching CxxWrap.CxxWrapCore.StrictlyTypedNumber{CxxChar}(::CxxChar) The type `CxxWrap.CxxWrapCore.StrictlyTypedNumber{CxxChar}` exists, but no method is defined for this combination of argument types when trying to construct it. Stacktrace: [1] convert(t::Type{CxxWrap.CxxWrapCore.StrictlyTypedNumber{CxxChar}}, n::CxxChar) @ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/0hc89/src/CxxWrap.jl:256 [2] cconvert(::Type{CxxWrap.CxxWrapCore.StrictlyTypedNumber{CxxChar}}, x::CxxChar) @ Base essentials.jl:739 [3] strict_method(arg1::CxxChar) @ Main.BasicTypes none:1 [4] top-level scope @ ~/.julia/packages/CxxWrap/0hc89/test/basic_types.jl:35 [5] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [6] top-level scope @ ~/.julia/packages/CxxWrap/0hc89/test/runtests.jl:15 [7] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [8] top-level scope @ none:6 [9] eval(m::Module, e::Any) @ Core boot.jl:522 [10] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [11] _start() @ Base client.jl:596 basic_types: Error During Test at /home/pkgeval/.julia/packages/CxxWrap/0hc89/test/basic_types.jl:180 Test threw exception Expression: BasicTypes.strict_method(CxxLong(1)) == "long" MethodError: no method matching CxxWrap.CxxWrapCore.StrictlyTypedNumber{Int64}(::Int64) The type `CxxWrap.CxxWrapCore.StrictlyTypedNumber{Int64}` exists, but no method is defined for this combination of argument types when trying to construct it. Stacktrace: [1] convert(t::Type{CxxWrap.CxxWrapCore.StrictlyTypedNumber{Int64}}, n::Int64) @ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/0hc89/src/CxxWrap.jl:256 [2] cconvert(::Type{CxxWrap.CxxWrapCore.StrictlyTypedNumber{Int64}}, x::Int64) @ Base essentials.jl:739 [3] strict_method(arg1::Int64) @ Main.BasicTypes none:1 [4] top-level scope @ ~/.julia/packages/CxxWrap/0hc89/test/basic_types.jl:35 [5] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [6] top-level scope @ ~/.julia/packages/CxxWrap/0hc89/test/runtests.jl:15 [7] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [8] top-level scope @ none:6 [9] eval(m::Module, e::Any) @ Core boot.jl:522 [10] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [11] _start() @ Base client.jl:596 basic_types: Error During Test at /home/pkgeval/.julia/packages/CxxWrap/0hc89/test/basic_types.jl:182 Test threw exception Expression: BasicTypes.strict_method(CxxBool(true)) == "bool" MethodError: no method matching CxxWrap.CxxWrapCore.StrictlyTypedNumber{CxxBool}(::CxxBool) The type `CxxWrap.CxxWrapCore.StrictlyTypedNumber{CxxBool}` exists, but no method is defined for this combination of argument types when trying to construct it. Stacktrace: [1] convert(t::Type{CxxWrap.CxxWrapCore.StrictlyTypedNumber{CxxBool}}, n::CxxBool) @ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/0hc89/src/CxxWrap.jl:256 [2] cconvert(::Type{CxxWrap.CxxWrapCore.StrictlyTypedNumber{CxxBool}}, x::CxxBool) @ Base essentials.jl:739 [3] strict_method(arg1::CxxBool) @ Main.BasicTypes none:1 [4] top-level scope @ ~/.julia/packages/CxxWrap/0hc89/test/basic_types.jl:35 [5] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [6] top-level scope @ ~/.julia/packages/CxxWrap/0hc89/test/runtests.jl:15 [7] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [8] top-level scope @ none:6 [9] eval(m::Module, e::Any) @ Core boot.jl:522 [10] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [11] _start() @ Base client.jl:596 basic_types: Error During Test at /home/pkgeval/.julia/packages/CxxWrap/0hc89/test/basic_types.jl:183 Test threw exception Expression: BasicTypes.strict_method(true) == "bool" MethodError: no method matching CxxWrap.CxxWrapCore.StrictlyTypedNumber{CxxBool}(::Bool) The type `CxxWrap.CxxWrapCore.StrictlyTypedNumber{CxxBool}` exists, but no method is defined for this combination of argument types when trying to construct it. Stacktrace: [1] convert(t::Type{CxxWrap.CxxWrapCore.StrictlyTypedNumber{CxxBool}}, b::Bool) @ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/0hc89/src/CxxWrap.jl:258 [2] cconvert(::Type{CxxWrap.CxxWrapCore.StrictlyTypedNumber{CxxBool}}, x::Bool) @ Base essentials.jl:739 [3] strict_method(arg1::Bool) @ Main.BasicTypes none:1 [4] top-level scope @ ~/.julia/packages/CxxWrap/0hc89/test/basic_types.jl:35 [5] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [6] top-level scope @ ~/.julia/packages/CxxWrap/0hc89/test/runtests.jl:15 [7] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [8] top-level scope @ none:6 [9] eval(m::Module, e::Any) @ Core boot.jl:522 [10] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [11] _start() @ Base client.jl:596 char -> CxxChar unsigned long long -> CxxULongLong long long -> CxxLongLong unsigned long -> UInt64 long -> Int64 unsigned int -> UInt32 int -> Int32 unsigned short -> UInt16 short -> Int16 unsigned char -> UInt8 signed char -> Int8 int8_t -> Int8 uint8_t -> UInt8 int16_t -> Int16 uint16_t -> UInt16 int32_t -> Int32 uint32_t -> UInt32 int64_t -> Int64 uint64_t -> UInt64 Running tests from containers.jl... Displaying const matrix 3×2 ConstArray{Float64, 2}: 1.0 4.0 2.0 5.0 3.0 6.0 Displaying mutable matrix 3×2 Matrix{Float64}: 1.0 4.0 2.0 5.0 3.0 6.0 Running tests from cxxdereference.jl... Running tests from except.jl... exception 1 exception 2 exception 3 Running tests from extended_module.jl... Running tests from functions.jl... methods(CppHalfFunctions.half_d) = # 1 method for generic function "half_d" from Main.CppHalfFunctions: [1] half_d(arg1::Union{Float64, Int64, Irrational}) @ none:1 functions: Error During Test at /home/pkgeval/.julia/packages/CxxWrap/0hc89/test/functions.jl:76 Test threw exception Expression: CppHalfFunctions.strict_half(3.0) == 1.5 MethodError: no method matching CxxWrap.CxxWrapCore.StrictlyTypedNumber{Float64}(::Float64) The type `CxxWrap.CxxWrapCore.StrictlyTypedNumber{Float64}` exists, but no method is defined for this combination of argument types when trying to construct it. Stacktrace: [1] convert(t::Type{CxxWrap.CxxWrapCore.StrictlyTypedNumber{Float64}}, n::Float64) @ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/0hc89/src/CxxWrap.jl:256 [2] cconvert(::Type{CxxWrap.CxxWrapCore.StrictlyTypedNumber{Float64}}, x::Float64) @ Base essentials.jl:739 [3] strict_half(arg1::Float64) @ Main.CppHalfFunctions none:1 [4] top-level scope @ ~/.julia/packages/CxxWrap/0hc89/test/functions.jl:62 [5] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [6] top-level scope @ ~/.julia/packages/CxxWrap/0hc89/test/runtests.jl:15 [7] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [8] top-level scope @ none:6 [9] eval(m::Module, e::Any) @ Core boot.jl:522 [10] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [11] _start() @ Base client.jl:596 callback result for function 0x71b7ccdd4630 is 3 callback result for function 0x71b7ccdd4630 is 3 callback result for function 0x71b7ccde2db0 is 3 callback in Julia: calledFromCPP = 3.0 callback in Julia: calledFromCPP = 3.0 ---- Half test timings ---- Julia test: 0.184005 seconds 0.209083 seconds 0.183633 seconds C test: 0.275566 seconds 0.264374 seconds 0.288526 seconds C++ test: 0.336154 seconds 0.340122 seconds 0.345399 seconds C++ lambda test: 0.549512 seconds 0.523136 seconds 0.532161 seconds C++ test, loop in the C++ code: 0.070928 seconds 0.068652 seconds 0.071346 seconds cfunction in C++ loop 0.545730 seconds (41 allocations: 2.438 KiB, 1.63% compilation time) 0.537371 seconds 0.532394 seconds jl_call inside C++ loop (array is 100 times smaller than other tests): 0.090580 seconds (1000.00 k allocations: 15.259 MiB) 0.088309 seconds (1000.00 k allocations: 15.259 MiB) 0.093579 seconds (1000.00 k allocations: 15.259 MiB) Running tests from hello.jl... CppHello.greet() = "hello, world" Running tests from inheritance.jl... 0.019780 seconds (200.05 k allocations: 3.054 MiB) 0.001236 seconds (9 allocations: 448 bytes) 0.001485 seconds (10 allocations: 464 bytes) Running tests from parametric.jl... Dumping object p1: Main.ParametricTypes.TemplateTypeAllocated{Main.ParametricTypes.P1, Main.ParametricTypes.P2} cpp_object: Ptr{Nothing}(0x0000000026deff20) Running tests from pointer_modification.jl... value timing: 11.502 ns (0 allocations: 0 bytes) Running tests from stdlib.jl... This prints a test string: test StdWString(s) = "šČô_φ_привет_일보" StdWString(s) = "😄😈😼" StdString(s) = "café" valarr2 = [1.0, 6.0, 3.0] "test deque" = "test deque" Running tests from stdthreads.jl... Running tests from types.jl... Dumping type w... Main.CppTypes.WorldAllocated cpp_object: Ptr{Nothing}(0x000000002a2bae10) fw = CppTypes.world_factory() = CxxPtr{Main.CppTypes.World}(Ptr{Main.CppTypes.World}(0x000000003b0a1d50)) 0 1 2 0 2 4 Destroying World with message shared factory hello ref Destroying World with message reset shared pointer uwf = CppTypes.unique_world_factory() = C++ smart pointer of type CxxWrap.StdLib.UniquePtrAllocated{CxxWrap.CxxWrapCore.CxxConst{Main.CppTypes.World}} Destroying World with message world by value hello CppTypes.greet(w) = "hello" Destroying World with message hello Destroying World with message hello Destroying World with message hello Destroying World with message hello Destroying World with message hello Destroying World with message hello Destroying World with message constructed completed copy test a: 2.0, b: 3.0 CppTypes.EnumClassBlue = Main.CppTypes.EnumClass(0x00000015) a: 1 2 3 b: 11 12 13 Destroying World with message returned_world memallocs.poolalloc = 47 Destroying World with message vvec Destroying World with message vvec #= /home/pkgeval/.julia/packages/CxxWrap/0hc89/test/types.jl:292 =# @test(CppTypes.greet(CppTypes3.vecvec(vvec2)) == "vvec") = Test Passed Destroying World with message vvec Destroying World with message vvec Destroying World with message vvec Destroying World with message vvec Destroying World with message vvec Destroying World with message default hello Destroying World with message default hello Destroying World with message default hello Destroying World with message default hello Destroying World with message returned_world Destroying World with message returned_world Destroying World with message returned_world Destroying World with message worldalloc5 Destroying World with message worldalloc4 Destroying World with message worldalloc3 Destroying World with message worldalloc2 Destroying World with message worldalloc1 Destroying World with message worldalloc1 Destroying World with message worldalloc2 Destroying World with message worldalloc3 Destroying World with message worldalloc4 Destroying World with message worldalloc5 Destroying World with message world1 Destroying World with message world2 Destroying World with message world3 Destroying World with message world4 Destroying World with message world5 Destroying World with message worldalloc5 Destroying World with message worldalloc4 Destroying World with message worldalloc3 Destroying World with message worldalloc2 Destroying World with message worldalloc1 Destroying World with message world5 Destroying World with message world4 Destroying World with message world3 Destroying World with message world2 Destroying World with message world1 Destroying World with message default hello Destroying World with message constructed Destroying World with message world by value hello Destroying World with message unique factory hello Destroying World with message shared factory hello Destroying World with message hello 100000 allocations took 0.015808555 s calling specialized delete Class specific finalizer called Test Summary: | Pass Error Total Time CxxWrap tests | 837 5 842 9m55.6s basic_types | 68 4 72 9.2s containers | 22 22 9.3s cxxdereference | 4 4 0.4s except | 6 6 0.0s extended_module | 1 1 0.1s functions | 85 1 86 5.2s hello | 1 1 0.0s inheritance | 32 32 3.2s parametric | 37 37 1.0s pointer_modification | 10 10 1.1s stdlib | 444 444 15.1s types | 106 106 7.5s RNG of the outermost testset: Random.Xoshiro(0xc1fc39da19599359, 0x72ef0043bb5e0200, 0x2429417d15f8cde9, 0xd018eeef19ba59db, 0x80460aa06d6813e3) ERROR: LoadError: Some tests did not pass: 837 passed, 0 failed, 5 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/CxxWrap/0hc89/test/runtests.jl:15 Destroying World with message shared vector const hello Destroying World with message shared vector hello Destroying World with message returned_world_ref Destroying World with message returned_world_ptr Destroying World with message reffed world Destroying World with message boxed world pointer Destroying World with message boxed world Destroying World with message shared factory hello ref Testing failed after 823.93s ERROR: LoadError: Package CxxWrap errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/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.14/Pkg/src/Operations.jl:3247 [3] 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.14/Pkg/src/API.jl:587 [4] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:172 [5] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:160 [6] test(pkg::String; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:159 [inlined] [7] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:223 [8] include(mod::Module, _path::String) @ Base Base.jl:325 [9] exec_options(opts::Base.JLOptions) @ Base client.jl:355 [10] _start() @ Base client.jl:596 in expression starting at /PkgEval.jl/scripts/evaluate.jl:214 PkgEval failed after 1577.81s: package tests unexpectedly errored