The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VaporOAuth, reference 0.6.1 (134885), with Swift 6.1 for Wasm on 29 May 2025 12:09:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/brokenhandsio/vapor-oauth.git
Reference: 0.6.1
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/brokenhandsio/vapor-oauth
 * tag               0.6.1      -> FETCH_HEAD
HEAD is now at 1348859 Merge pull request #6 from TheSwiftyCoder/master
Cloned https://github.com/brokenhandsio/vapor-oauth.git
Revision (git rev-parse @):
1348859f6c6b459edb64c9af0fc0037d08924530
SUCCESS checkout https://github.com/brokenhandsio/vapor-oauth.git at 0.6.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/brokenhandsio/vapor-oauth.git
https://github.com/brokenhandsio/vapor-oauth.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor.git"
    },
    {
      "identity" : "auth-provider",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/auth-provider.git"
    }
  ],
  "manifest_display_name" : "VaporOAuth",
  "name" : "VaporOAuth",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "VaporOAuth",
      "targets" : [
        "VaporOAuth"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VaporOAuthTests",
      "module_type" : "SwiftTarget",
      "name" : "VaporOAuthTests",
      "path" : "Tests/VaporOAuthTests",
      "sources" : [
        "AuthorizationTests/AuthorizationRequestTests.swift",
        "AuthorizationTests/AuthorizationResponseTests.swift",
        "DefaultImplementationTests/DefaultImplementationTests.swift",
        "Fakes/CapturingAuthorizeHandler.swift",
        "Fakes/CapturingLogger.swift",
        "Fakes/FakeClientGetter.swift",
        "Fakes/FakeCodeManager.swift",
        "Fakes/FakeResourceServerRetriever.swift",
        "Fakes/FakeSessions.swift",
        "Fakes/FakeTokenManager.swift",
        "Fakes/FakeUserManager.swift",
        "Fakes/StubCodeManager.swift",
        "Fakes/StubTokenManager.swift",
        "Fakes/StubUserManager.swift",
        "GrantTests/AuthorizationCodeTokenTests.swift",
        "GrantTests/ClientCredentialsTokenTests.swift",
        "GrantTests/ImplicitGrantTests.swift",
        "GrantTests/PasswordGrantTokenTests.swift",
        "GrantTests/TokenRefreshTests.swift",
        "Helpers/TestDataBuilder.swift",
        "IntegrationTests/AuthCodeResourceServerTests.swift",
        "TokenIntrospectionTests/TokenIntrospectionTests.swift"
      ],
      "target_dependencies" : [
        "VaporOAuth"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VaporOAuth",
      "module_type" : "SwiftTarget",
      "name" : "VaporOAuth",
      "path" : "Sources/VaporOAuth",
      "product_dependencies" : [
        "Vapor",
        "AuthProvider"
      ],
      "product_memberships" : [
        "VaporOAuth"
      ],
      "sources" : [
        "DefaultImplementations/EmptyAuthorizationHandler.swift",
        "DefaultImplementations/EmptyCodeManager.swift",
        "DefaultImplementations/EmptyResourceServerRetriever.swift",
        "DefaultImplementations/EmptyUserManager.swift",
        "DefaultImplementations/StaticClientRetriever.swift",
        "Helper/Helper.swift",
        "Helper/LocalOAuthHelper.swift",
        "Helper/OAuthHelper.swift",
        "Helper/RemoteOAuthHelper.swift",
        "Middleware/OAuth2ScopeMiddleware.swift",
        "Middleware/OAuth2TokenIntrospectionMiddleware.swift",
        "Middleware/TokenIntrospectionAuthenticationMiddleware.swift",
        "Models/OAuthClient.swift",
        "Models/OAuthCode.swift",
        "Models/OAuthResourceServer.swift",
        "Models/OAuthUser.swift",
        "Models/Tokens/AccessToken.swift",
        "Models/Tokens/RefreshToken.swift",
        "OAuth2Provider.swift",
        "Protocols/AuthorizeHandler.swift",
        "Protocols/ClientRetriever.swift",
        "Protocols/CodeManager.swift",
        "Protocols/ResourceServerRetriever.swift",
        "Protocols/TokenManager.swift",
        "Protocols/UserManager.swift",
        "Provider.swift",
        "RouteHandlers/AuthorizeGetHandler.swift",
        "RouteHandlers/AuthorizePostHandler.swift",
        "RouteHandlers/TokenHandler.swift",
        "RouteHandlers/TokenHandlers/AuthCodeTokenHandler.swift",
        "RouteHandlers/TokenHandlers/ClientCredentialsTokenHandler.swift",
        "RouteHandlers/TokenHandlers/PasswordTokenHandler.swift",
        "RouteHandlers/TokenHandlers/RefreshTokenHandler.swift",
        "RouteHandlers/TokenHandlers/TokenResponseGenerator.swift",
        "RouteHandlers/TokenIntrospectionHandler.swift",
        "Utilities/OAuthFlowType.swift",
        "Utilities/StringDefines.swift",
        "Utilities/TokenAuthenticator.swift",
        "Validators/ClientValidator.swift",
        "Validators/CodeValidator.swift",
        "Validators/ResourceServerAuthenticator.swift",
        "Validators/ScopeValidator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/vapor/auth-provider.git
Fetching https://github.com/vapor/vapor.git
[1/262] Fetching auth-provider
Fetched https://github.com/vapor/auth-provider.git from cache (0.29s)
[1/74378] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (3.37s)
Computing version for https://github.com/vapor/auth-provider.git
Computed https://github.com/vapor/auth-provider.git at 1.2.0 (4.06s)
Fetching https://github.com/vapor/auth.git
[1/1048] Fetching auth
Fetched https://github.com/vapor/auth.git from cache (0.37s)
Computing version for https://github.com/vapor/auth.git
Computed https://github.com/vapor/auth.git at 1.2.1 (1.70s)
Fetching https://github.com/vapor/fluent.git
[1/13421] Fetching fluent
Fetched https://github.com/vapor/fluent.git from cache (1.34s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 2.4.5 (3.84s)
Fetching https://github.com/vapor/json.git
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/engine.git
Fetching https://github.com/vapor/multipart.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/node.git
[1/4211] Fetching node
[844/5209] Fetching node, json
[894/8528] Fetching node, json, multipart
[2926/11314] Fetching node, json, multipart, crypto
[3015/32041] Fetching node, json, multipart, crypto, routing
[3340/57508] Fetching node, json, multipart, crypto, routing, engine
Fetched https://github.com/vapor/crypto.git from cache (1.92s)
Fetched https://github.com/vapor/node.git from cache (1.92s)
Fetching https://github.com/vapor/core.git
Fetched https://github.com/vapor/routing.git from cache (1.94s)
Fetching https://github.com/vapor/bcrypt.git
Fetched https://github.com/vapor/engine.git from cache (1.95s)
[2658/4317] Fetching json, multipart
[4318/4416] Fetching json, multipart, bcrypt
[4417/24559] Fetching json, multipart, bcrypt, core
Fetched https://github.com/vapor/json.git from cache (3.16s)
[21749/23561] Fetching multipart, bcrypt, core
Fetched https://github.com/vapor/multipart.git from cache (3.20s)
Fetched https://github.com/vapor/bcrypt.git from cache (1.45s)
Fetching https://github.com/vapor/console.git
Fetched https://github.com/vapor/core.git from cache (2.03s)
[1/5647] Fetching console
Fetched https://github.com/vapor/console.git from cache (0.34s)
Computing version for https://github.com/vapor/bcrypt.git
Computed https://github.com/vapor/bcrypt.git at 1.1.1 (4.96s)
Fetching https://github.com/vapor/random.git
[1/148] Fetching random
Fetched https://github.com/vapor/random.git from cache (0.28s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (0.84s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 2.2.1 (0.63s)
Fetching https://github.com/vapor/debugging.git
[1/260] Fetching debugging
Fetched https://github.com/vapor/debugging.git from cache (0.24s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.87s)
Computing version for https://github.com/vapor/json.git
Computed https://github.com/vapor/json.git at 2.2.2 (0.67s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (1.43s)
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
Fetched https://github.com/vapor/bits.git from cache (0.23s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.86s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 2.2.1 (0.70s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (0.67s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.23s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 2.3.1 (0.66s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.63s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.77s)
Computing version for https://github.com/vapor/engine.git
Computed https://github.com/vapor/engine.git at 2.2.5 (0.92s)
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/tls.git
[1/1144] Fetching tls
[528/4456] Fetching tls, sockets
Fetched https://github.com/vapor/tls.git from cache (0.43s)
Fetched https://github.com/vapor/sockets.git from cache (0.46s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (1.47s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.71s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 2.5.1 (0.90s)
Fetching https://github.com/vapor/sqlite.git
[1/2112] Fetching sqlite
Fetched https://github.com/vapor/sqlite.git from cache (0.91s)
Computing version for https://github.com/vapor/sqlite.git
Computed https://github.com/vapor/sqlite.git at 2.3.1 (1.80s)
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 2.3.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/auth-provider.git
Working copy of https://github.com/vapor/auth-provider.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/engine.git
Working copy of https://github.com/vapor/engine.git resolved at 2.2.5
Creating working copy for https://github.com/vapor/json.git
Working copy of https://github.com/vapor/json.git resolved at 2.2.2
Creating working copy for https://github.com/vapor/sqlite.git
Working copy of https://github.com/vapor/sqlite.git resolved at 2.3.1
Creating working copy for https://github.com/vapor/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
Creating working copy for https://github.com/vapor/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/bcrypt.git
Working copy of https://github.com/vapor/bcrypt.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 2.4.5
Creating working copy for https://github.com/vapor/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
Creating working copy for https://github.com/vapor/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/auth.git
Working copy of https://github.com/vapor/auth.git resolved at 1.2.1
Creating working copy for https://github.com/vapor/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 2.5.1
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
Building for debugging...
[0/36] Write sources
[33/36] Compiling CHTTP http_parser.c
[34/36] Write swift-version-24593BA9C3E375BF.txt
[36/61] Emitting module PathIndexable
/host/spi-builder-workspace/.build/checkouts/sqlite/Sources/CSQLite/sqlite3.c:23097:10: fatal error: 'pthread.h' file not found
 23097 | #include <pthread.h>
       |          ^~~~~~~~~~~
1 error generated.
[36/61] Compiling CSQLite sqlite3.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/61] Emitting module libc
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
[0/1] Planning build
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/27] Emitting module libc
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
/host/spi-builder-workspace/.build/checkouts/sqlite/Sources/CSQLite/sqlite3.c:23097:10: fatal error: 'pthread.h' file not found
 23097 | #include <pthread.h>
       |          ^~~~~~~~~~~
1 error generated.
[2/27] Compiling CSQLite sqlite3.c
[3/27] Emitting module Debugging
BUILD FAILURE 6.1 wasm