Build Information
Failed to build Paseto, reference 1.2.0 (811e25
), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 01:13:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/aidantwoods/swift-paseto.git
Reference: 1.2.0
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/aidantwoods/swift-paseto
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at 811e258 Merge pull request #18 from frederikbosch/patch-2
Cloned https://github.com/aidantwoods/swift-paseto.git
Revision (git rev-parse @):
811e2589a7eb65c16a39e64841034e11daa803a2
SUCCESS checkout https://github.com/aidantwoods/swift-paseto.git at 1.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/aidantwoods/swift-paseto.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/aidantwoods/swift-sodium.git
[1/3508] Fetching swift-sodium
Fetched https://github.com/aidantwoods/swift-sodium.git from cache (5.31s)
Fetching https://github.com/aidantwoods/TypedJSON.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/84] Fetching typedjson
[85/13025] Fetching typedjson, cryptoswift
Fetched https://github.com/aidantwoods/TypedJSON.git from cache (1.87s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.90s)
Computing version for https://github.com/aidantwoods/TypedJSON.git
Computed https://github.com/aidantwoods/TypedJSON.git at 0.1.2 (2.42s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (1.95s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/aidantwoods/TypedJSON.git
Working copy of https://github.com/aidantwoods/TypedJSON.git resolved at 0.1.2
Creating working copy for https://github.com/aidantwoods/swift-sodium.git
Working copy of https://github.com/aidantwoods/swift-sodium.git resolved at full-clibsodium-build (eeb18f6)
warning: you may be able to install libsodium using your system-packager:
apt-get install libsodium-dev
warning: you may be able to install libsodium using your system-packager:
apt-get install libsodium-dev
Building for debugging...
[0/6] Write sources
[2/6] Copying PrivacyInfo.xcprivacy
[2/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/132] Compiling TypedJSON Value.swift
/host/spi-builder-workspace/.build/checkouts/TypedJSON/Sources/TypedJSON/Container.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public extension JSON.Container {
[8/132] Compiling TypedJSON JSON.swift
/host/spi-builder-workspace/.build/checkouts/TypedJSON/Sources/TypedJSON/Container.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public extension JSON.Container {
[9/132] Compiling CryptoSwift ASN1Decoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import Clibsodium
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
[10/132] Compiling CryptoSwift ASN1Encoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import Clibsodium
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
[11/132] Compiling CryptoSwift ASN1Scanner.swift
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import Clibsodium
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
[12/134] Compiling CryptoSwift CMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[13/134] Compiling CryptoSwift Addition.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[14/134] Compiling CryptoSwift BigInt.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[15/134] Compiling CryptoSwift BigUInt.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[16/134] Compiling CryptoSwift BitwiseOps.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[17/134] Compiling CryptoSwift CS.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[18/134] Compiling CryptoSwift Codable.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[19/134] Compiling CryptoSwift Comparable.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[20/134] Compiling CryptoSwift DataConversion.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[21/134] Compiling CryptoSwift Division.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[22/134] Compiling CryptoSwift Exponentiation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[23/134] Compiling CryptoSwift FloatingPointConversion.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[24/134] Compiling CryptoSwift GCD.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[25/134] Compiling CryptoSwift Hashable.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[26/146] Compiling CryptoSwift Array+Extension.swift
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import Clibsodium
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
[27/146] Compiling CryptoSwift Authenticator.swift
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import Clibsodium
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
[28/146] Compiling CryptoSwift BatchedCollection.swift
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import Clibsodium
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
[29/148] Compiling CryptoSwift Bit.swift
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import Clibsodium
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
[30/148] Compiling CryptoSwift BlockCipher.swift
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import Clibsodium
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
[31/148] Compiling CryptoSwift AES.Cryptors.swift
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import Clibsodium
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
[32/148] Compiling CryptoSwift AES.swift
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import Clibsodium
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
[33/148] Compiling CryptoSwift ASN1.swift
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import Clibsodium
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/148] Emitting module TypedJSON
/host/spi-builder-workspace/.build/checkouts/TypedJSON/Sources/TypedJSON/Container.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public extension JSON.Container {
[35/148] Compiling TypedJSON Container.swift
/host/spi-builder-workspace/.build/checkouts/TypedJSON/Sources/TypedJSON/Container.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public extension JSON.Container {
BUILD FAILURE 6.2 wasm