The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WCDBSwift, reference master (17ebdc), with Swift 6.3 for Wasm on 10 Oct 2026 17:58:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-3":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build 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.3
Building package at path:  $PWD
https://github.com/Tencent/wcdb.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-3":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:df2e9038ff906af397ec7b7e13902ccb183f8867606bc33419e44453a9abdb4b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/Tencent/sqlcipher
[1/13322] Fetching sqlcipher
Fetched https://github.com/Tencent/sqlcipher from cache (2.18s)
Computing version for https://github.com/Tencent/sqlcipher
Computed https://github.com/Tencent/sqlcipher at 1.4.7 (2.37s)
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
[1/410] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/src/bridge/cppbridge/FTSBridge.cpp:27:
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:
/host/spi-builder-workspace/src/common/base/Thread.hpp:44:12: error: no member named 'thread' in namespace 'std'; did you mean 'Thread'?
   44 |     Thread(std::thread::id id
      |            ^~~~~~~~~~~
      |            Thread
/host/spi-builder-workspace/src/common/base/Thread.hpp:36:7: note: 'Thread' declared here
   36 | class Thread final : public SharedThreadedErrorProne {
      |       ^
/host/spi-builder-workspace/src/common/base/Thread.hpp:44:25: error: no type named 'id' in 'WCDB::Thread'
   44 |     Thread(std::thread::id id
      |            ~~~~~~~~~~~~~^
/host/spi-builder-workspace/src/common/base/Thread.hpp:51:5: error: no member named 'thread' in namespace 'std'; did you mean 'Thread'?
   51 |     std::thread::id m_id;
      |     ^~~~~~~~~~~
      |     Thread
/host/spi-builder-workspace/src/common/base/Thread.hpp:36:7: note: 'Thread' declared here
   36 | class Thread final : public SharedThreadedErrorProne {
      |       ^
/host/spi-builder-workspace/src/common/base/Thread.hpp:51:18: error: no type named 'id' in 'WCDB::Thread'
   51 |     std::thread::id m_id;
      |     ~~~~~~~~~~~~~^
/host/spi-builder-workspace/src/common/base/Thread.hpp:55:12: error: no member named 'thread' in namespace 'std'; did you mean 'Thread'?
   55 |     static std::thread::id m_uiThreadId;
      |            ^~~~~~~~~~~
      |            Thread
/host/spi-builder-workspace/src/common/base/Thread.hpp:36:7: note: 'Thread' declared here
   36 | class Thread final : public SharedThreadedErrorProne {
      |       ^
/host/spi-builder-workspace/src/common/base/Thread.hpp:55:25: error: no type named 'id' in 'WCDB::Thread'
   55 |     static std::thread::id m_uiThreadId;
      |            ~~~~~~~~~~~~~^
/host/spi-builder-workspace/src/common/base/Thread.hpp:61:31: error: no member named 'thread' in namespace 'std'; did you mean 'Thread'?
   61 |     static void setUIThreadId(std::thread::id threadId);
      |                               ^~~~~~~~~~~
      |                               Thread
/host/spi-builder-workspace/src/common/base/Thread.hpp:36:7: note: 'Thread' declared here
   36 | class Thread final : public SharedThreadedErrorProne {
      |       ^
/host/spi-builder-workspace/src/common/base/Thread.hpp:61:44: error: no type named 'id' in 'WCDB::Thread'
   61 |     static void setUIThreadId(std::thread::id threadId);
      |                               ~~~~~~~~~~~~~^
In file included from /host/spi-builder-workspace/src/bridge/cppbridge/FTSBridge.cpp:27:
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:
/host/spi-builder-workspace/src/common/base/Lock.hpp:38:39: error: expected class name
   38 | class Conditional final : public std::condition_variable {
      |                                       ^
/host/spi-builder-workspace/src/common/base/Lock.hpp:41:41: error: no member named 'mutex' in namespace 'std'
   41 |     bool wait_for(std::unique_lock<std::mutex> &lockGuard, double seconds);
      |                                         ^~~~~
/host/spi-builder-workspace/src/common/base/Lock.hpp:74:18: error: no type named 'mutex' in namespace 'std'
   74 |     mutable std::mutex m_lock;
      |             ~~~~~^
In file included from /host/spi-builder-workspace/src/bridge/cppbridge/FTSBridge.cpp:27:
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:
/host/spi-builder-workspace/src/common/utility/AsyncQueue.hpp:51:10: error: no template named 'future' in namespace 'std'
   51 |     std::future<void> m_running;
      |     ~~~~~^
In file included from /host/spi-builder-workspace/src/bridge/cppbridge/FTSBridge.cpp:27:
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:31:
/host/spi-builder-workspace/src/common/utility/TimedQueue.hpp:43:10: error: no type named 'mutex' in namespace 'std'
   43 |     std::mutex m_lock;
      |     ~~~~~^
/host/spi-builder-workspace/src/common/utility/TimedQueue.hpp:74:34: error: no member named 'mutex' in namespace 'std'
   74 |             std::lock_guard<std::mutex> lockGuard(m_lock);
      |                                  ^~~~~
/host/spi-builder-workspace/src/common/utility/TimedQueue.hpp:88:27: error: no member named 'notify_one' in 'WCDB::Conditional'
   88 |             m_conditional.notify_one();
      |             ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/src/common/utility/TimedQueue.hpp:95:34: error: no member named 'mutex' in namespace 'std'
   95 |             std::lock_guard<std::mutex> lockGuard(m_lock);
      |                                  ^~~~~
/host/spi-builder-workspace/src/common/utility/TimedQueue.hpp:110:34: error: no member named 'mutex' in namespace 'std'
  110 |             std::lock_guard<std::mutex> lockGuard(m_lock);
      |                                  ^~~~~
/host/spi-builder-workspace/src/common/utility/TimedQueue.hpp:114:23: error: no member named 'notify_one' in 'WCDB::Conditional'
  114 |         m_conditional.notify_one();
      |         ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/src/common/utility/TimedQueue.hpp:125:39: error: no member named 'mutex' in namespace 'std'
  125 |                 std::unique_lock<std::mutex> lockGuard(m_lock);
      |                                       ^~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2/410] Compiling FTSBridge.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:
/host/spi-builder-workspace/src/common/base/Thread.hpp:44:12: error: no member named 'thread' in namespace 'std'; did you mean 'Thread'?
   44 |     Thread(std::thread::id id
      |            ^~~~~~~~~~~
      |            Thread
/host/spi-builder-workspace/src/common/base/Thread.hpp:36:7: note: 'Thread' declared here
   36 | class Thread final : public SharedThreadedErrorProne {
      |       ^
/host/spi-builder-workspace/src/common/base/Thread.hpp:44:25: error: no type named 'id' in 'WCDB::Thread'
   44 |     Thread(std::thread::id id
      |            ~~~~~~~~~~~~~^
/host/spi-builder-workspace/src/common/base/Thread.hpp:51:5: error: no member named 'thread' in namespace 'std'; did you mean 'Thread'?
   51 |     std::thread::id m_id;
      |     ^~~~~~~~~~~
      |     Thread
/host/spi-builder-workspace/src/common/base/Thread.hpp:36:7: note: 'Thread' declared here
   36 | class Thread final : public SharedThreadedErrorProne {
      |       ^
/host/spi-builder-workspace/src/common/base/Thread.hpp:51:18: error: no type named 'id' in 'WCDB::Thread'
   51 |     std::thread::id m_id;
      |     ~~~~~~~~~~~~~^
/host/spi-builder-workspace/src/common/base/Thread.hpp:55:12: error: no member named 'thread' in namespace 'std'; did you mean 'Thread'?
   55 |     static std::thread::id m_uiThreadId;
      |            ^~~~~~~~~~~
      |            Thread
/host/spi-builder-workspace/src/common/base/Thread.hpp:36:7: note: 'Thread' declared here
   36 | class Thread final : public SharedThreadedErrorProne {
      |       ^
/host/spi-builder-workspace/src/common/base/Thread.hpp:55:25: error: no type named 'id' in 'WCDB::Thread'
   55 |     static std::thread::id m_uiThreadId;
      |            ~~~~~~~~~~~~~^
/host/spi-builder-workspace/src/common/base/Thread.hpp:61:31: error: no member named 'thread' in namespace 'std'; did you mean 'Thread'?
   61 |     static void setUIThreadId(std::thread::id threadId);
      |                               ^~~~~~~~~~~
      |                               Thread
/host/spi-builder-workspace/src/common/base/Thread.hpp:36:7: note: 'Thread' declared here
   36 | class Thread final : public SharedThreadedErrorProne {
      |       ^
/host/spi-builder-workspace/src/common/base/Thread.hpp:61:44: error: no type named 'id' in 'WCDB::Thread'
   61 |     static void setUIThreadId(std::thread::id threadId);
      |                               ~~~~~~~~~~~~~^
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:
/host/spi-builder-workspace/src/common/base/Lock.hpp:38:39: error: expected class name
   38 | class Conditional final : public std::condition_variable {
      |                                       ^
/host/spi-builder-workspace/src/common/base/Lock.hpp:41:41: error: no member named 'mutex' in namespace 'std'
   41 |     bool wait_for(std::unique_lock<std::mutex> &lockGuard, double seconds);
      |                                         ^~~~~
/host/spi-builder-workspace/src/common/base/Lock.hpp:74:18: error: no type named 'mutex' in namespace 'std'
   74 |     mutable std::mutex m_lock;
      |             ~~~~~^
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:
/host/spi-builder-workspace/src/common/utility/AsyncQueue.hpp:51:10: error: no template named 'future' in namespace 'std'
   51 |     std::future<void> m_running;
      |     ~~~~~^
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:31:
/host/spi-builder-workspace/src/common/utility/TimedQueue.hpp:43:10: error: no type named 'mutex' in namespace 'std'
   43 |     std::mutex m_lock;
      |     ~~~~~^
/host/spi-builder-workspace/src/common/utility/TimedQueue.hpp:74:34: error: no member named 'mutex' in namespace 'std'
   74 |             std::lock_guard<std::mutex> lockGuard(m_lock);
      |                                  ^~~~~
/host/spi-builder-workspace/src/common/utility/TimedQueue.hpp:88:27: error: no member named 'notify_one' in 'WCDB::Conditional'
   88 |             m_conditional.notify_one();
      |             ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/src/common/utility/TimedQueue.hpp:95:34: error: no member named 'mutex' in namespace 'std'
   95 |             std::lock_guard<std::mutex> lockGuard(m_lock);
      |                                  ^~~~~
/host/spi-builder-workspace/src/common/utility/TimedQueue.hpp:110:34: error: no member named 'mutex' in namespace 'std'
  110 |             std::lock_guard<std::mutex> lockGuard(m_lock);
      |                                  ^~~~~
/host/spi-builder-workspace/src/common/utility/TimedQueue.hpp:114:23: error: no member named 'notify_one' in 'WCDB::Conditional'
  114 |         m_conditional.notify_one();
      |         ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/src/common/utility/TimedQueue.hpp:125:39: error: no member named 'mutex' in namespace 'std'
  125 |                 std::unique_lock<std::mutex> lockGuard(m_lock);
      |                                       ^~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2/410] Compiling CoreBridge.cpp
[2/410] Compiling window.c
In file included from /host/spi-builder-workspace/src/bridge/base/ErrorBridge.cpp:29:
In file included from /host/spi-builder-workspace/src/common/base/Notifier.hpp:27:
In file included from /host/spi-builder-workspace/src/common/base/Lock.hpp:27:
/host/spi-builder-workspace/src/common/base/Thread.hpp:44:12: error: no member named 'thread' in namespace 'std'; did you mean 'Thread'?
   44 |     Thread(std::thread::id id
      |            ^~~~~~~~~~~
      |            Thread
/host/spi-builder-workspace/src/common/base/Thread.hpp:36:7: note: 'Thread' declared here
   36 | class Thread final : public SharedThreadedErrorProne {
      |       ^
/host/spi-builder-workspace/src/common/base/Thread.hpp[2/410] Compiling ErrorBridge.cpp
[2/410] Compiling HandleBridge.cpp
[2/410] Compiling BindingBridge.cpp
[2/410] Compiling ContainerBridge.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:
/host/spi-builder-workspace/src/common/base/Thread.hpp:44:12: error: no member named 'thread' in namespace 'std'; did you mean 'Thread'?
   44 |     Thread(std::thread::id id
      |            ^~~~~~~~~~~
      |            Thread
/host/spi-builder-workspace/src/common/base/Thread.hpp:36:7: note: 'Thread' declared here
   36 | class Thread final : public SharedThreadedErrorProne {
      |       ^
/host/spi-builder-workspace/src/common/base/Thread.hpp:44:25: error: no type named 'id' in 'WCDB::Thread'
   44 |     Thread(std::thread::id id
      |            ~~~~~~~~~~~~~^
/host/spi-builder-workspace/src/common/base/Thread.hpp:51:5: error: no member named 'thread' in namespace 'std'; did you mean 'Thread'?
   51 |     std::thread::id m_id;
      |     ^~~~~~~~~~~
      |     Thread
/host/spi-builder-workspace/src/common/base/Thread.hpp:36:7: note: 'Thread' declared here
   36 | class Thread final : public SharedThreadedErrorProne {
      |       ^
/host/spi-builder-workspace/src/common/base/Thread.hpp:51:18: error: no type named 'id' in 'WCDB::Thread'
   51 |     std::thread::id m_id;
      |     ~~~~~~~~~~~~~^
/host/spi-builder-workspace/src/common/base/Thread.hpp:55:12: error: no member named 'thread' in namespace 'std'; did you mean 'Thread'?
   55 |     static std::thread::id m_uiThreadId;
      |            ^~~~~~~~~~~
      |            Thread
/host/spi-builder-workspace/src/common/base/Thread.hpp:36:7: note: 'Thread' declared here
   36 | class Thread final : public SharedThreadedErrorProne {
      |       ^
/host/spi-builder-workspace/src/common/base/Thread.hpp:55:25: error: no type named 'id' in 'WCDB::Thread'
   55 |     static std::thread::id m_uiThreadId;
      |            ~~~~~~~~~~~~~^
/host/spi-builder-workspace/src/common/base/Thread.hpp:61:31: error: no member named 'thread' in namespace 'std'; did you mean 'Thread'?
   61 |     static void setUIThreadId(std::thread::id threadId);
      |                               ^~~~~~~~~~~
      |                               Thread
/host/spi-builder-workspace/src/common/base/Thread.hpp:36:7: note: 'Thread' declared here
   36 | class Thread final : public SharedThreadedErrorProne {
      |       ^
/host/spi-builder-workspace/src/common/base/Thread.hpp:61:44: error: no type named 'id' in 'WCDB::Thread'
   61 |     static void setUIThreadId(std::thread::id threadId);
      |                               ~~~~~~~~~~~~~^
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:
/host/spi-builder-workspace/src/common/base/Lock.hpp:38:39: error: expected class name
   38 | class Conditional final : public std::condition_variable {
      |                                       ^
/host/spi-builder-workspace/src/common/base/Lock.hpp:41:41: error: no member named 'mutex' in namespace 'std'
   41 |     bool wait_for(std::unique_lock<std::mutex> &lockGuard, double seconds);
      |                                         ^~~~~
/host/spi-builder-workspace/src/common/base/Lock.hpp:74:18: error: no type named 'mutex' in namespace 'std'
   74 |     mutable std::mutex m_lock;
      |             ~~~~~^
[2/410] Compiling DatabaseBridge.cpp
BUILD FAILURE 6.3 wasm