Build Information
Failed to build GoogleAPISwiftSDK, reference v0.1.0 (a8c7e7
), with Swift 6.1 for Wasm on 26 Aug 2025 07:37:39 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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShenghaiWang/GoogleAPISwiftSDK.git
Reference: v0.1.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/ShenghaiWang/GoogleAPISwiftSDK
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at a8c7e78 Initial setup
Cloned https://github.com/ShenghaiWang/GoogleAPISwiftSDK.git
Revision (git rev-parse @):
a8c7e7894551b784ae67352dc85e2998cdc1c801
SUCCESS checkout https://github.com/ShenghaiWang/GoogleAPISwiftSDK.git at v0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ShenghaiWang/GoogleAPISwiftSDK.git
https://github.com/ShenghaiWang/GoogleAPISwiftSDK.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
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/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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/ShenghaiWang/GoogleAPITokenManager.git
[1/57] Fetching googleapitokenmanager
Fetched https://github.com/ShenghaiWang/GoogleAPITokenManager.git from cache (0.26s)
Computing version for https://github.com/ShenghaiWang/GoogleAPITokenManager.git
Computed https://github.com/ShenghaiWang/GoogleAPITokenManager.git at 0.1.0 (0.78s)
Fetching https://github.com/vapor/jwt-kit.git
[1/9137] Fetching jwt-kit
Fetched https://github.com/vapor/jwt-kit.git from cache (1.01s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 4.13.5 (3.59s)
Fetching https://github.com/apple/swift-crypto.git
[1/16276] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.77s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.14.0 (4.40s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.29s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.93s)
Creating working copy for https://github.com/vapor/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 4.13.5
Creating working copy for https://github.com/ShenghaiWang/GoogleAPITokenManager.git
Working copy of https://github.com/ShenghaiWang/GoogleAPITokenManager.git resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.14.0
Building for debugging...
[0/805] Write sources
[6/805] Compiling fiat_p256_adx_sqr.S
[7/805] Compiling fiat_p256_adx_mul.S
[8/805] Compiling fiat_curve25519_adx_square.S
[9/805] Compiling fiat_curve25519_adx_mul.S
[10/805] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/x509/x_x509a.c:64:
In file included from /host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/x509/internal.h:67:
/host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/x509/../internal.h:141:10: fatal error: 'pthread.h' file not found
141 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/x509/x_x509.c:71:
/host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/x509/../internal.h:141:10: fatal error: 'pthread.h' file not found
141 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[11/805] Compiling x_x509.c
[11/805] Compiling x_x509a.c
[11/805] Compiling aes.cc
[11/805] Compiling a_gentm.cc
[11/805] Compiling a_i2d_fp.cc
[11/805] Compiling a_dup.cc
[11/805] Compiling a_bitstr.cc
[11/805] Compiling a_bool.cc
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/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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/x509/x_x509.c:71:
/host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/x509/../internal.h:141:10: fatal error: 'pthread.h' file not found
141 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/795] Compiling x_x509.c
[0/795] Compiling x_val.c
[0/795] Compiling x_pubkey.c
[0/795] Write swift-version-24593BA9C3E375BF.txt
[0/795] Compiling x_sig.c
In file included from /host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/x509/x_x509a.c:64:
In file included from /host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/x509/internal.h:67:
/host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/x509/../internal.h:141:10: fatal error: 'pthread.h' file not found
141 | #include <pthread.h>
| ^~~~~~~~~~~
[0/795] Compiling x_x509a.c
[0/795] Compiling x_spki.c
[0/795] Compiling x_req.c
BUILD FAILURE 6.1 wasm