Package evaluation to test CxxWrap on Julia 1.10.10 (c8be17dcfd*) started at 2026-02-02T14:42:41.178 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.10` Set-up completed after 5.24s ################################################################################ # Installation # Installing CxxWrap... Resolving package versions... Installed CxxWrap ────────────── v0.17.5 Installed libcxxwrap_julia_jll ─ v0.14.8+0 Updating `~/.julia/environments/v1.10/Project.toml` [1f15a43c] + CxxWrap v0.17.5 Updating `~/.julia/environments/v1.10/Manifest.toml` [1f15a43c] + CxxWrap v0.17.5 [692b3bcd] + JLLWrappers v1.7.1 [1914dd2f] + MacroTools v0.5.16 [21216c6a] + Preferences v1.5.1 [3eaa8342] + libcxxwrap_julia_jll v0.14.8+0 [56f22d72] + Artifacts [ade2ca70] + Dates [8f399da3] + Libdl [de0858da] + Printf [fa267f1f] + TOML v1.0.3 [4ec0a83e] + Unicode Installation completed after 6.15s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompiling packages... 1468.1 ms ✓ libcxxwrap_julia_jll 104307.1 ms ✓ CxxWrap 2 dependencies successfully precompiled in 107 seconds. 15 already precompiled. Precompilation completed after 120.82s ################################################################################ # Testing # Testing CxxWrap Status `/tmp/jl_BZXnBT/Project.toml` [6e4b80f9] BenchmarkTools v1.6.3 [1f15a43c] CxxWrap v0.17.5 [1914dd2f] MacroTools v0.5.16 [3eaa8342] libcxxwrap_julia_jll v0.14.8+0 [8f399da3] Libdl [8dfed614] Test Status `/tmp/jl_BZXnBT/Manifest.toml` [6e4b80f9] BenchmarkTools v1.6.3 [34da2185] Compat v4.18.1 [1f15a43c] CxxWrap v0.17.5 [692b3bcd] JLLWrappers v1.7.1 [682c06a0] JSON v1.4.0 [1914dd2f] MacroTools v0.5.16 [69de0a69] Parsers v2.8.3 ⌅ [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.5.1 [ec057cc2] StructUtils v2.6.2 [3eaa8342] libcxxwrap_julia_jll v0.14.8+0 [56f22d72] Artifacts [2a0f44e3] Base64 [ade2ca70] Dates [b77e0a4c] InteractiveUtils [8f399da3] Libdl [37e2e46d] LinearAlgebra [56ddb016] Logging [d6f4376e] Markdown [de0858da] Printf [9abbd945] Profile [9a3f8284] Random [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization [2f01184e] SparseArrays v1.10.0 [10745b16] Statistics v1.10.0 [fa267f1f] TOML v1.0.3 [8dfed614] Test [cf7118a7] UUIDs [4ec0a83e] Unicode [e66e0078] CompilerSupportLibraries_jll v1.1.1+0 [4536629a] OpenBLAS_jll v0.3.23+5 [bea87d4a] SuiteSparse_jll v7.2.1+1 [8e850b90] libblastrampoline_jll v5.11.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... Running tests from basic_types.jl... 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:0 callback result for function 0x706325f1e4d0 is 3 callback result for function 0x706325f1e4d0 is 3 callback result for function 0x706325f291c0 is 3 callback in Julia: calledFromCPP = 3.0 callback in Julia: calledFromCPP = 3.0 ---- Half test timings ---- Julia test: 0.092729 seconds 0.082639 seconds 0.075988 seconds C test: 0.251454 seconds 0.231312 seconds 0.223137 seconds C++ test: 0.219784 seconds 0.220748 seconds 0.220616 seconds C++ lambda test: 0.389810 seconds 0.411316 seconds 0.390398 seconds C++ test, loop in the C++ code: 0.062288 seconds 0.064052 seconds 0.059477 seconds cfunction in C++ loop 0.446363 seconds 0.455785 seconds 0.447521 seconds jl_call inside C++ loop (array is 100 times smaller than other tests): 0.091346 seconds (1000.00 k allocations: 15.259 MiB) 0.096327 seconds (1000.00 k allocations: 15.259 MiB) 0.096847 seconds (1000.00 k allocations: 15.259 MiB) Running tests from hello.jl... CppHello.greet() = "hello, world" Running tests from inheritance.jl... 0.020344 seconds (200.01 k allocations: 3.052 MiB) 0.001060 seconds (9 allocations: 400 bytes) 0.001155 seconds (10 allocations: 416 bytes) Running tests from parametric.jl... Dumping object p1: Main.ParametricTypes.TemplateTypeAllocated{Main.ParametricTypes.P1, Main.ParametricTypes.P2} cpp_object: Ptr{Nothing} @0x00000000241679c0 Running tests from pointer_modification.jl... value timing: 7.978 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} @0x00000000242d6ce0 fw = CppTypes.world_factory() = CxxPtr{Main.CppTypes.World}(Ptr{Main.CppTypes.World} @0x0000000024a9d790) 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 = 6 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.016108819 s calling specialized delete Class specific finalizer called Test Summary: | Pass Total Time CxxWrap tests | 842 842 3m01.1s 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 CxxWrap tests passed Testing completed after 190.63s PkgEval succeeded after 326.63s