Package evaluation of QuantumCircuits on Julia 1.11.4 (a71dd056e0*) started at 2025-04-08T14:49:41.921 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.3s ################################################################################ # Installation # Installing QuantumCircuits... Resolving package versions... Installed Conda ── v1.10.2 Installed PyCall ─ v1.96.4 Updating `~/.julia/environments/v1.11/Project.toml` [ad924a34] + QuantumCircuits v0.1.0 Updating `~/.julia/environments/v1.11/Manifest.toml` [621f4979] + AbstractFFTs v1.5.0 [79e6a3ab] + Adapt v4.3.0 [a9b6321e] + Atomix v1.1.1 [fa961155] + CEnum v0.5.0 [082447d4] + ChainRules v1.72.3 [d360d2e6] + ChainRulesCore v1.25.1 [bbf7d656] + CommonSubexpressions v0.3.1 [34da2185] + Compat v4.16.0 [8f4d0f93] + Conda v1.10.2 [187b0558] + ConstructionBase v1.5.8 [9a962f9c] + DataAPI v1.16.0 [e2d170a0] + DataValueInterfaces v1.0.0 [163ba53b] + DiffResults v1.1.0 [b552c78f] + DiffRules v1.15.1 [ffbed154] + DocStringExtensions v0.9.4 [1a297f60] + FillArrays v1.13.0 [f6369f11] + ForwardDiff v1.0.1 [0c68f7d7] + GPUArrays v11.2.2 [46192b85] + GPUArraysCore v0.2.0 [076d061b] + HashArrayMappedTries v0.2.0 [7869d1d1] + IRTools v0.4.14 [92d709cd] + IrrationalConstants v0.2.4 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.7.0 [682c06a0] + JSON v0.21.4 [63c18a36] + KernelAbstractions v0.9.34 [929cbde3] + LLVM v9.2.0 [2ab3a3ac] + LogExpFunctions v0.3.29 [1914dd2f] + MacroTools v0.5.15 [77ba4419] + NaNMath v1.1.3 [bac558e1] + OrderedCollections v1.8.0 [69de0a69] + Parsers v2.8.1 ⌅ [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [438e738f] + PyCall v1.96.4 [ad924a34] + QuantumCircuits v0.1.0 [c1ae055f] + RealDot v0.1.0 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [7e506255] + ScopedValues v1.3.0 [dc90abb0] + SparseInverseSubset v0.1.2 [276daf66] + SpecialFunctions v2.5.0 [90137ffa] + StaticArrays v1.9.13 [1e83bf80] + StaticArraysCore v1.4.3 [10745b16] + Statistics v1.11.1 [09ab397b] + StructArrays v0.7.1 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.0 [013be700] + UnsafeAtomics v0.3.0 [81def892] + VersionParsing v1.3.0 ⌅ [e88e6eb3] + Zygote v0.6.76 [700de1a5] + ZygoteRules v0.2.7 [dad2f222] + LLVMExtra_jll v0.0.35+0 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [8ba89e20] + Distributed v1.11.0 [f43a241f] + Downloads v1.6.0 [7b1f6079] + FileWatching v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [4af54fe1] + LazyArtifacts v1.11.0 [b27032c2] + LibCURL v0.6.4 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.11.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.2.0 [44cfe95a] + Pkg v1.11.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.11.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.1.1+0 [deac9b47] + LibCURL_jll v8.6.0+0 [e37daf67] + LibGit2_jll v1.7.2+0 [29816b5a] + LibSSH2_jll v1.11.0+1 [c8ffd9c3] + MbedTLS_jll v2.28.6+0 [14a3606d] + MozillaCACerts_jll v2023.12.12 [4536629a] + OpenBLAS_jll v0.3.27+1 [05823500] + OpenLibm_jll v0.8.5+0 [bea87d4a] + SuiteSparse_jll v7.7.0+0 [83775a58] + Zlib_jll v1.2.13+1 [8e850b90] + libblastrampoline_jll v5.11.0+0 [8e850ede] + nghttp2_jll v1.59.0+0 [3f19e933] + p7zip_jll v17.4.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Building Conda ─→ `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/b19db3927f0db4151cb86d073689f2428e524576/build.log` Building PyCall → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/9816a3826b0ebf49ab4926e2b18842ad8b5c8f04/build.log` Installation completed after 63.84s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 28.45s ################################################################################ # Testing # Testing QuantumCircuits Status `/tmp/jl_7CPbqq/Project.toml` [ad924a34] QuantumCircuits v0.1.0 ⌅ [e88e6eb3] Zygote v0.6.76 [37e2e46d] LinearAlgebra v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_7CPbqq/Manifest.toml` [621f4979] AbstractFFTs v1.5.0 [79e6a3ab] Adapt v4.3.0 [a9b6321e] Atomix v1.1.1 [fa961155] CEnum v0.5.0 [082447d4] ChainRules v1.72.3 [d360d2e6] ChainRulesCore v1.25.1 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.16.0 [8f4d0f93] Conda v1.10.2 [187b0558] ConstructionBase v1.5.8 [9a962f9c] DataAPI v1.16.0 [e2d170a0] DataValueInterfaces v1.0.0 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [ffbed154] DocStringExtensions v0.9.4 [1a297f60] FillArrays v1.13.0 [f6369f11] ForwardDiff v1.0.1 [0c68f7d7] GPUArrays v11.2.2 [46192b85] GPUArraysCore v0.2.0 [076d061b] HashArrayMappedTries v0.2.0 [7869d1d1] IRTools v0.4.14 [92d709cd] IrrationalConstants v0.2.4 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.7.0 [682c06a0] JSON v0.21.4 [63c18a36] KernelAbstractions v0.9.34 [929cbde3] LLVM v9.2.0 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.15 [77ba4419] NaNMath v1.1.3 [bac558e1] OrderedCollections v1.8.0 [69de0a69] Parsers v2.8.1 ⌅ [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [438e738f] PyCall v1.96.4 [ad924a34] QuantumCircuits v0.1.0 [c1ae055f] RealDot v0.1.0 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [7e506255] ScopedValues v1.3.0 [dc90abb0] SparseInverseSubset v0.1.2 [276daf66] SpecialFunctions v2.5.0 [90137ffa] StaticArrays v1.9.13 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [09ab397b] StructArrays v0.7.1 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.0 [013be700] UnsafeAtomics v0.3.0 [81def892] VersionParsing v1.3.0 ⌅ [e88e6eb3] Zygote v0.6.76 [700de1a5] ZygoteRules v0.2.7 [dad2f222] LLVMExtra_jll v0.0.35+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.11.0 [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [4af54fe1] LazyArtifacts v1.11.0 [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.11.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.2.0 [44cfe95a] Pkg v1.11.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.11.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.1.1+0 [deac9b47] LibCURL_jll v8.6.0+0 [e37daf67] LibGit2_jll v1.7.2+0 [29816b5a] LibSSH2_jll v1.11.0+1 [c8ffd9c3] MbedTLS_jll v2.28.6+0 [14a3606d] MozillaCACerts_jll v2023.12.12 [4536629a] OpenBLAS_jll v0.3.27+1 [05823500] OpenLibm_jll v0.8.5+0 [bea87d4a] SuiteSparse_jll v7.7.0+0 [83775a58] Zlib_jll v1.2.13+1 [8e850b90] libblastrampoline_jll v5.11.0+0 [8e850ede] nghttp2_jll v1.59.0+0 [3f19e933] p7zip_jll v17.4.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... PyError (PyImport_ImportModule The Python package qiskit could not be imported by pyimport. Usually this means that you did not install qiskit in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the qiskit module, you can use `pyimport_conda("qiskit", PKG)`, where PKG is the Anaconda package that contains the module qiskit, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'qiskit'") ERROR: QuantumCircuits need qiskit, qiskit.ignis and matplotlib python package. QCircuits : Test Failed at /home/pkgeval/.julia/packages/QuantumCircuits/Vng8l/test/QCircuits/RegistersTest.jl:38 Expression: exp == toString(qc) Evaluated: " ┌───┐ \na_0: ┤ H ├──■────■──\n └───┘┌─┴─┐ │ \na_1: ─────┤ X ├──┼──\n ┌───┐└───┘ │ \nb_0: ┤ Z ├──■────┼──\n └───┘┌─┴─┐┌─┴─┐\nb_1: ─────┤ X ├┤ X ├\n └───┘└───┘\nc: 4/═══════════════\n " == "QCircuit" Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:679 [inlined] [2] top-level scope @ ~/.julia/packages/QuantumCircuits/Vng8l/test/QCircuits/RegistersTest.jl:515 [3] include(fname::String) @ Main ./sysimg.jl:38 [4] top-level scope @ ~/.julia/packages/QuantumCircuits/Vng8l/test/QCircuits/QCircuitsTest.jl:13 [5] include(fname::String) @ Main ./sysimg.jl:38 [6] macro expansion @ ~/.julia/packages/QuantumCircuits/Vng8l/test/runtests.jl:17 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [8] top-level scope @ ~/.julia/packages/QuantumCircuits/Vng8l/test/runtests.jl:17 QCircuits : Test Failed at /home/pkgeval/.julia/packages/QuantumCircuits/Vng8l/test/QCircuits/RegistersTest.jl:63 Expression: exp == toString(qc) Evaluated: " ┌───┐┌───┐ ┌───┐┌───┐\nq_0: ┤ X ├┤ Y ├──■──┤ X ├┤ X ├\n ├───┤├───┤┌─┴─┐└─┬─┘├───┤\nq_1: ┤ H ├┤ Z ├┤ X ├──■──┤ X ├\n └───┘└───┘└───┘ └───┘\nc: 2/═════════════════════════\n " == "QCircuit" Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:679 [inlined] [2] top-level scope @ ~/.julia/packages/QuantumCircuits/Vng8l/test/QCircuits/RegistersTest.jl:515 [3] include(fname::String) @ Main ./sysimg.jl:38 [4] top-level scope @ ~/.julia/packages/QuantumCircuits/Vng8l/test/QCircuits/QCircuitsTest.jl:13 [5] include(fname::String) @ Main ./sysimg.jl:38 [6] macro expansion @ ~/.julia/packages/QuantumCircuits/Vng8l/test/runtests.jl:17 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [8] top-level scope @ ~/.julia/packages/QuantumCircuits/Vng8l/test/runtests.jl:17 QCircuits : Error During Test at /home/pkgeval/.julia/packages/QuantumCircuits/Vng8l/test/runtests.jl:16 Got exception outside of a @test LoadError: QuantumCircuits.QCircuits.Qiskit.NoQiskitError("Unable to convert to Qiskit, qiskit is not installed.") Stacktrace: [1] toQiskit(circuit::QCircuit) @ QuantumCircuits.QCircuits.Circuit ~/.julia/packages/QuantumCircuits/Vng8l/src/QCircuits/Circuit.jl:330 [2] top-level scope @ ~/.julia/packages/QuantumCircuits/Vng8l/test/QCircuits/InstructionsTest.jl:35 [3] include(fname::String) @ Main ./sysimg.jl:38 [4] top-level scope @ ~/.julia/packages/QuantumCircuits/Vng8l/test/QCircuits/QCircuitsTest.jl:15 [5] include(fname::String) @ Main ./sysimg.jl:38 [6] macro expansion @ ~/.julia/packages/QuantumCircuits/Vng8l/test/runtests.jl:17 [inlined] [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [8] top-level scope @ ~/.julia/packages/QuantumCircuits/Vng8l/test/runtests.jl:17 [9] include(fname::String) @ Main ./sysimg.jl:38 [10] top-level scope @ none:6 [11] eval @ ./boot.jl:430 [inlined] [12] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [13] _start() @ Base ./client.jl:531 in expression starting at /home/pkgeval/.julia/packages/QuantumCircuits/Vng8l/test/QCircuits/InstructionsTest.jl:35 in expression starting at /home/pkgeval/.julia/packages/QuantumCircuits/Vng8l/test/QCircuits/QCircuitsTest.jl:15 Test Summary: | Pass Fail Error Total Time QCircuits | 43 2 1 46 38.0s ERROR: LoadError: Some tests did not pass: 43 passed, 2 failed, 1 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/QuantumCircuits/Vng8l/test/runtests.jl:16 Testing failed after 55.52s ERROR: LoadError: Package QuantumCircuits 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:2124 [3] test @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:2007 [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 177.31s: package tests unexpectedly errored