The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-quantum, reference main (910bd9), with Swift 6.0 for Linux on 5 Nov 2024 11:43:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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.0
Building package at path:  $PWD
https://github.com/crodriguezdominguez/swift-quantum.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-numerics
[1/5576] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.33s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (1.77s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
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 ElementaryFunctions.swift
[8/17] Compiling RealModule RealFunctions.swift
[9/17] Compiling RealModule Real.swift
[10/17] Emitting module RealModule
[11/17] Compiling RealModule AugmentedArithmetic.swift
[12/17] Compiling RealModule Double+Real.swift
[13/17] Compiling RealModule AlgebraicField.swift
[14/17] Compiling RealModule ApproximateEquality.swift
[15/17] Compiling RealModule Float16+Real.swift
[16/17] Compiling RealModule Float+Real.swift
[17/17] Compiling RealModule Float80+Real.swift
[19/23] Emitting module ComplexModule
[20/23] Compiling ComplexModule ElementaryFunctions.swift
[21/23] Compiling ComplexModule Arithmetic.swift
[22/23] Compiling ComplexModule Differentiable.swift
[23/23] Compiling ComplexModule Complex.swift
[25/26] Compiling Numerics Numerics.swift
[26/26] Emitting module Numerics
[28/47] Emitting module SwiftQuantum
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:37:23: warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
    |                       |- warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'excited' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public init(grounded:Bool=true) {
/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 QuBit.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:37:23: warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
    |                       |- warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'excited' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public init(grounded:Bool=true) {
[30/49] Compiling SwiftQuantum QuBitOperators.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:37:23: warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
    |                       |- warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'excited' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public init(grounded:Bool=true) {
[31/49] Compiling SwiftQuantum QuBitTransformer.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:37:23: warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
    |                       |- warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'excited' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public init(grounded:Bool=true) {
[32/49] Compiling SwiftQuantum PhaseEstimationCircuit.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Circuits/PhaseEstimationCircuit.swift:39:48: error: thrown expression type 'any Error' cannot be converted to error type 'Never'
37 |         for k in 0..<quBitsOfPrecision {
38 |             let exp = UInt(pow(2.0, Double(k)))
39 |             currentMatrix = try! currentMatrix*pow(controlledU.transformationMatrix, exponent: exp-lastExp)
   |                                                `- error: thrown expression type 'any Error' cannot be converted to error type 'Never'
40 |             let indices = [k]+targetQuBits
41 |             let gate = UniversalGate(matrix: currentMatrix, name: gateName, numberOfInputs: controlledU.numberOfInputs, numberOfOutputs: controlledU.numberOfOutputs)
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
[33/49] Compiling SwiftQuantum QuGateCircuitImplementations.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Circuits/PhaseEstimationCircuit.swift:39:48: error: thrown expression type 'any Error' cannot be converted to error type 'Never'
37 |         for k in 0..<quBitsOfPrecision {
38 |             let exp = UInt(pow(2.0, Double(k)))
39 |             currentMatrix = try! currentMatrix*pow(controlledU.transformationMatrix, exponent: exp-lastExp)
   |                                                `- error: thrown expression type 'any Error' cannot be converted to error type 'Never'
40 |             let indices = [k]+targetQuBits
41 |             let gate = UniversalGate(matrix: currentMatrix, name: gateName, numberOfInputs: controlledU.numberOfInputs, numberOfOutputs: controlledU.numberOfOutputs)
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
[34/49] Compiling SwiftQuantum QuTeleportationCircuit.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Circuits/PhaseEstimationCircuit.swift:39:48: error: thrown expression type 'any Error' cannot be converted to error type 'Never'
37 |         for k in 0..<quBitsOfPrecision {
38 |             let exp = UInt(pow(2.0, Double(k)))
39 |             currentMatrix = try! currentMatrix*pow(controlledU.transformationMatrix, exponent: exp-lastExp)
   |                                                `- error: thrown expression type 'any Error' cannot be converted to error type 'Never'
40 |             let indices = [k]+targetQuBits
41 |             let gate = UniversalGate(matrix: currentMatrix, name: gateName, numberOfInputs: controlledU.numberOfInputs, numberOfOutputs: controlledU.numberOfOutputs)
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
[35/49] Compiling SwiftQuantum FlipCircuit.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:37:23: warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
    |                       |- warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'excited' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public init(grounded:Bool=true) {
[36/49] Compiling SwiftQuantum GroverCircuit.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:37:23: warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
    |                       |- warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'excited' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public init(grounded:Bool=true) {
[37/49] Compiling SwiftQuantum InverseCircuit.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:37:23: warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
    |                       |- warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'excited' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public init(grounded:Bool=true) {
[38/49] Compiling SwiftQuantum QuMeasurer.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:37:23: warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
    |                       |- warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'excited' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public init(grounded:Bool=true) {
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
[39/49] Compiling SwiftQuantum QuRegister.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:37:23: warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
    |                       |- warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'excited' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public init(grounded:Bool=true) {
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
[40/49] Compiling SwiftQuantum SumCircuits.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:37:23: warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
    |                       |- warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'excited' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public init(grounded:Bool=true) {
[41/49] Compiling SwiftQuantum Integer+BinaryExtensions.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:37:23: warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
    |                       |- warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'excited' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public init(grounded:Bool=true) {
[42/49] Compiling SwiftQuantum QuAnalyzer.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:37:23: warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
    |                       |- warning: static property 'excited' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'excited' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     public init(grounded:Bool=true) {
[43/49] Compiling SwiftQuantum QuRegisterOperators.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
/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)
[44/49] Compiling SwiftQuantum Complex+Extensions.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
/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)
[45/49] Compiling SwiftQuantum QuCircuit.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
[46/49] Compiling SwiftQuantum QuCircuitSerializer.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
[47/49] Compiling SwiftQuantum QuGate.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Foundations/QuBit.swift:36:23: warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | public typealias QuAmplitude = Complex<Double>
 31 |
 32 | public struct QuBit : CustomStringConvertible, Equatable, QuAmplitudeMatrixConvertible {
    |               `- note: consider making struct 'QuBit' conform to the 'Sendable' protocol
 33 |     public fileprivate(set) var groundAmplitude: QuAmplitude
 34 |     public fileprivate(set) var excitedAmplitude: QuAmplitude
 35 |
 36 |     public static let grounded:QuBit = QuBit(groundAmplitude: .one, excitedAmplitude: .zero)
    |                       |- warning: static property 'grounded' is not concurrency-safe because non-'Sendable' type 'QuBit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'grounded' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     public static let excited:QuBit = QuBit(groundAmplitude: .zero, excitedAmplitude: .one)
 38 |
[48/49] Compiling SwiftQuantum QuAmplitudeMatrix.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:324:27: warning: capture of 'left' with non-sendable type 'QuAmplitudeMatrix' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 15 | import Dispatch
 16 |
 17 | public struct QuAmplitudeMatrix {
    |               `- note: consider making struct 'QuAmplitudeMatrix' conform to the 'Sendable' protocol
 18 |     public fileprivate(set) var rows: Int
 19 |     public fileprivate(set) var columns: Int
    :
322 |             let q = DispatchQueue(label: "swift-quantum", attributes: .concurrent)
323 |             DispatchQueue.concurrentPerform(iterations: left.rows, execute: { i in
324 |                 let row = left.sparseRow(i)
    |                           `- warning: capture of 'left' with non-sendable type 'QuAmplitudeMatrix' in a `@Sendable` closure; this is an error in the Swift 6 language mode
325 |                 guard left.contents.defaultValue != 0.0 || row.contents.count > 0 else {
326 |                     return
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:329:30: warning: capture of 'right' with non-sendable type 'QuAmplitudeMatrix' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 15 | import Dispatch
 16 |
 17 | public struct QuAmplitudeMatrix {
    |               `- note: consider making struct 'QuAmplitudeMatrix' conform to the 'Sendable' protocol
 18 |     public fileprivate(set) var rows: Int
 19 |     public fileprivate(set) var columns: Int
    :
327 |                 }
328 |
329 |                 for j in 0..<right.columns {
    |                              `- warning: capture of 'right' with non-sendable type 'QuAmplitudeMatrix' in a `@Sendable` closure; this is an error in the Swift 6 language mode
330 |                     let col = columns[j]
331 |
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:330:31: warning: capture of 'columns' with non-sendable type '[SparseArray]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
328 |
329 |                 for j in 0..<right.columns {
330 |                     let col = columns[j]
    |                               `- warning: capture of 'columns' with non-sendable type '[SparseArray]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
331 |
332 |                     guard right.contents.defaultValue != 0.0 || col.contents.count > 0 else {
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/SparseArray.swift:11:17: note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | internal struct SparseArray : Collection, Equatable {
    |                 `- note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
 12 |     public func index(after i: Int) -> Int {
 13 |         return i+1
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:347:25: warning: capture of 'contents' with non-sendable type 'SparseArray' in a `@Sendable` closure; this is an error in the Swift 6 language mode
345 |
346 |                     q.async(flags: .barrier, execute: {
347 |                         contents[k] = sumContents.reduce(QuAmplitude(0.0, 0.0), { (result, values) in
    |                         `- warning: capture of 'contents' with non-sendable type 'SparseArray' in a `@Sendable` closure; this is an error in the Swift 6 language mode
348 |                             return result + (values.1 * otherContents[values.0])
349 |                         })
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/SparseArray.swift:11:17: note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | internal struct SparseArray : Collection, Equatable {
    |                 `- note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
 12 |     public func index(after i: Int) -> Int {
 13 |         return i+1
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:330:31: warning: reference to captured var 'columns' in concurrently-executing code; this is an error in the Swift 6 language mode
328 |
329 |                 for j in 0..<right.columns {
330 |                     let col = columns[j]
    |                               `- warning: reference to captured var 'columns' in concurrently-executing code; this is an error in the Swift 6 language mode
331 |
332 |                     guard right.contents.defaultValue != 0.0 || col.contents.count > 0 else {
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:347:25: warning: capture of 'contents' with non-sendable type 'SparseArray' in a `@Sendable` closure; this is an error in the Swift 6 language mode
345 |
346 |                     q.async(flags: .barrier, execute: {
347 |                         contents[k] = sumContents.reduce(QuAmplitude(0.0, 0.0), { (result, values) in
    |                         `- warning: capture of 'contents' with non-sendable type 'SparseArray' in a `@Sendable` closure; this is an error in the Swift 6 language mode
348 |                             return result + (values.1 * otherContents[values.0])
349 |                         })
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/SparseArray.swift:11:17: note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | internal struct SparseArray : Collection, Equatable {
    |                 `- note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
 12 |     public func index(after i: Int) -> Int {
 13 |         return i+1
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:347:39: warning: capture of 'sumContents' with non-sendable type '[Int : QuAmplitude]' (aka 'Dictionary<Int, Complex<Double>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
345 |
346 |                     q.async(flags: .barrier, execute: {
347 |                         contents[k] = sumContents.reduce(QuAmplitude(0.0, 0.0), { (result, values) in
    |                                       `- warning: capture of 'sumContents' with non-sendable type '[Int : QuAmplitude]' (aka 'Dictionary<Int, Complex<Double>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
348 |                             return result + (values.1 * otherContents[values.0])
349 |                         })
/host/spi-builder-workspace/.build/checkouts/swift-numerics/Sources/ComplexModule/Complex.swift:48:15: note: generic struct 'Complex' does not conform to the 'Sendable' protocol
 46 | /// property.
 47 | @frozen
 48 | public struct Complex<RealType> where RealType: Real {
    |               `- note: generic struct 'Complex' does not conform to the 'Sendable' protocol
 49 |   //  A note on the `x` and `y` properties
 50 |   //
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:348:57: warning: capture of 'otherContents' with non-sendable type 'SparseArray' in a `@Sendable` closure; this is an error in the Swift 6 language mode
346 |                     q.async(flags: .barrier, execute: {
347 |                         contents[k] = sumContents.reduce(QuAmplitude(0.0, 0.0), { (result, values) in
348 |                             return result + (values.1 * otherContents[values.0])
    |                                                         `- warning: capture of 'otherContents' with non-sendable type 'SparseArray' in a `@Sendable` closure; this is an error in the Swift 6 language mode
349 |                         })
350 |                     })
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/SparseArray.swift:11:17: note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | internal struct SparseArray : Collection, Equatable {
    |                 `- note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
 12 |     public func index(after i: Int) -> Int {
 13 |         return i+1
/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
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
348 |                             return result + (values.1 * otherContents[values.0])
349 |                         })
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:348:57: warning: capture of 'otherContents' with non-sendable type 'SparseArray' in an isolated closure; this is an error in the Swift 6 language mode
346 |                     q.async(flags: .barrier, execute: {
347 |                         contents[k] = sumContents.reduce(QuAmplitude(0.0, 0.0), { (result, values) in
348 |                             return result + (values.1 * otherContents[values.0])
    |                                                         `- warning: capture of 'otherContents' with non-sendable type 'SparseArray' in an isolated closure; this is an error in the Swift 6 language mode
349 |                         })
350 |                     })
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/SparseArray.swift:11:17: note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | internal struct SparseArray : Collection, Equatable {
    |                 `- note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
 12 |     public func index(after i: Int) -> Int {
 13 |         return i+1
[49/49] Compiling SwiftQuantum SparseArray.swift
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:324:27: warning: capture of 'left' with non-sendable type 'QuAmplitudeMatrix' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 15 | import Dispatch
 16 |
 17 | public struct QuAmplitudeMatrix {
    |               `- note: consider making struct 'QuAmplitudeMatrix' conform to the 'Sendable' protocol
 18 |     public fileprivate(set) var rows: Int
 19 |     public fileprivate(set) var columns: Int
    :
322 |             let q = DispatchQueue(label: "swift-quantum", attributes: .concurrent)
323 |             DispatchQueue.concurrentPerform(iterations: left.rows, execute: { i in
324 |                 let row = left.sparseRow(i)
    |                           `- warning: capture of 'left' with non-sendable type 'QuAmplitudeMatrix' in a `@Sendable` closure; this is an error in the Swift 6 language mode
325 |                 guard left.contents.defaultValue != 0.0 || row.contents.count > 0 else {
326 |                     return
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:329:30: warning: capture of 'right' with non-sendable type 'QuAmplitudeMatrix' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 15 | import Dispatch
 16 |
 17 | public struct QuAmplitudeMatrix {
    |               `- note: consider making struct 'QuAmplitudeMatrix' conform to the 'Sendable' protocol
 18 |     public fileprivate(set) var rows: Int
 19 |     public fileprivate(set) var columns: Int
    :
327 |                 }
328 |
329 |                 for j in 0..<right.columns {
    |                              `- warning: capture of 'right' with non-sendable type 'QuAmplitudeMatrix' in a `@Sendable` closure; this is an error in the Swift 6 language mode
330 |                     let col = columns[j]
331 |
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:330:31: warning: capture of 'columns' with non-sendable type '[SparseArray]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
328 |
329 |                 for j in 0..<right.columns {
330 |                     let col = columns[j]
    |                               `- warning: capture of 'columns' with non-sendable type '[SparseArray]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
331 |
332 |                     guard right.contents.defaultValue != 0.0 || col.contents.count > 0 else {
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/SparseArray.swift:11:17: note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | internal struct SparseArray : Collection, Equatable {
    |                 `- note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
 12 |     public func index(after i: Int) -> Int {
 13 |         return i+1
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:347:25: warning: capture of 'contents' with non-sendable type 'SparseArray' in a `@Sendable` closure; this is an error in the Swift 6 language mode
345 |
346 |                     q.async(flags: .barrier, execute: {
347 |                         contents[k] = sumContents.reduce(QuAmplitude(0.0, 0.0), { (result, values) in
    |                         `- warning: capture of 'contents' with non-sendable type 'SparseArray' in a `@Sendable` closure; this is an error in the Swift 6 language mode
348 |                             return result + (values.1 * otherContents[values.0])
349 |                         })
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/SparseArray.swift:11:17: note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | internal struct SparseArray : Collection, Equatable {
    |                 `- note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
 12 |     public func index(after i: Int) -> Int {
 13 |         return i+1
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:330:31: warning: reference to captured var 'columns' in concurrently-executing code; this is an error in the Swift 6 language mode
328 |
329 |                 for j in 0..<right.columns {
330 |                     let col = columns[j]
    |                               `- warning: reference to captured var 'columns' in concurrently-executing code; this is an error in the Swift 6 language mode
331 |
332 |                     guard right.contents.defaultValue != 0.0 || col.contents.count > 0 else {
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:347:25: warning: capture of 'contents' with non-sendable type 'SparseArray' in a `@Sendable` closure; this is an error in the Swift 6 language mode
345 |
346 |                     q.async(flags: .barrier, execute: {
347 |                         contents[k] = sumContents.reduce(QuAmplitude(0.0, 0.0), { (result, values) in
    |                         `- warning: capture of 'contents' with non-sendable type 'SparseArray' in a `@Sendable` closure; this is an error in the Swift 6 language mode
348 |                             return result + (values.1 * otherContents[values.0])
349 |                         })
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/SparseArray.swift:11:17: note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | internal struct SparseArray : Collection, Equatable {
    |                 `- note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
 12 |     public func index(after i: Int) -> Int {
 13 |         return i+1
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:347:39: warning: capture of 'sumContents' with non-sendable type '[Int : QuAmplitude]' (aka 'Dictionary<Int, Complex<Double>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
345 |
346 |                     q.async(flags: .barrier, execute: {
347 |                         contents[k] = sumContents.reduce(QuAmplitude(0.0, 0.0), { (result, values) in
    |                                       `- warning: capture of 'sumContents' with non-sendable type '[Int : QuAmplitude]' (aka 'Dictionary<Int, Complex<Double>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
348 |                             return result + (values.1 * otherContents[values.0])
349 |                         })
/host/spi-builder-workspace/.build/checkouts/swift-numerics/Sources/ComplexModule/Complex.swift:48:15: note: generic struct 'Complex' does not conform to the 'Sendable' protocol
 46 | /// property.
 47 | @frozen
 48 | public struct Complex<RealType> where RealType: Real {
    |               `- note: generic struct 'Complex' does not conform to the 'Sendable' protocol
 49 |   //  A note on the `x` and `y` properties
 50 |   //
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:348:57: warning: capture of 'otherContents' with non-sendable type 'SparseArray' in a `@Sendable` closure; this is an error in the Swift 6 language mode
346 |                     q.async(flags: .barrier, execute: {
347 |                         contents[k] = sumContents.reduce(QuAmplitude(0.0, 0.0), { (result, values) in
348 |                             return result + (values.1 * otherContents[values.0])
    |                                                         `- warning: capture of 'otherContents' with non-sendable type 'SparseArray' in a `@Sendable` closure; this is an error in the Swift 6 language mode
349 |                         })
350 |                     })
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/SparseArray.swift:11:17: note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | internal struct SparseArray : Collection, Equatable {
    |                 `- note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
 12 |     public func index(after i: Int) -> Int {
 13 |         return i+1
/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
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
348 |                             return result + (values.1 * otherContents[values.0])
349 |                         })
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/QuAmplitudeMatrix.swift:348:57: warning: capture of 'otherContents' with non-sendable type 'SparseArray' in an isolated closure; this is an error in the Swift 6 language mode
346 |                     q.async(flags: .barrier, execute: {
347 |                         contents[k] = sumContents.reduce(QuAmplitude(0.0, 0.0), { (result, values) in
348 |                             return result + (values.1 * otherContents[values.0])
    |                                                         `- warning: capture of 'otherContents' with non-sendable type 'SparseArray' in an isolated closure; this is an error in the Swift 6 language mode
349 |                         })
350 |                     })
/host/spi-builder-workspace/Sources/SwiftQuantum/Maths/Matrix/SparseArray.swift:11:17: note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
  9 | import Foundation
 10 |
 11 | internal struct SparseArray : Collection, Equatable {
    |                 `- note: consider making struct 'SparseArray' conform to the 'Sendable' protocol
 12 |     public func index(after i: Int) -> Int {
 13 |         return i+1
BUILD FAILURE 6.0 linux