Build Information
Failed to build sqlite-nio, reference main (52fd69), with Swift 6.1 for Wasm on 18 Oct 2026 10:14:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/sqlite-nio.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/vapor/sqlite-nio
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 52fd69b Embed sqlite amalgamation 3.54.1 source code (#112)
Cloned https://github.com/vapor/sqlite-nio.git
Revision (git rev-parse @):
52fd69b9b2ee614d90ba277616fb6cc98ea5a64c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/sqlite-nio.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/vapor/sqlite-nio.git
https://github.com/vapor/sqlite-nio.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:8209621f35c5a12749e7df75bbcb99eccb508d0196da99f6ac3bcf5f4827df31
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/8305] Fetching swift-log
[8306/94868] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (3.16s)
Fetched https://github.com/apple/swift-nio.git from cache (3.20s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (3.64s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1889] Fetching swift-atomics
[1890/9212] Fetching swift-atomics, swift-system
[5186/38086] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.34s)
Fetched https://github.com/apple/swift-system.git from cache (1.34s)
Fetched https://github.com/apple/swift-collections.git from cache (1.35s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.60s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.23s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.28s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.34s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
[1/1] Compiling plugin VendorSQLite
Building for debugging...
[1/27] Write sources
[12/27] Compiling CNIOWindows shim.c
[13/27] Compiling CNIOWASI CNIOWASI.c
[14/27] Compiling CNIOWindows WSAStartup.c
[15/27] Compiling CNIOPosix event_loop_id.c
[16/27] Compiling _AtomicsShims.c
[17/27] Compiling CNIOLinux liburing_shims.c
[18/27] Compiling CNIOOpenBSD shim.c
[18/27] Compiling CNIOLinux shim.c
[18/27] Compiling CNIODarwin shim.c
[18/27] Compiling CNIOFreeBSD shim.c
[18/27] Write sources
[23/27] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/Sources/VaporCSQLite/sqlite_nio_sqlite3.c:31001:10: fatal error: 'pthread.h' file not found
31001 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[24/80] Compiling VaporCSQLite sqlite_nio_sqlite3.c
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[24/80] Compiling c-atomics.c
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[25/80] Emitting module _NIOBase64
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[25/80] Compiling c-nioatomics.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:8209621f35c5a12749e7df75bbcb99eccb508d0196da99f6ac3bcf5f4827df31
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin VendorSQLite
Building for debugging...
[1/5] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/Sources/VaporCSQLite/sqlite_nio_sqlite3.c:31001:10: fatal error: 'pthread.h' file not found
31001 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[2/58] Compiling VaporCSQLite sqlite_nio_sqlite3.c
[2/58] Compiling c-nioatomics.c
[2/58] Compiling c-atomics.c
BUILD FAILURE 6.1 wasm