Build Information
Failed to build Openhealthcardkit, reference main (8b0057
), with Swift 6.1 for Wasm on 21 Jul 2025 13:11:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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 8b0057a Move test targets to Package.swift (#43)
Cloned https://github.com/gematik/ref-OpenHealthCardKit.git
Revision (git rev-parse @):
8b0057af46b24f8fc2badf089213c413f9cd7106
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gematik/ref-OpenHealthCardKit.git at main
========================================
Build
========================================
Selected platform: wasm
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
{
"dependencies" : [
{
"identity" : "asn1kit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/gematik/ASN1Kit.git"
},
{
"identity" : "openssl-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "4.2.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/gematik/OpenSSL-Swift"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "12.0.0",
"upper_bound" : "13.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble"
}
],
"manifest_display_name" : "Openhealthcardkit",
"name" : "Openhealthcardkit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "HealthCardControl",
"targets" : [
"HealthCardControl"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "NFCCardReaderProvider",
"targets" : [
"NFCCardReaderProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HealthCardAccess",
"targets" : [
"HealthCardAccess"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CardReaderProviderApi",
"targets" : [
"CardReaderProviderApi"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Helper",
"targets" : [
"Helper"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CardReaderAccess",
"targets" : [
"CardReaderAccess"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NFCCardReaderProvider",
"module_type" : "SwiftTarget",
"name" : "NFCCardReaderProvider",
"path" : "Sources/NFCCardReaderProvider",
"product_memberships" : [
"NFCCardReaderProvider"
],
"sources" : [
"Card/Data+Hex.swift",
"Card/NFCCard.swift",
"Card/NFCCardChannel.swift",
"Card/NFCCardError.swift",
"Card/NFCISO7816APDU+CommandType.swift",
"Logger.swift",
"NFCHealthCardSession.swift",
"Reader/CoreNFCError.swift",
"Reader/NFCTagReaderSession+Publisher.swift"
],
"target_dependencies" : [
"HealthCardControl",
"HealthCardAccess",
"Helper"
],
"type" : "library"
},
{
"c99name" : "Helper",
"module_type" : "SwiftTarget",
"name" : "Helper",
"path" : "Sources/Helper",
"product_memberships" : [
"HealthCardControl",
"NFCCardReaderProvider",
"HealthCardAccess",
"CardReaderProviderApi",
"Helper",
"CardReaderAccess"
],
"sources" : [
"CommandLogger.swift"
],
"type" : "library"
},
{
"c99name" : "HealthCardControlTests",
"module_type" : "SwiftTarget",
"name" : "HealthCardControlTests",
"path" : "Tests/HealthCardControlTests",
"product_dependencies" : [
"Nimble"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardControlTests/Resources.bundle/FCP/fcp_A000000167455349474E.dat",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Crypto/AESTests.swift",
"Crypto/DataSecureTest.swift",
"Crypto/KeyDerivationFunctionTest.swift",
"ResourceLoader.swift",
"SecureMessaging/AES128PaceKeyTest.swift",
"SecureMessaging/HealthCardTypeExtESIGNTest.swift",
"SecureMessaging/ResponseType+Bytes.swift",
"Util/AnyPublisher+Test.swift"
],
"target_dependencies" : [
"HealthCardControl"
],
"type" : "test"
},
{
"c99name" : "HealthCardControl",
"module_type" : "SwiftTarget",
"name" : "HealthCardControl",
"path" : "Sources/HealthCardControl",
"product_dependencies" : [
"OpenSSL-Swift"
],
"product_memberships" : [
"HealthCardControl",
"NFCCardReaderProvider"
],
"sources" : [
"Authentication/HealthCardType+Authenticate.swift",
"Authentication/HealthCardType+ChangeReferenceData.swift",
"Authentication/HealthCardType+ESIGN.swift",
"Authentication/HealthCardType+ResetRetryCounter.swift",
"Authentication/HealthCardType+VerifyPin.swift",
"Authentication/ResponseStatus+WrongSecret.swift",
"Crypto/AES.swift",
"Crypto/Data+Secure.swift",
"Crypto/KeyDerivationFunction.swift",
"Logger.swift",
"Operations/CardChannelType+CardAID.swift",
"Operations/CardChannelType+CardAccess.swift",
"Operations/CardChannelType+Version.swift",
"Operations/HealthCard+Error.swift",
"Operations/HealthCardType+ReadFile.swift",
"SecureMessaging/AES128PaceKey.swift",
"SecureMessaging/CardType+SecureMessaging.swift",
"SecureMessaging/Data+Hex.swift",
"SecureMessaging/KeyAgreement.swift",
"SecureMessaging/SecureCardChannel.swift",
"SecureMessaging/SecureHealthCard.swift",
"SecureMessaging/SecureMessaging.swift"
],
"target_dependencies" : [
"HealthCardAccess",
"Helper"
],
"type" : "library"
},
{
"c99name" : "HealthCardAccessTests",
"module_type" : "SwiftTarget",
"name" : "HealthCardAccessTests",
"path" : "Tests/HealthCardAccessTests",
"product_dependencies" : [
"Nimble"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/CVC/EF.C.CA_HPC.CS.E256.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/CVC/EF.C.HPC.AUTR_CVC.E256.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/CVC/GemCVC.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p256r1_ecpubkey.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p256r1_ecpubkey.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p256r1_expected_apdu.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p256r1_hash.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p256r1_signature.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p256r1_signature_invalid_toolongsequence.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p256r1_signature_normalized.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p384r1_ecpubkey.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p384r1_ecpubkey.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p384r1_expected_apdu.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p384r1_hash.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p384r1_signature.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p384r1_signature_normalized.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP256r1_ecpubkey.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP256r1_ecpubkey.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP256r1_expected_apdu.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP256r1_hash.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP256r1_signature.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP256r1_signature_normalized.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP384r1_ecpubkey.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP384r1_ecpubkey.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP384r1_expected_apdu.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP384r1_hash.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP384r1_signature.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP384r1_signature_normalized.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP512r1_ecpubkey.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP512r1_ecpubkey.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP512r1_expected_apdu.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP512r1_hash.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP512r1_signature.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP512r1_signature_normalized.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/EC/ec_pub_key.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/EC/ec_pub_key.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/FCP/fcp_adf_A000000167455349474E_apdu.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/FCP/fcp_df_A000000167455349474E_apdu.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/FCP/fcp_nett_length_apdu.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/PSO/apduEncipherElc.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/PSO/apduEncipherRsaOaep.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/PSO/apduEncipherRsaPkcs1v15.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/PSO/elc_pub_key.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/PSO/rsa_pub_key.der",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"CardObjects/ApplicationIdentifierTest.swift",
"CardObjects/FileControlParameterTest.swift",
"CardObjects/FileIdentifierTest.swift",
"CardObjects/Format2PinTest.swift",
"CardObjects/GemCvCertificateTest.swift",
"CardObjects/KeyTest.swift",
"CardObjects/PasswordTest.swift",
"CardObjects/ShortFileIdentifierTest.swift",
"Commands/DataExtNormalize.swift",
"Commands/HCCExtAccessStructuredDataTest.swift",
"Commands/HCCExtAccessTransparentDataTest.swift",
"Commands/HCCExtAuthenticationTest.swift",
"Commands/HCCExtManageSETest.swift",
"Commands/HCCExtMiscTest.swift",
"Commands/HCCExtObjectSystemManagementTest.swift",
"Commands/HCCExtPerformSecurityOperationTest.swift",
"Commands/HCCExtUserVerificationTest.swift",
"Commands/HealthCardCommandBuilderTest.swift",
"HealthCardPropertyTypeTest.swift",
"HealthCardStatusTest.swift",
"Models/CANTest.swift",
"Models/CardGenerationTest.swift",
"Models/CardVersion2Test.swift",
"Models/ECCurveInfoTest.swift",
"Models/SignatureAlgorithmTest.swift",
"Responses/HealthCardResponseTest.swift",
"Util/AnyPublisher+Test.swift",
"Util/ResourceLoader.swift"
],
"target_dependencies" : [
"HealthCardAccess"
],
"type" : "test"
},
{
"c99name" : "HealthCardAccess",
"module_type" : "SwiftTarget",
"name" : "HealthCardAccess",
"path" : "Sources/HealthCardAccess",
"product_dependencies" : [
"ASN1Kit"
],
"product_memberships" : [
"HealthCardControl",
"NFCCardReaderProvider",
"HealthCardAccess"
],
"sources" : [
"CardObjects/ApplicationIdentifier.swift",
"CardObjects/CardItemType.swift",
"CardObjects/CardKeyReferenceType.swift",
"CardObjects/CardObjectIdentifierType.swift",
"CardObjects/DedicatedFile.swift",
"CardObjects/ElementaryFile.swift",
"CardObjects/FileControlParameter.swift",
"CardObjects/FileIdentifier.swift",
"CardObjects/Format2Pin.swift",
"CardObjects/GemCvCertificate.swift",
"CardObjects/Key.swift",
"CardObjects/PSOAlgorithm.swift",
"CardObjects/Password.swift",
"CardObjects/ShortFileIdentifier.swift",
"Commands/Data+Normalize.swift",
"Commands/HealthCardCommand+AccessStructuredData.swift",
"Commands/HealthCardCommand+AccessTransparentData.swift",
"Commands/HealthCardCommand+Authentication.swift",
"Commands/HealthCardCommand+ManageSE.swift",
"Commands/HealthCardCommand+Misc.swift",
"Commands/HealthCardCommand+ObjectSystemManagement.swift",
"Commands/HealthCardCommand+PerfomSecurityOperation.swift",
"Commands/HealthCardCommand+UserVerification.swift",
"Commands/HealthCardCommand.swift",
"Commands/HealthCardCommandBuilder.swift",
"Data+Hex.swift",
"Extension/UInt8+Data.swift",
"HealthCard.swift",
"HealthCardCommandType.swift",
"HealthCardPropertyType.swift",
"HealthCardResponseType.swift",
"HealthCardStatus.swift",
"HealthCardType.swift",
"HealthCards/CardFileSystem/EgkFileSystem.swift",
"HealthCards/CardFileSystem/HbaFileSystem.swift",
"HealthCards/CardFileSystem/HealthCardFileSystemType.swift",
"HealthCards/CardFileSystem/SmcbFileSystem.swift",
"Models/CAN.swift",
"Models/CardGeneration.swift",
"Models/CardVersion2.swift",
"Models/CertificateInfo.swift",
"Models/ECCurveInfo.swift",
"Models/SignatureAlgorithm.swift",
"Responses/HealthCardResponse.swift",
"Responses/ResponseStatus.swift"
],
"target_dependencies" : [
"CardReaderProviderApi"
],
"type" : "library"
},
{
"c99name" : "CardReaderProviderApiTests",
"module_type" : "SwiftTarget",
"name" : "CardReaderProviderApiTests",
"path" : "Tests/CardReaderProviderApiTests",
"product_dependencies" : [
"Nimble"
],
"sources" : [
"Command/APDUCommandTest.swift",
"Command/APDUResponseTest.swift",
"Command/CommandTypeExtLogicChannelTests.swift",
"Reader/CardReaderTest.swift"
],
"target_dependencies" : [
"CardReaderProviderApi"
],
"type" : "test"
},
{
"c99name" : "CardReaderProviderApi",
"module_type" : "SwiftTarget",
"name" : "CardReaderProviderApi",
"path" : "Sources/CardReaderProviderApi",
"product_memberships" : [
"HealthCardControl",
"NFCCardReaderProvider",
"HealthCardAccess",
"CardReaderProviderApi",
"CardReaderAccess"
],
"sources" : [
"Card/CardChannelType.swift",
"Card/CardError.swift",
"Card/CardProtocol.swift",
"Card/CardType.swift",
"Command/APDU.swift",
"Command/CommandType+APDU.swift",
"Command/CommandType+LogicChannel.swift",
"Command/CommandType.swift",
"Command/ResponseType+APDU.swift",
"Command/ResponseType.swift",
"Model/ProviderDescriptor.swift",
"Model/ProviderDescriptorType.swift",
"Provider/CardReaderProviderType.swift",
"Reader/CardReaderControllerType.swift",
"Reader/CardReaderType.swift"
],
"target_dependencies" : [
"Helper"
],
"type" : "library"
},
{
"c99name" : "CardReaderAccessTests",
"module_type" : "SwiftTarget",
"name" : "CardReaderAccessTests",
"path" : "Tests/CardReaderAccessTests",
"product_dependencies" : [
"Nimble"
],
"sources" : [
"CardReaderControllerManagerTest.swift",
"XCTestManifests.swift",
"internal/SwiftExtReflectionTest.swift"
],
"target_dependencies" : [
"CardReaderAccess"
],
"type" : "test"
},
{
"c99name" : "CardReaderAccess",
"module_type" : "SwiftTarget",
"name" : "CardReaderAccess",
"path" : "Sources/CardReaderAccess",
"product_memberships" : [
"CardReaderAccess"
],
"sources" : [
"CardReaderControllerManager.swift",
"internal/Swift+Reflection.swift"
],
"target_dependencies" : [
"CardReaderProviderApi",
"Helper"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/gematik/ASN1Kit.git
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/gematik/OpenSSL-Swift
[1/1208] Fetching asn1kit
[183/3302] Fetching asn1kit, swift-docc-plugin
[646/4185] Fetching asn1kit, swift-docc-plugin, openssl-swift
[4186/23769] Fetching asn1kit, swift-docc-plugin, openssl-swift, nimble
Fetched https://github.com/gematik/OpenSSL-Swift from cache (0.70s)
[3890/22886] Fetching asn1kit, swift-docc-plugin, nimble
Fetched https://github.com/gematik/ASN1Kit.git from cache (2.14s)
Fetched https://github.com/apple/swift-docc-plugin from cache (2.15s)
Fetched https://github.com/Quick/Nimble from cache (2.20s)
Computing version for https://github.com/gematik/ASN1Kit.git
Computed https://github.com/gematik/ASN1Kit.git at 1.3.1 (5.50s)
Fetching http://github.com/Carthage/Commandant
[1/2329] Fetching commandant
Fetched http://github.com/Carthage/Commandant from cache (0.46s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (1.44s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 12.3.0 (0.86s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.38s)
Computing version for https://github.com/gematik/OpenSSL-Swift
Computed https://github.com/gematik/OpenSSL-Swift at 4.4.1 (1.10s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.58s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.22s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.91s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.69s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3429] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.42s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.21s)
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 12.3.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.4.5
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/gematik/OpenSSL-Swift
Working copy of https://github.com/gematik/OpenSSL-Swift resolved at 4.4.1
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/gematik/ASN1Kit.git
Working copy of https://github.com/gematik/ASN1Kit.git resolved at 1.3.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Downloading binary artifact https://github.com/gematik/OpenSSL-Swift/releases/download/4.4.1/OpenSSL.xcframework.zip
[1369/12821385] Downloading https://github.com/gematik/OpenSSL-Swift/releases/download/4.4.1/OpenSSL.xcframework.zip
Downloaded https://github.com/gematik/OpenSSL-Swift/releases/download/4.4.1/OpenSSL.xcframework.zip (1.31s)
[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] Compiling ASN1Kit Data+ASN1Int.swift
[12/38] Compiling ASN1Kit Data+UInt.swift
[13/38] Compiling ASN1Kit Int+Length.swift
[14/41] 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: 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
23 | }
24 |
[15/41] 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: 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
23 | }
24 |
[16/41] Compiling ASN1Kit ASN1DecodedTag+Encoding.swift
[17/41] Compiling ASN1Kit ASN1Object+Subscript.swift
[18/41] Compiling ASN1Kit ASN1Primitive+Description.swift
[19/42] Compiling ASN1Kit Data+Hex.swift
[20/42] Compiling ASN1Kit ObjectIdentifier.swift
[21/42] Compiling ASN1Kit ASN1CodableType.swift
[22/42] Compiling ASN1Kit ASN1Object+Encoding.swift
[23/42] Emitting module ASN1Kit
[24/42] Compiling ASN1Kit ASN1Data.swift
[25/42] Compiling ASN1Kit ASN1DecodedTag.swift
[26/42] Compiling ASN1Kit ASN1Decoder.swift
[27/42] Compiling ASN1Kit ASN1Error.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 ASN1Int.swift
[34/42] Compiling ASN1Kit ASN1Object.swift
[35/42] Compiling ASN1Kit ASN1Tag.swift
[36/42] Compiling ASN1Kit DataScanner.swift
[37/42] Compiling ASN1Kit GeneralizedTimeDateFormatter.swift
[38/42] Compiling ASN1Kit Int+ASN1Encoding.swift
[39/42] Compiling ASN1Kit String+ASN1Encoding.swift
[40/42] Compiling ASN1Kit OutputStream+UInt8.swift
[41/42] Compiling ASN1Kit String+Subscript.swift
[42/42] Compiling ASN1Kit UInt+TagNo.swift
[44/58] Compiling CardReaderProviderApi ProviderDescriptor.swift
/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 }
[45/58] Compiling CardReaderProviderApi ProviderDescriptorType.swift
/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 }
[46/58] 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
[47/58] 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
[48/59] Compiling CardReaderProviderApi ResponseType+APDU.swift
[49/59] Compiling CardReaderProviderApi ResponseType.swift
[50/59] Compiling CardReaderProviderApi CommandType+LogicChannel.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 |
[51/59] Compiling CardReaderProviderApi CommandType.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 |
[52/59] Compiling CardReaderProviderApi CardReaderType.swift
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: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: 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
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: 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
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: 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
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: 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
37 | // swiftlint:enable identifier_name
38 | }
[54/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: 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
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: 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
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: 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
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: 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
37 | // swiftlint:enable identifier_name
38 | }
[55/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: 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
68 | // swiftlint:disable:previous identifier_name force_try
69 | }
[56/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: 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
68 | // swiftlint:disable:previous identifier_name force_try
69 | }
[57/59] 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: 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
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: 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
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: 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
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: 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
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: 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
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
[58/59] 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 |
[59/59] 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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[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 Helper
[5/31] Compiling Helper CommandLogger.swift
[6/32] Emitting module ASN1Kit
[8/35] Compiling ASN1Kit ASN1Int.swift
[9/35] Compiling ASN1Kit ASN1Object.swift
[10/35] Compiling ASN1Kit ASN1Tag.swift
[11/35] Compiling ASN1Kit DataScanner.swift
[12/35] Compiling ASN1Kit OutputStream+UInt8.swift
[13/35] Compiling ASN1Kit String+Subscript.swift
[14/35] Compiling ASN1Kit UInt+TagNo.swift
[15/50] 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 |
[16/50] 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 |
[17/51] Compiling CardReaderProviderApi APDU.swift
[18/51] Compiling CardReaderProviderApi CommandType+APDU.swift
[19/51] Compiling CardReaderProviderApi CommandType+LogicChannel.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/51] 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/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
[21/51] Compiling CardReaderProviderApi ProviderDescriptor.swift
/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 }
[22/51] Compiling CardReaderProviderApi ProviderDescriptorType.swift
/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 }
[23/51] 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
[24/51] 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
/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 |
[26/51] Compiling CardReaderProviderApi CommandType.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 |
[27/51] Compiling CardReaderProviderApi CardReaderType.swift
[28/51] Compiling CardReaderProviderApi ResponseType+APDU.swift
[29/51] Compiling CardReaderProviderApi ResponseType.swift
[32/51] Compiling CardReaderProviderApi CardProtocol.swift
[33/51] Compiling CardReaderProviderApi CardType.swift
[34/51] Compiling ASN1Kit Data+ASN1Int.swift
[35/51] Compiling ASN1Kit Data+UInt.swift
[36/51] Compiling ASN1Kit Int+Length.swift
[44/51] Compiling ASN1Kit ASN1Data.swift
[45/51] Compiling ASN1Kit ASN1DecodedTag.swift
[46/51] Compiling ASN1Kit ASN1Decoder.swift
[47/51] Compiling ASN1Kit ASN1Error.swift
BUILD FAILURE 6.1 wasm