Build Information
Failed to build sqlite-nio, reference 1.13.2 (52fd69), with Swift 6.1 for Wasm on 18 Oct 2026 10:09:37 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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: 1.13.2
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
* tag 1.13.2 -> FETCH_HEAD
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 1.13.2
========================================
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-53886768-0":/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.39s)
Fetched https://github.com/apple/swift-nio.git from cache (3.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (3.87s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1889] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.44s)
[1/7323] Fetching swift-system
[7324/36197] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.60s)
[578/28874] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.26s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.53s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.22s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.26s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.33s)
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
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-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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
[1/1] Compiling plugin VendorSQLite
Building for debugging...
[1/27] Write sources
[12/27] Compiling CNIOOpenBSD shim.c
[12/27] Compiling CNIOWindows shim.c
[14/27] Compiling CNIOWindows WSAStartup.c
[15/27] Compiling CNIOWASI CNIOWASI.c
[16/27] Compiling CNIOFreeBSD shim.c
[17/27] Compiling CNIOLinux shim.c
[18/27] Compiling _AtomicsShims.c
[18/27] Write sources
[20/27] Compiling CNIODarwin shim.c
[21/27] Compiling CNIOPosix event_loop_id.c
[22/27] Compiling CNIOLinux liburing_shims.c
/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.
[23/27] Compiling VaporCSQLite sqlite_nio_sqlite3.c
[23/27] Write swift-version-24593BA9C3E375BF.txt
[23/27] Compiling c-nioatomics.c
[23/27] Compiling c-atomics.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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
[3/58] Emitting module _NIOBase64
[4/58] Emitting module _NIODataStructures
/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.
[4/58] Compiling VaporCSQLite sqlite_nio_sqlite3.c
[4/58] Compiling c-atomics.c
[4/58] Compiling c-nioatomics.c
BUILD FAILURE 6.1 wasm