Build Information
Failed to build sqlite-nio, reference 1.11.5 (821a5f
), with Swift 6.1 for Wasm on 7 Jun 2025 12:24:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/sqlite-nio.git
Reference: 1.11.5
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.11.5 -> FETCH_HEAD
HEAD is now at 821a5fb Embed sqlite amalgamation 3.50.1 source code (#86)
Cloned https://github.com/vapor/sqlite-nio.git
Revision (git rev-parse @):
821a5fb54664a0558d8c9520af8fc40d114ca91f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/sqlite-nio.git at 1.11.5
========================================
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
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.65.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "sqlite-nio",
"name" : "sqlite-nio",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SQLiteNIO",
"targets" : [
"SQLiteNIO"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "VendorSQLite",
"module_type" : "PluginTarget",
"name" : "VendorSQLite",
"path" : "Plugins/VendorSQLite",
"plugin_capability" : {
"intent" : {
"description" : "Vendor SQLite",
"type" : "custom",
"verb" : "vendor-sqlite"
},
"permissions" : [
{
"network_scope" : {
"all" : {
"ports" : [
443
]
}
},
"reason" : "Retrieve the latest build of SQLite",
"type" : "allowNetworkConnections"
},
{
"network_scope" : {
"none" : {
}
},
"reason" : "Update the vendored SQLite files",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"sources" : [
"AsyncNotOmittingEmptySubsequencesLineSequence.swift",
"Path+Utility.swift",
"Process+SimpleRunPopen.swift",
"SemanticVersion.swift",
"Sqlite3ProductInfo.swift",
"SymbolGraph.swift",
"UsefulArgumentExtractor.swift",
"VendorSQLite3.swift"
],
"type" : "plugin"
},
{
"c99name" : "SQLiteNIOTests",
"module_type" : "SwiftTarget",
"name" : "SQLiteNIOTests",
"path" : "Tests/SQLiteNIOTests",
"sources" : [
"SQLiteCustomFunctionTests.swift",
"SQLiteNIOTests.swift",
"XCTAsyncAssertions.swift"
],
"target_dependencies" : [
"SQLiteNIO"
],
"type" : "test"
},
{
"c99name" : "SQLiteNIO",
"module_type" : "SwiftTarget",
"name" : "SQLiteNIO",
"path" : "Sources/SQLiteNIO",
"product_dependencies" : [
"Logging",
"NIOCore",
"NIOPosix",
"NIOFoundationCompat"
],
"product_memberships" : [
"SQLiteNIO"
],
"sources" : [
"Exports.swift",
"SQLiteConnection.swift",
"SQLiteCustomFunction.swift",
"SQLiteData.swift",
"SQLiteDataConvertible.swift",
"SQLiteDataType.swift",
"SQLiteDatabase.swift",
"SQLiteError.swift",
"SQLiteRow.swift",
"SQLiteStatement.swift"
],
"target_dependencies" : [
"CSQLite"
],
"type" : "library"
},
{
"c99name" : "CSQLite",
"module_type" : "ClangTarget",
"name" : "CSQLite",
"path" : "Sources/CSQLite",
"product_memberships" : [
"SQLiteNIO"
],
"sources" : [
"sqlite_nio_sqlite3.c"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.38s)
[1/76195] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.84s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (4.28s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (2.80s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1797] Fetching swift-atomics
[810/6188] Fetching swift-atomics, swift-system
[4301/22779] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.57s)
[4618/18388] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.48s)
Fetched https://github.com/apple/swift-collections.git from cache (1.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.16s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.68s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.72s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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.5.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.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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.6.3
[1/1] Compiling plugin VendorSQLite
Building for debugging...
[1/23] Write sources
[11/23] Compiling CNIOWindows WSAStartup.c
[11/23] Compiling CNIOWindows shim.c
[13/23] Compiling CNIOWASI CNIOWASI.c
[14/23] Compiling CNIODarwin shim.c
[14/23] Compiling _AtomicsShims.c
[16/23] Write sources
[17/23] Compiling CNIOLinux liburing_shims.c
[18/23] Compiling CNIOLinux shim.c
[19/23] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/Sources/CSQLite/sqlite_nio_sqlite3.c:29860:10: fatal error: 'pthread.h' file not found
29860 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[20/66] Compiling CSQLite sqlite_nio_sqlite3.c
[21/66] Emitting module _NIODataStructures
[22/66] Emitting module _NIOBase64
[22/66] Compiling c-nioatomics.c
[22/66] Compiling c-atomics.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
[0/1] Planning build
[1/1] Compiling plugin VendorSQLite
Building for debugging...
/host/spi-builder-workspace/Sources/CSQLite/sqlite_nio_sqlite3.c:29860:10: fatal error: 'pthread.h' file not found
29860 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[1/5] Compiling CSQLite sqlite_nio_sqlite3.c
[1/5] Write swift-version-24593BA9C3E375BF.txt
[1/5] Compiling c-nioatomics.c
[1/5] Compiling c-atomics.c
BUILD FAILURE 6.1 wasm