Build Information
Failed to build DuckDB, reference v1.1.3 (9583f4), with Swift 6.2 for Wasm on 2 Aug 2025 20:10:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/duckdb/duckdb-swift.git
Reference: v1.1.3
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/duckdb/duckdb-swift
* tag v1.1.3 -> FETCH_HEAD
HEAD is now at 9583f44 automated update
Cloned https://github.com/duckdb/duckdb-swift.git
Revision (git rev-parse @):
9583f44fedc20a8e0b6151d2e43f6d850016712f
SUCCESS checkout https://github.com/duckdb/duckdb-swift.git at v1.1.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/duckdb/duckdb-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/323] Write sources
[1/323] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-datefunc.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/include/icu-datefunc.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/connection.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/buffered_file_writer.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/write_stream.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog.hpp:12:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:18:12: error: no member named 'mutex' in namespace 'std'
18 | using std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:19:12: error: no member named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
19 | using std::unique_lock;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-datefunc.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/include/icu-datefunc.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/connection.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/materialized_query_result.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/column_data_collection.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/column_data_collection_iterators.hpp:11:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/column_data_scan_states.hpp:60:2: error: unknown type name 'mutex'
60 | mutex lock;
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-datefunc.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/include/icu-datefunc.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/connection.hpp:16:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/pending_query_result.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/executor.hpp:17:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/task_error_manager.hpp:53:2: error: unknown type name 'mutex'
53 | mutex error_lock;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/task_error_manager.hpp:20:14: error: use of undeclared identifier 'mutex'
20 | lock_guard<mutex> elock(error_lock);
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/task_error_manager.hpp:25:14: error: use of undeclared identifier 'mutex'
25 | lock_guard<mutex> elock(error_lock);
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/task_error_manager.hpp:36:14: error: use of undeclared identifier 'mutex'
36 | lock_guard<mutex> elock(error_lock);
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/task_error_manager.hpp:41:14: error: use of undeclared identifier 'mutex'
41 | lock_guard<mutex> elock(error_lock);
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/task_error_manager.hpp:48:14: error: use of undeclared identifier 'mutex'
48 | lock_guard<mutex> elock(error_lock);
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-datefunc.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/include/icu-datefunc.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/connection.hpp:16:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/pending_query_result.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/executor.hpp:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/pipeline.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/physical_operator.hpp:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/optimizer/join_order/join_node.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/optimizer/join_order/query_graph.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/optimizer/join_order/relation_manager.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/optimizer/join_order/cardinality_estimator.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/optimizer/join_order/relation_statistics_helper.hpp:10:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/filter/conjunction_filter.hpp:11:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/table_filter.hpp:122:10: error: unknown type name 'mutex'
122 | mutable mutex lock;
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-datefunc.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/include/icu-datefunc.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/connection.hpp:16:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/pending_query_result.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/executor.hpp:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/pipeline.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/physical_operator.hpp:20:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/physical_operator_states.hpp:18:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:38:2: error: unknown type name 'mutex'
38 | mutex lock;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:39:7: error: no type named 'condition_variable' in namespace 'std'
39 | std::condition_variable cv;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:67:14: error: use of undeclared identifier 'mutex'
67 | unique_lock<mutex> Lock() {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:71:41: error: use of undeclared identifier 'mutex'
71 | void PreventBlocking(const unique_lock<mutex> &guard) {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:77:35: error: use of undeclared identifier 'mutex'
77 | bool BlockTask(const unique_lock<mutex> &guard, const InterruptState &interrupt_state) {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:87:38: error: use of undeclared identifier 'mutex'
87 | bool UnblockTasks(const unique_lock<mutex> &guard) {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:99:45: error: use of undeclared identifier 'mutex'
99 | SinkResultType BlockSink(const unique_lock<mutex> &guard, const InterruptState &interrupt_state) {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:103:49: error: use of undeclared identifier 'mutex'
103 | SourceResultType BlockSource(const unique_lock<mutex> &guard, const InterruptState &interrupt_state) {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:111:10: error: unknown type name 'mutex'
111 | mutable mutex lock;
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2/323] Compiling icu-datefunc.cpp
In file included from src/storage/table/chunk_info.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/chunk_info.cpp:2:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/transaction.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_entry/sequence_catalog_entry.hpp:12:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:18:12: error: no member named 'mutex' in namespace 'std'
18 | using std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:19:12: error: no member named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
19 | using std::unique_lock;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
[2/323] Compiling ub_src_storage_table.cpp
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-datesub.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/include/icu-datesub.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/connection.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/buffered_file_writer.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/write_stream.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog.hpp:12:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:18:12: error: no member named 'mutex' in namespace 'std'
18 | using std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:19:12: error: no member named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
19 | using std::unique_lock;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-dateadd.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/include/icu-dateadd.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/connection.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/buffered_file_writer.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/write_stream.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog.hpp:12:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:18:12: error: no member named 'mutex' in namespace 'std'
18 | using std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:19:12: error: no member named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
19 | using std::unique_lock;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-dateadd.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/include/icu-dateadd.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/connection.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/materialized_query_result.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/column_data_collection.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/column_data_collection_iterators.hpp:11:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/column_data_scan_states.hpp:60:2: error: unknown type name 'mutex'
60 | mutex lock;
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-dateadd.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/include/icu-dateadd.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/connection.hpp:16:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/pending_query_result.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/executor.hpp:17:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/task_error_manager.hpp:53:2: error: unknown type name 'mutex'
53 | mutex error_lock;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/task_error_manager.hpp:20:14: error: use of undeclared identifier 'mutex'
20 | lock_guard<mutex> elock(error_lock);
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/task_error_manager.hpp:25:14: error: use of undeclared identifier 'mutex'
25 | lock_guard<mutex> elock(error_lock);
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/task_error_manager.hpp:36:14: error: use of undeclared identifier 'mutex'
36 | lock_guard<mutex> elock(error_lock);
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/task_error_manager.hpp:41:14: error: use of undeclared identifier 'mutex'
41 | lock_guard<mutex> elock(error_lock);
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/task_error_manager.hpp:48:14: error: use of undeclared identifier 'mutex'
48 | lock_guard<mutex> elock(error_lock);
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-dateadd.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/include/icu-dateadd.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/connection.hpp:16:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/pending_query_result.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/executor.hpp:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/pipeline.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/physical_operator.hpp:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/optimizer/join_order/join_node.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/optimizer/join_order/query_graph.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/optimizer/join_order/relation_manager.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/optimizer/join_order/cardinality_estimator.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/optimizer/join_order/relation_statistics_helper.hpp:10:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/filter/conjunction_filter.hpp:11:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/table_filter.hpp:122:10: error: unknown type name 'mutex'
122 | mutable mutex lock;
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-dateadd.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/include/icu-dateadd.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/connection.hpp:16:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/pending_query_result.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/executor.hpp:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/pipeline.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/physical_operator.hpp:20:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/physical_operator_states.hpp:18:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:38:2: error: unknown type name 'mutex'
38 | mutex lock;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:39:7: error: no type named 'condition_variable' in namespace 'std'
39 | std::condition_variable cv;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:67:14: error: use of undeclared identifier 'mutex'
67 | unique_lock<mutex> Lock() {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:71:41: error: use of undeclared identifier 'mutex'
71 | void PreventBlocking(const unique_lock<mutex> &guard) {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:77:35: error: use of undeclared identifier 'mutex'
77 | bool BlockTask(const unique_lock<mutex> &guard, const InterruptState &interrupt_state) {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:87:38: error: use of undeclared identifier 'mutex'
87 | bool UnblockTasks(const unique_lock<mutex> &guard) {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:99:45: error: use of undeclared identifier 'mutex'
99 | SinkResultType BlockSink(const unique_lock<mutex> &guard, const InterruptState &interrupt_state) {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:103:49: error: use of undeclared identifier 'mutex'
103 | SourceResultType BlockSource(const unique_lock<mutex> &guard, const InterruptState &interrupt_state) {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:111:10: error: unknown type name 'mutex'
111 | mutable mutex lock;
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[2/323] Compiling icu-dateadd.cpp
[2/323] Compiling icu-datesub.cpp
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-datetrunc.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/include/icu-datetrunc.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/connection.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/buffered_file_writer.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/write_stream.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog.hpp:12:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:18:12: error: no member named 'mutex' in namespace 'std'
18 | using std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:19:12: error: no member named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
19 | using std::unique_lock;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
[2/323] Compiling icu-datetrunc.cpp
In file included from src/transaction/duck_transaction_manager.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/duck_transaction_manager.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/duck_transaction_manager.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/transaction_manager.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:17:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:18:12: error: no member named 'mutex' in namespace 'std'
18 | using std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:19:12: error: no member named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
19 | using std::unique_lock;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/transaction/duck_transaction_manager.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/duck_transaction_manager.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/duck_transaction_manager.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/transaction_manager.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:19:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/transaction.hpp:11:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_entry/sequence_catalog_entry.hpp:70:10: error: unknown type name 'mutex'
70 | mutable mutex lock;
| ^
In file included from src/transaction/duck_transaction_manager.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/duck_transaction_manager.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/duck_transaction_manager.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/transaction_manager.hpp:11:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:120:2: error: unknown type name 'mutex'
120 | mutex &GetCatalogLock() {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:136:72: error: use of undeclared identifier 'mutex'
136 | void CreateDefaultEntries(CatalogTransaction transaction, unique_lock<mutex> &lock);
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:139:60: error: use of undeclared identifier 'mutex'
139 | unique_lock<mutex> &lock);
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:144:39: error: use of undeclared identifier 'mutex'
144 | unique_lock<mutex> &read_lock, bool should_be_empty = true);
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:149:82: error: use of undeclared identifier 'mutex'
149 | bool StartChain(CatalogTransaction transaction, const string &name, unique_lock<mutex> &read_lock);
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:151:62: error: use of undeclared identifier 'mutex'
151 | AlterInfo &alter_info, unique_lock<mutex> &read_lock);
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:156:2: error: unknown type name 'mutex'
156 | mutex catalog_lock;
| ^
In file included from src/transaction/duck_transaction_manager.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/duck_transaction_manager.cpp:1:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/duck_transaction_manager.hpp:102:2: error: unknown type name 'mutex'
102 | mutex transaction_lock;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/duck_transaction_manager.hpp:106:2: error: unknown type name 'mutex'
106 | mutex start_transaction_lock;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/duck_transaction_manager.hpp:108:2: error: unknown type name 'mutex'
108 | mutex wal_lock;
| ^
In file included from src/transaction/duck_transaction_manager.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/duck_transaction_manager.cpp:10:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/storage_manager.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/buffer_manager.hpp:13:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/block_manager.hpp:125:2: error: unknown type name 'mutex'
125 | mutex blocks_lock;
| ^
In file included from src/transaction/duck_transaction_manager.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/duck_transaction_manager.cpp:10:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/storage_manager.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/buffer_manager.hpp:17:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/config.hpp:32:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/operator_extension.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/physical_plan_generator.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/physical_operator.hpp:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/optimizer/join_order/join_node.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/optimizer/join_order/query_graph.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/optimizer/join_order/relation_manager.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/optimizer/join_order/cardinality_estimator.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/optimizer/join_order/relation_statistics_helper.hpp:10:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/filter/conjunction_filter.hpp:11:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/table_filter.hpp:122:10: error: unknown type name 'mutex'
122 | mutable mutex lock;
| ^
In file included from src/transaction/duck_transaction_manager.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/duck_transaction_manager.cpp:10:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/storage_manager.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/buffer_manager.hpp:17:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/config.hpp:32:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/operator_extension.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/physical_plan_generator.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/physical_operator.hpp:20:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/physical_operator_states.hpp:18:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:38:2: error: unknown type name 'mutex'
38 | mutex lock;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:39:7: error: no type named 'condition_variable' in namespace 'std'
39 | std::condition_variable cv;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:67:14: error: use of undeclared identifier 'mutex'
67 | unique_lock<mutex> Lock() {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:71:41: error: use of undeclared identifier 'mutex'
71 | void PreventBlocking(const unique_lock<mutex> &guard) {
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2/323] Compiling ub_src_transaction.cpp
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-datepart.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/include/icu-datepart.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/connection.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/buffered_file_writer.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/write_stream.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog.hpp:12:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:18:12: error: no member named 'mutex' in namespace 'std'
18 | using std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:19:12: error: no member named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
19 | using std::unique_lock;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-datepart.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/include/icu-datepart.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/connection.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/materialized_query_result.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/column_data_collection.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/column_data_collection_iterators.hpp:11:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/column_data_scan_states.hpp:60:2: error: unknown type name 'mutex'
60 | mutex lock;
| ^
[2/323] Compiling icu-datepart.cpp
[2/323] Compiling ub_src_storage_statistics.cpp
BUILD FAILURE 6.2 wasm