Build Information
Failed to build ZcashLightClientKit, reference main (d9e544), with Swift 6.1 for Wasm on 29 Apr 2026 01:16:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zcash/zcash-swift-wallet-sdk.git
Reference: main
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/zcash/zcash-swift-wallet-sdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d9e544a Merge pull request #1659 from zcash/account_uivk_ffi
Cloned https://github.com/zcash/zcash-swift-wallet-sdk.git
Revision (git rev-parse @):
d9e544a8c4b0a2f1acfd8a477e9fc0fcbf3634ae
SUCCESS checkout https://github.com/zcash/zcash-swift-wallet-sdk.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/zcash/zcash-swift-wallet-sdk.git
https://github.com/zcash/zcash-swift-wallet-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/11158] Fetching sqlite.swift
[2010/62666] Fetching sqlite.swift, grpc-swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (2.38s)
Fetched https://github.com/grpc/grpc-swift.git from cache (2.40s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.16.0 (3.01s)
Fetching https://github.com/sqlcipher/SQLCipher.swift
Fetching https://github.com/stephencelis/CSQLite
[1/127] Fetching sqlcipher.swift
[103/327] Fetching sqlcipher.swift, csqlite
Fetched https://github.com/sqlcipher/SQLCipher.swift from cache (0.60s)
Fetched https://github.com/stephencelis/CSQLite from cache (0.85s)
Computing version for https://github.com/stephencelis/CSQLite
Computed https://github.com/stephencelis/CSQLite at 3.50.4 (1.38s)
Computing version for https://github.com/sqlcipher/SQLCipher.swift
Computed https://github.com/sqlcipher/SQLCipher.swift at 4.15.0 (0.56s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.5 (2.41s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[693/8339] Fetching swift-atomics, swift-nio-extras
[777/32139] Fetching swift-atomics, swift-nio-extras, swift-collections
[5401/38865] Fetching swift-atomics, swift-nio-extras, swift-collections, swift-log
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
[11147/37045] Fetching swift-nio-extras, swift-collections, swift-log
Fetching https://github.com/apple/swift-nio-transport-services.git
[12424/52485] Fetching swift-nio-extras, swift-collections, swift-log, swift-nio-ssl
[16302/100240] Fetching swift-nio-extras, swift-collections, swift-log, swift-nio-ssl, swift-protobuf
[19869/103087] Fetching swift-nio-extras, swift-collections, swift-log, swift-nio-ssl, swift-protobuf, swift-nio-transport-services
Fetched https://github.com/apple/swift-log.git from cache (0.77s)
[14046/96361] Fetching swift-nio-extras, swift-collections, swift-nio-ssl, swift-protobuf, swift-nio-transport-services
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.45s)
[19531/93514] Fetching swift-nio-extras, swift-collections, swift-nio-ssl, swift-protobuf
Fetching https://github.com/apple/swift-nio.git
[32003/105622] Fetching swift-nio-extras, swift-collections, swift-nio-ssl, swift-protobuf, swift-nio-http2
[53647/188833] Fetching swift-nio-extras, swift-collections, swift-nio-ssl, swift-protobuf, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.53s)
[109238/176725] Fetching swift-nio-extras, swift-collections, swift-nio-ssl, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-collections.git from cache (3.33s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.33s)
[70476/137485] Fetching swift-nio-extras, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (11.34s)
Fetched https://github.com/apple/swift-protobuf.git from cache (11.56s)
Fetched https://github.com/apple/swift-nio.git from cache (10.70s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (12.67s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (1.02s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.43.0 (1.01s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.32s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.37.0 (1.02s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.0 (1.02s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/6058] Fetching swift-algorithms
[123/7300] Fetching swift-algorithms, swift-http-structured-headers
[369/9103] Fetching swift-algorithms, swift-http-structured-headers, swift-asn1
[395/11854] Fetching swift-algorithms, swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[2297/19114] Fetching swift-algorithms, swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-certificates
[2737/25359] Fetching swift-algorithms, swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.74s)
[23588/24117] Fetching swift-algorithms, swift-asn1, swift-service-lifecycle, swift-certificates, swift-async-algorithms
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-asn1.git from cache (0.81s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.06s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.14s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.14s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.14s)
[1/1043] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.60s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.37s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.71s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.70s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.0 (1.68s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (1.13s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.11s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.96s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (1.01s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (1.89s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.79s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.0 (2.16s)
Fetching https://github.com/apple/swift-crypto.git
[1/17447] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (4.04s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (5.13s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.07s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.0 (3.61s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.27.5
Creating working copy for https://github.com/stephencelis/CSQLite
Working copy of https://github.com/stephencelis/CSQLite resolved at 3.50.4
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.16.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.28.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.43.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.12.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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.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.7.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.99.0
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.34.0
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.37.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.11.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.37.0
Creating working copy for https://github.com/sqlcipher/SQLCipher.swift
Working copy of https://github.com/sqlcipher/SQLCipher.swift resolved at 4.15.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.5.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-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.19.0
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.4
Downloading binary artifact https://github.com/zcash/zcash-swift-wallet-sdk/releases/download/2.4.6/libzcashlc.xcframework.zip
Downloading binary artifact https://github.com/sqlcipher/SQLCipher.swift/releases/download/4.15.0/SQLCipher.xcframework.zip
[1397/50209920] Downloading https://github.com/sqlcipher/SQLCipher.swift/releases/download/4.15.0/SQLCipher.xcframework.zip
[61942/127120262] Downloading https://github.com/sqlcipher/SQLCipher.swift/releases/download/4.15.0/SQLCipher.xcframework.zip, https://github.com/zcash/zcash-swift-wallet-sdk/releases/download/2.4.6/libzcashlc.xcframework.zip
Downloaded https://github.com/sqlcipher/SQLCipher.swift/releases/download/4.15.0/SQLCipher.xcframework.zip (8.67s)
Downloaded https://github.com/zcash/zcash-swift-wallet-sdk/releases/download/2.4.6/libzcashlc.xcframework.zip (11.53s)
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[2/457] Write sources
[2/457] Copying integerOverflowJSON.json
[2/457] Write sources
[2/457] Copying txFromAndroidSDK.txt
[2/457] Copying txBase64String.txt
[2/457] Copying sandblasted_mainnet_block.json
[11/457] Copying darkside_data.db
[11/457] Copying darkside_caches.db
[11/457] Copying sapling-output.params
[11/457] Write sources
[11/457] Copying cache.db
[11/457] Write sources
[11/457] Copying PrivacyInfo.xcprivacy
[11/457] Write sources
[36/457] Compiling _AtomicsShims.c
[37/457] Compiling CNIOWindows shim.c
[38/457] Copying test_data.db
[39/457] Compiling CNIOWindows WSAStartup.c
[40/457] Compiling CNIOWASI CNIOWASI.c
[41/457] Compiling CNIOPosix event_loop_id.c
[42/457] Copying sapling-spend.params
[43/457] Compiling CNIOLinux shim.c
[44/457] Compiling CNIOLinux liburing_shims.c
[45/457] Compiling CNIOOpenBSD shim.c
[46/457] Compiling CNIODarwin shim.c
[47/457] Copying checkpoints
[48/457] Compiling CNIOLLHTTP c_nio_http.c
[49/457] Compiling CNIOLLHTTP c_nio_api.c
[50/457] Compiling fiat_p256_adx_sqr.S
[51/457] Compiling fiat_p256_adx_mul.S
[52/457] Compiling fiat_curve25519_adx_square.S
[53/457] Compiling fiat_curve25519_adx_mul.S
[54/457] Write swift-version-24593BA9C3E375BF.txt
[55/457] Compiling CNIOBoringSSLShims shims.c
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>
| ^~~~~~~~~~~
1 error generated.
[56/461] Compiling tls_record.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>
| ^~~~~~~~~~~
[56/461] Compiling tls13_client.cc
[56/461] Compiling SQLiteSwiftCSQLite sqlite3.c
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>
| ^~~~~~~~~~~
[56/461] Compiling tls13_server.cc
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>
| ^~~~~~~~~~~
[56/461] Compiling tls13_enc.cc
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
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>
| ^~~~~~~~~~~
[56/461] Compiling tls_method.cc
[56/461] Compiling CNIOLLHTTP c_nio_llhttp.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
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>
| ^~~~~~~~~~~
1 error generated.
[2/404] Compiling tls_method.cc
[2/404] Compiling c-nioatomics.c
[2/404] Compiling tls13_server.cc
[2/404] Compiling tls13_both.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>
| ^~~~~~~~~~~
[2/404] Compiling tls_record.cc
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>
| ^~~~~~~~~~~
[2/404] Compiling tls13_enc.cc
[2/404] Compiling c-atomics.c
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>
| ^~~~~~~~~~~
[2/404] Compiling tls13_client.cc
BUILD FAILURE 6.1 wasm