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 SwiftJWT, reference 4.0.2 (2cf7ef), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 11:43:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/Kitura/Swift-JWT.git
Reference: 4.0.2
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/Kitura/Swift-JWT
 * tag               4.0.2      -> FETCH_HEAD
HEAD is now at 2cf7ef3 Bump minimum BlueRSA version to 1.0.202
Cloned https://github.com/Kitura/Swift-JWT.git
Revision (git rev-parse @):
2cf7ef3eeb0df84318c75662c257651285f8289f
SUCCESS checkout https://github.com/Kitura/Swift-JWT.git at 4.0.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Kitura/Swift-JWT.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/BlueECC.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/BlueRSA.git
[1/1654] Fetching bluecryptor
[1639/2675] Fetching bluecryptor, blueecc
[1656/5221] Fetching bluecryptor, blueecc, kituracontracts
[1860/5992] Fetching bluecryptor, blueecc, kituracontracts, loggerapi
[2285/8010] Fetching bluecryptor, blueecc, kituracontracts, loggerapi, bluersa
Fetched https://github.com/Kitura/BlueRSA.git from cache (0.45s)
Fetched https://github.com/Kitura/BlueECC.git from cache (0.46s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.52s)
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.52s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.53s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (0.96s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.40s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.45s)
Computing version for https://github.com/Kitura/BlueECC.git
Computed https://github.com/Kitura/BlueECC.git at 1.2.201 (1.68s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.24s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (3.50s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (0.49s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.203 (0.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.51s)
Creating working copy for https://github.com/Kitura/BlueECC.git
Working copy of https://github.com/Kitura/BlueECC.git resolved at 1.2.201
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 2.0.1
Creating working copy for https://github.com/Kitura/BlueRSA.git
Working copy of https://github.com/Kitura/BlueRSA.git resolved at 1.0.203
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 2.0.2
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/43] Compiling CryptorECC ECPublicKey.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[10/44] Compiling CryptorECC EllipticCurve.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[11/44] Compiling CryptorECC ECSignature.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[12/44] Compiling CryptorRSA CryptorRSADigest.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
[13/44] Compiling CryptorRSA CryptorRSAUtilities.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
[14/44] Compiling CryptorRSA Data+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
[15/45] Compiling CryptorRSA CryptorRSAKey.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
[16/45] Compiling CryptorRSA CryptorRSAErrors.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
[17/45] Compiling CryptorECC SSLPointerTricks.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[18/45] Compiling CryptorRSA CryptorRSA.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/45] Emitting module CryptorRSA
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
[20/45] Compiling CryptorRSA CryptorRSAConstants.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
[21/45] Compiling CryptorECC ECSignable.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[22/45] Compiling Cryptor KeyDerivation.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[23/45] Compiling Cryptor Random.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[24/45] Compiling Cryptor Crypto.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[25/45] Compiling Cryptor Cryptor.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[28/45] Compiling Cryptor Digest.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[29/45] Compiling Cryptor HMAC.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[32/45] Emitting module Cryptor
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[33/45] Compiling Cryptor SSLPointerTricks.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[34/46] Compiling Cryptor Status.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[35/46] Compiling Cryptor StreamCryptor.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[36/46] Compiling Cryptor Updatable.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[37/46] Compiling CryptorRSA SSLPointerTricks.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/46] Emitting module CryptorECC
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
BUILD FAILURE 6.2 wasm