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 (48bdd0), with Swift 6.1 for Wasm on 3 Jun 2025 07:32:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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.63.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 48bdd02 Bump SwiftLint to 0.59.1
Cloned https://github.com/Nef10/GoogleAuthentication.git
Revision (git rev-parse @):
48bdd02a4dddcec049e8858448747a8d152f74c7
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-4606859-0":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
Fetching https://github.com/OAuthSwift/OAuthSwift.git
[1/5134] Fetching oauthswift
[258/9520] Fetching oauthswift, keychainaccess
Fetched https://github.com/OAuthSwift/OAuthSwift.git from cache (0.93s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (1.17s)
Computing version for https://github.com/OAuthSwift/OAuthSwift.git
Computed https://github.com/OAuthSwift/OAuthSwift.git at 2.2.0 (2.36s)
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/tid-kijyun/Kanna.git
[1/2357] Fetching kanna
[143/8407] Fetching kanna, swifter
[3931/22343] Fetching kanna, swifter, swift-crypto
Fetched https://github.com/tid-kijyun/Kanna.git from cache (0.74s)
[2549/19986] Fetching swifter, swift-crypto
Fetching https://github.com/phimage/Erik.git
Fetched https://github.com/httpswift/swifter.git from cache (2.23s)
[5854/13936] Fetching swift-crypto
[6691/14578] Fetching swift-crypto, erik
Fetched https://github.com/phimage/Erik.git from cache (0.44s)
[8459/13936] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.77s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (4.98s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (1.12s)
Computing version for https://github.com/phimage/Erik.git
Computed https://github.com/phimage/Erik.git at 5.1.0 (1.12s)
Fetching https://github.com/nvzqz/FileKit.git
Fetching https://github.com/Thomvis/BrightFutures.git
[1/3123] Fetching filekit
[564/7190] Fetching filekit, brightfutures
Fetched https://github.com/nvzqz/FileKit.git from cache (1.32s)
Fetched https://github.com/Thomvis/BrightFutures.git from cache (1.60s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.1.0 (2.73s)
Computing version for https://github.com/Thomvis/BrightFutures.git
Computed https://github.com/Thomvis/BrightFutures.git at 8.2.0 (1.22s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.3.0 (1.21s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (1.21s)
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/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/OAuthSwift/OAuthSwift.git
Working copy of https://github.com/OAuthSwift/OAuthSwift.git resolved at 2.2.0
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/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.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/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
Building for debugging...
[0/410] Write sources
[4/410] Compiling a_d2i_fp.c
[5/410] Compiling a_bool.c
[6/410] Compiling a_dup.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.
[7/410] Compiling a_bitstr.c
[7/410] Compiling v3_utl.c
[7/410] Compiling v3_purp.c
[7/410] Compiling v3_skey.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/a_enum.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>
      |          ^~~~~~~~~~~
[7/410] Compiling a_enum.c
[7/410] Compiling a_gentm.c
[7/410] Compiling CCryptoBoringSSLShims shims.c
[7/410] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/403] Compiling v3_prn.c
[1/403] Compiling v3_skey.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.
[2/403] Compiling v3_utl.c
[2/403] Compiling v3_pci.c
[2/403] Compiling v3_pmaps.c
[2/403] Compiling v3_pcons.c
[2/403] Compiling CCryptoBoringSSLShims shims.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>
      |          ^~~~~~~~~~~
[2/403] Compiling v3_purp.c
[2/403] Compiling v3_pcia.c
[2/403] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm