Build Information
Failed to build WCDBSwift, reference master (17ebdc), with Swift 6.1 for Wasm on 10 Oct 2026 17:56:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Tencent/wcdb.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/Tencent/wcdb
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 17ebdcb Security issue: SQL injection in sqlcipher_export function
Submodule path 'openssl': checked out '081314d07705aa58912845c213a48414d8f616a9'
Submodule path 'sqlcipher': checked out '445e1dbe066ee917e4475b028f90ff37efb04541'
Submodule path 'zstd': checked out '69036dffe50f385bd3b7b187e3fd230f4b2ef97e'
Submodule 'openssl' (https://github.com/openssl/openssl.git) registered for path 'openssl'
Submodule 'sqlcipher' (https://github.com/Tencent/sqlcipher.git) registered for path 'sqlcipher'
Submodule 'zstd' (https://github.com/facebook/zstd.git) registered for path 'zstd'
Cloning into '/host/spi-builder-workspace/openssl'...
Cloning into '/host/spi-builder-workspace/sqlcipher'...
Cloning into '/host/spi-builder-workspace/zstd'...
Cloned https://github.com/Tencent/wcdb.git
Revision (git rev-parse @):
17ebdcbb0a6d610432ea0106718a40676506b0a3
SUCCESS checkout https://github.com/Tencent/wcdb.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Tencent/wcdb.git
https://github.com/Tencent/wcdb.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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:005e294ea72e7f7733559677ac003354f37dc6afb35c5bbab6bc9a95fc174f44
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/Tencent/sqlcipher
[1/13322] Fetching sqlcipher
Fetched https://github.com/Tencent/sqlcipher from cache (2.34s)
Computing version for https://github.com/Tencent/sqlcipher
Computed https://github.com/Tencent/sqlcipher at 1.4.7 (2.61s)
Creating working copy for https://github.com/Tencent/sqlcipher
Working copy of https://github.com/Tencent/sqlcipher resolved at 1.4.7
Building for debugging...
[0/410] Compiling ObjectBridge.cpp
In file included from /host/spi-builder-workspace/src/bridge/cppbridge/CoreBridge.cpp:26:
In file included from /host/spi-builder-workspace/src/common/core/CommonCore.hpp:27:
In file included from /host/spi-builder-workspace/src/common/core/operate/OperationQueue.hpp:27:
In file included from /host/spi-builder-workspace/src/common/utility/AsyncQueue.hpp:27:
In file included from /host/spi-builder-workspace/src/common/base/Lock.hpp:27:
In file included from /host/spi-builder-workspace/src/common/base/Thread.hpp:27:
/host/spi-builder-workspace/src/common/platform/CrossPlatform.h:60:10: fatal error: 'pthread.h' file not found
60 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[1/410] Compiling CoreBridge.cpp
[1/410] Compiling FTSBridge.cpp
[1/410] Compiling BindingBridge.cpp
[1/410] Compiling ErrorBridge.cpp
In file included from /host/spi-builder-workspace/src/bridge/cppbridge/DatabaseBridge.cpp:26:
In file included from /host/spi-builder-workspace/src/common/core/config/CipherConfig.hpp:29:
In file included from /host/spi-builder-workspace/src/common/base/Lock.hpp:27:
In file included from /host/spi-builder-workspace/src/common/base/Thread.hpp:27:
/host/spi-builder-workspace/src/common/platform/CrossPlatform.h:60:10: fatal error: 'pthread.h' file not found
60 | #include <pthread.h>
| ^~~~~~~~~~~
[1/410] Compiling DatabaseBridge.cpp
[1/410] Compiling ContainerBridge.cpp
[1/410] Compiling HandleBridge.cpp
[1/410] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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:005e294ea72e7f7733559677ac003354f37dc6afb35c5bbab6bc9a95fc174f44
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/409] Compiling vdbetrace.c
[1/409] Compiling walker.c
[2/409] Compiling vtab.c
[3/409] Compiling whereexpr.c
[4/409] Compiling wherecode.c
[5/409] Compiling window.c
[6/409] Compiling wal.c
[7/409] Compiling vdbeblob.c
[8/409] Compiling vdbemem.c
[9/409] Compiling where.c
[10/409] Compiling vdbesort.c
[11/409] Compiling vacuum.c
[12/409] Compiling vdbeapi.c
[13/409] Write swift-version-24593BA9C3E375BF.txt
[14/409] Compiling utf.c
[15/409] Compiling util.c
[16/409] Compiling upsert.c
[17/409] Compiling vdbeaux.c
[18/409] Compiling treeview.c
[19/409] Compiling update.c
/host/spi-builder-workspace/.build/checkouts/sqlcipher/src/threads.c:39:10: fatal error: 'pthread.h' file not found
39 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[20/409] Compiling threads.c
[20/409] Compiling status.c
[20/409] Compiling trigger.c
[20/409] Compiling rowset.c
[20/409] Compiling table.c
[20/409] Compiling select.c
[20/409] Compiling tokenize.c
[20/409] Compiling vdbe.c
BUILD FAILURE 6.1 wasm