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 JWTProvider, reference master (f648dd), with Swift 6.1 for Wasm on 29 May 2025 02:53:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/vapor-community/jwt-provider.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/vapor-community/jwt-provider
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f648dd6 Merge pull request #24 from mihailstumkins/fix/incorrect-bearer-token-format
Cloned https://github.com/vapor-community/jwt-provider.git
Revision (git rev-parse @):
f648dd6814970d9c7b27b79e9ce62699561d8d14
SUCCESS checkout https://github.com/vapor-community/jwt-provider.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vapor-community/jwt-provider.git
https://github.com/vapor-community/jwt-provider.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "jwt",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/jwt.git"
    },
    {
      "identity" : "auth-provider",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/auth-provider.git"
    },
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor.git"
    }
  ],
  "manifest_display_name" : "JWTProvider",
  "name" : "JWTProvider",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JWTProvider",
      "targets" : [
        "JWTProvider"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JWTProviderTests",
      "module_type" : "SwiftTarget",
      "name" : "JWTProviderTests",
      "path" : "Tests/JWTProviderTests",
      "sources" : [
        "JSONWebKeySignerFactoryTests.swift",
        "JWTSignerFactoryTests.swift",
        "PayloadAuthenticationMiddlewareTests.swift",
        "ProviderTests.swift"
      ],
      "target_dependencies" : [
        "JWTProvider"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JWTProvider",
      "module_type" : "SwiftTarget",
      "name" : "JWTProvider",
      "path" : "Sources/JWTProvider",
      "product_dependencies" : [
        "JWT",
        "AuthProvider",
        "Vapor"
      ],
      "product_memberships" : [
        "JWTProvider"
      ],
      "sources" : [
        "Config+JWT.swift",
        "Deprecated/Droplet+legacySigner.swift",
        "Deprecated/Provider+legacySigner.swift",
        "Deprecated/SignerMap+legacySigner.swift",
        "Droplet+JWT.swift",
        "JWKSignerFactory.swift",
        "JWTConfigSignerFactory.swift",
        "JWTError+Status.swift",
        "JWTProviderError.swift",
        "PayloadAuthenticatable.swift",
        "PayloadAuthenticationMiddleware.swift",
        "Provider.swift",
        "Request+JWT.swift",
        "SignerFactory.swift",
        "SignerMap.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/vapor/vapor.git
Fetching https://github.com/vapor/jwt.git
Fetching https://github.com/vapor/auth-provider.git
[1/2707] Fetching jwt
[2708/2969] Fetching jwt, auth-provider
Fetched https://github.com/vapor/auth-provider.git from cache (0.28s)
Fetched https://github.com/vapor/jwt.git from cache (0.28s)
[1/74378] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (1.87s)
Computing version for https://github.com/vapor/auth-provider.git
Computed https://github.com/vapor/auth-provider.git at 1.2.0 (2.41s)
Fetching https://github.com/vapor/auth.git
[1/1048] Fetching auth
Fetched https://github.com/vapor/auth.git from cache (0.47s)
Computing version for https://github.com/vapor/auth.git
Computed https://github.com/vapor/auth.git at 1.2.1 (1.78s)
Fetching https://github.com/vapor/fluent.git
[1/13421] Fetching fluent
Fetched https://github.com/vapor/fluent.git from cache (0.91s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 2.3.0 (1.58s)
Fetching https://github.com/vapor/json.git
Fetching https://github.com/vapor/crypto.git
[1/998] Fetching json
[610/3784] Fetching json, crypto
Fetched https://github.com/vapor/crypto.git from cache (0.37s)
[619/998] Fetching json
Fetched https://github.com/vapor/json.git from cache (0.46s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (1.27s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetching https://github.com/vapor/random.git
Fetched https://github.com/vapor/ctls.git from cache (0.28s)
[1/148] Fetching random
Fetched https://github.com/vapor/random.git from cache (0.25s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (1.04s)
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.82s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (1.32s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.51s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
[359/618] Fetching bits, debugging
Fetched https://github.com/vapor/bits.git from cache (0.25s)
Fetched https://github.com/vapor/debugging.git from cache (0.25s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (2.58s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.51s)
Computing version for https://github.com/vapor/json.git
Computed https://github.com/vapor/json.git at 2.2.2 (0.64s)
Fetching https://github.com/vapor/node.git
[1/4211] Fetching node
Fetched https://github.com/vapor/node.git from cache (0.29s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.79s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 2.4.5 (0.51s)
Fetching https://github.com/vapor/bcrypt.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/multipart.git
Fetching https://github.com/vapor/console.git
Fetching https://github.com/vapor/engine.git
[1/99] Fetching bcrypt
[100/5746] Fetching bcrypt, console
[3093/31213] Fetching bcrypt, console, engine
[4478/51940] Fetching bcrypt, console, engine, routing
[4479/55259] Fetching bcrypt, console, engine, routing, multipart
Fetched https://github.com/vapor/console.git from cache (0.49s)
[16017/49612] Fetching bcrypt, engine, routing, multipart
Fetched https://github.com/vapor/bcrypt.git from cache (2.35s)
Fetched https://github.com/vapor/engine.git from cache (2.41s)
Fetched https://github.com/vapor/routing.git from cache (2.49s)
Fetched https://github.com/vapor/multipart.git from cache (2.52s)
Computing version for https://github.com/vapor/bcrypt.git
Computed https://github.com/vapor/bcrypt.git at 1.1.1 (4.00s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 2.2.1 (1.47s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 2.2.1 (0.47s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 2.3.1 (0.49s)
Computing version for https://github.com/vapor/engine.git
Computed https://github.com/vapor/engine.git at 2.2.5 (0.51s)
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/tls.git
[1/3312] Fetching sockets
[3313/4456] Fetching sockets, tls
Fetched https://github.com/vapor/tls.git from cache (0.28s)
Fetched https://github.com/vapor/sockets.git from cache (0.28s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.75s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.55s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 2.5.1 (0.68s)
Fetching https://github.com/vapor/sqlite.git
[1/2112] Fetching sqlite
Fetched https://github.com/vapor/sqlite.git from cache (0.89s)
Computing version for https://github.com/vapor/sqlite.git
Computed https://github.com/vapor/sqlite.git at 2.3.1 (1.47s)
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/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
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/sqlite.git
Working copy of https://github.com/vapor/sqlite.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/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.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/engine.git
Working copy of https://github.com/vapor/engine.git resolved at 2.2.5
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/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.3
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/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
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/console.git
Working copy of https://github.com/vapor/console.git resolved at 2.3.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
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/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 2.3.0
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/json.git
Working copy of https://github.com/vapor/json.git resolved at 2.2.2
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/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 2.4.5
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/37] Write sources
[34/37] Compiling CHTTP http_parser.c
/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.
[35/37] Compiling CSQLite sqlite3.c
[35/37] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
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...
/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.
[0/2] Compiling CSQLite sqlite3.c
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm