Package evaluation of QBase on Julia 1.11.5 (32ac370b68*) started at 2025-06-29T10:48:10.794 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.86s ################################################################################ # Installation # Installing QBase... Resolving package versions... Updating `~/.julia/environments/v1.11/Project.toml` [e52e8ede] + QBase v0.2.2 Updating `~/.julia/environments/v1.11/Manifest.toml` [66dad0bd] + AliasTables v1.1.3 [861a8166] + Combinatorics v1.0.3 [34da2185] + Compat v4.16.0 [9a962f9c] + DataAPI v1.16.0 [864edb3b] + DataStructures v0.18.22 [31c24e10] + Distributions v0.25.120 [ffbed154] + DocStringExtensions v0.9.5 [442a2c76] + FastGaussQuadrature v1.0.2 [1a297f60] + FillArrays v1.13.0 [92c85e6c] + GSL v1.0.1 [34004b35] + HypergeometricFunctions v0.3.28 [92d709cd] + IrrationalConstants v0.2.4 [692b3bcd] + JLLWrappers v1.7.0 [2ab3a3ac] + LogExpFunctions v0.3.29 [e1d29d7a] + Missings v1.2.0 [bac558e1] + OrderedCollections v1.8.1 [90014a1f] + PDMats v0.11.35 ⌅ [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [43287f4e] + PtrArrays v1.3.0 [e52e8ede] + QBase v0.2.2 [1fd47b50] + QuadGK v2.11.2 [2576dda1] + RandomMatrices v0.5.5 [189a3867] + Reexport v1.2.2 [79098fc4] + Rmath v0.8.0 [a2af1166] + SortingAlgorithms v1.2.1 [276daf66] + SpecialFunctions v2.5.1 [90137ffa] + StaticArrays v1.9.13 [1e83bf80] + StaticArraysCore v1.4.3 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.7.1 [2913bbd2] + StatsBase v0.34.5 [4c63d2b9] + StatsFuns v1.5.0 [1b77fbbe] + GSL_jll v2.8.1+0 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [f50d1b31] + Rmath_jll v0.5.1+0 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.11.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [2f01184e] + SparseArrays v1.11.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.1.1+0 [4536629a] + OpenBLAS_jll v0.3.27+1 [05823500] + OpenLibm_jll v0.8.5+0 [bea87d4a] + SuiteSparse_jll v7.7.0+0 [8e850b90] + libblastrampoline_jll v5.11.0+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 4.35s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 27.07s ################################################################################ # Testing # Testing QBase Status `/tmp/jl_FiTOBh/Project.toml` [e52e8ede] QBase v0.2.2 [1bc83da4] SafeTestsets v0.1.0 [fd094767] Suppressor v0.2.8 [37e2e46d] LinearAlgebra v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_FiTOBh/Manifest.toml` [66dad0bd] AliasTables v1.1.3 [861a8166] Combinatorics v1.0.3 [34da2185] Compat v4.16.0 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.18.22 [31c24e10] Distributions v0.25.120 [ffbed154] DocStringExtensions v0.9.5 [442a2c76] FastGaussQuadrature v1.0.2 [1a297f60] FillArrays v1.13.0 [92c85e6c] GSL v1.0.1 [34004b35] HypergeometricFunctions v0.3.28 [92d709cd] IrrationalConstants v0.2.4 [692b3bcd] JLLWrappers v1.7.0 [2ab3a3ac] LogExpFunctions v0.3.29 [e1d29d7a] Missings v1.2.0 [bac558e1] OrderedCollections v1.8.1 [90014a1f] PDMats v0.11.35 ⌅ [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [43287f4e] PtrArrays v1.3.0 [e52e8ede] QBase v0.2.2 [1fd47b50] QuadGK v2.11.2 [2576dda1] RandomMatrices v0.5.5 [189a3867] Reexport v1.2.2 [79098fc4] Rmath v0.8.0 [1bc83da4] SafeTestsets v0.1.0 [a2af1166] SortingAlgorithms v1.2.1 [276daf66] SpecialFunctions v2.5.1 [90137ffa] StaticArrays v1.9.13 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.1 [2913bbd2] StatsBase v0.34.5 [4c63d2b9] StatsFuns v1.5.0 [fd094767] Suppressor v0.2.8 [1b77fbbe] GSL_jll v2.8.1+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [f50d1b31] Rmath_jll v0.5.1+0 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.11.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [2f01184e] SparseArrays v1.11.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.1.1+0 [4536629a] OpenBLAS_jll v0.3.27+1 [05823500] OpenLibm_jll v0.8.5+0 [bea87d4a] SuiteSparse_jll v7.7.0+0 [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... importing QBase.jl 5.131547 seconds (2.45 M allocations: 145.603 MiB, 3.69% gc time, 46.11% compilation time) Testing QBase.jl Testing Math Utilities : ./test/unit/math/matrices.jl 30.744395 seconds (17.59 M allocations: 906.550 MiB, 0.92% gc time, 99.20% compilation time) ./test/unit/math/combinatorics.jl 12.785287 seconds (8.40 M allocations: 432.493 MiB, 0.90% gc time, 96.84% compilation time) 43.530318 seconds (25.98 M allocations: 1.308 GiB, 0.91% gc time, 98.50% compilation time) Testing Types : ./test/unit/types/probabilities.jl 18.884658 seconds (8.72 M allocations: 458.787 MiB, 1.73% gc time, 98.52% compilation time) ./test/unit/types/brakets.jl 45.852342 seconds (8.76 M allocations: 515.438 MiB, 0.89% gc time, 99.23% compilation time) ./test/unit/types/states.jl 15.037278 seconds (7.00 M allocations: 364.066 MiB, 0.59% gc time, 97.98% compilation time) ./test/unit/types/unitaries.jl 58.592536 seconds (22.32 M allocations: 1.120 GiB, 1.00% gc time, 99.83% compilation time) ./test/unit/types/measurements.jl 27.690897 seconds (5.99 M allocations: 334.388 MiB, 0.39% gc time, 99.20% compilation time) ./test/unit/kraus_channels.jl 17.324922 seconds (6.91 M allocations: 363.430 MiB, 0.82% gc time, 99.38% compilation time) ./test/unit/choi_operators.jl 12.851502 seconds (4.26 M allocations: 228.242 MiB, 0.65% gc time, 98.65% compilation time) 196.236271 seconds (63.96 M allocations: 3.331 GiB, 0.89% gc time, 99.21% compilation time) Testing Constructors : ./test/unit/constructors/brakets.jl 40.324309 seconds (12.97 M allocations: 695.323 MiB, 1.09% gc time, 99.51% compilation time) ./test/unit/constructors/states.jl 32.737946 seconds (11.27 M allocations: 609.516 MiB, 0.68% gc time, 99.34% compilation time) ./test/unit/constructors/unitaries.jl 10.700288 seconds (5.36 M allocations: 273.613 MiB, 0.95% gc time, 99.26% compilation time) ./test/unit/constructors/measurements.jl 102.647631 seconds (44.77 M allocations: 2.228 GiB, 1.30% gc time, 99.80% compilation time) 186.411592 seconds (74.37 M allocations: 3.769 GiB, 1.12% gc time, 99.63% compilation time) Testing Main : ./test/unit/evolve.jl 6.432306 seconds (3.34 M allocations: 174.499 MiB, 0.53% gc time, 98.01% compilation time) ./test/unit/measure.jl trine_measurements: Error During Test at /home/pkgeval/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:28 Got exception outside of a @test MethodError: no method matching zero(::Type{Any}) This error has been manually thrown, explicitly, so the method may exist but be intentionally marked as unimplemented. Closest candidates are: zero(::Type{Union{Missing, T}}) where T @ Base missing.jl:105 zero(!Matched::Type{Union{}}, Any...) @ Base number.jl:310 zero(!Matched::Type{Missing}) @ Base missing.jl:104 ... Stacktrace: [1] zero(::Type{Any}) @ Base ./missing.jl:106 [2] tr(A::Matrix{Any}) @ LinearAlgebra /opt/julia/share/julia/stdlib/v1.11/LinearAlgebra/src/dense.jl:374 [3] tr(A::LinearAlgebra.Transpose{Any, Matrix{Any}}) @ LinearAlgebra /opt/julia/share/julia/stdlib/v1.11/LinearAlgebra/src/adjtrans.jl:461 [4] _broadcast_getindex_evalf @ ./broadcast.jl:678 [inlined] [5] _broadcast_getindex @ ./broadcast.jl:651 [inlined] [6] _getindex @ ./broadcast.jl:675 [inlined] [7] _broadcast_getindex @ ./broadcast.jl:650 [inlined] [8] getindex @ ./broadcast.jl:610 [inlined] [9] copy @ ./broadcast.jl:911 [inlined] [10] materialize @ ./broadcast.jl:872 [inlined] [11] measure(Π::POVM{Float64}, states::Vector{State{Float64}}) @ QBase ~/.julia/packages/QBase/tIWUZ/src/measure.jl:39 [12] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:29 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [14] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:29 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [16] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:28 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [18] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:7 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [20] top-level scope @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:6 [21] include(mod::Module, _path::String) @ Base ./Base.jl:562 [22] include(x::String) @ Main.var"##./test/unit/measure.jl#244" ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [23] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/runtests.jl:63 [inlined] [24] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [25] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/runtests.jl:63 [inlined] [26] top-level scope @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:30 [27] eval(m::Module, e::Any) @ Core ./boot.jl:430 [28] macro expansion @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] [29] macro expansion @ ./timing.jl:581 [inlined] [30] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/runtests.jl:63 [inlined] [31] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [32] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/runtests.jl:59 [inlined] [33] macro expansion @ ./timing.jl:581 [inlined] [34] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/runtests.jl:58 [inlined] [35] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [36] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/runtests.jl:9 [inlined] [37] macro expansion @ ./timing.jl:581 [inlined] [38] top-level scope @ ~/.julia/packages/QBase/tIWUZ/test/runtests.jl:315 [39] include(fname::String) @ Main ./sysimg.jl:38 [40] top-level scope @ none:6 classical_measurements: Error During Test at /home/pkgeval/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:40 Test threw exception Expression: measure(Π, ρ_set) == [0.5 1 0; 0.5 0 1; 0 0 0] MethodError: no method matching zero(::Type{Any}) This error has been manually thrown, explicitly, so the method may exist but be intentionally marked as unimplemented. Closest candidates are: zero(::Type{Union{Missing, T}}) where T @ Base missing.jl:105 zero(!Matched::Type{Union{}}, Any...) @ Base number.jl:310 zero(!Matched::Type{Missing}) @ Base missing.jl:104 ... Stacktrace: [1] zero(::Type{Any}) @ Base ./missing.jl:106 [2] tr(A::Matrix{Any}) @ LinearAlgebra /opt/julia/share/julia/stdlib/v1.11/LinearAlgebra/src/dense.jl:374 [3] tr(A::LinearAlgebra.Transpose{Any, Matrix{Any}}) @ LinearAlgebra /opt/julia/share/julia/stdlib/v1.11/LinearAlgebra/src/adjtrans.jl:461 [4] _broadcast_getindex_evalf @ ./broadcast.jl:678 [inlined] [5] _broadcast_getindex @ ./broadcast.jl:651 [inlined] [6] _getindex @ ./broadcast.jl:675 [inlined] [7] _broadcast_getindex @ ./broadcast.jl:650 [inlined] [8] getindex @ ./broadcast.jl:610 [inlined] [9] copy @ ./broadcast.jl:911 [inlined] [10] materialize @ ./broadcast.jl:872 [inlined] [11] measure(Π::POVM{Int64}, states::Vector{State{Float64}}) @ QBase ~/.julia/packages/QBase/tIWUZ/src/measure.jl:39 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:677 [inlined] [13] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:40 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [15] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:37 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [17] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:28 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [19] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:7 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [21] top-level scope @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:6 classical_measurements: Error During Test at /home/pkgeval/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:45 Test threw exception Expression: measure(Π, ρ_set) == [1 1 0; 0 0 1] MethodError: no method matching zero(::Type{Any}) This error has been manually thrown, explicitly, so the method may exist but be intentionally marked as unimplemented. Closest candidates are: zero(::Type{Union{Missing, T}}) where T @ Base missing.jl:105 zero(!Matched::Type{Union{}}, Any...) @ Base number.jl:310 zero(!Matched::Type{Missing}) @ Base missing.jl:104 ... Stacktrace: [1] zero(::Type{Any}) @ Base ./missing.jl:106 [2] tr(A::Matrix{Any}) @ LinearAlgebra /opt/julia/share/julia/stdlib/v1.11/LinearAlgebra/src/dense.jl:374 [3] tr(A::LinearAlgebra.Transpose{Any, Matrix{Any}}) @ LinearAlgebra /opt/julia/share/julia/stdlib/v1.11/LinearAlgebra/src/adjtrans.jl:461 [4] _broadcast_getindex_evalf @ ./broadcast.jl:678 [inlined] [5] _broadcast_getindex @ ./broadcast.jl:651 [inlined] [6] _getindex @ ./broadcast.jl:675 [inlined] [7] _broadcast_getindex @ ./broadcast.jl:650 [inlined] [8] getindex @ ./broadcast.jl:610 [inlined] [9] copy @ ./broadcast.jl:911 [inlined] [10] materialize @ ./broadcast.jl:872 [inlined] [11] measure(Π::POVM{Int64}, states::Vector{State{Int64}}) @ QBase ~/.julia/packages/QBase/tIWUZ/src/measure.jl:39 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:677 [inlined] [13] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:45 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [15] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:37 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [17] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:28 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [19] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:7 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [21] top-level scope @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:6 Vector{Ket}: Error During Test at /home/pkgeval/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:49 Got exception outside of a @test MethodError: no method matching zero(::Type{Any}) This error has been manually thrown, explicitly, so the method may exist but be intentionally marked as unimplemented. Closest candidates are: zero(::Type{Union{Missing, T}}) where T @ Base missing.jl:105 zero(!Matched::Type{Union{}}, Any...) @ Base number.jl:310 zero(!Matched::Type{Missing}) @ Base missing.jl:104 ... Stacktrace: [1] zero(::Type{Any}) @ Base ./missing.jl:106 [2] tr(A::Matrix{Any}) @ LinearAlgebra /opt/julia/share/julia/stdlib/v1.11/LinearAlgebra/src/dense.jl:374 [3] tr(A::LinearAlgebra.Transpose{Any, Matrix{Any}}) @ LinearAlgebra /opt/julia/share/julia/stdlib/v1.11/LinearAlgebra/src/adjtrans.jl:461 [4] _broadcast_getindex_evalf @ ./broadcast.jl:678 [inlined] [5] _broadcast_getindex @ ./broadcast.jl:651 [inlined] [6] _getindex @ ./broadcast.jl:675 [inlined] [7] _broadcast_getindex @ ./broadcast.jl:650 [inlined] [8] getindex @ ./broadcast.jl:610 [inlined] [9] copy @ ./broadcast.jl:911 [inlined] [10] materialize @ ./broadcast.jl:872 [inlined] [11] measure @ ~/.julia/packages/QBase/tIWUZ/src/measure.jl:39 [inlined] [12] measure(Π::POVM{Int64}, ψ_kets::Vector{Ket{Int64}}) @ QBase ~/.julia/packages/QBase/tIWUZ/src/measure.jl:65 [13] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:53 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [15] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:50 [inlined] [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [17] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:7 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [19] top-level scope @ ~/.julia/packages/QBase/tIWUZ/test/unit/measure.jl:6 [20] include(mod::Module, _path::String) @ Base ./Base.jl:562 [21] include(x::String) @ Main.var"##./test/unit/measure.jl#244" ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [22] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/runtests.jl:63 [inlined] [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [24] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/runtests.jl:63 [inlined] [25] top-level scope @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:30 [26] eval(m::Module, e::Any) @ Core ./boot.jl:430 [27] macro expansion @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] [28] macro expansion @ ./timing.jl:581 [inlined] [29] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/runtests.jl:63 [inlined] [30] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [31] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/runtests.jl:59 [inlined] [32] macro expansion @ ./timing.jl:581 [inlined] [33] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/runtests.jl:58 [inlined] [34] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [35] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/runtests.jl:9 [inlined] [36] macro expansion @ ./timing.jl:581 [inlined] [37] top-level scope @ ~/.julia/packages/QBase/tIWUZ/test/runtests.jl:315 [38] include(fname::String) @ Main ./sysimg.jl:38 [39] top-level scope @ none:6 24.296637 seconds (12.84 M allocations: 686.907 MiB, 1.01% gc time, 91.92% compilation time) ./test/unit/channels.jl 6.368119 seconds (2.36 M allocations: 123.032 MiB, 0.57% gc time, 98.04% compilation time) ./test/unit/information.jl mutual_information(): Error During Test at /home/pkgeval/.julia/packages/QBase/tIWUZ/test/unit/information.jl:79 Test threw exception Expression: mutual_information(priors, ρ_set, povm) ≈ 1 / 3 MethodError: no method matching zero(::Type{Any}) This error has been manually thrown, explicitly, so the method may exist but be intentionally marked as unimplemented. Closest candidates are: zero(::Type{Union{Missing, T}}) where T @ Base missing.jl:105 zero(!Matched::Type{Union{}}, Any...) @ Base number.jl:310 zero(!Matched::Type{Missing}) @ Base missing.jl:104 ... Stacktrace: [1] zero(::Type{Any}) @ Base ./missing.jl:106 [2] tr(A::Matrix{Any}) @ LinearAlgebra /opt/julia/share/julia/stdlib/v1.11/LinearAlgebra/src/dense.jl:374 [3] tr(A::LinearAlgebra.Transpose{Any, Matrix{Any}}) @ LinearAlgebra /opt/julia/share/julia/stdlib/v1.11/LinearAlgebra/src/adjtrans.jl:461 [4] _broadcast_getindex_evalf @ ./broadcast.jl:678 [inlined] [5] _broadcast_getindex @ ./broadcast.jl:651 [inlined] [6] _getindex @ ./broadcast.jl:675 [inlined] [7] _broadcast_getindex @ ./broadcast.jl:650 [inlined] [8] getindex @ ./broadcast.jl:610 [inlined] [9] copy @ ./broadcast.jl:911 [inlined] [10] materialize @ ./broadcast.jl:872 [inlined] [11] measure @ ~/.julia/packages/QBase/tIWUZ/src/measure.jl:39 [inlined] [12] mutual_information(priors::Probabilities{Float64}, states::Vector{State{Float64}}, Π::POVM{Float64}) @ QBase ~/.julia/packages/QBase/tIWUZ/src/information.jl:187 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:677 [inlined] [14] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/information.jl:79 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [16] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/information.jl:76 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [18] top-level scope @ ~/.julia/packages/QBase/tIWUZ/test/unit/information.jl:6 mutual_information(): Error During Test at /home/pkgeval/.julia/packages/QBase/tIWUZ/test/unit/information.jl:81 Test threw exception Expression: mutual_information([0.5, 0.5], [[1 0; 0 0], [0 0; 0 1]], [[1 0; 0 0], [0 0; 0 1]]) == 1 MethodError: no method matching zero(::Type{Any}) This error has been manually thrown, explicitly, so the method may exist but be intentionally marked as unimplemented. Closest candidates are: zero(::Type{Union{Missing, T}}) where T @ Base missing.jl:105 zero(!Matched::Type{Union{}}, Any...) @ Base number.jl:310 zero(!Matched::Type{Missing}) @ Base missing.jl:104 ... Stacktrace: [1] zero(::Type{Any}) @ Base ./missing.jl:106 [2] tr(A::Matrix{Any}) @ LinearAlgebra /opt/julia/share/julia/stdlib/v1.11/LinearAlgebra/src/dense.jl:374 [3] tr(A::LinearAlgebra.Transpose{Any, Matrix{Any}}) @ LinearAlgebra /opt/julia/share/julia/stdlib/v1.11/LinearAlgebra/src/adjtrans.jl:461 [4] _broadcast_getindex_evalf @ ./broadcast.jl:678 [inlined] [5] _broadcast_getindex @ ./broadcast.jl:651 [inlined] [6] _getindex @ ./broadcast.jl:675 [inlined] [7] _broadcast_getindex @ ./broadcast.jl:650 [inlined] [8] getindex @ ./broadcast.jl:610 [inlined] [9] copy @ ./broadcast.jl:911 [inlined] [10] materialize @ ./broadcast.jl:872 [inlined] [11] measure(Π::POVM{Int64}, states::Vector{State{Int64}}) @ QBase ~/.julia/packages/QBase/tIWUZ/src/measure.jl:39 [12] mutual_information(priors::Vector{Float64}, states::Vector{Matrix{Int64}}, Π::Vector{Matrix{Int64}}) @ QBase ~/.julia/packages/QBase/tIWUZ/src/information.jl:187 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:677 [inlined] [14] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/information.jl:81 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [16] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/information.jl:76 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [18] top-level scope @ ~/.julia/packages/QBase/tIWUZ/test/unit/information.jl:6 mutual_information(): Error During Test at /home/pkgeval/.julia/packages/QBase/tIWUZ/test/unit/information.jl:87 Test threw exception Expression: mutual_information(priors, ρ_set, rot_povm) ≈ 0.5849625 MethodError: no method matching zero(::Type{Any}) This error has been manually thrown, explicitly, so the method may exist but be intentionally marked as unimplemented. Closest candidates are: zero(::Type{Union{Missing, T}}) where T @ Base missing.jl:105 zero(!Matched::Type{Union{}}, Any...) @ Base number.jl:310 zero(!Matched::Type{Missing}) @ Base missing.jl:104 ... Stacktrace: [1] zero(::Type{Any}) @ Base ./missing.jl:106 [2] tr(A::Matrix{Any}) @ LinearAlgebra /opt/julia/share/julia/stdlib/v1.11/LinearAlgebra/src/dense.jl:374 [3] tr(A::LinearAlgebra.Transpose{Any, Matrix{Any}}) @ LinearAlgebra /opt/julia/share/julia/stdlib/v1.11/LinearAlgebra/src/adjtrans.jl:461 [4] _broadcast_getindex_evalf @ ./broadcast.jl:678 [inlined] [5] _broadcast_getindex @ ./broadcast.jl:651 [inlined] [6] _getindex @ ./broadcast.jl:675 [inlined] [7] _broadcast_getindex @ ./broadcast.jl:650 [inlined] [8] getindex @ ./broadcast.jl:610 [inlined] [9] copy @ ./broadcast.jl:911 [inlined] [10] materialize @ ./broadcast.jl:872 [inlined] [11] measure @ ~/.julia/packages/QBase/tIWUZ/src/measure.jl:39 [inlined] [12] mutual_information(priors::Probabilities{Float64}, states::Vector{State{Float64}}, Π::POVM{ComplexF64}) @ QBase ~/.julia/packages/QBase/tIWUZ/src/information.jl:187 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:677 [inlined] [14] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/information.jl:87 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [16] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/information.jl:76 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [18] top-level scope @ ~/.julia/packages/QBase/tIWUZ/test/unit/information.jl:6 mutual_information(): Error During Test at /home/pkgeval/.julia/packages/QBase/tIWUZ/test/unit/information.jl:90 Test threw exception Expression: mutual_information(priors, ρ_set, orth_povm) ≈ 0.459147917 MethodError: no method matching zero(::Type{Any}) This error has been manually thrown, explicitly, so the method may exist but be intentionally marked as unimplemented. Closest candidates are: zero(::Type{Union{Missing, T}}) where T @ Base missing.jl:105 zero(!Matched::Type{Union{}}, Any...) @ Base number.jl:310 zero(!Matched::Type{Missing}) @ Base missing.jl:104 ... Stacktrace: [1] zero(::Type{Any}) @ Base ./missing.jl:106 [2] tr(A::Matrix{Any}) @ LinearAlgebra /opt/julia/share/julia/stdlib/v1.11/LinearAlgebra/src/dense.jl:374 [3] tr(A::LinearAlgebra.Transpose{Any, Matrix{Any}}) @ LinearAlgebra /opt/julia/share/julia/stdlib/v1.11/LinearAlgebra/src/adjtrans.jl:461 [4] _broadcast_getindex_evalf @ ./broadcast.jl:678 [inlined] [5] _broadcast_getindex @ ./broadcast.jl:651 [inlined] [6] _getindex @ ./broadcast.jl:675 [inlined] [7] _broadcast_getindex @ ./broadcast.jl:650 [inlined] [8] getindex @ ./broadcast.jl:610 [inlined] [9] copy @ ./broadcast.jl:911 [inlined] [10] materialize @ ./broadcast.jl:872 [inlined] [11] measure @ ~/.julia/packages/QBase/tIWUZ/src/measure.jl:39 [inlined] [12] mutual_information(priors::Probabilities{Float64}, states::Vector{State{Float64}}, Π::POVM{Float64}) @ QBase ~/.julia/packages/QBase/tIWUZ/src/information.jl:187 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:677 [inlined] [14] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/information.jl:90 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [16] macro expansion @ ~/.julia/packages/QBase/tIWUZ/test/unit/information.jl:76 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined] [18] top-level scope @ ~/.julia/packages/QBase/tIWUZ/test/unit/information.jl:6 23.705215 seconds (10.53 M allocations: 554.440 MiB, 0.70% gc time, 91.89% compilation time) 60.803252 seconds (29.07 M allocations: 1.503 GiB, 0.79% gc time, 93.19% compilation time) Test Summary: | Pass Error Total Time ./src/QBase.jl | 2242 8 2250 8m07.1s Math Utilities | 734 734 43.5s Types | 382 382 3m16.2s Constructors | 1017 1017 3m06.4s Main | 109 8 117 1m00.8s ./test/unit/evolve.jl | 27 27 6.4s ./test/unit/measure.jl | 12 4 16 24.3s ./src/measure.jl | 12 4 16 24.2s measure(::POVM) | 4 4 8 17.8s State | 2 2 0.3s Ket | 2 2 1.2s Vector{State} | 3 3 15.7s trine_measurements | 1 1 11.0s classical_measurements | 2 2 4.7s Vector{Ket} | 1 1 0.6s measure(::PVM) | 8 8 6.4s ./test/unit/channels.jl | 29 29 6.4s ./test/unit/information.jl | 41 4 45 23.7s /src/information.jl | 41 4 45 23.5s shannon_entropy() | 10 10 2.7s von_neumann_entropy() | 5 5 0.9s holevo_bound() | 11 11 7.2s mutual_information() | 4 4 5.7s joint_entropy() | 3 3 1.6s mutual_information() | 6 6 2.6s conditional_entropy() | 3 3 0.8s success_probability() | 2 2 2.1s error_probability() | 1 1 0.0s ERROR: LoadError: Some tests did not pass: 2242 passed, 0 failed, 8 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/QBase/tIWUZ/test/runtests.jl:7 Testing failed after 503.57s ERROR: LoadError: Package QBase errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.11/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.11/Pkg/src/Operations.jl:2128 [3] test @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:2011 [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.11/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.11/Pkg/src/API.jl:159 [6] test @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:147 [inlined] [7] #test#74 @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:146 [inlined] [8] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 556.43s: package tests unexpectedly errored