The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DuckDB, reference v1.1.3 (9583f4), with Swift 6.3 for Wasm on 16 Apr 2026 16:28:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path:  $PWD
https://github.com/duckdb/duckdb-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
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;
      |       ~~~~~^
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;
      |                 ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:68:22: error: use of undeclared identifier 'mutex'
   68 |                 return unique_lock<mutex>(lock);
      |                                    ^~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[0/323] Compiling icu-datefunc.cpp
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/parquet/column_reader.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/parquet/include/column_reader.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;
      |       ~~~~~^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/parquet/column_reader.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/parquet/include/column_reader.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/parquet/column_reader.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/parquet/include/column_reader.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);
      |                            ^~~~~
[0/323] Compiling column_reader.cpp
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/buffered_json_reader.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/include/buffered_json_reader.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/multi_file_reader.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/multi_file_reader_options.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/hive_partitioning.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/partitioned_column_data.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/column_data_allocator.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:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/column_data_scan_states.hpp:14:
/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;
      |       ~~~~~^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/buffered_json_reader.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/include/buffered_json_reader.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/multi_file_reader.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/multi_file_reader_options.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/hive_partitioning.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/partitioned_column_data.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/column_data_allocator.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/json/buffered_json_reader.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/include/buffered_json_reader.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/multi_file_reader.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/multi_file_reader_options.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/hive_partitioning.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/partitioned_column_data.hpp:14:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/column_data_allocator.hpp:107:2: error: unknown type name 'mutex'
  107 |         mutex lock;
      |         ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/buffered_json_reader.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/include/buffered_json_reader.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/multi_file_reader.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/multi_file_reader_options.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/hive_partitioning.hpp:11:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/partitioned_column_data.hpp:79:2: error: unknown type name 'mutex'
   79 |         mutex lock;
      |         ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/column/partitioned_column_data.hpp:160:2: error: unknown type name 'mutex'
  160 |         mutex lock;
      |         ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/buffered_json_reader.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/include/buffered_json_reader.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/multi_file_reader.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/multi_file_reader_options.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/hive_partitioning.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/expression_executor.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/client_context.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_entry/schema_catalog_entry.hpp:12:
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 /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/buffered_json_reader.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/include/buffered_json_reader.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/multi_file_reader.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/multi_file_reader_options.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/hive_partitioning.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/expression_executor.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/client_context.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_entry/schema_catalog_entry.hpp:12:
/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 /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/buffered_json_reader.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/include/buffered_json_reader.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/multi_file_reader.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/multi_file_reader_options.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/hive_partitioning.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/expression_executor.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/client_context.hpp:21:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/client_config.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/progress_bar/progress_bar.hpp:12:
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);
      |                            ^~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[0/323] Compiling buffered_json_reader.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;
      |       ~~~~~^
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: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-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: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-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: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-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: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;
      |                 ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:68:22: error: use of undeclared identifier 'mutex'
   68 |                 return unique_lock<mutex>(lock);
      |                                    ^~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[0/323] Compiling icu-datetrunc.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;
      |       ~~~~~^
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: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-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: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-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: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-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: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;
      |                 ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:68:22: error: use of undeclared identifier 'mutex'
   68 |                 return unique_lock<mutex>(lock);
      |                                    ^~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[0/323] Compiling icu-datesub.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;
      |       ~~~~~^
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;
      |         ^
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: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-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: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-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: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;
      |                 ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parallel/interrupt.hpp:68:22: error: use of undeclared identifier 'mutex'
   68 |                 return unique_lock<mutex>(lock);
      |                                    ^~~~~
[0/323] Compiling icu-datepart.cpp
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/serialize_json.cpp:6:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/serializer.hpp:23:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/config.hpp:29:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/optimizer/optimizer_extension.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/logical_operator.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;
      |       ~~~~~^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/serialize_json.cpp:6:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/serializer.hpp:23:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/config.hpp:31:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parser/parser_extension.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/table_function.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/bind_context.hpp:19:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/expression_binder.hpp:21:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_entry_retriever.hpp:8:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_entry/schema_catalog_entry.hpp:12:
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 /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/serialize_json.cpp:6:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/serializer.hpp:23:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/config.hpp:31:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parser/parser_extension.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/table_function.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/bind_context.hpp:19:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/expression_binder.hpp:21:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_entry_retriever.hpp:8:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_entry/schema_catalog_entry.hpp:12:
/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 /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/serialize_json.cpp:6:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/serializer.hpp:23:
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 /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/json/serialize_json.cpp:6:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/serializer.hpp:23:
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) {
      |                                                ^~~~~
/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=]
[0/323] Compiling serialize_json.cpp
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-list-range.cpp:5:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function_set.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/table_function.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/bind_context.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;
      |       ~~~~~^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-list-range.cpp:5:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function_set.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/table_function.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/bind_context.hpp:19:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/expression_binder.hpp:21:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_entry_retriever.hpp:8:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_entry/schema_catalog_entry.hpp:12:
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 /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-list-range.cpp:5:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function_set.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/table_function.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/bind_context.hpp:19:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/planner/expression_binder.hpp:21:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_entry_retriever.hpp:8:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_entry/schema_catalog_entry.hpp:12:
/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 /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/icu/icu-list-range.cpp:7:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/client_context.hpp:21:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/client_config.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/progress_bar/progress_bar.hpp:12:
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-list-range.cpp:7:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/client_context.hpp:21:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/client_config.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/progress_bar/progress_bar.hpp:12:
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-list-range.cpp:7:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/client_context.hpp:21:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/client_config.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/progress_bar/progress_bar.hpp:12:
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() {
      |                     ^~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[0/323] Compiling icu-list-range.cpp
BUILD FAILURE 6.3 wasm