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 Web3swift, reference develop (f48d7a), with Swift 6.2 for Wasm on 25 Sep 2025 00:45:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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 f48d7a9 Merge pull request #898 from Olexandr88/patch-1
Cloned https://github.com/web3swift-team/web3swift.git
Revision (git rev-parse @):
f48d7a9e842c31559ad732786a8346d07dcae7e8
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-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
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/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift
Fetching https://github.com/attaswift/BigInt.git
[1/4826] Fetching bigint
[1594/17848] Fetching bigint, cryptoswift
[1595/23167] Fetching bigint, cryptoswift, secp256k1.swift
Fetched https://github.com/GigaBitcoin/secp256k1.swift from cache (0.87s)
Fetched https://github.com/attaswift/BigInt.git from cache (0.89s)
[1954/13022] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.89s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift
Computed https://github.com/GigaBitcoin/secp256k1.swift at 0.10.0 (4.28s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.4.1 (0.31s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.38s)
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/GigaBitcoin/secp256k1.swift
Working copy of https://github.com/GigaBitcoin/secp256k1.swift resolved at 0.10.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Building for debugging...
[0/14] Write sources
[2/14] Copying wk.bridge.min.js
[3/14] Copying browser.min.js
[3/14] Write sources
[3/14] Copying PrivacyInfo.xcprivacy
[3/14] Write sources
[8/14] Copying browser.js
[9/14] Compiling Utility.c
[10/14] Compiling precomputed_ecmult_gen.c
[11/14] Write swift-version-24593BA9C3E375BF.txt
[11/14] Compiling secp256k1.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/18] 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 {
[15/18] Compiling BigInt Addition.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 {
[15/18] Compiling precomputed_ecmult.c
BUILD FAILURE 6.2 wasm