The Swift Package Index logo.Swift Package Index

Build Information

Failed to build fx-sdk-swift, reference v1.0.0 (9e22ca), with Swift 6.2 for Wasm on 30 Dec 2025 06:09:58 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/chrisstampar/fx-swift.git
Reference: v1.0.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/chrisstampar/fx-swift
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 9e22cac Update LICENSE copyright to Christopher Stampar
Cloned https://github.com/chrisstampar/fx-swift.git
Revision (git rev-parse @):
9e22cac4951600ccb13a4b72b22f8df08adb2a94
SUCCESS checkout https://github.com/chrisstampar/fx-swift.git at v1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/chrisstampar/fx-swift.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:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
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
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
Fetching https://github.com/Boilertalk/Web3.swift.git
[1/4826] Fetching bigint
[725/9213] Fetching bigint, keychainaccess
[4586/16868] Fetching bigint, keychainaccess, web3.swift
Fetched https://github.com/attaswift/BigInt.git from cache (0.77s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (0.77s)
[5818/7655] Fetching web3.swift
Fetched https://github.com/Boilertalk/Web3.swift.git from cache (1.12s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (3.72s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.35s)
Computing version for https://github.com/Boilertalk/Web3.swift.git
Computed https://github.com/Boilertalk/Web3.swift.git at 0.8.8 (0.51s)
Fetching https://github.com/mxcl/PromiseKit.git
Fetching https://github.com/Boilertalk/secp256k1.swift.git
Fetching https://github.com/vapor/websocket-kit
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/2632] Fetching websocket-kit
[212/19842] Fetching websocket-kit, promisekit
[2978/20622] Fetching websocket-kit, promisekit, secp256k1.swift
[5651/33936] Fetching websocket-kit, promisekit, secp256k1.swift, cryptoswift
[7288/52343] Fetching websocket-kit, promisekit, secp256k1.swift, cryptoswift, swift-collections
Fetched https://github.com/vapor/websocket-kit from cache (2.26s)
Fetched https://github.com/mxcl/PromiseKit.git from cache (2.28s)
Fetched https://github.com/Boilertalk/secp256k1.swift.git from cache (2.72s)
Fetched https://github.com/apple/swift-collections.git from cache (2.76s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.77s)
Computing version for https://github.com/Boilertalk/secp256k1.swift.git
Computed https://github.com/Boilertalk/secp256k1.swift.git at 0.1.7 (3.37s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (0.59s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.80s)
Computing version for https://github.com/vapor/websocket-kit
Computed https://github.com/vapor/websocket-kit at 2.16.1 (0.93s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2809] Fetching swift-nio-transport-services
[2810/4629] Fetching swift-nio-transport-services, swift-atomics
[2829/10993] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras
[10994/26289] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras, swift-nio-ssl
[11759/107241] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.72s)
[13412/104432] Fetching swift-atomics, swift-nio-extras, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (0.74s)
[11745/102612] Fetching swift-nio-extras, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.52s)
[63058/96248] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.55s)
[48572/80952] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.49s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (9.96s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.30s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.92.0 (1.06s)
Fetching https://github.com/apple/swift-system.git
[1/5237] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.50s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.47s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.45s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.2 (0.49s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
[1/1692] Fetching swift-asn1
[780/4260] Fetching swift-asn1, swift-service-lifecycle
[1554/10120] Fetching swift-asn1, swift-service-lifecycle, swift-async-algorithms
[2192/15879] Fetching swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-log
[10584/22959] Fetching swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-log, swift-certificates
[13687/29011] Fetching swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-log, swift-certificates, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.93s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.98s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.98s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.99s)
Fetched https://github.com/apple/swift-log.git from cache (0.99s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.99s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-http-types.git
[1/1204] Fetching swift-http-structured-headers
[1205/2155] Fetching swift-http-structured-headers, swift-http-types
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.26s)
[295/951] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.27s)
[1/11724] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.29s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.68s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.45s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (1.41s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (0.61s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.8.0 (0.42s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (2.52s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.40s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.41s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.46s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.0 (1.86s)
Fetching https://github.com/apple/swift-crypto.git
[1/17460] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.20s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (3.48s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (0.40s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 6.22.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/Boilertalk/secp256k1.swift.git
Working copy of https://github.com/Boilertalk/secp256k1.swift.git resolved at 0.1.7
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.17.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.0
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.7.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/websocket-kit
Working copy of https://github.com/vapor/websocket-kit resolved at 2.16.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.31.2
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 4.2.2
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.92.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/Boilertalk/Web3.swift.git
Working copy of https://github.com/Boilertalk/Web3.swift.git resolved at 0.8.8
warning: 'web3.swift': found 22 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABI.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityInvocation.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIEncoder.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityType.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ERC721.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityType+Codable.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Promisable.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityFunction.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/EthereumContract.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ERC165.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityTuple.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/ContractPromiseExtensions.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityWrappedValue.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityEvent.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ERC20.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/Eth+Contract.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIDecoder.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Exports+PromiseKit.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIConvertible.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ABIObject.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/Eth+ABI.swift
    /host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Web3+PromiseKit.swift
Building for debugging...
[0/450] Write sources
[10/450] Copying PrivacyInfo.xcprivacy
[10/450] Write sources
[28/450] Compiling CNIOWindows WSAStartup.c
[29/450] Compiling CNIOWASI CNIOWASI.c
[29/450] Compiling CNIOWindows shim.c
[31/450] Compiling _AtomicsShims.c
[32/450] Compiling lax_der_parsing.c
[33/450] Compiling CNIOOpenBSD shim.c
[34/450] Compiling CNIOLinux shim.c
[34/450] Compiling CNIOPosix event_loop_id.c
[36/450] Compiling lax_der_privatekey_parsing.c
[37/450] Compiling CNIOLinux liburing_shims.c
[38/450] Compiling CNIODarwin shim.c
[39/450] Compiling CNIOSHA1 c_nio_sha1.c
[40/450] Compiling CNIOLLHTTP c_nio_http.c
[41/450] Compiling fiat_p256_adx_sqr.S
[42/450] Compiling fiat_p256_adx_mul.S
[43/450] Compiling CNIOLLHTTP c_nio_api.c
[44/450] Compiling fiat_curve25519_adx_square.S
[45/450] Compiling fiat_curve25519_adx_mul.S
[46/450] Compiling CNIOBoringSSLShims shims.c
[47/450] Write swift-version-24593BA9C3E375BF.txt
[48/450] Compiling secp256k1.c
[50/452] Emitting module secp256k1
[51/453] Compiling tls13_enc.cc
[52/453] Compiling tls_method.cc
[54/453] Compiling secp256k1 Exporter.swift
[54/459] Compiling CNIOLLHTTP c_nio_llhttp.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/459] Emitting module _NIODataStructures
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:27:8: error: The Heap module was unable to identify your C library.
 25 | @preconcurrency import Bionic
 26 | #else
 27 | #error("The Heap module was unable to identify your C library.")
    |        `- error: The Heap module was unable to identify your C library.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:170:47: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
168 |             return "<empty heap>"
169 |         }
170 |         let descriptions = self.storage.map { String(describing: $0) }
    |                                               `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
171 |         let maxLen: Int = descriptions.map { $0.count }.max()!  // storage checked non-empty above
172 |         let paddedDescs = descriptions.map { (desc: String) -> String in
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:208:21: error: cannot find 'log2' in scope
206 |
207 |             func height(index: Int) -> Int {
208 |                 Int(log2(Double(index + 1)))
    |                     `- error: cannot find 'log2' in scope
209 |             }
210 |             let myHeight = height(index: index)
[56/459] Compiling tls_record.cc
[58/459] Compiling _NIODataStructures Heap.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:27:8: error: The Heap module was unable to identify your C library.
 25 | @preconcurrency import Bionic
 26 | #else
 27 | #error("The Heap module was unable to identify your C library.")
    |        `- error: The Heap module was unable to identify your C library.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:170:47: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
168 |             return "<empty heap>"
169 |         }
170 |         let descriptions = self.storage.map { String(describing: $0) }
    |                                               `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
171 |         let maxLen: Int = descriptions.map { $0.count }.max()!  // storage checked non-empty above
172 |         let paddedDescs = descriptions.map { (desc: String) -> String in
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:208:21: error: cannot find 'log2' in scope
206 |
207 |             func height(index: Int) -> Int {
208 |                 Int(log2(Double(index + 1)))
    |                     `- error: cannot find 'log2' in scope
209 |             }
210 |             let myHeight = height(index: index)
[58/459] Compiling tls13_client.cc
[58/459] Compiling tls13_both.cc
[58/459] Compiling tls13_server.cc
BUILD FAILURE 6.2 wasm