The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-quantum, reference 1.0.8 (0e0d68), with Swift 6.3 for Linux on 14 Apr 2026 19:43:02 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path:  $PWD
https://github.com/crodriguezdominguez/swift-quantum.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.71s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.40s)
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 RealFunctions.swift
[8/18] Compiling RealModule ElementaryFunctions.swift
[9/18] Compiling RealModule Float+Real.swift
[10/18] Emitting module RealModule
[11/18] Compiling RealModule AlgebraicField.swift
[12/18] Compiling RealModule ApproximateEquality.swift
[13/18] Compiling RealModule AugmentedArithmetic.swift
[14/18] Compiling RealModule Double+Real.swift
[15/18] Compiling RealModule Real.swift
[16/18] Compiling RealModule Float80+Real.swift
[17/18] Compiling RealModule RelaxedArithmetic.swift
[18/18] Compiling RealModule Float16+Real.swift
[20/30] Compiling ComplexModule Polar.swift
[21/31] Compiling ComplexModule Complex+StringConvertible.swift
[22/31] Compiling ComplexModule Complex+Numeric.swift
[23/31] Compiling ComplexModule Complex.swift
[24/31] Compiling ComplexModule Complex+Hashable.swift
[25/31] Compiling ComplexModule Complex+IntegerLiteral.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] Compiling Numerics Numerics.swift
[34/34] Emitting module Numerics
[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 FlipCircuit.swift
[38/57] Compiling SwiftQuantum GroverCircuit.swift
[39/57] Compiling SwiftQuantum InverseCircuit.swift
[40/57] Compiling SwiftQuantum SumCircuits.swift
[41/57] Compiling SwiftQuantum Integer+BinaryExtensions.swift
[42/57] Compiling SwiftQuantum QuAnalyzer.swift
[43/57] Compiling SwiftQuantum PhaseEstimationCircuit.swift
[44/57] Compiling SwiftQuantum QuGateCircuitImplementations.swift
[45/57] Compiling SwiftQuantum QuTeleportationCircuit.swift
[46/57] Compiling SwiftQuantum QuBit.swift
[47/57] Compiling SwiftQuantum QuBitOperators.swift
[48/57] Compiling SwiftQuantum QuBitTransformer.swift
[49/57] Compiling SwiftQuantum QuMeasurer.swift
[50/57] Compiling SwiftQuantum QuRegister.swift
[51/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>
[52/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>
[53/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)
[54/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)
[55/57] Compiling SwiftQuantum QuCircuit.swift
[56/57] Compiling SwiftQuantum QuCircuitSerializer.swift
[57/57] Compiling SwiftQuantum QuGate.swift
Build complete! (18.73s)
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.