Build Information
Failed to build fx-sdk-swift, reference v1.0.0 (9e22ca), with Swift 6.1 for Wasm on 30 Dec 2025 06:10:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build 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.1
Building package at path: $PWD
https://github.com/chrisstampar/fx-swift.git
https://github.com/chrisstampar/fx-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/BigInt.git"
},
{
"identity" : "web3.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Boilertalk/Web3.swift.git"
},
{
"identity" : "keychainaccess",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kishikawakatsumi/KeychainAccess.git"
}
],
"manifest_display_name" : "fx-sdk-swift",
"name" : "fx-sdk-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "FXProtocol",
"targets" : [
"FXProtocol"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FXProtocolTests",
"module_type" : "SwiftTarget",
"name" : "FXProtocolTests",
"path" : "Tests/FXProtocolTests",
"sources" : [
"APIClientTests.swift",
"CacheTests.swift",
"FXClientTests.swift",
"FXProtocolTests.swift",
"IntegrationTests.swift",
"KeychainManagerTests.swift",
"ModelsTests.swift",
"RequestModelsTests.swift",
"TransactionFlowTests.swift",
"TransactionSignerTests.swift",
"WriteOperationsIntegrationTests.swift",
"WriteOperationsTests.swift"
],
"target_dependencies" : [
"FXProtocol"
],
"type" : "test"
},
{
"c99name" : "FXProtocol",
"module_type" : "SwiftTarget",
"name" : "FXProtocol",
"path" : "Sources/FXProtocol",
"product_dependencies" : [
"BigInt",
"Web3",
"KeychainAccess"
],
"product_memberships" : [
"FXProtocol"
],
"sources" : [
"APIClient.swift",
"CacheEntry.swift",
"CacheManager.swift",
"CacheStats.swift",
"CacheTTL.swift",
"DiskCache.swift",
"Extensions.swift",
"FXProtocol.swift",
"KeychainManager.swift",
"Models.swift",
"TransactionSigner.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/Boilertalk/Web3.swift.git
[1/4826] Fetching bigint
[2511/12481] Fetching bigint, web3.swift
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
Fetched https://github.com/attaswift/BigInt.git from cache (0.53s)
[5818/7655] Fetching web3.swift
[7656/12042] Fetching web3.swift, keychainaccess
Fetched https://github.com/Boilertalk/Web3.swift.git from cache (1.06s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (0.70s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (3.96s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.89s)
Computing version for https://github.com/Boilertalk/Web3.swift.git
Computed https://github.com/Boilertalk/Web3.swift.git at 0.8.8 (1.39s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/mxcl/PromiseKit.git
Fetching https://github.com/vapor/websocket-kit
Fetching https://github.com/Boilertalk/secp256k1.swift.git
[1/780] Fetching secp256k1.swift
[625/3412] Fetching secp256k1.swift, websocket-kit
Fetched https://github.com/Boilertalk/secp256k1.swift.git from cache (0.34s)
[1/13314] Fetching cryptoswift
[1865/31721] Fetching cryptoswift, swift-collections
[7204/48931] Fetching cryptoswift, swift-collections, promisekit
Fetched https://github.com/apple/swift-collections.git from cache (2.24s)
Fetched https://github.com/vapor/websocket-kit from cache (2.97s)
Fetched https://github.com/mxcl/PromiseKit.git from cache (2.99s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (3.01s)
Computing version for https://github.com/Boilertalk/secp256k1.swift.git
Computed https://github.com/Boilertalk/secp256k1.swift.git at 0.1.7 (3.85s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (0.88s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.85s)
Computing version for https://github.com/vapor/websocket-kit
Computed https://github.com/vapor/websocket-kit at 2.16.1 (0.59s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/1820] Fetching swift-atomics
[511/8184] Fetching swift-atomics, swift-nio-extras
[702/10993] Fetching swift-atomics, swift-nio-extras, swift-nio-transport-services
[10994/26289] Fetching swift-atomics, swift-nio-extras, swift-nio-transport-services, swift-nio-ssl
[12218/107241] Fetching swift-atomics, swift-nio-extras, swift-nio-transport-services, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (0.53s)
[10857/105421] Fetching swift-nio-extras, swift-nio-transport-services, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.56s)
[6265/99057] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.18s)
[55428/83761] Fetching swift-nio-transport-services, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (8.16s)
Fetched https://github.com/apple/swift-nio.git from cache (8.30s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (8.97s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.01s)
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 (1.18s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.92.0 (1.27s)
Fetching https://github.com/apple/swift-system.git
[1/5237] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.66s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.36s)
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.83s)
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.67s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-log.git
[1/2568] Fetching swift-service-lifecycle
[2569/4260] Fetching swift-service-lifecycle, swift-asn1
[4261/10120] Fetching swift-service-lifecycle, swift-asn1, swift-async-algorithms
[4789/15879] Fetching swift-service-lifecycle, swift-asn1, swift-async-algorithms, swift-log
[9859/21931] Fetching swift-service-lifecycle, swift-asn1, swift-async-algorithms, swift-log, swift-algorithms
[18080/29011] Fetching swift-service-lifecycle, swift-asn1, swift-async-algorithms, swift-log, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.95s)
[26682/27319] Fetching swift-service-lifecycle, swift-async-algorithms, swift-log, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.95s)
[21035/21459] Fetching swift-service-lifecycle, swift-log, swift-algorithms, swift-certificates
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.05s)
Fetching https://github.com/apple/swift-nio-http2.git
[1/1204] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-certificates.git from cache (1.14s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.14s)
Fetched https://github.com/apple/swift-log.git from cache (1.14s)
[423/2155] Fetching swift-http-structured-headers, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.30s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.31s)
[1/11724] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.14s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.80s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.40s)
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.09s)
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.92s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.8.0 (0.67s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (2.32s)
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.59s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.60s)
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 (1.00s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.0 (0.74s)
Fetching https://github.com/apple/swift-crypto.git
[1/17460] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.67s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (6.31s)
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.61s)
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/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.7.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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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-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/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/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-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/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/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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.0
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/Boilertalk/Web3.swift.git
Working copy of https://github.com/Boilertalk/Web3.swift.git resolved at 0.8.8
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.92.0
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/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/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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
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/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/ABIObject.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ERC20.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIConvertible.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/Eth+ABI.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityInvocation.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Web3+PromiseKit.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/EthereumContract.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABI.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/SolidityTuple.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/Contract/ERC165.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityFunction.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Exports+PromiseKit.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/ContractPromiseExtensions.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Promisable.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/SolidityType+Codable.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIDecoder.swift
Building for debugging...
[0/450] Write sources
[15/450] Copying PrivacyInfo.xcprivacy
[15/450] Write sources
[28/450] Compiling _AtomicsShims.c
[29/450] Compiling lax_der_parsing.c
[29/450] Compiling lax_der_privatekey_parsing.c
[31/450] Compiling CNIOWindows shim.c
[32/450] Compiling CNIOWASI CNIOWASI.c
[33/450] Compiling CNIOWindows WSAStartup.c
[34/450] Compiling CNIOOpenBSD shim.c
[35/450] Compiling CNIOLinux shim.c
[36/450] Compiling CNIOPosix event_loop_id.c
[37/450] Compiling CNIOLinux liburing_shims.c
[38/450] Compiling CNIODarwin shim.c
[39/450] Compiling CNIOLLHTTP c_nio_http.c
[40/450] Compiling CNIOSHA1 c_nio_sha1.c
[41/450] Compiling fiat_p256_adx_mul.S
[42/450] Compiling fiat_p256_adx_sqr.S
[43/450] Compiling fiat_curve25519_adx_square.S
[44/450] Compiling CNIOLLHTTP c_nio_api.c
[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
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[49/452] Compiling tls13_enc.cc
[49/452] Compiling tls13_both.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[49/452] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[49/452] Compiling tls_record.cc
[49/452] Compiling tls13_client.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[49/452] Compiling tls_method.cc
[49/452] Compiling CNIOLLHTTP c_nio_llhttp.c
[50/452] Emitting module secp256k1
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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/Contract/EthereumContract.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityType+Codable.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityFunction.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityTuple.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/Eth+ABI.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/Contract/SolidityInvocation.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityType.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/ContractPromiseExtensions.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Exports+PromiseKit.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Promisable.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/Contract/ERC20.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABI.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIEncoder.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ERC165.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/ERC721.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Web3+PromiseKit.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIDecoder.swift
/host/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityWrappedValue.swift
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/402] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[0/402] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[0/402] Compiling tls13_both.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[0/402] Compiling tls13_client.cc
[0/402] Compiling CNIOLLHTTP c_nio_llhttp.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/t1_enc.cc:28:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[0/402] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[0/402] Compiling tls_record.cc
[0/402] Compiling t1_enc.cc
BUILD FAILURE 6.1 wasm