Build Information
Failed to build SkelpoMiddleware, reference master (b9809b
), with Swift 6.1 for Wasm on 27 May 2025 12:54:18 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/skelpo/skelpomiddleware.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/skelpo/skelpomiddleware
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at b9809bf Added Content-Type header to error reponses returned from APIErrorMiddleware
Cloned https://github.com/skelpo/skelpomiddleware.git
Revision (git rev-parse @):
b9809bfcdb90d7ede9488a9d5953de07b307fd26
SUCCESS checkout https://github.com/skelpo/skelpomiddleware.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/skelpo/skelpomiddleware.git
https://github.com/skelpo/skelpomiddleware.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "vapor",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/vapor.git"
},
{
"identity" : "jwt-provider",
"requirement" : {
"exact" : [
"1.3.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/jwt-provider.git"
}
],
"manifest_display_name" : "SkelpoMiddleware",
"name" : "SkelpoMiddleware",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "APIMiddleware",
"targets" : [
"APIMiddleware"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AuthMiddleware",
"targets" : [
"AuthMiddleware"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SkelpoMiddleware",
"targets" : [
"SkelpoMiddleware"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SkelpoMiddlewareTests",
"module_type" : "SwiftTarget",
"name" : "SkelpoMiddlewareTests",
"path" : "Tests/SkelpoMiddlewareTests",
"sources" : [
"SkelpoMiddlewareTests.swift"
],
"target_dependencies" : [
"APIMiddleware"
],
"type" : "test"
},
{
"c99name" : "SkelpoMiddleware",
"module_type" : "SwiftTarget",
"name" : "SkelpoMiddleware",
"path" : "Sources/SkelpoMiddleware",
"product_memberships" : [
"SkelpoMiddleware"
],
"sources" : [
"Exports.swift"
],
"target_dependencies" : [
"Errors",
"Helpers",
"AuthMiddleware",
"APIMiddleware"
],
"type" : "library"
},
{
"c99name" : "Helpers",
"module_type" : "SwiftTarget",
"name" : "Helpers",
"path" : "Sources/Helpers",
"product_dependencies" : [
"Vapor",
"JWTProvider"
],
"product_memberships" : [
"APIMiddleware",
"AuthMiddleware",
"SkelpoMiddleware"
],
"sources" : [
"Request+JWT.swift"
],
"target_dependencies" : [
"Errors"
],
"type" : "library"
},
{
"c99name" : "Errors",
"module_type" : "SwiftTarget",
"name" : "Errors",
"path" : "Sources/Errors",
"product_dependencies" : [
"Vapor",
"JWTProvider"
],
"product_memberships" : [
"APIMiddleware",
"AuthMiddleware",
"SkelpoMiddleware"
],
"sources" : [
"MiddlewareError.swift"
],
"type" : "library"
},
{
"c99name" : "AuthMiddleware",
"module_type" : "SwiftTarget",
"name" : "AuthMiddleware",
"path" : "Sources/AuthMiddleware",
"product_dependencies" : [
"Vapor",
"JWTProvider"
],
"product_memberships" : [
"AuthMiddleware",
"SkelpoMiddleware"
],
"sources" : [
"JWTAuthenticationMiddlware.swift"
],
"target_dependencies" : [
"Errors",
"Helpers"
],
"type" : "library"
},
{
"c99name" : "APIMiddleware",
"module_type" : "SwiftTarget",
"name" : "APIMiddleware",
"path" : "Sources/APIMiddleware",
"product_dependencies" : [
"Vapor"
],
"product_memberships" : [
"APIMiddleware",
"SkelpoMiddleware"
],
"sources" : [
"APIErrorMiddleware.swift",
"TeamIDMiddleware.swift"
],
"target_dependencies" : [
"Errors",
"Helpers"
],
"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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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-provider.git
[1/455] Fetching jwt-provider
[456/74833] Fetching jwt-provider, vapor
Fetched https://github.com/vapor/jwt-provider.git from cache (1.89s)
Fetched https://github.com/vapor/vapor.git from cache (1.94s)
Computing version for https://github.com/vapor/jwt-provider.git
Computed https://github.com/vapor/jwt-provider.git at 1.3.0 (2.67s)
Fetching https://github.com/vapor/jwt.git
Fetching https://github.com/vapor/auth-provider.git
[1/2707] Fetching jwt
[83/2969] Fetching jwt, auth-provider
Fetched https://github.com/vapor/auth-provider.git from cache (0.31s)
Fetched https://github.com/vapor/jwt.git from cache (0.31s)
Computing version for https://github.com/vapor/auth-provider.git
Computed https://github.com/vapor/auth-provider.git at 1.2.0 (0.88s)
Fetching https://github.com/vapor/auth.git
[1/1048] Fetching auth
Fetched https://github.com/vapor/auth.git from cache (0.30s)
Computing version for https://github.com/vapor/auth.git
Computed https://github.com/vapor/auth.git at 1.2.1 (1.72s)
Fetching https://github.com/vapor/fluent.git
[1/13421] Fetching fluent
Fetched https://github.com/vapor/fluent.git from cache (0.65s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 2.3.0 (1.55s)
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/json.git
[1/2786] Fetching crypto
[2787/3784] Fetching crypto, json
Fetched https://github.com/vapor/crypto.git from cache (0.32s)
[619/998] Fetching json
Fetched https://github.com/vapor/json.git from cache (0.52s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (1.14s)
Fetching https://github.com/vapor/ctls.git
Fetching https://github.com/vapor/random.git
[1/71] Fetching ctls
[72/219] Fetching ctls, random
Fetched https://github.com/vapor/random.git from cache (0.29s)
Fetched https://github.com/vapor/ctls.git from cache (0.29s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (0.88s)
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.87s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (3.08s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (1.01s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
[1/260] Fetching debugging
[261/618] Fetching debugging, bits
Fetched https://github.com/vapor/bits.git from cache (0.68s)
Fetched https://github.com/vapor/debugging.git from cache (0.68s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (1.63s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.99s)
Computing version for https://github.com/vapor/json.git
Computed https://github.com/vapor/json.git at 2.2.2 (1.02s)
Fetching https://github.com/vapor/node.git
[1/4211] Fetching node
Fetched https://github.com/vapor/node.git from cache (0.55s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (1.41s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 2.4.5 (0.92s)
Fetching https://github.com/vapor/console.git
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/engine.git
[1/20727] Fetching routing
[831/20826] Fetching routing, bcrypt
[1551/46293] Fetching routing, bcrypt, engine
[2890/51870] Fetching routing, bcrypt, engine, console
[3545/55189] Fetching routing, bcrypt, engine, console, multipart
Fetched https://github.com/vapor/bcrypt.git from cache (2.98s)
Fetched https://github.com/vapor/console.git from cache (2.98s)
Fetched https://github.com/vapor/routing.git from cache (2.99s)
Fetched https://github.com/vapor/multipart.git from cache (3.17s)
Fetched https://github.com/vapor/engine.git from cache (3.17s)
Computing version for https://github.com/vapor/bcrypt.git
Computed https://github.com/vapor/bcrypt.git at 1.1.1 (3.78s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 2.2.1 (0.99s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 2.2.1 (0.78s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 2.3.1 (0.78s)
Computing version for https://github.com/vapor/engine.git
Computed https://github.com/vapor/engine.git at 2.2.5 (0.73s)
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/sockets.git
[1/1144] Fetching tls
[528/4456] Fetching tls, sockets
Fetched https://github.com/vapor/tls.git from cache (0.31s)
Fetched https://github.com/vapor/sockets.git from cache (0.31s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.99s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (1.70s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 2.5.1 (1.18s)
Fetching https://github.com/vapor/sqlite.git
[1/2112] Fetching sqlite
Fetched https://github.com/vapor/sqlite.git from cache (0.90s)
Computing version for https://github.com/vapor/sqlite.git
Computed https://github.com/vapor/sqlite.git at 2.3.1 (1.64s)
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/console.git
Working copy of https://github.com/vapor/console.git resolved at 2.3.1
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/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
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/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.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/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/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/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 2.3.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/sqlite.git
Working copy of https://github.com/vapor/sqlite.git resolved at 2.3.1
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/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 2.4.5
Creating working copy for https://github.com/vapor/jwt-provider.git
Working copy of https://github.com/vapor/jwt-provider.git resolved at 1.3.0
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/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.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/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/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.3
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/42] Write sources
[39/42] Compiling CHTTP http_parser.c
[40/42] Write swift-version-24593BA9C3E375BF.txt
/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.
[41/67] Compiling CSQLite sqlite3.c
[42/67] Emitting module Debugging
[43/67] Emitting module PathIndexable
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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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
/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.
[1/27] Compiling CSQLite sqlite3.c
[2/27] Emitting module Debugging
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