Build Information
Failed to build Solana, reference 0.0.3 (fbd76e
), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 22:46:06 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/crewshin/solana-swift.git
Reference: 0.0.3
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/crewshin/solana-swift
* tag 0.0.3 -> FETCH_HEAD
HEAD is now at fbd76e7 Whoops. We're gonna need websockets lol
Cloned https://github.com/crewshin/solana-swift.git
Revision (git rev-parse @):
fbd76e723ba56b57e5b594a68a5d624bc5d87faf
SUCCESS checkout https://github.com/crewshin/solana-swift.git at 0.0.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/crewshin/solana-swift.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/crewshin/ed25519swift
Fetching https://github.com/keefertaylor/Base58Swift
[1/534] Fetching base58swift
[92/1486] Fetching base58swift, ed25519swift
Fetched https://github.com/keefertaylor/Base58Swift from cache (0.35s)
Fetched https://github.com/crewshin/ed25519swift from cache (0.35s)
Computing version for https://github.com/keefertaylor/Base58Swift
Computed https://github.com/keefertaylor/Base58Swift at 2.1.14 (0.82s)
Fetching https://github.com/attaswift/BigInt.git
[1/4807] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (0.61s)
Computing version for https://github.com/crewshin/ed25519swift
Computed https://github.com/crewshin/ed25519swift at 1.2.6 (1.14s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.67s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.6.0 (2.04s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.49s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.6.0
Creating working copy for https://github.com/keefertaylor/Base58Swift
Working copy of https://github.com/keefertaylor/Base58Swift resolved at 2.1.14
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/crewshin/ed25519swift
Working copy of https://github.com/crewshin/ed25519swift resolved at 1.2.6
Building for debugging...
[0/7] Write sources
[1/7] Copying PrivacyInfo.xcprivacy
[4/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/129] Emitting module BigInt
[9/131] Compiling CryptoSwift IntegerConversion.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
[10/131] Compiling CryptoSwift Multiplication.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
[11/131] Compiling CryptoSwift PrimeTest.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
[12/131] Compiling CryptoSwift Random.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/131] Compiling CryptoSwift Shifts.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/131] Compiling CryptoSwift SquareRoot.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/131] Compiling CryptoSwift Strideable.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/131] Compiling CryptoSwift StringConversion.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/131] Compiling CryptoSwift Subtraction.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/131] Compiling CryptoSwift WordsAndBits.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/131] Compiling CryptoSwift ChaCha20.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/131] Compiling CryptoSwift Checksum.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/131] Compiling CryptoSwift Cipher.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/131] Compiling CryptoSwift Collection+Extension.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/145] Compiling BigInt Subtraction.swift
[24/145] Compiling BigInt Words and Bits.swift
[25/145] 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
[26/145] 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
[27/145] 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
[28/145] 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
[29/145] 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
[30/145] 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
[31/145] 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
[32/145] 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
[33/145] 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
[34/145] 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
[35/145] 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
[36/145] 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
[37/145] 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
[38/145] 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
[39/145] Compiling CryptoSwift CBC.swift
[40/145] Compiling CryptoSwift CCM.swift
[41/145] Compiling CryptoSwift CFB.swift
[42/145] Compiling CryptoSwift BlockEncryptor.swift
[43/145] Compiling CryptoSwift BlockMode.swift
[44/145] Compiling CryptoSwift BlockModeOptions.swift
[45/145] Compiling CryptoSwift AEAD.swift
[46/145] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[47/145] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[48/145] Compiling CryptoSwift AES.Cryptors.swift
[49/145] Compiling CryptoSwift AES.swift
[50/145] Compiling CryptoSwift CTR.swift
[51/145] Compiling CryptoSwift CipherModeWorker.swift
[52/145] Compiling CryptoSwift ECB.swift
[53/145] Compiling CryptoSwift PCBC.swift
[54/145] Compiling CryptoSwift Blowfish.swift
[55/145] Compiling CryptoSwift CBCMAC.swift
[56/145] Compiling CryptoSwift GCM.swift
[57/145] Compiling CryptoSwift OCB.swift
[58/145] Compiling CryptoSwift OFB.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[60/148] Emitting module Base58Swift
/host/spi-builder-workspace/.build/checkouts/Base58Swift/Base58Swift/Base58.swift:4:8: error: no such module 'CommonCrypto'
2 |
3 | import BigInt
4 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
5 | import Foundation
6 |
[61/148] Compiling Base58Swift Base58.swift
/host/spi-builder-workspace/.build/checkouts/Base58Swift/Base58Swift/Base58.swift:4:8: error: no such module 'CommonCrypto'
2 |
3 | import BigInt
4 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
5 | import Foundation
6 |
BUILD FAILURE 6.2 wasm