Build Information
Failed to build Web3swift, reference develop (d8cfaf
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 18:53:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/web3swift-team/web3swift.git
Reference: develop
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/web3swift-team/web3swift
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at d8cfafe Merge pull request #881 from 6od9i/test-project-send
Cloned https://github.com/web3swift-team/web3swift.git
Revision (git rev-parse @):
d8cfafee4562f5a19d6b299f9496d104ccbe6426
SUCCESS checkout https://github.com/web3swift-team/web3swift.git at develop
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/web3swift-team/web3swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:17:10: warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead [#DeprecatedDeclaration]
15 | .package(url: "https://github.com/attaswift/BigInt.git", .upToNextMinor(from: "5.4.0")),
16 | .package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", from: "1.5.1"),
17 | .package(name: "secp256k1", url: "https://github.com/GigaBitcoin/secp256k1.swift", .upToNextMinor(from: "0.10.0")),
| `- warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead [#DeprecatedDeclaration]
18 | ],
19 | targets: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/GigaBitcoin/secp256k1.swift
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/attaswift/BigInt.git
[1/4807] Fetching bigint
[3511/9720] Fetching bigint, secp256k1.swift
[5412/22661] Fetching bigint, secp256k1.swift, cryptoswift
Fetched https://github.com/GigaBitcoin/secp256k1.swift from cache (0.73s)
Fetched https://github.com/attaswift/BigInt.git from cache (0.73s)
[3624/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.52s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift
Computed https://github.com/GigaBitcoin/secp256k1.swift at 0.10.0 (3.98s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.4.1 (0.87s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.44s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.4.1
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/GigaBitcoin/secp256k1.swift
Working copy of https://github.com/GigaBitcoin/secp256k1.swift resolved at 0.10.0
Building for debugging...
[0/14] Write sources
[0/14] Copying wk.bridge.min.js
[0/14] Write sources
[0/14] Copying PrivacyInfo.xcprivacy
[0/14] Write sources
[7/14] Copying browser.min.js
[8/14] Copying browser.js
[9/14] Compiling Utility.c
[9/14] Write swift-version-24593BA9C3E375BF.txt
[11/57] Compiling precomputed_ecmult_gen.c
[12/136] Compiling secp256k1.c
[13/136] Compiling precomputed_ecmult.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/156] Emitting module secp256k1
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | /// The secp256k1 Elliptic Curve.
[16/158] Compiling secp256k1 Utility.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[17/158] Compiling secp256k1 Zeroization.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[18/160] Compiling secp256k1 SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[19/160] Compiling secp256k1 Signature.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[20/160] Compiling secp256k1 Tweak.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[21/160] Compiling secp256k1 Errors.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[22/160] Compiling secp256k1 Exports.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[23/160] Compiling secp256k1 HashDigest.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | /// The secp256k1 Elliptic Curve.
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | /// The secp256k1 Elliptic Curve.
[26/160] Compiling secp256k1 Asymmetric.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | /// The secp256k1 Elliptic Curve.
[27/160] Compiling secp256k1 DH.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | /// The secp256k1 Elliptic Curve.
[28/160] Compiling secp256k1 Digest.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | /// The secp256k1 Elliptic Curve.
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | /// The secp256k1 Elliptic Curve.
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | /// The secp256k1 Elliptic Curve.
/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
/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
/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
/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
/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/160] Compiling BigInt 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
[37/160] Compiling BigInt Words and Bits.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/160] 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
[39/160] 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
[40/160] 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
[41/160] 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
[42/160] 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
[43/160] 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
[44/160] 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
[45/160] Compiling secp256k1 SHA256.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[46/160] Compiling secp256k1 SafeCompare.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[47/160] Compiling secp256k1 Schnorr.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[48/160] Compiling secp256k1 ECDH.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | /// The secp256k1 Elliptic Curve.
[49/160] Compiling secp256k1 ECDSA.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | /// The secp256k1 Elliptic Curve.
[50/160] Compiling secp256k1 EdDSA.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | /// The secp256k1 Elliptic Curve.
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[57/160] Emitting module BigInt
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[58/160] Compiling secp256k1 PrettyBytes.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[59/160] Compiling secp256k1 RNG_boring.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[60/160] Compiling secp256k1 Recovery.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | /// The secp256k1 Elliptic Curve.
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | /// The secp256k1 Elliptic Curve.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/174] Emitting module CryptoSwift
/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
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
BUILD FAILURE 6.2 wasm