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 GoogleAuthentication, reference main (7f2c53), with Swift 6.1 for Wasm on 8 Sep 2025 11:47:04 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/Nef10/GoogleAuthentication.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/Nef10/GoogleAuthentication
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7f2c530 Bump swiftlint to 0.61.0
Cloned https://github.com/Nef10/GoogleAuthentication.git
Revision (git rev-parse @):
7f2c530df9bc789583eee4bbd080dcdc4b48e995
SUCCESS checkout https://github.com/Nef10/GoogleAuthentication.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Nef10/GoogleAuthentication.git
https://github.com/Nef10/GoogleAuthentication.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "oauthswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OAuthSwift/OAuthSwift.git"
    },
    {
      "identity" : "keychainaccess",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kishikawakatsumi/KeychainAccess.git"
    }
  ],
  "manifest_display_name" : "GoogleAuthentication",
  "name" : "GoogleAuthentication",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "GoogleAuthentication",
      "targets" : [
        "GoogleAuthentication"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GoogleAuthenticationTests",
      "module_type" : "SwiftTarget",
      "name" : "GoogleAuthenticationTests",
      "path" : "Tests/GoogleAuthenticationTests",
      "sources" : [
        "GoogleAuthenticationTests.swift"
      ],
      "target_dependencies" : [
        "GoogleAuthentication"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GoogleAuthentication",
      "module_type" : "SwiftTarget",
      "name" : "GoogleAuthentication",
      "path" : "Sources/GoogleAuthentication",
      "product_dependencies" : [
        "OAuthSwift",
        "KeychainAccess"
      ],
      "product_memberships" : [
        "GoogleAuthentication"
      ],
      "sources" : [
        "ASWebAuthenticationURLHandler.swift",
        "Authentication.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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/OAuthSwift/OAuthSwift.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
[1/5148] Fetching oauthswift
[825/9534] Fetching oauthswift, keychainaccess
Fetched https://github.com/OAuthSwift/OAuthSwift.git from cache (0.53s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (0.60s)
Computing version for https://github.com/OAuthSwift/OAuthSwift.git
Computed https://github.com/OAuthSwift/OAuthSwift.git at 2.2.0 (1.10s)
Fetching https://github.com/tid-kijyun/Kanna.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/phimage/Erik.git
Fetching https://github.com/httpswift/swifter.git
[1/2390] Fetching kanna
[1125/8440] Fetching kanna, swifter
[1210/9082] Fetching kanna, swifter, erik
[4969/25460] Fetching kanna, swifter, erik, swift-crypto
Fetched https://github.com/tid-kijyun/Kanna.git from cache (0.39s)
[4401/23070] Fetching swifter, erik, swift-crypto
Fetched https://github.com/httpswift/swifter.git from cache (0.81s)
[2608/17020] Fetching erik, swift-crypto
Fetched https://github.com/phimage/Erik.git from cache (1.90s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.93s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (2.46s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (0.55s)
Computing version for https://github.com/phimage/Erik.git
Computed https://github.com/phimage/Erik.git at 5.1.0 (0.65s)
Fetching https://github.com/nvzqz/FileKit.git
Fetching https://github.com/Thomvis/BrightFutures.git
[1/4067] Fetching brightfutures
[124/7190] Fetching brightfutures, filekit
Fetched https://github.com/nvzqz/FileKit.git from cache (1.29s)
Fetched https://github.com/Thomvis/BrightFutures.git from cache (1.32s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.1.0 (2.17s)
Computing version for https://github.com/Thomvis/BrightFutures.git
Computed https://github.com/Thomvis/BrightFutures.git at 8.2.0 (0.82s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.3.0 (0.83s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.87s)
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 4.2.2
Creating working copy for https://github.com/phimage/Erik.git
Working copy of https://github.com/phimage/Erik.git resolved at 5.1.0
Creating working copy for https://github.com/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 6.1.0
Creating working copy for https://github.com/tid-kijyun/Kanna.git
Working copy of https://github.com/tid-kijyun/Kanna.git resolved at 5.3.0
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
Creating working copy for https://github.com/Thomvis/BrightFutures.git
Working copy of https://github.com/Thomvis/BrightFutures.git resolved at 8.2.0
Creating working copy for https://github.com/OAuthSwift/OAuthSwift.git
Working copy of https://github.com/OAuthSwift/OAuthSwift.git resolved at 2.2.0
Building for debugging...
[0/410] Write sources
[4/410] Compiling f_enum.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/a_bitstr.c:65:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/aes/mode_wrappers.c:54:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/aes/../modes/internal.h:60:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/aes/../modes/../../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[5/410] Compiling asn1_par.c
[5/410] Compiling mode_wrappers.c
[5/410] Compiling a_bitstr.c
[5/410] Compiling asn_pack.c
[5/410] Compiling CCryptoBoringSSLShims shims.c
[5/410] Compiling v3_utl.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bio/connect.c:81:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bio/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
[5/410] Compiling connect.c
[5/410] Compiling a_bool.c
[5/410] Write swift-version-24593BA9C3E375BF.txt
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...
[0/405] Compiling v3_pcia.c
[1/405] Compiling v3_pmaps.c
[2/405] Compiling v3_skey.c
[3/405] Compiling v3_pcons.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/v3_utl.c:73:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[4/405] Compiling v3_utl.c
[4/405] Compiling v3_ncons.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/v3_purp.c:70:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[4/405] Compiling v3_purp.c
[4/405] Compiling v3_ocsp.c
[4/405] Compiling v3_pci.c
[4/405] Compiling v3_prn.c
[4/405] Compiling CCryptoBoringSSLShims shims.c
[4/405] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm