Build Information
Successful build of swift-quantum, reference main (910bd9), with Swift 6.3 for Linux on 14 Apr 2026 19:43:07 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crodriguezdominguez/swift-quantum.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/crodriguezdominguez/swift-quantum
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 910bd9b Small fix
Cloned https://github.com/crodriguezdominguez/swift-quantum.git
Revision (git rev-parse @):
910bd9b9cc6b9da880354e2ff6efccb8e0719ab6
SUCCESS checkout https://github.com/crodriguezdominguez/swift-quantum.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/crodriguezdominguez/swift-quantum.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.69s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.64s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
warning: you may be able to install openblas using your system-packager:
apt-get install libopenblas-base libopenblas-dev
warning: you may be able to install openblas using your system-packager:
apt-get install libopenblas-base libopenblas-dev
Building for debugging...
[0/6] Write sources
[4/6] Compiling _NumericsShims _NumericsShims.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/17] Compiling RealModule Real.swift
[8/18] Compiling RealModule RelaxedArithmetic.swift
[9/18] Emitting module RealModule
[10/18] Compiling RealModule AlgebraicField.swift
[11/18] Compiling RealModule ApproximateEquality.swift
[12/18] Compiling RealModule RealFunctions.swift
[13/18] Compiling RealModule ElementaryFunctions.swift
[14/18] Compiling RealModule Float+Real.swift
[15/18] Compiling RealModule AugmentedArithmetic.swift
[16/18] Compiling RealModule Double+Real.swift
[17/18] Compiling RealModule Float16+Real.swift
[18/18] Compiling RealModule Float80+Real.swift
[20/30] Compiling ComplexModule Complex+Hashable.swift
[21/30] Compiling ComplexModule Complex+IntegerLiteral.swift
[22/30] Compiling ComplexModule Complex+Numeric.swift
[23/31] Compiling ComplexModule Polar.swift
[24/31] Compiling ComplexModule Complex+StringConvertible.swift
[25/31] Compiling ComplexModule Complex.swift
[26/31] Compiling ComplexModule Scale.swift
[27/31] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[28/31] Compiling ComplexModule Complex+AlgebraicField.swift
[29/31] Emitting module ComplexModule
[30/31] Compiling ComplexModule Complex+Codable.swift
[31/31] Compiling ComplexModule Complex+ElementaryFunctions.swift
[33/34] Emitting module Numerics
[34/34] Compiling Numerics Numerics.swift
[36/55] Emitting module SwiftQuantum
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Complex/Complex+Extensions.swift:94:1: warning: extension declares a conformance of imported type 'Complex' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'ComplexModule' introduce this conformance in the future
92 | }
93 |
94 | extension Complex : ExpressibleByFloatLiteral where RealType == Double {
| |- warning: extension declares a conformance of imported type 'Complex' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'ComplexModule' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
95 | public init(floatLiteral value: FloatLiteralType) {
96 | self.init(value)
[37/57] Compiling SwiftQuantum QuCircuit.swift
[38/57] Compiling SwiftQuantum QuCircuitSerializer.swift
[39/57] Compiling SwiftQuantum QuGate.swift
[40/57] Compiling SwiftQuantum FlipCircuit.swift
[41/57] Compiling SwiftQuantum GroverCircuit.swift
[42/57] Compiling SwiftQuantum InverseCircuit.swift
[43/57] Compiling SwiftQuantum SumCircuits.swift
[44/57] Compiling SwiftQuantum Integer+BinaryExtensions.swift
[45/57] Compiling SwiftQuantum QuAnalyzer.swift
[46/57] Compiling SwiftQuantum QuRegisterOperators.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Complex/Complex+Extensions.swift:94:1: warning: extension declares a conformance of imported type 'Complex' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'ComplexModule' introduce this conformance in the future
92 | }
93 |
94 | extension Complex : ExpressibleByFloatLiteral where RealType == Double {
| |- warning: extension declares a conformance of imported type 'Complex' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'ComplexModule' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
95 | public init(floatLiteral value: FloatLiteralType) {
96 | self.init(value)
[47/57] Compiling SwiftQuantum Complex+Extensions.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Complex/Complex+Extensions.swift:94:1: warning: extension declares a conformance of imported type 'Complex' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'ComplexModule' introduce this conformance in the future
92 | }
93 |
94 | extension Complex : ExpressibleByFloatLiteral where RealType == Double {
| |- warning: extension declares a conformance of imported type 'Complex' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'ComplexModule' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
95 | public init(floatLiteral value: FloatLiteralType) {
96 | self.init(value)
[48/57] Compiling SwiftQuantum QuBit.swift
[49/57] Compiling SwiftQuantum QuBitOperators.swift
[50/57] Compiling SwiftQuantum QuBitTransformer.swift
[51/57] Compiling SwiftQuantum PhaseEstimationCircuit.swift
[52/57] Compiling SwiftQuantum QuGateCircuitImplementations.swift
[53/57] Compiling SwiftQuantum QuTeleportationCircuit.swift
[54/57] Compiling SwiftQuantum QuMeasurer.swift
[55/57] Compiling SwiftQuantum QuRegister.swift
[56/57] Compiling SwiftQuantum QuAmplitudeMatrix.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:347:25: warning: mutation of captured var 'contents' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
345 |
346 | q.async(flags: .barrier, execute: {
347 | contents[k] = sumContents.reduce(QuAmplitude(0.0, 0.0), { (result, values) in
| `- warning: mutation of captured var 'contents' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
348 | return result + (values.1 * otherContents[values.0])
349 | })
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[57/57] Compiling SwiftQuantum SparseArray.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:347:25: warning: mutation of captured var 'contents' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
345 |
346 | q.async(flags: .barrier, execute: {
347 | contents[k] = sumContents.reduce(QuAmplitude(0.0, 0.0), { (result, values) in
| `- warning: mutation of captured var 'contents' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
348 | return result + (values.1 * otherContents[values.0])
349 | })
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
Build complete! (17.91s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-numerics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-numerics"
}
],
"manifest_display_name" : "swift-quantum",
"name" : "swift-quantum",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftQuantum",
"targets" : [
"SwiftQuantum"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftQuantumTests",
"module_type" : "SwiftTarget",
"name" : "SwiftQuantumTests",
"path" : "Tests/SwiftQuantumTests",
"sources" : [
"QuantumAlgorithmsTests.swift",
"QuantumCircuitsTests.swift",
"QuantumComputingTests.swift",
"QuantumGatesTests.swift"
],
"target_dependencies" : [
"SwiftQuantum"
],
"type" : "test"
},
{
"c99name" : "SwiftQuantum",
"module_type" : "SwiftTarget",
"name" : "SwiftQuantum",
"path" : "Sources/SwiftQuantum",
"product_dependencies" : [
"Numerics"
],
"product_memberships" : [
"SwiftQuantum"
],
"sources" : [
"Circuits/FlipCircuit.swift",
"Circuits/GroverCircuit.swift",
"Circuits/InverseCircuit.swift",
"Circuits/PhaseEstimationCircuit.swift",
"Circuits/QuGateCircuitImplementations.swift",
"Circuits/QuTeleportationCircuit.swift",
"Circuits/SumCircuits.swift",
"Foundations/Integer+BinaryExtensions.swift",
"Foundations/QuAnalyzer.swift",
"Foundations/QuBit.swift",
"Foundations/QuBitOperators.swift",
"Foundations/QuBitTransformer.swift",
"Foundations/QuCircuit.swift",
"Foundations/QuCircuitSerializer.swift",
"Foundations/QuGate.swift",
"Foundations/QuMeasurer.swift",
"Foundations/QuRegister.swift",
"Foundations/QuRegisterOperators.swift",
"Maths/Complex/Complex+Extensions.swift",
"Maths/Matrix/QuAmplitudeMatrix.swift",
"Maths/Matrix/SparseArray.swift"
],
"target_dependencies" : [
"CBlas"
],
"type" : "library"
},
{
"c99name" : "CBlas",
"module_type" : "SystemLibraryTarget",
"name" : "CBlas",
"path" : "Sources/CBlas",
"product_memberships" : [
"SwiftQuantum"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "5.10"
}
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.