Build Information
Failed to build JOSESwift, reference 2.4.1-cryptomator (3544f8), with Swift 6.2 for Wasm on 21 Jun 2025 00:31:58 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tobihagemann/JOSESwift.git
Reference: 2.4.1-cryptomator
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/tobihagemann/JOSESwift
* tag 2.4.1-cryptomator -> FETCH_HEAD
HEAD is now at 3544f81 Merge branch 'JWE-PBES2' into feature/cryptomator
Cloned https://github.com/tobihagemann/JOSESwift.git
Revision (git rev-parse @):
3544f8117908ef12ea13b1c0927e0e3c0d30ee01
SUCCESS checkout https://github.com/tobihagemann/JOSESwift.git at 2.4.1-cryptomator
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/tobihagemann/JOSESwift.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/59] 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 {
[4/59] 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 {
[5/59] 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 {
[6/59] Compiling JOSESwift PBES2KeyEncryptionMode.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/59] 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 {
[8/59] 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 {
[9/59] 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 {
[10/59] 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 {
[11/66] 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/66] 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 {
[13/66] 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 {
[14/66] 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 {
[15/66] 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 {
[16/66] 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 {
[17/66] 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 {
[18/66] 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 {
[19/66] 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 {
[20/66] Compiling JOSESwift AESGCMEncryption.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/66] 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 {
[22/66] 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 {
[23/66] 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 {
[24/66] 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 {
[25/66] 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 {
[26/66] 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 {
[27/66] 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 {
[28/66] 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 {
[29/66] 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 {
[30/66] 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 {
[31/66] 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 {
[32/66] 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 {
[33/66] 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 {
[34/66] 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 {
[35/66] 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 {
[36/66] 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 {
[37/66] 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 {
[38/66] 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 {
[39/66] 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 {
[40/66] 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 {
[41/66] 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 {
[42/66] Compiling JOSESwift ECKeyEncryption.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/66] 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 {
[44/66] 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 {
[45/66] 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 {
[46/66] 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 {
[47/66] Compiling JOSESwift HMACSigner.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/66] Compiling JOSESwift HMACVerifier.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/66] 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 {
[50/66] 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 {
[51/66] 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 {
[52/66] 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 {
[53/66] 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 {
[54/66] 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 {
[55/66] 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 {
[56/66] 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 {
[57/66] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/66] 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 {
[59/66] Compiling JOSESwift ECDHKeyAgreement.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/66] Compiling JOSESwift ECKeyPair.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 {
[61/66] 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 {
[62/66] Compiling JOSESwift PBES2.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 {
[63/66] 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 {
[64/66] 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 {
[65/66] 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 {
[66/66] 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 {
BUILD FAILURE 6.2 wasm