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 (8b0057), with Swift 5.10 for Linux on 21 Jul 2025 13:12:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
Swift version:             5.10
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" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:c30bb8beee7254e839cc0142f4ae78578b8fc8e8159324cc3637097cc1b395b6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/gematik/OpenSSL-Swift
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/gematik/ASN1Kit.git
Fetching https://github.com/Quick/Nimble
[1/883] Fetching openssl-swift
[311/2091] Fetching openssl-swift, asn1kit
[865/4185] Fetching openssl-swift, asn1kit, swift-docc-plugin
[2315/23769] Fetching openssl-swift, asn1kit, swift-docc-plugin, nimble
Fetched https://github.com/gematik/OpenSSL-Swift from cache (0.68s)
[6822/22886] Fetching asn1kit, swift-docc-plugin, nimble
Fetched https://github.com/apple/swift-docc-plugin from cache (0.88s)
[12959/20792] Fetching asn1kit, nimble
Fetched https://github.com/gematik/ASN1Kit.git from cache (2.04s)
Fetched https://github.com/Quick/Nimble from cache (2.07s)
Computing version for https://github.com/gematik/ASN1Kit.git
Computed https://github.com/gematik/ASN1Kit.git at 1.3.1 (1.19s)
Fetching http://github.com/Carthage/Commandant
[24/2329] Fetching commandant
Fetched http://github.com/Carthage/Commandant from cache (0.30s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (0.47s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 12.3.0 (0.49s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.47s)
Computing version for https://github.com/gematik/OpenSSL-Swift
Computed https://github.com/gematik/OpenSSL-Swift at 4.4.1 (0.80s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.81s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.35s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.49s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.62s)
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.57s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.70s)
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/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/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/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
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.4.1
[1397/12821385] Downloading https://github.com/gematik/OpenSSL-Swift/releases/download/4.4.1/OpenSSL.xcframework.zip
Downloading binary artifact 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 (2.04s)
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/38] Compiling ASN1Kit ASN1Int.swift
[12/38] Compiling ASN1Kit ASN1Object.swift
[13/38] Compiling ASN1Kit ASN1Tag.swift
[14/38] Compiling ASN1Kit DataScanner.swift
[15/38] Emitting module ASN1Kit
[16/38] Compiling ASN1Kit Array+ASN1Encoding.swift
[17/38] Compiling ASN1Kit Bool+ASN1Encoding.swift
[18/38] Compiling ASN1Kit Data+ASN1Encoding.swift
[19/38] Compiling ASN1Kit Date+ASN1Encoding.swift
[20/38] Compiling ASN1Kit ASN1Data.swift
[21/38] Compiling ASN1Kit ASN1DecodedTag.swift
[22/38] Compiling ASN1Kit ASN1Decoder.swift
[23/38] Compiling ASN1Kit ASN1Error.swift
[24/38] Compiling ASN1Kit Data+ASN1Int.swift
[25/38] Compiling ASN1Kit Data+UInt.swift
[26/38] Compiling ASN1Kit Int+Length.swift
[27/38] Emitting module Helper
[28/38] Compiling Helper CommandLogger.swift
[29/42] Compiling ASN1Kit ASN1DecodedTag+Encoding.swift
[30/42] Compiling ASN1Kit ASN1Object+Subscript.swift
[31/42] Compiling ASN1Kit ASN1Primitive+Description.swift
[32/42] Compiling ASN1Kit GeneralizedTimeDateFormatter.swift
[33/42] Compiling ASN1Kit Int+ASN1Encoding.swift
[34/42] Compiling ASN1Kit String+ASN1Encoding.swift
[35/42] Compiling ASN1Kit Data+Hex.swift
[36/42] Compiling ASN1Kit ObjectIdentifier.swift
[37/42] Compiling ASN1Kit ASN1CodableType.swift
[38/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 CardReaderProviderType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Provider/CardReaderProviderType.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol CardReaderProviderType {
~^~~~~
[45/58] Compiling CardReaderProviderApi CardReaderControllerType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Provider/CardReaderProviderType.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol CardReaderProviderType {
~^~~~~
[46/59] Compiling CardReaderProviderApi ProviderDescriptor.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Model/ProviderDescriptorType.swift:20:2: error: Objective-C interoperability is disabled
@objc public protocol ProviderDescriptorType {
~^~~~~
[47/59] Compiling CardReaderProviderApi ProviderDescriptorType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Model/ProviderDescriptorType.swift:20:2: error: Objective-C interoperability is disabled
@objc public protocol ProviderDescriptorType {
~^~~~~
[48/59] Compiling CardReaderProviderApi CardReaderType.swift
[49/59] Compiling CardReaderProviderApi CommandType+LogicChannel.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:20: error: cannot find type 'NSException' in scope
    case objcError(NSException?)
                   ^~~~~~~~~~~
[50/59] Compiling CardReaderProviderApi CommandType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:20: error: cannot find type 'NSException' in scope
    case objcError(NSException?)
                   ^~~~~~~~~~~
[51/59] Compiling CardReaderProviderApi ResponseType+APDU.swift
[52/59] Compiling CardReaderProviderApi ResponseType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/59] Compiling CardReaderProviderApi CardProtocol.swift
[54/59] Compiling CardReaderProviderApi CardType.swift
[55/59] Compiling CardReaderProviderApi APDU.swift
[56/59] Compiling CardReaderProviderApi CommandType+APDU.swift
[57/59] Emitting module CardReaderProviderApi
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:20: error: cannot find type 'NSException' in scope
    case objcError(NSException?)
                   ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Model/ProviderDescriptorType.swift:20:2: error: Objective-C interoperability is disabled
@objc public protocol ProviderDescriptorType {
~^~~~~
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Provider/CardReaderProviderType.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol CardReaderProviderType {
~^~~~~
[58/59] Compiling CardReaderProviderApi CardChannelType.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:20: error: cannot find type 'NSException' in scope
    case objcError(NSException?)
                   ^~~~~~~~~~~
[59/59] Compiling CardReaderProviderApi CardError.swift
/host/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:20: error: cannot find type 'NSException' in scope
    case objcError(NSException?)
                   ^~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux