Package evaluation to test QBase on Julia 1.11.7 (58327cce5e*) started at 2025-10-28T21:11:08.437 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.73s ################################################################################ # 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 [9a962f9c] + DataAPI v1.16.0 [864edb3b] + DataStructures v0.19.1 [31c24e10] + Distributions v0.25.122 [ffbed154] + DocStringExtensions v0.9.5 [442a2c76] + FastGaussQuadrature v1.1.0 [1a297f60] + FillArrays v1.14.0 [92c85e6c] + GSL v1.0.1 [34004b35] + HypergeometricFunctions v0.3.28 [92d709cd] + IrrationalConstants v0.2.6 [692b3bcd] + JLLWrappers v1.7.1 [2ab3a3ac] + LogExpFunctions v0.3.29 [e1d29d7a] + Missings v1.2.0 [bac558e1] + OrderedCollections v1.8.1 [90014a1f] + PDMats v0.11.36 ⌅ [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.5.0 [43287f4e] + PtrArrays v1.3.0 [e52e8ede] + QBase v0.2.2 [1fd47b50] + QuadGK v2.11.2 [2576dda1] + RandomMatrices v0.5.6 [189a3867] + Reexport v1.2.2 [79098fc4] + Rmath v0.9.0 [a2af1166] + SortingAlgorithms v1.2.2 [276daf66] + SpecialFunctions v2.6.1 [90137ffa] + StaticArrays v1.9.15 [1e83bf80] + StaticArraysCore v1.4.4 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.7.1 [2913bbd2] + StatsBase v0.34.7 [4c63d2b9] + StatsFuns v1.5.2 [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 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra 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 [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 5.25s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 28.91s ################################################################################ # Testing # Testing QBase Status `/tmp/jl_FWdn7a/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_FWdn7a/Manifest.toml` [66dad0bd] AliasTables v1.1.3 [861a8166] Combinatorics v1.0.3 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.19.1 [31c24e10] Distributions v0.25.122 [ffbed154] DocStringExtensions v0.9.5 [442a2c76] FastGaussQuadrature v1.1.0 [1a297f60] FillArrays v1.14.0 [92c85e6c] GSL v1.0.1 [34004b35] HypergeometricFunctions v0.3.28 [92d709cd] IrrationalConstants v0.2.6 [692b3bcd] JLLWrappers v1.7.1 [2ab3a3ac] LogExpFunctions v0.3.29 [e1d29d7a] Missings v1.2.0 [bac558e1] OrderedCollections v1.8.1 [90014a1f] PDMats v0.11.36 ⌅ [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.5.0 [43287f4e] PtrArrays v1.3.0 [e52e8ede] QBase v0.2.2 [1fd47b50] QuadGK v2.11.2 [2576dda1] RandomMatrices v0.5.6 [189a3867] Reexport v1.2.2 [79098fc4] Rmath v0.9.0 [1bc83da4] SafeTestsets v0.1.0 [a2af1166] SortingAlgorithms v1.2.2 [276daf66] SpecialFunctions v2.6.1 [90137ffa] StaticArrays v1.9.15 [1e83bf80] StaticArraysCore v1.4.4 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.1 [2913bbd2] StatsBase v0.34.7 [4c63d2b9] StatsFuns v1.5.2 [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 [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 4.928399 seconds (2.55 M allocations: 152.367 MiB, 3.86% gc time, 43.40% compilation time) Testing QBase.jl Testing Math Utilities : ./test/unit/math/matrices.jl 31.380443 seconds (17.58 M allocations: 906.272 MiB, 0.86% gc time, 99.25% compilation time) ./test/unit/math/combinatorics.jl 12.880057 seconds (8.39 M allocations: 432.472 MiB, 1.03% gc time, 96.86% compilation time) 44.261193 seconds (25.98 M allocations: 1.307 GiB, 0.91% gc time, 98.55% compilation time) Testing Types : ./test/unit/types/probabilities.jl 18.954817 seconds (8.72 M allocations: 458.744 MiB, 1.96% gc time, 98.50% compilation time) ./test/unit/types/brakets.jl 45.161160 seconds (8.76 M allocations: 515.423 MiB, 0.89% gc time, 99.24% compilation time) ./test/unit/types/states.jl 14.618534 seconds (7.00 M allocations: 362.077 MiB, 0.61% gc time, 98.00% compilation time) ./test/unit/types/unitaries.jl 53.125517 seconds (19.99 M allocations: 1.004 GiB, 1.23% gc time, 99.79% compilation time) ./test/unit/types/measurements.jl 28.868087 seconds (5.99 M allocations: 334.437 MiB, 0.33% gc time, 99.21% compilation time) ./test/unit/kraus_channels.jl 17.562137 seconds (6.92 M allocations: 364.107 MiB, 0.81% gc time, 99.39% compilation time) ./test/unit/choi_operators.jl 13.196614 seconds (4.29 M allocations: 229.716 MiB, 0.61% gc time, 98.49% compilation time) 191.490212 seconds (61.69 M allocations: 3.216 GiB, 0.96% gc time, 99.18% compilation time) Testing Constructors : ./test/unit/constructors/brakets.jl 41.443038 seconds (13.02 M allocations: 697.763 MiB, 1.10% gc time, 99.55% compilation time) ./test/unit/constructors/states.jl 34.120567 seconds (11.27 M allocations: 609.647 MiB, 0.64% gc time, 99.39% compilation time) ./test/unit/constructors/unitaries.jl 11.337021 seconds (5.46 M allocations: 279.067 MiB, 0.90% gc time, 99.22% compilation time) ./test/unit/constructors/measurements.jl 105.605197 seconds (43.98 M allocations: 2.188 GiB, 1.28% gc time, 99.80% compilation time) 192.508071 seconds (73.74 M allocations: 3.737 GiB, 1.10% gc time, 99.64% compilation time) Testing Main : ./test/unit/evolve.jl 6.607986 seconds (3.34 M allocations: 174.470 MiB, 0.51% gc time, 98.13% 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{Dates.Time}) @ Dates /opt/julia/share/julia/stdlib/v1.11/Dates/src/types.jl:460 ... 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#246" ~/.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{Dates.Time}) @ Dates /opt/julia/share/julia/stdlib/v1.11/Dates/src/types.jl:460 ... 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{Dates.Time}) @ Dates /opt/julia/share/julia/stdlib/v1.11/Dates/src/types.jl:460 ... 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{Dates.Time}) @ Dates /opt/julia/share/julia/stdlib/v1.11/Dates/src/types.jl:460 ... 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#246" ~/.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.739806 seconds (12.84 M allocations: 686.936 MiB, 0.92% gc time, 92.19% compilation time) ./test/unit/channels.jl 6.271987 seconds (2.25 M allocations: 117.634 MiB, 0.58% gc time, 98.05% 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{Dates.Time}) @ Dates /opt/julia/share/julia/stdlib/v1.11/Dates/src/types.jl:460 ... 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{Dates.Time}) @ Dates /opt/julia/share/julia/stdlib/v1.11/Dates/src/types.jl:460 ... 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{Dates.Time}) @ Dates /opt/julia/share/julia/stdlib/v1.11/Dates/src/types.jl:460 ... 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{Dates.Time}) @ Dates /opt/julia/share/julia/stdlib/v1.11/Dates/src/types.jl:460 ... 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 24.162661 seconds (10.51 M allocations: 553.072 MiB, 0.81% gc time, 92.11% compilation time) 61.783668 seconds (28.93 M allocations: 1.496 GiB, 0.80% gc time, 93.39% compilation time) Test Summary: | Pass Error Total Time ./src/QBase.jl | 2242 8 2250 8m10.1s Math Utilities | 734 734 44.3s Types | 382 382 3m11.5s Constructors | 1017 1017 3m12.5s Main | 109 8 117 1m01.8s ./test/unit/evolve.jl | 27 27 6.6s ./test/unit/measure.jl | 12 4 16 24.7s ./src/measure.jl | 12 4 16 24.6s measure(::POVM) | 4 4 8 18.0s State | 2 2 0.3s Ket | 2 2 1.3s Vector{State} | 3 3 15.8s trine_measurements | 1 1 11.2s classical_measurements | 2 2 4.6s Vector{Ket} | 1 1 0.6s measure(::PVM) | 8 8 6.6s ./test/unit/channels.jl | 29 29 6.3s ./test/unit/information.jl | 41 4 45 24.2s /src/information.jl | 41 4 45 24.0s shannon_entropy() | 10 10 2.8s von_neumann_entropy() | 5 5 0.9s holevo_bound() | 11 11 7.1s mutual_information() | 4 4 5.5s joint_entropy() | 3 3 1.8s mutual_information() | 6 6 2.7s conditional_entropy() | 3 3 0.8s success_probability() | 2 2 2.3s 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 507.39s 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 562.45s: package tests unexpectedly errored