Build Information
Failed to build JOSESwift, reference master (864d6a
), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 23:49:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/lukereichold/JOSESwift.git
Reference: master
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/lukereichold/JOSESwift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 864d6a0 Add docs for RSAPrivateKey primitive properties.
Cloned https://github.com/lukereichold/JOSESwift.git
Revision (git rev-parse @):
864d6a014a4aa343dd47f3804f12b8a42a7b21eb
SUCCESS checkout https://github.com/lukereichold/JOSESwift.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/lukereichold/JOSESwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/53] Emitting module JOSESwift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[4/60] Compiling JOSESwift AESCBCEncryption.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[5/60] Compiling JOSESwift AESKeyWrappingMode.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[6/60] Compiling JOSESwift ASN1DEREncoding.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[7/60] Compiling JOSESwift ASN1DERParsing.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[8/60] Compiling JOSESwift AlgorithmExtensions.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[9/60] Compiling JOSESwift Algorithms.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[10/60] Compiling JOSESwift DeflateWrapper.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[11/60] Compiling JOSESwift Compressor.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[12/60] Compiling JOSESwift RSASigner.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[13/60] Compiling JOSESwift RSAVerifier.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[14/60] Compiling JOSESwift Serializer.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[15/60] Compiling JOSESwift Signer.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[16/60] Compiling JOSESwift SymmetricKeyCodable.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[17/60] Compiling JOSESwift SymmetricKeys.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[18/60] Compiling JOSESwift Verifier.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[19/60] Compiling JOSESwift SecureRandom.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[20/60] Compiling JOSESwift Thumbprint.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[21/60] Compiling JOSESwift DataConvertible.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[22/60] Compiling JOSESwift DataExtensions.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[23/60] Compiling JOSESwift Decrypter.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[24/60] Compiling JOSESwift Deserializer.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[25/60] Compiling JOSESwift DirectEncryptionMode.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[26/60] Compiling JOSESwift JWE.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[27/60] Compiling JOSESwift JWEHeader.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[28/60] Compiling JOSESwift JWK.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[29/60] Compiling JOSESwift JWKExtensions.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[30/60] Compiling JOSESwift JWKParameters.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[31/60] Compiling JOSESwift JWKSet.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[32/60] Compiling JOSESwift JWKSetCodable.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[33/60] Compiling JOSESwift EC.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[34/60] Compiling JOSESwift HMAC.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[35/60] Compiling JOSESwift RSA.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[36/60] Compiling JOSESwift SecKeyECPrivateKey.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[37/60] Compiling JOSESwift SecKeyECPublicKey.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[38/60] Compiling JOSESwift SecKeyRSAPrivateKey.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[39/60] Compiling JOSESwift SecKeyRSAPublicKey.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[40/60] Compiling JOSESwift JWS.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[41/60] Compiling JOSESwift JWSHeader.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[42/60] Compiling JOSESwift KeyManagementMode.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[43/60] Compiling JOSESwift Payload.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[44/60] Compiling JOSESwift RSAKeyCodable.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[45/60] Compiling JOSESwift RSAKeyEncryptionMode.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[46/60] Compiling JOSESwift RSAKeys.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[47/60] Compiling JOSESwift ContentEncryption.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[48/60] Compiling JOSESwift AES.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[49/60] Compiling JOSESwift DataECPrivateKey.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[50/60] Compiling JOSESwift DataECPublicKey.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[51/60] Compiling JOSESwift DataRSAPrivateKey.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[52/60] Compiling JOSESwift DataRSAPublicKey.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[53/60] Compiling JOSESwift DataSymmetricKey.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[54/60] Compiling JOSESwift ECKeyCodable.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[55/60] Compiling JOSESwift ECKeys.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[56/60] Compiling JOSESwift ECSigner.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[57/60] Compiling JOSESwift ECVerifier.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[58/60] Compiling JOSESwift Encrypter.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[59/60] Compiling JOSESwift JOSEHeader.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
[60/60] Compiling JOSESwift JOSESwiftError.swift
/host/spi-builder-workspace/JOSESwift/Sources/AESCBCEncryption.swift:24:8: error: no such module 'Foundation'
22 | //
23 |
24 | import Foundation
| `- error: no such module 'Foundation'
25 |
26 | struct AESCBCEncryption {
BUILD FAILURE 6.2 wasm