The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Openhealthcardkit, reference 5.10.1 (423006), with Swift 5.9 for Linux on 20 Aug 2024 13:45:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.50.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gematik/ref-OpenHealthCardKit.git
Reference: 5.10.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/gematik/ref-OpenHealthCardKit
 * tag               5.10.1     -> FETCH_HEAD
HEAD is now at 4230060 Increase Package.swift iOS version to 14 (#33)
Cloned https://github.com/gematik/ref-OpenHealthCardKit.git
Revision (git rev-parse @):
4230060f01eaf707379949ade9866b325ab21cea
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gematik/ref-OpenHealthCardKit.git at 5.10.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/gematik/ref-OpenHealthCardKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:2fbbf0786de06d5b5ae93c54da051e64b9ddb960e317c9af2272259f6411b6fe
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/gematik/ASN1Kit.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
[456/1663] Fetching cwlcatchexception, asn1kit
[589/3491] Fetching cwlcatchexception, asn1kit, swift-docc-plugin
[873/3036] Fetching asn1kit, swift-docc-plugin
Fetching http://github.com/Carthage/Commandant
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.19s)
Fetched https://github.com/gematik/ASN1Kit.git (0.33s)
Fetching http://github.com/Quick/Nimble
Fetched https://github.com/apple/swift-docc-plugin (0.34s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/2323] Fetching commandant
Fetched http://github.com/Carthage/Commandant (0.22s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.20s)
Fetching https://github.com/gematik/OpenSSL-Swift
[1/3059] Fetching swift-docc-symbolkit
[1195/3864] Fetching swift-docc-symbolkit, openssl-swift
Fetched https://github.com/gematik/OpenSSL-Swift (0.20s)
Computing version for https://github.com/apple/swift-docc-plugin
Fetched https://github.com/apple/swift-docc-symbolkit (0.35s)
[1/18851] Fetching nimble
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (1.20s)
Computing version for https://github.com/gematik/OpenSSL-Swift
Fetched http://github.com/Quick/Nimble (1.65s)
Computed https://github.com/gematik/OpenSSL-Swift at 4.2.0 (0.35s)
Computing version for https://github.com/gematik/ASN1Kit.git
Computed https://github.com/gematik/ASN1Kit.git at 1.3.1 (0.39s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.41s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (0.37s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/gematik/OpenSSL-Swift
Working copy of https://github.com/gematik/OpenSSL-Swift resolved at 4.2.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
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 http://github.com/Carthage/Commandant
Working copy of http://github.com/Carthage/Commandant resolved at 0.18.0
Downloading binary artifact https://github.com/gematik/OpenSSL-Swift/releases/download/4.2.0/OpenSSL.xcframework.zip
[1397/12818417] Downloading https://github.com/gematik/OpenSSL-Swift/releases/download/4.2.0/OpenSSL.xcframework.zip
Downloaded https://github.com/gematik/OpenSSL-Swift/releases/download/4.2.0/OpenSSL.xcframework.zip (2.19s)
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/30] Emitting module Helper
[4/30] Compiling ASN1Kit Data+ASN1Int.swift
[5/30] Compiling ASN1Kit Data+UInt.swift
[6/30] Compiling ASN1Kit Int+Length.swift
[7/33] Emitting module ASN1Kit
[8/33] Compiling Helper CommandLogger.swift
[9/33] Compiling ASN1Kit ASN1Int.swift
[10/33] Compiling ASN1Kit ASN1Object.swift
[11/33] Compiling ASN1Kit ASN1Tag.swift
[12/33] Compiling ASN1Kit DataScanner.swift
[13/33] Compiling ASN1Kit GeneralizedTimeDateFormatter.swift
[14/33] Compiling ASN1Kit Int+ASN1Encoding.swift
[15/33] Compiling ASN1Kit String+ASN1Encoding.swift
[16/33] Compiling ASN1Kit Array+ASN1Encoding.swift
[17/33] Compiling ASN1Kit Bool+ASN1Encoding.swift
[18/33] Compiling ASN1Kit Data+ASN1Encoding.swift
[19/33] Compiling ASN1Kit Date+ASN1Encoding.swift
[20/33] Compiling ASN1Kit ASN1DecodedTag+Encoding.swift
[21/33] Compiling ASN1Kit ASN1Object+Subscript.swift
[22/33] Compiling ASN1Kit ASN1Primitive+Description.swift
[23/33] Compiling ASN1Kit ASN1Data.swift
[24/33] Compiling ASN1Kit ASN1DecodedTag.swift
[25/33] Compiling ASN1Kit ASN1Decoder.swift
[26/33] Compiling ASN1Kit ASN1Error.swift
[27/33] Compiling ASN1Kit Data+Hex.swift
[28/33] Compiling ASN1Kit ObjectIdentifier.swift
[29/33] Compiling ASN1Kit ASN1CodableType.swift
[30/33] Compiling ASN1Kit ASN1Object+Encoding.swift
[33/35] Compiling ASN1Kit OutputStream+UInt8.swift
[34/35] Compiling ASN1Kit String+Subscript.swift
[35/35] Compiling ASN1Kit UInt+TagNo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/52] 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 {
~^~~~~
[39/52] 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 {
~^~~~~
[40/52] 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 {
~^~~~~
[41/53] 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 {
~^~~~~
[42/53] 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 {
~^~~~~
[43/53] 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?)
                   ^~~~~~~~~~~
[44/53] 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?)
                   ^~~~~~~~~~~
[45/53] Compiling CardReaderProviderApi CardReaderType.swift
[46/53] Compiling CardReaderProviderApi ResponseType+APDU.swift
[47/53] Compiling CardReaderProviderApi ResponseType.swift
[48/53] Compiling CardReaderProviderApi CardProtocol.swift
[49/53] Compiling CardReaderProviderApi CardType.swift
[50/53] 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?)
                   ^~~~~~~~~~~
[51/53] 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?)
                   ^~~~~~~~~~~
[52/53] Compiling CardReaderProviderApi APDU.swift
[53/53] Compiling CardReaderProviderApi CommandType+APDU.swift
error: fatalError
BUILD FAILURE 5.9 linux