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 GoogleAPISwiftSDK, reference master (a8c7e7), with Swift 6.1 for Wasm on 26 Aug 2025 07:32:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/GoogleAPISwiftSDK.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/GoogleAPISwiftSDK
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-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/ShenghaiWang/GoogleAPITokenManager.git
[1/57] Fetching googleapitokenmanager
Fetched https://github.com/ShenghaiWang/GoogleAPITokenManager.git from cache (0.23s)
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 (0.87s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 4.13.5 (2.89s)
Fetching https://github.com/apple/swift-crypto.git
[1/16276] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.83s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.14.0 (3.49s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.38s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.95s)
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/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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.14.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
Building for debugging...
[0/805] Compiling aes.cc
[0/805] Write sources
[7/805] Compiling a_d2i_fp.cc
[8/805] Compiling fiat_p256_adx_sqr.S
[9/805] Compiling fiat_p256_adx_mul.S
[10/805] Compiling fiat_curve25519_adx_square.S
[11/805] Compiling fiat_curve25519_adx_mul.S
[12/805] Compiling a_bool.cc
[13/805] Compiling a_bitstr.cc
[14/805] Compiling pem_pk8.cc
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.
[15/805] Compiling x_x509a.c
[15/805] Compiling x_spki.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.
[15/805] Compiling x_x509.c
[15/805] Compiling x_sig.c
[15/805] Compiling x_val.c
[15/805] Compiling pem_pkey.cc
[15/805] Write swift-version-24593BA9C3E375BF.txt
[15/805] Compiling pem_x509.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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...
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/790] Compiling x_x509.c
[0/790] Compiling x_req.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>
      |          ^~~~~~~~~~~
[0/790] Compiling x_val.c
[0/790] Compiling x_sig.c
[0/790] Compiling x_pubkey.c
[0/790] Compiling x_spki.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/790] Compiling x_x509a.c
[0/790] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm