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 (20ea56), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 01:07:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-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 20ea56a FOSS View (#42)
Cloned https://github.com/gematik/ref-OpenHealthCardKit.git
Revision (git rev-parse @):
20ea56ab32042467c5949049d7738e780c8d42c4
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-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/gematik/OpenSSL-Swift
Fetching https://github.com/gematik/ASN1Kit.git
[1/2082] Fetching swift-docc-plugin
[231/3290] Fetching swift-docc-plugin, asn1kit
[2459/4173] Fetching swift-docc-plugin, asn1kit, openssl-swift
Fetched https://github.com/gematik/ASN1Kit.git from cache (0.34s)
Fetched https://github.com/gematik/OpenSSL-Swift from cache (0.37s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.38s)
Computing version for https://github.com/gematik/ASN1Kit.git
Computed https://github.com/gematik/ASN1Kit.git at 1.3.1 (2.86s)
Fetching http://github.com/Carthage/Commandant
[1/2329] Fetching commandant
Fetched http://github.com/Carthage/Commandant from cache (0.26s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (0.73s)
Computing version for https://github.com/gematik/OpenSSL-Swift
Computed https://github.com/gematik/OpenSSL-Swift at 4.4.1 (0.39s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.43s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3415] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.92s)
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 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
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.4
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
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.39s)
[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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/38] Emitting module Helper
/host/spi-builder-workspace/Sources/Helper/CommandLogger.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// Helper that can be used for logging all send and received commands
[12/38] Compiling Helper CommandLogger.swift
/host/spi-builder-workspace/Sources/Helper/CommandLogger.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// Helper that can be used for logging all send and received commands
[13/38] Compiling ASN1Kit Array+ASN1Encoding.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[14/38] Compiling ASN1Kit Bool+ASN1Encoding.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[15/38] Compiling ASN1Kit Data+ASN1Encoding.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[16/38] Compiling ASN1Kit Date+ASN1Encoding.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[17/41] Compiling ASN1Kit Data+Hex.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[18/41] Compiling ASN1Kit ObjectIdentifier.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[19/41] Compiling ASN1Kit ASN1CodableType.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[20/41] Compiling ASN1Kit ASN1Object+Encoding.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[21/41] Compiling ASN1Kit GeneralizedTimeDateFormatter.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[22/41] Compiling ASN1Kit Int+ASN1Encoding.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[23/41] Compiling ASN1Kit String+ASN1Encoding.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[24/41] Compiling ASN1Kit ASN1DecodedTag+Encoding.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[25/41] Compiling ASN1Kit ASN1Object+Subscript.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[26/41] Compiling ASN1Kit ASN1Primitive+Description.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[27/41] Compiling ASN1Kit Data+ASN1Int.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[28/41] Compiling ASN1Kit Data+UInt.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[29/41] Compiling ASN1Kit Int+Length.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/41] Emitting module ASN1Kit
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[31/41] Compiling ASN1Kit ASN1Int.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[32/41] Compiling ASN1Kit ASN1Object.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[33/41] Compiling ASN1Kit ASN1Tag.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[34/41] Compiling ASN1Kit DataScanner.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[35/41] Compiling ASN1Kit ASN1Data.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[36/41] Compiling ASN1Kit ASN1DecodedTag.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[37/41] Compiling ASN1Kit ASN1Decoder.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
[38/41] Compiling ASN1Kit ASN1Error.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Data.swift:17:8: error: no such module 'Foundation'
15 | //
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | /// ASN1 Data/Content type
BUILD FAILURE 6.2 wasm