Package evaluation of CxxWrap on Julia 1.13.0-DEV.123 (e910e6fb06*) started at 2025-03-01T14:43:32.274 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 7.77s ################################################################################ # Installation # Installing CxxWrap... Resolving package versions... Updating `~/.julia/environments/v1.13/Project.toml` [1f15a43c] + CxxWrap v0.16.1 Updating `~/.julia/environments/v1.13/Manifest.toml` [1f15a43c] + CxxWrap v0.16.1 [692b3bcd] + JLLWrappers v1.7.0 [1914dd2f] + MacroTools v0.5.15 [21216c6a] + Preferences v1.4.3 ⌅ [3eaa8342] + libcxxwrap_julia_jll v0.13.4+0 [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 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 1.58s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 74.03s ################################################################################ # Testing # Testing CxxWrap Status `/tmp/jl_GKIATN/Project.toml` [6e4b80f9] BenchmarkTools v1.6.0 [1f15a43c] CxxWrap v0.16.1 [1914dd2f] MacroTools v0.5.15 ⌅ [3eaa8342] libcxxwrap_julia_jll v0.13.4+0 [8f399da3] Libdl v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_GKIATN/Manifest.toml` [6e4b80f9] BenchmarkTools v1.6.0 [34da2185] Compat v4.16.0 [1f15a43c] CxxWrap v0.16.1 [692b3bcd] JLLWrappers v1.7.0 [682c06a0] JSON v0.21.4 [1914dd2f] MacroTools v0.5.15 [69de0a69] Parsers v2.8.1 [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [10745b16] Statistics v1.11.1 ⌅ [3eaa8342] libcxxwrap_julia_jll v0.13.4+0 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.12.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [de0858da] Printf v1.11.0 [9abbd945] Profile v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [f489334b] StyledStrings v1.11.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.3.0+1 [4536629a] OpenBLAS_jll v0.3.29+0 [8e850b90] libblastrampoline_jll v5.12.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... WARNING: Detected access to binding `BasicTypes.__cxxwrap_pointers` 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. WARNING: Detected access to binding `BasicTypes.__cxxwrap_methodkeys` 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. char -> CxxChar signed char -> Int8 unsigned char -> UInt8 short -> Int16 unsigned short -> UInt16 int -> Int32 unsigned int -> UInt32 long -> Int64 unsigned long -> UInt64 long long -> CxxLongLong unsigned long long -> CxxULongLong 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... WARNING: Detected access to binding `Containers.__cxxwrap_pointers` 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. WARNING: Detected access to binding `Containers.__cxxwrap_methodkeys` 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. 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... WARNING: Detected access to binding `CppHalfFunctions.__cxxwrap_pointers` 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. WARNING: Detected access to binding `CppHalfFunctions.__cxxwrap_methodkeys` 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. WARNING: Detected access to binding `CppTestFunctions.__cxxwrap_pointers` 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. WARNING: Detected access to binding `CppTestFunctions.__cxxwrap_methodkeys` 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. methods(CppHalfFunctions.half_d) = # 1 method for generic function "half_d" from Main.CppHalfFunctions: [1] half_d(arg1::Union{Float64, Int64, Irrational}) @ ~/.julia/packages/CxxWrap/aQ89N/src/CxxWrap.jl:668 callback result for function 0x7b600d3330e0 is 3 callback result for function 0x7b600d3330e0 is 3 callback result for function 0x7b600d33d280 is 3 callback in Julia: calledFromCPP = 3.0 callback in Julia: calledFromCPP = 3.0 ---- Half test timings ---- Julia test: 0.173065 seconds 0.166568 seconds 0.169354 seconds C test: 0.313299 seconds (12 allocations: 624 bytes) 0.378207 seconds (12 allocations: 624 bytes) 0.281998 seconds (12 allocations: 624 bytes) C++ test: 0.369969 seconds 0.358744 seconds 0.346540 seconds C++ lambda test: 0.534068 seconds 0.553036 seconds 0.516312 seconds C++ test, loop in the C++ code: 0.056180 seconds 0.051162 seconds 0.051299 seconds cfunction in C++ loop 0.533070 seconds (33 allocations: 1.828 KiB, 1.76% compilation time: <1% of which was recompilation) 0.530484 seconds 0.530262 seconds jl_call inside C++ loop (array is 100 times smaller than other tests): 0.089637 seconds (1000.00 k allocations: 15.259 MiB) 0.097075 seconds (1000.00 k allocations: 15.259 MiB) 0.096919 seconds (1000.00 k allocations: 15.259 MiB) Running tests from hello.jl... WARNING: Detected access to binding `CppHello.__cxxwrap_pointers` 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. WARNING: Detected access to binding `CppHello.__cxxwrap_methodkeys` 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. CppHello.greet() = "hello, world" Running tests from inheritance.jl... WARNING: Detected access to binding `CppInheritance.__cxxwrap_pointers` 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. WARNING: Detected access to binding `CppInheritance.__cxxwrap_methodkeys` 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. WARNING: Detected access to binding `VirtualSolver.__cxxwrap_pointers` 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. WARNING: Detected access to binding `VirtualSolver.__cxxwrap_methodkeys` 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. Running tests from parametric.jl... WARNING: Detected access to binding `ParametricTypes.__cxxwrap_pointers` 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. WARNING: Detected access to binding `ParametricTypes.__cxxwrap_methodkeys` 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. Dumping object p1: Main.ParametricTypes.TemplateTypeAllocated{Main.ParametricTypes.P1, Main.ParametricTypes.P2} cpp_object: Ptr{Nothing}(0x0000000004c47300) Running tests from pointer_modification.jl... WARNING: Detected access to binding `PtrModif.__cxxwrap_pointers` 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. WARNING: Detected access to binding `PtrModif.__cxxwrap_methodkeys` 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. value timing: 10.801 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" "test queue" = "test queue" Running tests from stdthreads.jl... Running tests from types.jl... WARNING: Detected access to binding `CppTypes2.__cxxwrap_pointers` 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. WARNING: Detected access to binding `CppTypes2.__cxxwrap_methodkeys` 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. WARNING: Detected access to binding `CppTypes3.__cxxwrap_pointers` 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. WARNING: Detected access to binding `CppTypes3.__cxxwrap_methodkeys` 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. Dumping type w... Main.CppTypes.WorldAllocated cpp_object: Ptr{Nothing}(0x0000000001c4a610) fw = CppTypes.world_factory() = CxxPtr{Main.CppTypes.World}(Ptr{Main.CppTypes.World}(0x000000000d2ee6e0)) 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 = 10 Destroying World with message vvec Destroying World with message vvec #= /home/pkgeval/.julia/packages/CxxWrap/aQ89N/test/types.jl:279 =# @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.013075282 s calling specialized delete Class specific finalizer called Test Summary: | Pass Total Time CxxWrap tests | 581 581 2m36.9s 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 165.07s PkgEval succeeded after 260.09s