The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JOSESwift, reference 2.3.1 (6e301d), with Swift 6.2 for Wasm on 21 Jun 2025 00:30:59 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/tobihagemann/JOSESwift.git
Reference: 2.3.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/tobihagemann/JOSESwift
 * tag               2.3.1      -> FETCH_HEAD
HEAD is now at 6e301dd Prepare 2.3.1 (#248)
Cloned https://github.com/tobihagemann/JOSESwift.git
Revision (git rev-parse @):
6e301dd8652aa7b3bbe4c228153cfea9843ed69e
SUCCESS checkout https://github.com/tobihagemann/JOSESwift.git at 2.3.1
========================================
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-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
[3/52] 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 {
[4/52] 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 {
[5/52] 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 {
[6/52] 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 {
[7/52] 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 {
[8/52] 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 {
[9/52] 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 {
[10/58] 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 {
[11/58] 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 {
[12/58] 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 {
[13/58] 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 {
[14/58] 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 {
[15/58] 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 {
[16/58] 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 {
[17/58] 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 {
[18/58] 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 {
[19/58] 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 {
[20/58] 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 {
[21/58] 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 {
[22/58] 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 {
[23/58] 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 {
[24/58] 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 {
[25/58] 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 {
[26/58] 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 {
[27/58] 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 {
[28/58] 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 {
[29/58] 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 {
[30/58] 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 {
[31/58] 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 {
[32/58] 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 {
[33/58] 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 {
[34/58] 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 {
[35/58] 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 {
[36/58] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/58] 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 {
[38/58] 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 {
[39/58] 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 {
[40/58] 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 {
[41/58] 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 {
[42/58] 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 {
[43/58] 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 {
[44/58] 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 {
[45/58] 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 {
[46/58] 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 {
[47/58] 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 {
[48/58] 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 {
[49/58] 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 {
[50/58] 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 {
[51/58] 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 {
[52/58] 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 {
[53/58] 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 {
[54/58] 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 {
[55/58] 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 {
[56/58] 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 {
[57/58] 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 {
[58/58] 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 {
BUILD FAILURE 6.2 wasm