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 GoogleAPITokenManager, reference v1.0.2 (846bc3), with Swift 6.1 for Wasm on 3 Sep 2025 12:31:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/GoogleAPITokenManager.git
Reference: v1.0.2
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/GoogleAPITokenManager
 * tag               v1.0.2     -> FETCH_HEAD
HEAD is now at 846bc31 Fix release build
Cloned https://github.com/ShenghaiWang/GoogleAPITokenManager.git
Revision (git rev-parse @):
846bc3191fdfcf147b9467a725b598187819934c
SUCCESS checkout https://github.com/ShenghaiWang/GoogleAPITokenManager.git at v1.0.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ShenghaiWang/GoogleAPITokenManager.git
https://github.com/ShenghaiWang/GoogleAPITokenManager.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-4606859-2":/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/apple/swift-crypto.git
Fetching https://github.com/vapor/jwt-kit.git
[1/16374] Fetching swift-crypto
[329/25511] Fetching swift-crypto, jwt-kit
Fetched https://github.com/vapor/jwt-kit.git from cache (1.69s)
[3767/16374] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.33s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 4.13.5 (12.10s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (3.15s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.51s)
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/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.15.0
Building for debugging...
[0/795] Write sources
[3/795] Compiling x86_64-mont-linux.linux.x86_64.S
[4/795] Write sources
[5/795] Compiling fiat_p256_adx_sqr.S
In file included from /host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/rsa_extra/rsa_crypt.c:68:
In file included from /host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/rsa_extra/../fipsmodule/bn/internal.h:135:
/host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/rsa_extra/../fipsmodule/bn/../../internal.h:141:10: fatal error: 'pthread.h' file not found
  141 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[6/795] Compiling rsa_crypt.c
[6/795] Compiling v3_lib.c
[6/795] Compiling v3_ncons.c
[6/795] Compiling fiat_p256_adx_mul.S
[6/795] Compiling pkcs8_x509.c
[6/795] Compiling v3_ocsp.c
[6/795] Compiling bn_asn1.c
[6/795] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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...
[0/789] Compiling fiat_p256_adx_mul.S
[1/789] Compiling fiat_curve25519_adx_square.S
[2/789] Compiling fiat_p256_adx_sqr.S
[3/789] Compiling fiat_p256_adx_mul.S
[4/789] Compiling fiat_curve25519_adx_square.S
[5/789] Compiling fiat_curve25519_adx_mul.S
[7/789] 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.
[8/789] Compiling x_x509a.c
[8/789] Compiling x_sig.c
In file included from /host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/x509/x_val.c:62:
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>
      |          ^~~~~~~~~~~
[8/789] Compiling x_val.c
[8/789] Compiling x_pubkey.c
[8/789] Compiling x_req.c
[8/789] Compiling CCryptoBoringSSLShims shims.c
[8/789] Compiling x_x509.c
[8/789] Compiling x_spki.c
BUILD FAILURE 6.1 wasm