Package evaluation to test YaoBlocks on Julia 1.14.0-DEV.3055 (7e75a8061a*) started at 2026-08-27T18:18:05.543 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 15.52s ################################################################################ # Installation # Installing YaoBlocks... Resolving package versions... Updating `~/.julia/environments/v1.14/Project.toml` [418bc28f] + YaoBlocks v0.14.3 Updating `~/.julia/environments/v1.14/Manifest.toml` [79e6a3ab] + Adapt v4.7.0 [66dad0bd] + AliasTables v1.1.3 [50ba71b6] + BitBasis v0.9.10 [a921213e] + CacheServers v0.2.0 [d360d2e6] + ChainRulesCore v1.26.1 [34da2185] + Compat v4.18.1 [9a962f9c] + DataAPI v1.16.0 [864edb3b] + DataStructures v0.19.6 [ffbed154] + DocStringExtensions v0.9.5 [92d709cd] + IrrationalConstants v0.2.6 [0b1a1467] + KrylovKit v0.10.4 [f1f30506] + LegibleLambdas v0.3.0 [2ab3a3ac] + LogExpFunctions v1.0.1 [d05aeea4] + LuxurySparse v0.8.2 [d8e11817] + MLStyle v0.4.17 [1914dd2f] + MacroTools v0.5.16 [e1d29d7a] + Missings v1.2.0 [bac558e1] + OrderedCollections v2.0.1 [65ce6f38] + PackageExtensionCompat v1.0.2 [aea7be01] + PrecompileTools v1.3.4 [21216c6a] + Preferences v1.5.2 [43287f4e] + PtrArrays v1.4.0 [a2af1166] + SortingAlgorithms v1.2.3 [90137ffa] + StaticArrays v1.9.19 [1e83bf80] + StaticArraysCore v1.4.4 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.8.0 [2913bbd2] + StatsBase v0.34.13 [9d95972d] + TupleTools v1.6.0 [409d34a3] + VectorInterface v0.6.0 [0843a435] + YaoAPI v0.4.9 [e600142f] + YaoArrayRegister v0.9.13 [418bc28f] + YaoBlocks v0.14.3 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [8ba89e20] + Distributed v1.12.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 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v1.13.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.13.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.7+0 [4536629a] + OpenBLAS_jll v0.3.34+0 [bea87d4a] + SuiteSparse_jll v7.10.1+0 [8e850b90] + libblastrampoline_jll v5.15.0+0 Installation completed after 4.07s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompiling project... 17.9 s ✓ RBNF 7.4 s ✓ PauliPropagation 1.8 s ✓ StaticArrays → StaticArraysChainRulesCoreExt 2.9 s ✓ BitBasis 3.6 s ✓ LuxurySparse 1.4 s ✓ VectorInterface → VectorInterfaceStaticArraysExt 14.4 s ✓ OpenQASM 14.7 s ✓ YaoArrayRegister 26.5 s ✓ YaoBlocks 6.9 s ✓ YaoBlocks → OpenQASMExt 13.9 s ✓ YaoBlocks → PauliPropagationExt 11 dependencies successfully precompiled in 112 seconds. 95 already precompiled. Precompilation completed after 132.89s ################################################################################ # Testing # Testing YaoBlocks Status `/tmp/jl_YaKke7/Project.toml` [50ba71b6] BitBasis v0.9.10 [a921213e] CacheServers v0.2.0 [d360d2e6] ChainRulesCore v1.26.1 [ffbed154] DocStringExtensions v0.9.5 [f6369f11] ForwardDiff v1.4.5 [0b1a1467] KrylovKit v0.10.4 [f1f30506] LegibleLambdas v0.3.0 [d05aeea4] LuxurySparse v0.8.2 [d8e11817] MLStyle v0.4.17 [a8821629] OpenQASM v2.1.4 ⌅ [293282d5] PauliPropagation v0.4.1 [90137ffa] StaticArrays v1.9.19 [2913bbd2] StatsBase v0.34.13 [9d95972d] TupleTools v1.6.0 [0843a435] YaoAPI v0.4.9 [e600142f] YaoArrayRegister v0.9.13 [418bc28f] YaoBlocks v0.14.3 [e88e6eb3] Zygote v0.7.12 [b77e0a4c] InteractiveUtils v1.11.0 [37e2e46d] LinearAlgebra v1.14.0 [9a3f8284] Random v1.11.0 [2f01184e] SparseArrays v1.13.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_YaKke7/Manifest.toml` [621f4979] AbstractFFTs v1.5.0 [79e6a3ab] Adapt v4.7.0 [66dad0bd] AliasTables v1.1.3 [50ba71b6] BitBasis v0.9.10 [c3b6d118] BitIntegers v0.3.7 [1654ce90] Bits v0.2.0 [a921213e] CacheServers v0.2.0 [082447d4] ChainRules v1.73.0 [d360d2e6] ChainRulesCore v1.26.1 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.18.1 [187b0558] ConstructionBase v1.6.0 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.19.6 [e2d170a0] DataValueInterfaces v1.0.0 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.16.0 [ffbed154] DocStringExtensions v0.9.5 [1a297f60] FillArrays v1.17.0 [f6369f11] ForwardDiff v1.4.5 [46192b85] GPUArraysCore v0.2.0 [7869d1d1] IRTools v0.4.20 [92d709cd] IrrationalConstants v0.2.6 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.8.0 [0b1a1467] KrylovKit v0.10.4 [f1f30506] LegibleLambdas v0.3.0 [2ab3a3ac] LogExpFunctions v1.0.1 [d05aeea4] LuxurySparse v0.8.2 [d8e11817] MLStyle v0.4.17 [1914dd2f] MacroTools v0.5.16 [e1d29d7a] Missings v1.2.0 [77ba4419] NaNMath v1.1.4 [a8821629] OpenQASM v2.1.4 [bac558e1] OrderedCollections v2.0.1 [65ce6f38] PackageExtensionCompat v1.0.2 ⌅ [293282d5] PauliPropagation v0.4.1 [aea7be01] PrecompileTools v1.3.4 [21216c6a] Preferences v1.5.2 [8162dcfd] PrettyPrint v0.2.0 [43287f4e] PtrArrays v1.4.0 [83ef0002] RBNF v0.2.5 [c1ae055f] RealDot v0.1.0 [a2af1166] SortingAlgorithms v1.2.3 [dc90abb0] SparseInverseSubset v0.1.3 [276daf66] SpecialFunctions v2.9.0 [90137ffa] StaticArrays v1.9.19 [1e83bf80] StaticArraysCore v1.4.4 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.8.0 [2913bbd2] StatsBase v0.34.13 [09ab397b] StructArrays v0.7.3 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.14.0 [9d95972d] TupleTools v1.6.0 [409d34a3] VectorInterface v0.6.0 [0843a435] YaoAPI v0.4.9 [e600142f] YaoArrayRegister v0.9.13 [418bc28f] YaoBlocks v0.14.3 [e88e6eb3] Zygote v0.7.12 [700de1a5] ZygoteRules v0.2.8 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.12.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 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.13.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.13.0 [f489334b] StyledStrings v1.13.0 [4607b0f0] SuiteSparse [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.7+0 [4536629a] OpenBLAS_jll v0.3.34+0 [05823500] OpenLibm_jll v0.8.7+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [8e850b90] libblastrampoline_jll v5.15.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... EntryTable{DitStr{2, 3, Int64}, ComplexF64}: EntryTable{DitStr{2, 3, Int64}, ComplexF64}: 000 ₍₂₎ -0.06542 - 0.1751im 101 ₍₂₎ 0.21018 + 0.68588im 001 ₍₂₎ -0.01898 - 0.7561im 101 ₍₂₎ -1.29106 - 0.15174im 101 ₍₂₎ -1.12003 + 0.36508im 000 ₍₂₎ -0.3233 - 0.60174im Test Summary: | Pass Total Time utils | 26 26 24.1s ┌ Warning: converting Float64 to eltype ComplexF64, consider create another matblock with eltype ComplexF64 └ @ YaoBlocks ~/.julia/packages/YaoBlocks/jhgUh/src/primitive/general_matrix_gate.jl:75 ┌ Warning: converting Float64 to eltype ComplexF64, consider create another matblock with eltype ComplexF64 └ @ YaoBlocks ~/.julia/packages/YaoBlocks/jhgUh/src/primitive/general_matrix_gate.jl:75 ┌ Warning: converting Float64 to eltype ComplexF64, consider create another matblock with eltype ComplexF64 └ @ YaoBlocks ~/.julia/packages/YaoBlocks/jhgUh/src/primitive/general_matrix_gate.jl:75 ┌ Warning: converting Float64 to eltype ComplexF64, consider create another matblock with eltype ComplexF64 └ @ YaoBlocks ~/.julia/packages/YaoBlocks/jhgUh/src/primitive/general_matrix_gate.jl:75 ┌ Warning: converting Float64 to eltype ComplexF64, consider create another matblock with eltype ComplexF64 └ @ YaoBlocks ~/.julia/packages/YaoBlocks/jhgUh/src/primitive/general_matrix_gate.jl:75 ┌ Warning: converting Float64 to eltype ComplexF64, consider create another matblock with eltype ComplexF64 └ @ YaoBlocks ~/.julia/packages/YaoBlocks/jhgUh/src/primitive/general_matrix_gate.jl:75 op-measures: Test Failed at /home/pkgeval/.julia/packages/YaoBlocks/jhgUh/test/primitive/measure.jl:92 Expression: abs(measure!(X, reg) |> mean) < 0.1 Evaluated: 0.1 < 0.1 Stacktrace: [1] top-level scope @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/measure.jl:73 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [3] macro expansion @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/measure.jl:92 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:784 [inlined] test reflect gate: Test Failed at /home/pkgeval/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:12 Expression: mat(rf) * state(reg0) ≈ state(apply!(copy(reg0), rf)) Evaluated: ComplexF64[0.46814644946924217 - 0.020575283814422477im; 0.09405065028874439 - 0.012382274710949362im; … ; 0.2525562831257944 - 0.029143088687422065im; -0.048730082334774855 + 0.07019039076824624im;;] ≈ ComplexF64[0.521994869391931 - 0.026448524175484222im; -0.08460592458476801 - 0.0038483415144119175im; … ; 0.25847506801870185 + 0.22706664050537312im; 0.24088985344012065 + 0.1528474820605007im;;] Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:784 [inlined] [2] macro expansion @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:12 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [4] top-level scope @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:5 test reflect gate: Test Failed at /home/pkgeval/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:23 Expression: isunitary(rf) == isunitary(mat(rf)) Evaluated: true == false Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:784 [inlined] [2] macro expansion @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:23 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [4] top-level scope @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:5 test reflect gate: Test Failed at /home/pkgeval/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:25 Expression: isreflexive(mat(rf)) == isreflexive(rf) Evaluated: false == true Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:784 [inlined] [2] macro expansion @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:25 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [4] top-level scope @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:5 test reflect gate: Test Failed at /home/pkgeval/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:12 Expression: mat(rf) * state(reg0) ≈ state(apply!(copy(reg0), rf)) Evaluated: ComplexF64[0.05987673751093334 - 0.03438271578434235im; 0.2109240060571714 - 0.12105046350574901im; … ; -0.1951346781223924 - 0.2009599120681197im; -0.035898344152609334 + 0.034274273561897634im;;] ≈ ComplexF64[0.47438984033113574 + 0.20498372246215515im; 0.1593130280963358 + 0.026255358770735815im; … ; -0.21633861926620873 - 0.22140134619303514im; 0.39643827635188283 + 0.330873393911964im;;] Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:784 [inlined] [2] macro expansion @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:12 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [4] top-level scope @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:5 test reflect gate: Test Failed at /home/pkgeval/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:23 Expression: isunitary(rf) == isunitary(mat(rf)) Evaluated: true == false Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:784 [inlined] [2] macro expansion @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:23 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [4] top-level scope @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:5 test reflect gate: Test Failed at /home/pkgeval/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:25 Expression: isreflexive(mat(rf)) == isreflexive(rf) Evaluated: false == true Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:784 [inlined] [2] macro expansion @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:25 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [4] top-level scope @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:5 test reflect gate: Test Failed at /home/pkgeval/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:34 Expression: mat(rf) * state(reg0) ≈ state(apply!(copy(reg0), rf)) Evaluated: ComplexF64[0.4648400237065309 + 0.07589436498578528im; -0.22018499017983517 + 0.3245674696952051im; … ; 0.007300011452960085 - 0.10724853359817994im; -0.07677146897994605 + 0.20979903087599905im;;] ≈ ComplexF64[0.4691167877302452 + 0.0626573811589288im; -0.17050812836122334 + 0.26102160969470695im; … ; -0.06330427570490535 - 0.16640591449424819im; -0.0035492261624622684 + 0.23441668155055964im;;] Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:784 [inlined] [2] macro expansion @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:34 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [4] top-level scope @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:5 test reflect gate: Test Failed at /home/pkgeval/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:46 Expression: isunitary(rf) == isunitary(mat(rf)) Evaluated: true == false Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:784 [inlined] [2] macro expansion @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:46 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2247 [inlined] [4] top-level scope @ ~/.julia/packages/YaoBlocks/jhgUh/test/primitive/reflect.jl:5 Test Summary: | Pass Fail Total Time test primitive block | 382 9 391 3m38.0s test constant gates | 115 115 22.4s test identity gates | 14 14 3.9s test phase gate | 28 28 4.8s test shift gate | 28 28 2.7s test rotation gate | 51 51 18.3s test time evolution | 41 41 1m10.0s test general matrix gate | 22 22 5.9s test measure | 46 1 47 1m09.4s measure ghz | 6 6 10.4s resetto | 11 11 5.7s error handling | 2 2 0.1s op-measures | 4 4 20.1s op-measures | 7 1 8 20.9s measure an operator correctly | 12 12 10.0s error_prob in Measure | 1 1 0.7s Measure throw error when error_prob is not supported | 3 3 0.3s reflect | 20 8 28 15.4s test reflect gate | 20 8 28 14.3s projector | 14 14 5.2s RNG of the outermost testset: Xoshiro(0x8e758dab84738844, 0x3ac334f50ce7a003, 0x9f2a54e46289cf32, 0x131f256fa93137f0, 0xe06cdb0e3833fbd7) ERROR: LoadError: Some tests did not pass: 382 passed, 9 failed, 0 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/YaoBlocks/jhgUh/test/runtests.jl:7 Testing failed after 260.42s ERROR: LoadError: Package YaoBlocks 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:3283 [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 in expression starting at /PkgEval.jl/scripts/evaluate.jl:214 PkgEval failed after 466.02s: package has test failures