The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Openhealthcardkit, reference main (98ef7e), with Swift 6.1 for Linux on 30 Sep 2026 01:34:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gematik/ref-OpenHealthCardKit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/gematik/ref-OpenHealthCardKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 98ef7e4 AGENTS.md and backlog-md for task tracking (#54)
Cloned https://github.com/gematik/ref-OpenHealthCardKit.git
Revision (git rev-parse @):
98ef7e4e192002ee6335c0b71ede535606d86660
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gematik/ref-OpenHealthCardKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/gematik/ref-OpenHealthCardKit.git
https://github.com/gematik/ref-OpenHealthCardKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:bebe373f64586285d153a73cebf57004d534988a7110464fd581e50dd24c756b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Fetching https://github.com/gematik/ASN1Kit.git
Fetching https://github.com/gematik/OpenSSL-Swift
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/apple/swift-docc-plugin
[1/1049] Fetching openssl-swift
[2/2330] Fetching openssl-swift, asn1kit
[508/4675] Fetching openssl-swift, asn1kit, swift-docc-plugin
[1331/3394] Fetching openssl-swift, swift-docc-plugin
Fetched https://github.com/gematik/ASN1Kit.git from cache (0.51s)
Fetched https://github.com/gematik/OpenSSL-Swift from cache (0.51s)
[329/2345] Fetching swift-docc-plugin
[2346/22331] Fetching swift-docc-plugin, nimble
Fetched https://github.com/apple/swift-docc-plugin from cache (1.11s)
Fetched https://github.com/Quick/Nimble from cache (1.11s)
Computing version for https://github.com/Quick/Nimble
warning: 'nimble': /Package.swift:4:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 2 | import PackageDescription
 3 |
 4 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 5 |     name: "Nimble",
 6 |     platforms: [
Computed https://github.com/Quick/Nimble at 14.0.0 (1.36s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.44s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.36s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.44s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.68s)
Computing version for https://github.com/gematik/ASN1Kit.git
Computed https://github.com/gematik/ASN1Kit.git at 1.3.1 (0.24s)
Fetching http://github.com/Carthage/Commandant
[1/2329] Fetching commandant
Fetched http://github.com/Carthage/Commandant from cache (0.50s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (0.74s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.24s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3832] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.59s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.86s)
Computing version for https://github.com/gematik/OpenSSL-Swift
Computed https://github.com/gematik/OpenSSL-Swift at 4.6.2 (0.23s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/gematik/OpenSSL-Swift
Working copy of https://github.com/gematik/OpenSSL-Swift resolved at 4.6.2
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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.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/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 14.0.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
warning: 'nimble': /host/spi-builder-workspace/.build/checkouts/Nimble/Package.swift:4:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 2 | import PackageDescription
 3 |
 4 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 5 |     name: "Nimble",
 6 |     platforms: [
Downloading binary artifact https://github.com/gematik/OpenSSL-Swift/releases/download/4.6.2/OpenSSL.xcframework.zip
[831/13035310] Downloading https://github.com/gematik/OpenSSL-Swift/releases/download/4.6.2/OpenSSL.xcframework.zip
Downloaded https://github.com/gematik/OpenSSL-Swift/releases/download/4.6.2/OpenSSL.xcframework.zip (1.12s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/38] Emitting module ASN1Kit
[12/41] Compiling ASN1Kit OutputStream+UInt8.swift
[13/41] Compiling ASN1Kit String+Subscript.swift
[14/41] Compiling ASN1Kit UInt+TagNo.swift
[15/41] Compiling ASN1Kit Array+ASN1Encoding.swift
[16/41] Compiling ASN1Kit Bool+ASN1Encoding.swift
[17/41] Compiling ASN1Kit Data+ASN1Encoding.swift
[18/41] Compiling ASN1Kit Date+ASN1Encoding.swift
[19/41] Compiling ASN1Kit ASN1Int.swift
[20/41] Compiling ASN1Kit ASN1Object.swift
[21/41] Compiling ASN1Kit ASN1Tag.swift
[22/41] Compiling ASN1Kit DataScanner.swift
[23/41] Compiling ASN1Kit Data+Hex.swift
[24/41] Compiling ASN1Kit ObjectIdentifier.swift
[25/41] Compiling ASN1Kit ASN1CodableType.swift
[26/41] Compiling ASN1Kit ASN1Object+Encoding.swift
[27/41] Compiling ASN1Kit ASN1Data.swift
[28/41] Compiling ASN1Kit ASN1DecodedTag.swift
[29/41] Compiling ASN1Kit ASN1Decoder.swift
[30/41] Compiling ASN1Kit ASN1Error.swift
[31/41] Compiling ASN1Kit GeneralizedTimeDateFormatter.swift
[32/41] Compiling ASN1Kit Int+ASN1Encoding.swift
[33/41] Compiling ASN1Kit String+ASN1Encoding.swift
[34/41] Compiling Helper CommandLogger.swift
/host/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26: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
24 | public enum CommandLogger {
25 |     /// Array of commands that have been logged
26 |     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: add '@MainActor' to make static property 'commands' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[35/41] Emitting module Helper
/host/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26: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
24 | public enum CommandLogger {
25 |     /// Array of commands that have been logged
26 |     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: add '@MainActor' to make static property 'commands' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[37/57] Compiling CardReaderProviderApi CardReaderProviderType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Provider/CardReaderProviderType.swift:28:2: error: Objective-C interoperability is disabled
26 |     and/or CardReaderProvider(s) within the HealthCardAccess domain.
27 |  */
28 | @objc public protocol CardReaderProviderType {
   |  `- error: Objective-C interoperability is disabled
29 |     /**
30 |         Tell the provider to load and initialize the CardReaderController
[38/57] Compiling CardReaderProviderApi CardReaderControllerType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Provider/CardReaderProviderType.swift:28:2: error: Objective-C interoperability is disabled
26 |     and/or CardReaderProvider(s) within the HealthCardAccess domain.
27 |  */
28 | @objc public protocol CardReaderProviderType {
   |  `- error: Objective-C interoperability is disabled
29 |     /**
30 |         Tell the provider to load and initialize the CardReaderController
[39/57] Compiling CardReaderProviderApi ProviderDescriptor.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Model/ProviderDescriptorType.swift:24:2: error: Objective-C interoperability is disabled
22 |
23 | /// Card Reader Provider information
24 | @objc public protocol ProviderDescriptorType {
   |  `- error: Objective-C interoperability is disabled
25 |     /// Provider (displayable) commercial name
26 |     var name: String { get }
[40/57] Compiling CardReaderProviderApi ProviderDescriptorType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Model/ProviderDescriptorType.swift:24:2: error: Objective-C interoperability is disabled
22 |
23 | /// Card Reader Provider information
24 | @objc public protocol ProviderDescriptorType {
   |  `- error: Objective-C interoperability is disabled
25 |     /// Provider (displayable) commercial name
26 |     var name: String { get }
[41/58] Compiling CardReaderProviderApi CommandType.swift
[44/58] Compiling ASN1Kit Data+ASN1Int.swift
[45/58] Compiling ASN1Kit Data+UInt.swift
[46/58] Compiling ASN1Kit Int+Length.swift
[47/59] Compiling CardReaderProviderApi CardReaderType.swift
[49/59] Compiling CardReaderProviderApi ResponseType+APDU.swift
[50/59] Compiling CardReaderProviderApi ResponseType.swift
[51/59] Compiling CardReaderProviderApi CommandType+LogicChannel.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:32:20: error: cannot find type 'NSException' in scope
30 |     case illegalState(Error?)
31 |     /// An ObjC NSException was thrown
32 |     case objcError(NSException?)
   |                    `- error: cannot find type 'NSException' in scope
33 | }
34 |
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:32:20: error: cannot find type 'NSException' in scope
30 |     case illegalState(Error?)
31 |     /// An ObjC NSException was thrown
32 |     case objcError(NSException?)
   |                    `- error: cannot find type 'NSException' in scope
33 | }
34 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/59] Compiling CardReaderProviderApi CardProtocol.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:34: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
22 |
23 | /// SmartCard comms protocol representation
24 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
25 |     /// Bitmask encoded protocols
26 |     public let rawValue: UInt
   :
32 |     // swiftlint:disable identifier_name
33 |     /// T=0 protocol
34 |     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: add '@MainActor' to make static property 't0' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |     /// T=1 protocol
36 |     public static let t1 = CardProtocol(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:36: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
22 |
23 | /// SmartCard comms protocol representation
24 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
25 |     /// Bitmask encoded protocols
26 |     public let rawValue: UInt
   :
34 |     public static let t0 = CardProtocol(rawValue: 1 << 0)
35 |     /// T=1 protocol
36 |     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: add '@MainActor' to make static property 't1' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     /// T=15 protocol
38 |     public static let t15 = CardProtocol(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:38: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
22 |
23 | /// SmartCard comms protocol representation
24 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
25 |     /// Bitmask encoded protocols
26 |     public let rawValue: UInt
   :
36 |     public static let t1 = CardProtocol(rawValue: 1 << 1)
37 |     /// T=15 protocol
38 |     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: add '@MainActor' to make static property 't15' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |     /// T=* protocol
40 |     public static let any = CardProtocol(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:40: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
22 |
23 | /// SmartCard comms protocol representation
24 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
25 |     /// Bitmask encoded protocols
26 |     public let rawValue: UInt
   :
38 |     public static let t15 = CardProtocol(rawValue: 1 << 2)
39 |     /// T=* protocol
40 |     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: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |     // swiftlint:enable identifier_name
42 | }
[54/59] Compiling CardReaderProviderApi CardType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:34: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
22 |
23 | /// SmartCard comms protocol representation
24 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
25 |     /// Bitmask encoded protocols
26 |     public let rawValue: UInt
   :
32 |     // swiftlint:disable identifier_name
33 |     /// T=0 protocol
34 |     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: add '@MainActor' to make static property 't0' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |     /// T=1 protocol
36 |     public static let t1 = CardProtocol(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:36: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
22 |
23 | /// SmartCard comms protocol representation
24 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
25 |     /// Bitmask encoded protocols
26 |     public let rawValue: UInt
   :
34 |     public static let t0 = CardProtocol(rawValue: 1 << 0)
35 |     /// T=1 protocol
36 |     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: add '@MainActor' to make static property 't1' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     /// T=15 protocol
38 |     public static let t15 = CardProtocol(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:38: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
22 |
23 | /// SmartCard comms protocol representation
24 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
25 |     /// Bitmask encoded protocols
26 |     public let rawValue: UInt
   :
36 |     public static let t1 = CardProtocol(rawValue: 1 << 1)
37 |     /// T=15 protocol
38 |     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: add '@MainActor' to make static property 't15' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |     /// T=* protocol
40 |     public static let any = CardProtocol(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:40: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
22 |
23 | /// SmartCard comms protocol representation
24 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
25 |     /// Bitmask encoded protocols
26 |     public let rawValue: UInt
   :
38 |     public static let t15 = CardProtocol(rawValue: 1 << 2)
39 |     /// T=* protocol
40 |     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: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |     // swiftlint:enable identifier_name
42 | }
[55/59] Compiling CardReaderProviderApi APDU.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Command/APDU.swift:71: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
 47 |     /// This class does not attempt to semantically verify an APDU response.
 48 |     /// - SeeAlso: `ResponseType`
 49 |     public struct Response {
    |                   `- note: consider making struct 'Response' conform to the 'Sendable' protocol
 50 |         /// APDU serialized data
 51 |         let apdu: Data
    :
 69 |
 70 |         /// Success response [0x9000]
 71 |         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: add '@MainActor' to make static property 'OK' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |         // swiftlint:disable:previous identifier_name force_try
 73 |     }
[56/59] Compiling CardReaderProviderApi CommandType+APDU.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Command/APDU.swift:71: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
 47 |     /// This class does not attempt to semantically verify an APDU response.
 48 |     /// - SeeAlso: `ResponseType`
 49 |     public struct Response {
    |                   `- note: consider making struct 'Response' conform to the 'Sendable' protocol
 50 |         /// APDU serialized data
 51 |         let apdu: Data
    :
 69 |
 70 |         /// Success response [0x9000]
 71 |         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: add '@MainActor' to make static property 'OK' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |         // swiftlint:disable:previous identifier_name force_try
 73 |     }
[57/59] Emitting module CardReaderProviderApi
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:32:20: error: cannot find type 'NSException' in scope
30 |     case illegalState(Error?)
31 |     /// An ObjC NSException was thrown
32 |     case objcError(NSException?)
   |                    `- error: cannot find type 'NSException' in scope
33 | }
34 |
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:34: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
22 |
23 | /// SmartCard comms protocol representation
24 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
25 |     /// Bitmask encoded protocols
26 |     public let rawValue: UInt
   :
32 |     // swiftlint:disable identifier_name
33 |     /// T=0 protocol
34 |     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: add '@MainActor' to make static property 't0' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |     /// T=1 protocol
36 |     public static let t1 = CardProtocol(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:36: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
22 |
23 | /// SmartCard comms protocol representation
24 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
25 |     /// Bitmask encoded protocols
26 |     public let rawValue: UInt
   :
34 |     public static let t0 = CardProtocol(rawValue: 1 << 0)
35 |     /// T=1 protocol
36 |     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: add '@MainActor' to make static property 't1' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     /// T=15 protocol
38 |     public static let t15 = CardProtocol(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:38: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
22 |
23 | /// SmartCard comms protocol representation
24 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
25 |     /// Bitmask encoded protocols
26 |     public let rawValue: UInt
   :
36 |     public static let t1 = CardProtocol(rawValue: 1 << 1)
37 |     /// T=15 protocol
38 |     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: add '@MainActor' to make static property 't15' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |     /// T=* protocol
40 |     public static let any = CardProtocol(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardProtocol.swift:40: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
22 |
23 | /// SmartCard comms protocol representation
24 | public struct CardProtocol: OptionSet {
   |               `- note: consider making struct 'CardProtocol' conform to the 'Sendable' protocol
25 |     /// Bitmask encoded protocols
26 |     public let rawValue: UInt
   :
38 |     public static let t15 = CardProtocol(rawValue: 1 << 2)
39 |     /// T=* protocol
40 |     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: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |     // swiftlint:enable identifier_name
42 | }
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Command/APDU.swift:71: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
 47 |     /// This class does not attempt to semantically verify an APDU response.
 48 |     /// - SeeAlso: `ResponseType`
 49 |     public struct Response {
    |                   `- note: consider making struct 'Response' conform to the 'Sendable' protocol
 50 |         /// APDU serialized data
 51 |         let apdu: Data
    :
 69 |
 70 |         /// Success response [0x9000]
 71 |         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: add '@MainActor' to make static property 'OK' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |         // swiftlint:disable:previous identifier_name force_try
 73 |     }
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Model/ProviderDescriptorType.swift:24:2: error: Objective-C interoperability is disabled
22 |
23 | /// Card Reader Provider information
24 | @objc public protocol ProviderDescriptorType {
   |  `- error: Objective-C interoperability is disabled
25 |     /// Provider (displayable) commercial name
26 |     var name: String { get }
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Provider/CardReaderProviderType.swift:28:2: error: Objective-C interoperability is disabled
26 |     and/or CardReaderProvider(s) within the HealthCardAccess domain.
27 |  */
28 | @objc public protocol CardReaderProviderType {
   |  `- error: Objective-C interoperability is disabled
29 |     /**
30 |         Tell the provider to load and initialize the CardReaderController
[58/59] Compiling CardReaderProviderApi CardChannelType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:32:20: error: cannot find type 'NSException' in scope
30 |     case illegalState(Error?)
31 |     /// An ObjC NSException was thrown
32 |     case objcError(NSException?)
   |                    `- error: cannot find type 'NSException' in scope
33 | }
34 |
[59/59] Compiling CardReaderProviderApi CardError.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:32:20: error: cannot find type 'NSException' in scope
30 |     case illegalState(Error?)
31 |     /// An ObjC NSException was thrown
32 |     case objcError(NSException?)
   |                    `- error: cannot find type 'NSException' in scope
33 | }
34 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:bebe373f64586285d153a73cebf57004d534988a7110464fd581e50dd24c756b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
warning: 'nimble': /host/spi-builder-workspace/.build/checkouts/Nimble/Package.swift:4:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 2 | import PackageDescription
 3 |
 4 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 5 |     name: "Nimble",
 6 |     platforms: [
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/31] Emitting module ASN1Kit
[5/34] Compiling Helper CommandLogger.swift
[6/34] Emitting module Helper
[8/35] Compiling ASN1Kit ASN1DecodedTag+Encoding.swift
[9/35] Compiling ASN1Kit ASN1Object+Subscript.swift
[10/35] Compiling ASN1Kit ASN1Primitive+Description.swift
[11/35] Compiling ASN1Kit ASN1Int.swift
[12/35] Compiling ASN1Kit ASN1Object.swift
[13/35] Compiling ASN1Kit ASN1Tag.swift
[14/35] Compiling ASN1Kit DataScanner.swift
[15/35] Compiling ASN1Kit ASN1Data.swift
[16/35] Compiling ASN1Kit ASN1DecodedTag.swift
[17/35] Compiling ASN1Kit ASN1Decoder.swift
[18/35] Compiling ASN1Kit ASN1Error.swift
[19/35] Compiling ASN1Kit OutputStream+UInt8.swift
[20/35] Compiling ASN1Kit String+Subscript.swift
[21/35] Compiling ASN1Kit UInt+TagNo.swift
[22/42] Compiling ASN1Kit Array+ASN1Encoding.swift
[23/42] Compiling ASN1Kit Bool+ASN1Encoding.swift
[24/42] Compiling ASN1Kit Data+ASN1Encoding.swift
[25/42] Compiling ASN1Kit Date+ASN1Encoding.swift
[26/50] Compiling CardReaderProviderApi CardReaderProviderType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Provider/CardReaderProviderType.swift:28:2: error: Objective-C interoperability is disabled
26 |     and/or CardReaderProvider(s) within the HealthCardAccess domain.
27 |  */
28 | @objc public protocol CardReaderProviderType {
   |  `- error: Objective-C interoperability is disabled
29 |     /**
30 |         Tell the provider to load and initialize the CardReaderController
[27/50] Compiling CardReaderProviderApi CardReaderControllerType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Provider/CardReaderProviderType.swift:28:2: error: Objective-C interoperability is disabled
26 |     and/or CardReaderProvider(s) within the HealthCardAccess domain.
27 |  */
28 | @objc public protocol CardReaderProviderType {
   |  `- error: Objective-C interoperability is disabled
29 |     /**
30 |         Tell the provider to load and initialize the CardReaderController
[28/51] Compiling CardReaderProviderApi ProviderDescriptor.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Model/ProviderDescriptorType.swift:24:2: error: Objective-C interoperability is disabled
22 |
23 | /// Card Reader Provider information
24 | @objc public protocol ProviderDescriptorType {
   |  `- error: Objective-C interoperability is disabled
25 |     /// Provider (displayable) commercial name
26 |     var name: String { get }
[29/51] Compiling CardReaderProviderApi ProviderDescriptorType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Model/ProviderDescriptorType.swift:24:2: error: Objective-C interoperability is disabled
22 |
23 | /// Card Reader Provider information
24 | @objc public protocol ProviderDescriptorType {
   |  `- error: Objective-C interoperability is disabled
25 |     /// Provider (displayable) commercial name
26 |     var name: String { get }
[30/51] Compiling CardReaderProviderApi CardReaderType.swift
[31/51] Compiling CardReaderProviderApi CardChannelType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:32:20: error: cannot find type 'NSException' in scope
30 |     case illegalState(Error?)
31 |     /// An ObjC NSException was thrown
32 |     case objcError(NSException?)
   |                    `- error: cannot find type 'NSException' in scope
33 | }
34 |
[32/51] Compiling CardReaderProviderApi CardError.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:32:20: error: cannot find type 'NSException' in scope
30 |     case illegalState(Error?)
31 |     /// An ObjC NSException was thrown
32 |     case objcError(NSException?)
   |                    `- error: cannot find type 'NSException' in scope
33 | }
34 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/51] Compiling CardReaderProviderApi APDU.swift
[34/51] Compiling CardReaderProviderApi CommandType+APDU.swift
[35/51] Compiling CardReaderProviderApi ResponseType+APDU.swift
[36/51] Compiling CardReaderProviderApi ResponseType.swift
[37/51] Compiling CardReaderProviderApi CardProtocol.swift
[38/51] Compiling CardReaderProviderApi CardType.swift
[39/51] Emitting module CardReaderProviderApi
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:32:20: error: cannot find type 'NSException' in scope
30 |     case illegalState(Error?)
31 |     /// An ObjC NSException was thrown
32 |     case objcError(NSException?)
   |                    `- error: cannot find type 'NSException' in scope
33 | }
34 |
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Model/ProviderDescriptorType.swift:24:2: error: Objective-C interoperability is disabled
22 |
23 | /// Card Reader Provider information
24 | @objc public protocol ProviderDescriptorType {
   |  `- error: Objective-C interoperability is disabled
25 |     /// Provider (displayable) commercial name
26 |     var name: String { get }
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Provider/CardReaderProviderType.swift:28:2: error: Objective-C interoperability is disabled
26 |     and/or CardReaderProvider(s) within the HealthCardAccess domain.
27 |  */
28 | @objc public protocol CardReaderProviderType {
   |  `- error: Objective-C interoperability is disabled
29 |     /**
30 |         Tell the provider to load and initialize the CardReaderController
[40/51] Compiling CardReaderProviderApi CommandType+LogicChannel.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:32:20: error: cannot find type 'NSException' in scope
30 |     case illegalState(Error?)
31 |     /// An ObjC NSException was thrown
32 |     case objcError(NSException?)
   |                    `- error: cannot find type 'NSException' in scope
33 | }
34 |
[41/51] Compiling CardReaderProviderApi CommandType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:32:20: error: cannot find type 'NSException' in scope
30 |     case illegalState(Error?)
31 |     /// An ObjC NSException was thrown
32 |     case objcError(NSException?)
   |                    `- error: cannot find type 'NSException' in scope
33 | }
34 |
BUILD FAILURE 6.1 linux