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 master (846bc3), with Swift 6.1 for Wasm on 3 Sep 2025 12:32:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShenghaiWang/GoogleAPITokenManager.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-4609320-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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor/jwt-kit.git
Fetching https://github.com/apple/swift-crypto.git
[1/16374] Fetching swift-crypto
[493/25511] Fetching swift-crypto, jwt-kit
Fetched https://github.com/vapor/jwt-kit.git from cache (1.38s)
[4749/16374] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.53s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 4.13.5 (6.68s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (2.90s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.48s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.61s)
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
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
Building for debugging...
[0/795] Write sources
[3/795] Compiling a_octet.c
[3/795] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/asn1/a_strex.c:71:
/host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/asn1/../internal.h:141:10: fatal error: 'pthread.h' file not found
  141 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[5/795] Compiling a_strex.c
[5/795] Compiling a_mbstr.c
[5/795] Compiling fiat_p256_adx_sqr.S
In file included from /host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/asn1/a_strnid.c:67:
/host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/asn1/../internal.h:141:10: fatal error: 'pthread.h' file not found
  141 | #include <pthread.h>
      |          ^~~~~~~~~~~
[5/795] Compiling a_strnid.c
In file included from /host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/asn1/a_int.c:67:
/host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/asn1/../internal.h:141:10: fatal error: 'pthread.h' file not found
  141 | #include <pthread.h>
      |          ^~~~~~~~~~~
[5/795] Compiling a_int.c
In file included from /host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/asn1/a_object.c:68:
/host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/asn1/../internal.h:141:10: fatal error: 'pthread.h' file not found
  141 | #include <pthread.h>
      |          ^~~~~~~~~~~
[5/795] Compiling a_object.c
[5/795] Write swift-version-24593BA9C3E375BF.txt
[5/795] Compiling a_time.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: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/790] Compiling fiat_p256_adx_sqr.S
[1/790] Compiling fiat_curve25519_adx_square.S
[2/790] Compiling fiat_curve25519_adx_mul.S
[3/790] Compiling md5-x86_64-linux.S
[4/790] Compiling md5-x86_64-apple.S
[5/790] Compiling fiat_curve25519_adx_square.S
[6/790] Compiling fiat_p256_adx_sqr.S
[7/790] Compiling fiat_p256_adx_mul.S
[8/790] Compiling fiat_curve25519_adx_mul.S
[9/790] Write swift-version-24593BA9C3E375BF.txt
[10/790] Compiling fiat_p256_adx_mul.S
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>
      |          ^~~~~~~~~~~
1 error generated.
[11/790] Compiling x_val.c
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/790] Compiling x_x509.c
[11/790] Compiling x_req.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>
      |          ^~~~~~~~~~~
1 error generated.
[11/790] Compiling x_x509a.c
In file included from /host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/x509/x_spki.c:63:
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.
[11/790] Compiling x_spki.c
[11/790] Compiling x_pubkey.c
[11/790] Compiling CCryptoBoringSSLShims shims.c
[11/790] Compiling x_sig.c
BUILD FAILURE 6.1 wasm