Build Information
Successful build of swift-quantum, reference 1.0.8 (0e0d68), with Swift 6.2 for Linux on 21 Jun 2025 19:46:12 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crodriguezdominguez/swift-quantum.git
Reference: 1.0.8
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
* tag 1.0.8 -> FETCH_HEAD
HEAD is now at 0e0d685 Added Linux support
Cloned https://github.com/crodriguezdominguez/swift-quantum.git
Revision (git rev-parse @):
0e0d6853a5a36bb6d8fdebb0e1233f3340a20b93
SUCCESS checkout https://github.com/crodriguezdominguez/swift-quantum.git at 1.0.8
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/crodriguezdominguez/swift-quantum.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.44s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (3.13s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
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/16] Compiling RealModule AlgebraicField.swift
[8/16] Compiling RealModule ApproximateEquality.swift
[9/16] Compiling RealModule ElementaryFunctions.swift
[10/16] Emitting module RealModule
[11/16] Compiling RealModule AugmentedArithmetic.swift
[12/16] Compiling RealModule Double+Real.swift
[13/17] Compiling RealModule Float80+Real.swift
[14/17] Compiling RealModule Float16+Real.swift
[15/17] Compiling RealModule Real.swift
[16/17] Compiling RealModule Float+Real.swift
[17/17] Compiling RealModule RealFunctions.swift
[19/23] Compiling ComplexModule Arithmetic.swift
[20/23] Compiling ComplexModule ElementaryFunctions.swift
[21/23] Emitting module ComplexModule
[22/23] Compiling ComplexModule Complex.swift
[23/23] Compiling ComplexModule Differentiable.swift
[25/26] Compiling Numerics Numerics.swift
[26/26] Emitting module Numerics
[28/47] 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)
[29/49] Compiling SwiftQuantum FlipCircuit.swift
[30/49] Compiling SwiftQuantum GroverCircuit.swift
[31/49] Compiling SwiftQuantum InverseCircuit.swift
[32/49] 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)
[33/49] 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)
[34/49] Compiling SwiftQuantum QuMeasurer.swift
[35/49] Compiling SwiftQuantum QuRegister.swift
[36/49] Compiling SwiftQuantum PhaseEstimationCircuit.swift
[37/49] Compiling SwiftQuantum QuGateCircuitImplementations.swift
[38/49] Compiling SwiftQuantum QuTeleportationCircuit.swift
[39/49] Compiling SwiftQuantum SumCircuits.swift
[40/49] Compiling SwiftQuantum Integer+BinaryExtensions.swift
[41/49] Compiling SwiftQuantum QuAnalyzer.swift
[42/49] 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>
[43/49] 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>
[44/49] Compiling SwiftQuantum QuBit.swift
[45/49] Compiling SwiftQuantum QuBitOperators.swift
[46/49] Compiling SwiftQuantum QuBitTransformer.swift
[47/49] Compiling SwiftQuantum QuCircuit.swift
[48/49] Compiling SwiftQuantum QuCircuitSerializer.swift
[49/49] Compiling SwiftQuantum QuGate.swift
Build complete! (31.75s)
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.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.