Build Information
Failed to build AuthProvider, reference 1.2.0 (c8a89d
), with Swift 6.1 for Wasm on 29 May 2025 02:49:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/auth-provider.git
Reference: 1.2.0
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/auth-provider
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at c8a89d5 Merge pull request #21 from vapor/swift-4
Cloned https://github.com/vapor-community/auth-provider.git
Revision (git rev-parse @):
c8a89d5f32873a7ec6037e2c78a192526c496618
SUCCESS checkout https://github.com/vapor-community/auth-provider.git at 1.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/vapor-community/auth-provider.git
https://github.com/vapor-community/auth-provider.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "auth",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/auth.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" : "AuthProvider",
"name" : "AuthProvider",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AuthProvider",
"targets" : [
"AuthProvider"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AuthProviderTests",
"module_type" : "SwiftTarget",
"name" : "AuthProviderTests",
"path" : "Tests/AuthProviderTests",
"product_dependencies" : [
"Testing"
],
"sources" : [
"MiddlewareTests.swift",
"TokenTests.swift",
"Utilities/HTTP+Conveniences.swift",
"Utilities/TestToken.swift",
"Utilities/TestUser.swift"
],
"target_dependencies" : [
"AuthProvider"
],
"type" : "test"
},
{
"c99name" : "AuthProvider",
"module_type" : "SwiftTarget",
"name" : "AuthProvider",
"path" : "Sources/AuthProvider",
"product_dependencies" : [
"Authentication",
"Authorization",
"Vapor"
],
"product_memberships" : [
"AuthProvider"
],
"sources" : [
"AuthError.swift",
"BCryptHasher+PasswordVerifier.swift",
"Exports.swift",
"Helper.swift",
"InverseRedirectMiddleware.swift",
"Persistable.swift",
"Provider.swift",
"RedirectMiddleware.swift",
"SessionPersistable.swift",
"TokenMiddleware.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/auth.git
[1/1048] Fetching auth
Fetched https://github.com/vapor/auth.git from cache (0.28s)
[1/74378] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (2.08s)
Computing version for https://github.com/vapor/auth.git
Computed https://github.com/vapor/auth.git at 1.2.1 (2.69s)
Fetching https://github.com/vapor/fluent.git
[1/13421] Fetching fluent
Fetched https://github.com/vapor/fluent.git from cache (0.67s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 2.4.5 (1.25s)
Fetching https://github.com/vapor/node.git
Fetching https://github.com/vapor/multipart.git
Fetching https://github.com/vapor/json.git
Fetching https://github.com/vapor/engine.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/crypto.git
[1/998] Fetching json
[361/4317] Fetching json, multipart
[1175/8528] Fetching json, multipart, node
[2256/33995] Fetching json, multipart, node, engine
[4156/36781] Fetching json, multipart, node, engine, crypto
[4411/57508] Fetching json, multipart, node, engine, crypto, routing
Fetched https://github.com/vapor/crypto.git from cache (0.60s)
[42639/54722] Fetching json, multipart, node, engine, routing
Fetching https://github.com/vapor/core.git
[43564/74865] Fetching json, multipart, node, engine, routing, core
Fetched https://github.com/vapor/node.git from cache (2.14s)
Fetching https://github.com/vapor/console.git
Fetched https://github.com/vapor/json.git from cache (2.15s)
Fetched https://github.com/vapor/routing.git from cache (2.15s)
Fetched https://github.com/vapor/engine.git from cache (2.15s)
Fetching https://github.com/vapor/bcrypt.git
[1/5647] Fetching console
[5648/5746] Fetching console, bcrypt
Fetched https://github.com/vapor/core.git from cache (3.21s)
Fetched https://github.com/vapor/multipart.git from cache (3.85s)
Fetched https://github.com/vapor/bcrypt.git from cache (2.55s)
Fetched https://github.com/vapor/console.git from cache (2.57s)
Computing version for https://github.com/vapor/bcrypt.git
Computed https://github.com/vapor/bcrypt.git at 1.1.1 (5.32s)
Fetching https://github.com/vapor/random.git
[1/148] Fetching random
Fetched https://github.com/vapor/random.git from cache (0.57s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (1.16s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 2.2.1 (0.95s)
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.84s)
Computing version for https://github.com/vapor/json.git
Computed https://github.com/vapor/json.git at 2.2.2 (0.59s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.82s)
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.87s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 2.2.1 (0.67s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (0.59s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.24s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 2.3.1 (0.94s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.67s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (1.84s)
Computing version for https://github.com/vapor/engine.git
Computed https://github.com/vapor/engine.git at 2.2.5 (0.70s)
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/sockets.git
[1/1144] Fetching tls
Fetched https://github.com/vapor/tls.git from cache (0.26s)
[1/3312] Fetching sockets
Fetched https://github.com/vapor/sockets.git from cache (0.86s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (1.60s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.87s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 2.5.1 (0.78s)
Fetching https://github.com/vapor/sqlite.git
[1/2112] Fetching sqlite
Fetched https://github.com/vapor/sqlite.git from cache (0.65s)
Computing version for https://github.com/vapor/sqlite.git
Computed https://github.com/vapor/sqlite.git at 2.3.1 (1.94s)
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/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/json.git
Working copy of https://github.com/vapor/json.git resolved at 2.2.2
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/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
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/debugging.git
Working copy of https://github.com/vapor/debugging.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/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
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/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/console.git
Working copy of https://github.com/vapor/console.git resolved at 2.3.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/sqlite.git
Working copy of https://github.com/vapor/sqlite.git resolved at 2.3.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/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.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/35] Write sources
[32/35] 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.
[33/35] Compiling CSQLite sqlite3.c
[33/35] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
[2/27] 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.
[2/27] Compiling CSQLite sqlite3.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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 |
BUILD FAILURE 6.1 wasm