The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Openhealthcardkit, reference main (32aa9e), with Swift 6.2 for Wasm on 27 Nov 2025 10:34:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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 32aa9e3 OSPO policy compliance (#48)
Cloned https://github.com/gematik/ref-OpenHealthCardKit.git
Revision (git rev-parse @):
32aa9e3c77870ccbe8cd1b9289da2fe270a146d6
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.2
Building package at path:  $PWD
https://github.com/gematik/ref-OpenHealthCardKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/gematik/OpenSSL-Swift
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/gematik/ASN1Kit.git
Fetching https://github.com/apple/swift-docc-plugin
[1/976] Fetching openssl-swift
[773/3134] Fetching openssl-swift, swift-docc-plugin
[857/4415] Fetching openssl-swift, swift-docc-plugin, asn1kit
[2484/24202] Fetching openssl-swift, swift-docc-plugin, asn1kit, nimble
Fetched https://github.com/gematik/ASN1Kit.git from cache (0.54s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.54s)
[3153/20763] Fetching openssl-swift, nimble
Fetched https://github.com/gematik/OpenSSL-Swift from cache (1.87s)
Fetched https://github.com/Quick/Nimble from cache (1.90s)
Computing version for https://github.com/gematik/ASN1Kit.git
Computed https://github.com/gematik/ASN1Kit.git at 1.3.1 (4.52s)
Fetching http://github.com/Carthage/Commandant
[1/2329] Fetching commandant
Fetched http://github.com/Carthage/Commandant from cache (0.29s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (0.68s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 12.3.0 (0.46s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.22s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.67s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.23s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.70s)
Computing version for https://github.com/gematik/OpenSSL-Swift
Computed https://github.com/gematik/OpenSSL-Swift at 4.5.0 (0.40s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.52s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3582] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.38s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.96s)
Creating working copy for https://github.com/gematik/OpenSSL-Swift
Working copy of https://github.com/gematik/OpenSSL-Swift resolved at 4.5.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 http://github.com/Carthage/Commandant
Working copy of http://github.com/Carthage/Commandant resolved at 0.18.0
Creating working copy for https://github.com/gematik/ASN1Kit.git
Working copy of https://github.com/gematik/ASN1Kit.git resolved at 1.3.1
Creating working copy for https://github.com/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/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Downloading binary artifact https://github.com/gematik/OpenSSL-Swift/releases/download/4.5.0/OpenSSL.xcframework.zip
[1397/12831946] Downloading https://github.com/gematik/OpenSSL-Swift/releases/download/4.5.0/OpenSSL.xcframework.zip
Downloaded https://github.com/gematik/OpenSSL-Swift/releases/download/4.5.0/OpenSSL.xcframework.zip (1.78s)
[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 Helper
[12/38] Compiling Helper CommandLogger.swift
[13/39] Compiling ASN1Kit Data+ASN1Int.swift
[14/39] Compiling ASN1Kit Data+UInt.swift
[15/39] Compiling ASN1Kit Int+Length.swift
[16/39] Compiling ASN1Kit GeneralizedTimeDateFormatter.swift
[17/39] Compiling ASN1Kit Int+ASN1Encoding.swift
[18/39] Compiling ASN1Kit String+ASN1Encoding.swift
[20/42] Compiling ASN1Kit Array+ASN1Encoding.swift
[21/42] Compiling ASN1Kit Bool+ASN1Encoding.swift
[22/42] Compiling ASN1Kit Data+ASN1Encoding.swift
[23/42] Compiling ASN1Kit Date+ASN1Encoding.swift
[24/42] Emitting module ASN1Kit
[25/42] Compiling ASN1Kit ASN1Data.swift
[26/42] Compiling ASN1Kit ASN1DecodedTag.swift
[27/42] Compiling ASN1Kit ASN1Decoder.swift
[28/42] Compiling ASN1Kit ASN1Error.swift
[29/42] Compiling ASN1Kit ASN1Int.swift
[30/42] Compiling ASN1Kit ASN1Object.swift
[31/42] Compiling ASN1Kit ASN1Tag.swift
[32/42] Compiling ASN1Kit DataScanner.swift
[33/42] Compiling ASN1Kit ASN1DecodedTag+Encoding.swift
[34/42] Compiling ASN1Kit ASN1Object+Subscript.swift
[35/42] Compiling ASN1Kit ASN1Primitive+Description.swift
[36/42] Compiling ASN1Kit Data+Hex.swift
[37/42] Compiling ASN1Kit ObjectIdentifier.swift
[38/42] Compiling ASN1Kit ASN1CodableType.swift
[39/42] Compiling ASN1Kit ASN1Object+Encoding.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 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 |
[45/58] 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)
[46/58] 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
[47/58] 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 }
[48/58] 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 }
[49/59] 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
[50/59] 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
[51/59] Compiling CardReaderProviderApi CardReaderType.swift
[52/59] Compiling CardReaderProviderApi CardProtocol.swift
[53/59] Compiling CardReaderProviderApi CardType.swift
[54/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 |
[55/59] 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 |
[56/59] Compiling CardReaderProviderApi ResponseType+APDU.swift
[57/59] Compiling CardReaderProviderApi ResponseType.swift
[58/59] Compiling CardReaderProviderApi APDU.swift
[59/59] Compiling CardReaderProviderApi CommandType+APDU.swift
BUILD FAILURE 6.2 wasm