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 1.0.8 (0e0d68), with Swift 6.0 for macOS (SPM) on 16 Sep 2024 12:24:53 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crodriguezdominguez/swift-quantum.git
Reference: 1.0.8
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/crodriguezdominguez/swift-quantum.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/6] Write sources
[4/6] Compiling _NumericsShims _NumericsShims.c
[5/6] Write swift-version-117DEE11B69C53C9.txt
[7/16] Compiling RealModule AugmentedArithmetic.swift
[8/17] Emitting module RealModule
[9/17] Compiling RealModule RealFunctions.swift
[10/17] Compiling RealModule Real.swift
[11/17] Compiling RealModule Float80+Real.swift
[12/17] Compiling RealModule ApproximateEquality.swift
[13/17] Compiling RealModule ElementaryFunctions.swift
[14/17] Compiling RealModule Float16+Real.swift
[15/17] Compiling RealModule Double+Real.swift
[16/17] Compiling RealModule Float+Real.swift
[17/17] Compiling RealModule AlgebraicField.swift
[18/22] Compiling ComplexModule Arithmetic.swift
[19/22] Compiling ComplexModule Differentiable.swift
[20/22] Compiling ComplexModule Complex.swift
[21/22] Compiling ComplexModule ElementaryFunctions.swift
[22/22] Emitting module ComplexModule
[23/24] Compiling Numerics Numerics.swift
[24/24] Emitting module Numerics
[25/44] Compiling SwiftQuantum QuBitTransformer.swift
[26/44] Compiling SwiftQuantum QuCircuit.swift
[27/44] Emitting module SwiftQuantum
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftQuantum/Maths/Complex/Complex+Extensions.swift:91:23: warning: static property 'EPSILON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 89 | // Double is default since floating-point literals are Double by default
 90 | extension Double {
 91 |     public static var EPSILON = 0x1p-52
    |                       |- warning: static property 'EPSILON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'EPSILON' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'EPSILON' 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
 92 | }
 93 |
/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)
[28/44] Compiling SwiftQuantum QuBit.swift
/Users/admin/builder/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 |
/Users/admin/builder/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) {
[29/44] Compiling SwiftQuantum QuBitOperators.swift
/Users/admin/builder/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 |
/Users/admin/builder/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/46] Compiling SwiftQuantum QuMeasurer.swift
/Users/admin/builder/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) {
/Users/admin/builder/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 |
[31/46] Compiling SwiftQuantum QuRegister.swift
/Users/admin/builder/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) {
/Users/admin/builder/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 |
[32/46] Compiling SwiftQuantum QuCircuitSerializer.swift
/Users/admin/builder/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/46] Compiling SwiftQuantum QuGate.swift
/Users/admin/builder/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/46] Compiling SwiftQuantum QuTeleportationCircuit.swift
/Users/admin/builder/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/46] Compiling SwiftQuantum SumCircuits.swift
/Users/admin/builder/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 |
[36/46] Compiling SwiftQuantum FlipCircuit.swift
/Users/admin/builder/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 |
/Users/admin/builder/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/46] Compiling SwiftQuantum GroverCircuit.swift
/Users/admin/builder/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 |
/Users/admin/builder/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/46] Compiling SwiftQuantum InverseCircuit.swift
/Users/admin/builder/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 |
/Users/admin/builder/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) {
[39/46] Compiling SwiftQuantum PhaseEstimationCircuit.swift
/Users/admin/builder/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)
[40/46] Compiling SwiftQuantum QuGateCircuitImplementations.swift
/Users/admin/builder/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)
[41/46] Compiling SwiftQuantum QuRegisterOperators.swift
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftQuantum/Maths/Complex/Complex+Extensions.swift:91:23: warning: static property 'EPSILON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 89 | // Double is default since floating-point literals are Double by default
 90 | extension Double {
 91 |     public static var EPSILON = 0x1p-52
    |                       |- warning: static property 'EPSILON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'EPSILON' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'EPSILON' 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
 92 | }
 93 |
/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/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftQuantum/Maths/Complex/Complex+Extensions.swift:91:23: warning: static property 'EPSILON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 89 | // Double is default since floating-point literals are Double by default
 90 | extension Double {
 91 |     public static var EPSILON = 0x1p-52
    |                       |- warning: static property 'EPSILON' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'EPSILON' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'EPSILON' 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
 92 | }
 93 |
/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 Integer+BinaryExtensions.swift
/Users/admin/builder/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 |
/Users/admin/builder/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) {
[44/46] Compiling SwiftQuantum QuAnalyzer.swift
/Users/admin/builder/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 |
/Users/admin/builder/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) {
[45/46] Compiling SwiftQuantum QuAmplitudeMatrix.swift
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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 |                         })
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 |                         })
/Users/admin/builder/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
/Users/admin/builder/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 |                         })
/Users/admin/builder/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 |   //
/Users/admin/builder/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 |                     })
/Users/admin/builder/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
/Users/admin/builder/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 |                         })
/Users/admin/builder/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 |                     })
/Users/admin/builder/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
[46/46] Compiling SwiftQuantum SparseArray.swift
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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 |                         })
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 |                         })
/Users/admin/builder/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
/Users/admin/builder/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 |                         })
/Users/admin/builder/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 |   //
/Users/admin/builder/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 |                     })
/Users/admin/builder/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
/Users/admin/builder/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 |                         })
/Users/admin/builder/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 |                     })
/Users/admin/builder/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
Fetching https://github.com/apple/swift-numerics
[1/5576] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.12s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (3.25s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
BUILD FAILURE 6.0 macosSpm