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 Openhealthcardkit, reference 5.10.1 (423006), with Swift 6.0 for Linux on 16 Sep 2024 23:36:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gematik/ref-OpenHealthCardKit.git
Reference: 5.10.1
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/gematik/ref-OpenHealthCardKit
 * tag               5.10.1     -> FETCH_HEAD
HEAD is now at 4230060 Increase Package.swift iOS version to 14 (#33)
Cloned https://github.com/gematik/ref-OpenHealthCardKit.git
Revision (git rev-parse @):
4230060f01eaf707379949ade9866b325ab21cea
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gematik/ref-OpenHealthCardKit.git at 5.10.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/gematik/ref-OpenHealthCardKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/gematik/ASN1Kit.git
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching http://github.com/Carthage/Commandant
Fetching http://github.com/Quick/Nimble
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/gematik/OpenSSL-Swift
[1/2038] Fetching swift-docc-plugin
[226/3246] Fetching swift-docc-plugin, asn1kit
[227/4051] Fetching swift-docc-plugin, asn1kit, openssl-swift
[2147/6374] Fetching swift-docc-plugin, asn1kit, openssl-swift, commandant
[4582/9450] Fetching swift-docc-plugin, asn1kit, openssl-swift, commandant, swift-docc-symbolkit
Fetched https://github.com/gematik/ASN1Kit.git from cache (0.33s)
[8202/8242] Fetching swift-docc-plugin, openssl-swift, commandant, swift-docc-symbolkit
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.42s)
Fetched https://github.com/gematik/OpenSSL-Swift from cache (0.42s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetched https://github.com/apple/swift-docc-plugin from cache (0.43s)
Computing version for https://github.com/apple/swift-docc-plugin
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.20s)
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.22s)
[1/18984] Fetching nimble
Fetched http://github.com/Carthage/Commandant from cache (2.88s)
Fetched http://github.com/Quick/Nimble from cache (2.92s)
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (3.84s)
Computing version for https://github.com/gematik/OpenSSL-Swift
Computed https://github.com/gematik/OpenSSL-Swift at 4.2.0 (0.50s)
Computing version for https://github.com/gematik/ASN1Kit.git
Computed https://github.com/gematik/ASN1Kit.git at 1.3.1 (0.53s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.73s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (0.58s)
Creating working copy for https://github.com/gematik/OpenSSL-Swift
Working copy of https://github.com/gematik/OpenSSL-Swift resolved at 4.2.0
Creating working copy for http://github.com/Carthage/Commandant
Working copy of http://github.com/Carthage/Commandant resolved at 0.18.0
Creating working copy for https://github.com/gematik/ASN1Kit.git
Working copy of https://github.com/gematik/ASN1Kit.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
[1369/12818417] Downloading https://github.com/gematik/OpenSSL-Swift/releases/download/4.2.0/OpenSSL.xcframework.zip
Downloading binary artifact https://github.com/gematik/OpenSSL-Swift/releases/download/4.2.0/OpenSSL.xcframework.zip
Downloaded https://github.com/gematik/OpenSSL-Swift/releases/download/4.2.0/OpenSSL.xcframework.zip (1.44s)
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/38] Emitting module Helper
/host/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public enum CommandLogger {
21 |     /// Array of commands that have been logged
22 |     public static var commands: [Command] = []
   |                       |- warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'commands' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'commands' 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
23 | }
24 |
[12/38] Compiling Helper CommandLogger.swift
/host/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public enum CommandLogger {
21 |     /// Array of commands that have been logged
22 |     public static var commands: [Command] = []
   |                       |- warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'commands' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'commands' 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
23 | }
24 |
[14/39] Emitting module ASN1Kit
[15/39] Compiling ASN1Kit ASN1Int.swift
[16/39] Compiling ASN1Kit ASN1Object.swift
[17/39] Compiling ASN1Kit ASN1Tag.swift
[18/39] Compiling ASN1Kit DataScanner.swift
[19/42] Compiling ASN1Kit ASN1Data.swift
[20/42] Compiling ASN1Kit ASN1DecodedTag.swift
[21/42] Compiling ASN1Kit ASN1Decoder.swift
[22/42] Compiling ASN1Kit ASN1Error.swift
[23/42] Compiling ASN1Kit Data+ASN1Int.swift
[24/42] Compiling ASN1Kit Data+UInt.swift
[25/42] Compiling ASN1Kit Int+Length.swift
[26/42] Compiling ASN1Kit GeneralizedTimeDateFormatter.swift
[27/42] Compiling ASN1Kit Int+ASN1Encoding.swift
[28/42] Compiling ASN1Kit String+ASN1Encoding.swift
[29/42] Compiling ASN1Kit Array+ASN1Encoding.swift
[30/42] Compiling ASN1Kit Bool+ASN1Encoding.swift
[31/42] Compiling ASN1Kit Data+ASN1Encoding.swift
[32/42] Compiling ASN1Kit Date+ASN1Encoding.swift
[33/42] Compiling ASN1Kit ASN1DecodedTag+Encoding.swift
[34/42] Compiling ASN1Kit ASN1Object+Subscript.swift
[35/42] Compiling ASN1Kit ASN1Primitive+Description.swift
[36/57] Compiling CardReaderProviderApi CommandType+LogicChannel.swift
[37/57] Compiling CardReaderProviderApi CommandType.swift
[38/57] Compiling CardReaderProviderApi ProviderDescriptor.swift
[39/57] Compiling CardReaderProviderApi ProviderDescriptorType.swift
[40/57] Compiling CardReaderProviderApi CardReaderProviderType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Provider/CardReaderProviderType.swift:24:2: error: Objective-C interoperability is disabled
22 |     and/or CardReaderProvider(s) within the HealthCardAccess domain.
23 |  */
24 | @objc public protocol CardReaderProviderType {
   |  `- error: Objective-C interoperability is disabled
25 |     /**
26 |         Tell the provider to load and initialize the CardReaderController
[41/57] Compiling CardReaderProviderApi CardReaderControllerType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Provider/CardReaderProviderType.swift:24:2: error: Objective-C interoperability is disabled
22 |     and/or CardReaderProvider(s) within the HealthCardAccess domain.
23 |  */
24 | @objc public protocol CardReaderProviderType {
   |  `- error: Objective-C interoperability is disabled
25 |     /**
26 |         Tell the provider to load and initialize the CardReaderController
[42/58] Compiling CardReaderProviderApi CardReaderType.swift
[43/58] Compiling ASN1Kit OutputStream+UInt8.swift
[44/58] Compiling ASN1Kit String+Subscript.swift
[45/58] Compiling ASN1Kit UInt+TagNo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/58] Emitting module CardReaderProviderApi
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:20: error: cannot find type 'NSException' in scope
26 |     case illegalState(Error?)
27 |     /// An ObjC NSException was thrown
28 |     case objcError(NSException?)
   |                    `- error: cannot find type 'NSException' in scope
29 | }
30 |
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:30:23: warning: static property 't0' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// SmartCard comms protocol representation
20 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
21 |     /// Bitmask encoded protocols
22 |     public let rawValue: UInt
   :
28 |     // swiftlint:disable identifier_name
29 |     /// T=0 protocol
30 |     public static let t0 = CardProtocol(rawValue: 1 << 0)
   |                       |- warning: static property 't0' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 't0' 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
31 |     /// T=1 protocol
32 |     public static let t1 = CardProtocol(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:32:23: warning: static property 't1' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// SmartCard comms protocol representation
20 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
21 |     /// Bitmask encoded protocols
22 |     public let rawValue: UInt
   :
30 |     public static let t0 = CardProtocol(rawValue: 1 << 0)
31 |     /// T=1 protocol
32 |     public static let t1 = CardProtocol(rawValue: 1 << 1)
   |                       |- warning: static property 't1' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 't1' 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
33 |     /// T=15 protocol
34 |     public static let t15 = CardProtocol(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:34:23: warning: static property 't15' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// SmartCard comms protocol representation
20 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
21 |     /// Bitmask encoded protocols
22 |     public let rawValue: UInt
   :
32 |     public static let t1 = CardProtocol(rawValue: 1 << 1)
33 |     /// T=15 protocol
34 |     public static let t15 = CardProtocol(rawValue: 1 << 2)
   |                       |- warning: static property 't15' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 't15' 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
35 |     /// T=* protocol
36 |     public static let any = CardProtocol(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:36:23: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// SmartCard comms protocol representation
20 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
21 |     /// Bitmask encoded protocols
22 |     public let rawValue: UInt
   :
34 |     public static let t15 = CardProtocol(rawValue: 1 << 2)
35 |     /// T=* protocol
36 |     public static let any = CardProtocol(rawValue: 1 << 3)
   |                       |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'any' 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 |     // swiftlint:enable identifier_name
38 | }
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Command/APDU.swift:67:27: warning: static property 'OK' is not concurrency-safe because non-'Sendable' type 'APDU.Response' may have shared mutable state; this is an error in the Swift 6 language mode
 43 |     /// This class does not attempt to semantically verify an APDU response.
 44 |     /// - SeeAlso: `ResponseType`
 45 |     public struct Response {
    |                   `- note: consider making struct 'Response' conform to the 'Sendable' protocol
 46 |         /// APDU serialized data
 47 |         let apdu: Data
    :
 65 |
 66 |         /// Success response [0x9000]
 67 |         public static let OK = try! Response(apdu: Data([0x90, 0x0]))
    |                           |- warning: static property 'OK' is not concurrency-safe because non-'Sendable' type 'APDU.Response' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'OK' 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
 68 |         // swiftlint:disable:previous identifier_name force_try
 69 |     }
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Model/ProviderDescriptorType.swift:20:2: error: Objective-C interoperability is disabled
18 |
19 | /// Card Reader Provider information
20 | @objc public protocol ProviderDescriptorType {
   |  `- error: Objective-C interoperability is disabled
21 |     /// Provider (displayable) commercial name
22 |     var name: String { get }
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Provider/CardReaderProviderType.swift:24:2: error: Objective-C interoperability is disabled
22 |     and/or CardReaderProvider(s) within the HealthCardAccess domain.
23 |  */
24 | @objc public protocol CardReaderProviderType {
   |  `- error: Objective-C interoperability is disabled
25 |     /**
26 |         Tell the provider to load and initialize the CardReaderController
[47/58] Compiling CardReaderProviderApi CardChannelType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:20: error: cannot find type 'NSException' in scope
26 |     case illegalState(Error?)
27 |     /// An ObjC NSException was thrown
28 |     case objcError(NSException?)
   |                    `- error: cannot find type 'NSException' in scope
29 | }
30 |
[48/58] Compiling CardReaderProviderApi CardError.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:20: error: cannot find type 'NSException' in scope
26 |     case illegalState(Error?)
27 |     /// An ObjC NSException was thrown
28 |     case objcError(NSException?)
   |                    `- error: cannot find type 'NSException' in scope
29 | }
30 |
[50/59] Compiling CardReaderProviderApi ResponseType+APDU.swift
[51/59] Compiling CardReaderProviderApi ResponseType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:20: error: cannot find type 'NSException' in scope
26 |     case illegalState(Error?)
27 |     /// An ObjC NSException was thrown
28 |     case objcError(NSException?)
   |                    `- error: cannot find type 'NSException' in scope
29 | }
30 |
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:20: error: cannot find type 'NSException' in scope
26 |     case illegalState(Error?)
27 |     /// An ObjC NSException was thrown
28 |     case objcError(NSException?)
   |                    `- error: cannot find type 'NSException' in scope
29 | }
30 |
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Model/ProviderDescriptorType.swift:20:2: error: Objective-C interoperability is disabled
18 |
19 | /// Card Reader Provider information
20 | @objc public protocol ProviderDescriptorType {
   |  `- error: Objective-C interoperability is disabled
21 |     /// Provider (displayable) commercial name
22 |     var name: String { get }
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Model/ProviderDescriptorType.swift:20:2: error: Objective-C interoperability is disabled
18 |
19 | /// Card Reader Provider information
20 | @objc public protocol ProviderDescriptorType {
   |  `- error: Objective-C interoperability is disabled
21 |     /// Provider (displayable) commercial name
22 |     var name: String { get }
[56/59] Compiling CardReaderProviderApi APDU.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Command/APDU.swift:67:27: warning: static property 'OK' is not concurrency-safe because non-'Sendable' type 'APDU.Response' may have shared mutable state; this is an error in the Swift 6 language mode
 43 |     /// This class does not attempt to semantically verify an APDU response.
 44 |     /// - SeeAlso: `ResponseType`
 45 |     public struct Response {
    |                   `- note: consider making struct 'Response' conform to the 'Sendable' protocol
 46 |         /// APDU serialized data
 47 |         let apdu: Data
    :
 65 |
 66 |         /// Success response [0x9000]
 67 |         public static let OK = try! Response(apdu: Data([0x90, 0x0]))
    |                           |- warning: static property 'OK' is not concurrency-safe because non-'Sendable' type 'APDU.Response' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'OK' 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
 68 |         // swiftlint:disable:previous identifier_name force_try
 69 |     }
[57/59] Compiling CardReaderProviderApi CommandType+APDU.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Command/APDU.swift:67:27: warning: static property 'OK' is not concurrency-safe because non-'Sendable' type 'APDU.Response' may have shared mutable state; this is an error in the Swift 6 language mode
 43 |     /// This class does not attempt to semantically verify an APDU response.
 44 |     /// - SeeAlso: `ResponseType`
 45 |     public struct Response {
    |                   `- note: consider making struct 'Response' conform to the 'Sendable' protocol
 46 |         /// APDU serialized data
 47 |         let apdu: Data
    :
 65 |
 66 |         /// Success response [0x9000]
 67 |         public static let OK = try! Response(apdu: Data([0x90, 0x0]))
    |                           |- warning: static property 'OK' is not concurrency-safe because non-'Sendable' type 'APDU.Response' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'OK' 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
 68 |         // swiftlint:disable:previous identifier_name force_try
 69 |     }
[58/59] Compiling CardReaderProviderApi CardProtocol.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:30:23: warning: static property 't0' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// SmartCard comms protocol representation
20 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
21 |     /// Bitmask encoded protocols
22 |     public let rawValue: UInt
   :
28 |     // swiftlint:disable identifier_name
29 |     /// T=0 protocol
30 |     public static let t0 = CardProtocol(rawValue: 1 << 0)
   |                       |- warning: static property 't0' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 't0' 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
31 |     /// T=1 protocol
32 |     public static let t1 = CardProtocol(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:32:23: warning: static property 't1' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// SmartCard comms protocol representation
20 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
21 |     /// Bitmask encoded protocols
22 |     public let rawValue: UInt
   :
30 |     public static let t0 = CardProtocol(rawValue: 1 << 0)
31 |     /// T=1 protocol
32 |     public static let t1 = CardProtocol(rawValue: 1 << 1)
   |                       |- warning: static property 't1' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 't1' 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
33 |     /// T=15 protocol
34 |     public static let t15 = CardProtocol(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:34:23: warning: static property 't15' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// SmartCard comms protocol representation
20 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
21 |     /// Bitmask encoded protocols
22 |     public let rawValue: UInt
   :
32 |     public static let t1 = CardProtocol(rawValue: 1 << 1)
33 |     /// T=15 protocol
34 |     public static let t15 = CardProtocol(rawValue: 1 << 2)
   |                       |- warning: static property 't15' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 't15' 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
35 |     /// T=* protocol
36 |     public static let any = CardProtocol(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:36:23: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// SmartCard comms protocol representation
20 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
21 |     /// Bitmask encoded protocols
22 |     public let rawValue: UInt
   :
34 |     public static let t15 = CardProtocol(rawValue: 1 << 2)
35 |     /// T=* protocol
36 |     public static let any = CardProtocol(rawValue: 1 << 3)
   |                       |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'any' 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 |     // swiftlint:enable identifier_name
38 | }
[59/59] Compiling CardReaderProviderApi CardType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:30:23: warning: static property 't0' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// SmartCard comms protocol representation
20 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
21 |     /// Bitmask encoded protocols
22 |     public let rawValue: UInt
   :
28 |     // swiftlint:disable identifier_name
29 |     /// T=0 protocol
30 |     public static let t0 = CardProtocol(rawValue: 1 << 0)
   |                       |- warning: static property 't0' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 't0' 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
31 |     /// T=1 protocol
32 |     public static let t1 = CardProtocol(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:32:23: warning: static property 't1' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// SmartCard comms protocol representation
20 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
21 |     /// Bitmask encoded protocols
22 |     public let rawValue: UInt
   :
30 |     public static let t0 = CardProtocol(rawValue: 1 << 0)
31 |     /// T=1 protocol
32 |     public static let t1 = CardProtocol(rawValue: 1 << 1)
   |                       |- warning: static property 't1' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 't1' 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
33 |     /// T=15 protocol
34 |     public static let t15 = CardProtocol(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:34:23: warning: static property 't15' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// SmartCard comms protocol representation
20 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
21 |     /// Bitmask encoded protocols
22 |     public let rawValue: UInt
   :
32 |     public static let t1 = CardProtocol(rawValue: 1 << 1)
33 |     /// T=15 protocol
34 |     public static let t15 = CardProtocol(rawValue: 1 << 2)
   |                       |- warning: static property 't15' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 't15' 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
35 |     /// T=* protocol
36 |     public static let any = CardProtocol(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:36:23: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// SmartCard comms protocol representation
20 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
21 |     /// Bitmask encoded protocols
22 |     public let rawValue: UInt
   :
34 |     public static let t15 = CardProtocol(rawValue: 1 << 2)
35 |     /// T=* protocol
36 |     public static let any = CardProtocol(rawValue: 1 << 3)
   |                       |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'CardProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'any' 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 |     // swiftlint:enable identifier_name
38 | }
BUILD FAILURE 6.0 linux