The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-quantum, reference main (910bd9), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 19:44:40 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crodriguezdominguez/swift-quantum.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/crodriguezdominguez/swift-quantum.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[4/6] Write swift-version-1EA4D86E10B52AF.txt
[5/6] Compiling _NumericsShims _NumericsShims.c
[7/16] Compiling RealModule Real.swift
[8/16] Compiling RealModule Float16+Real.swift
[9/16] Compiling RealModule Float80+Real.swift
[10/16] Compiling RealModule ElementaryFunctions.swift
[11/17] Compiling RealModule Double+Real.swift
[12/17] Compiling RealModule AugmentedArithmetic.swift
[13/17] Compiling RealModule AlgebraicField.swift
[14/17] Compiling RealModule ApproximateEquality.swift
[15/17] Emitting module RealModule
[16/17] Compiling RealModule Float+Real.swift
[17/17] Compiling RealModule RealFunctions.swift
[18/22] Emitting module ComplexModule
[19/22] Compiling ComplexModule ElementaryFunctions.swift
[20/22] Compiling ComplexModule Complex.swift
[21/22] Compiling ComplexModule Differentiable.swift
[22/22] Compiling ComplexModule Arithmetic.swift
[23/24] Emitting module Numerics
[24/24] Compiling Numerics Numerics.swift
[25/44] Emitting module SwiftQuantum
/Users/admin/builder/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)
[26/46] Compiling SwiftQuantum Integer+BinaryExtensions.swift
[27/46] Compiling SwiftQuantum QuAnalyzer.swift
[28/46] Compiling SwiftQuantum QuCircuitSerializer.swift
[29/46] Compiling SwiftQuantum QuGate.swift
[30/46] Compiling SwiftQuantum QuBitTransformer.swift
[31/46] Compiling SwiftQuantum QuCircuit.swift
[32/46] Compiling SwiftQuantum PhaseEstimationCircuit.swift
[33/46] Compiling SwiftQuantum QuGateCircuitImplementations.swift
[34/46] Compiling SwiftQuantum QuMeasurer.swift
[35/46] Compiling SwiftQuantum QuRegister.swift
[36/46] Compiling SwiftQuantum FlipCircuit.swift
[37/46] Compiling SwiftQuantum GroverCircuit.swift
[38/46] Compiling SwiftQuantum InverseCircuit.swift
[39/46] Compiling SwiftQuantum QuTeleportationCircuit.swift
[40/46] Compiling SwiftQuantum SumCircuits.swift
[41/46] Compiling SwiftQuantum QuRegisterOperators.swift
/Users/admin/builder/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)
[42/46] Compiling SwiftQuantum Complex+Extensions.swift
/Users/admin/builder/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)
[43/46] Compiling SwiftQuantum QuBit.swift
[44/46] Compiling SwiftQuantum QuBitOperators.swift
[45/46] Compiling SwiftQuantum QuAmplitudeMatrix.swift
[46/46] Compiling SwiftQuantum SparseArray.swift
Build complete! (11.89s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.11s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (3.72s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
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" : "/Users/admin/builder/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"
}
Done.