The Swift Package Index logo.Swift Package Index

Build Information

Failed to build sqlite-kit, reference main (492c46), with Swift 6.1 for Wasm on 9 Jul 2026 07:39:09 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/sqlite-kit.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-kit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 492c46e Add permissions to API docs workflow
Cloned https://github.com/vapor/sqlite-kit.git
Revision (git rev-parse @):
492c46e82eb135ef9c67f3f4764a5026c7cce00e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/sqlite-kit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vapor/sqlite-kit.git
https://github.com/vapor/sqlite-kit.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:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor/sqlite-nio.git
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/sql-kit.git
[1/2496] Fetching async-kit
[2497/8746] Fetching async-kit, sql-kit
[8747/93009] Fetching async-kit, sql-kit, swift-nio
[23072/94897] Fetching async-kit, sql-kit, swift-nio, sqlite-nio
Fetched https://github.com/vapor/async-kit.git from cache (1.95s)
Fetched https://github.com/vapor/sqlite-nio.git from cache (1.96s)
[75346/90513] Fetching sql-kit, swift-nio
Fetched https://github.com/vapor/sql-kit.git from cache (3.09s)
Fetched https://github.com/apple/swift-nio.git from cache (3.13s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (3.37s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-algorithms.git
[1/7644] Fetching swift-log
[1607/13718] Fetching swift-log, swift-algorithms
[13719/39686] Fetching swift-log, swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git from cache (1.10s)
Fetched https://github.com/apple/swift-log.git from cache (1.10s)
Fetched https://github.com/apple/swift-collections.git from cache (1.11s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.02s)
Fetching https://github.com/apple/swift-numerics.git
[1/6441] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.81s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.21s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.14.0 (0.22s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.101.2 (0.43s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1868] Fetching swift-atomics
[1869/7939] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.52s)
Fetched https://github.com/apple/swift-system.git from cache (0.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.74s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.36.0 (0.21s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.7.4 (0.24s)
Computing version for https://github.com/vapor/sqlite-nio.git
Computed https://github.com/vapor/sqlite-nio.git at 1.12.9 (0.22s)
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.22.0
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/sqlite-nio.git
Working copy of https://github.com/vapor/sqlite-nio.git resolved at 1.12.9
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.36.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.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.101.2
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.14.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.7.4
Building for debugging...
[0/40] Write sources
[21/40] Compiling CNIOWindows WSAStartup.c
[22/40] Compiling CNIOWASI CNIOWASI.c
[22/40] Compiling CNIOWindows shim.c
[22/40] Compiling _NumericsShims _NumericsShims.c
[25/40] Compiling CNIOPosix event_loop_id.c
[25/40] Compiling _AtomicsShims.c
[27/40] Compiling CNIOOpenBSD shim.c
[28/40] Compiling CNIOFreeBSD shim.c
[28/40] Compiling CNIOLinux liburing_shims.c
[28/40] Write sources
[28/40] Compiling CNIOLinux shim.c
[28/40] Write sources
[31/40] Compiling CNIODarwin shim.c
[36/40] Write swift-version-24593BA9C3E375BF.txt
[38/86] 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
[39/86] Emitting module Logging
unable to find node: pound
unable to find node: pound
<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
[40/87] Emitting module InternalCollectionsUtilities
<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
/host/spi-builder-workspace/.build/checkouts/sqlite-nio/Sources/VaporCSQLite/sqlite_nio_sqlite3.c:30627:10: fatal error: 'pthread.h' file not found
 30627 | #include <pthread.h>
       |          ^~~~~~~~~~~
1 error generated.
[40/89] 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
<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
[40/89] Compiling c-nioatomics.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
[40/89] 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
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:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/50] Emitting module _NIOBase64
/host/spi-builder-workspace/.build/checkouts/sqlite-nio/Sources/VaporCSQLite/sqlite_nio_sqlite3.c:30627:10: fatal error: 'pthread.h' file not found
 30627 | #include <pthread.h>
       |          ^~~~~~~~~~~
1 error generated.
[2/50] Compiling VaporCSQLite sqlite_nio_sqlite3.c
[2/50] Compiling c-atomics.c
[2/50] Compiling c-nioatomics.c
BUILD FAILURE 6.1 wasm