Build Information
Failed to build DuckDB, reference main (c16c4b), with Swift 6.3 for Wasm on 18 Apr 2026 07:23:00 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/duckdb/duckdb-swift.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c16c4b2 automated update
Cloned https://github.com/duckdb/duckdb-swift.git
Revision (git rev-parse @):
c16c4b253a2a13c85725a9296ddcb0e29c9d626b
SUCCESS checkout https://github.com/duckdb/duckdb-swift.git at main
========================================
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...
[0/695] Write sources
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/bit/bitstring.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/bit_functions.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function_set.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/aggregate_function.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector_operations/aggregate_executor.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/vector.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/unified_vector_format.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:15:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:40:20: error: no type named 'mutex' in namespace 'std'
40 | using type = std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: error: no type named 'type' in 'duckdb::internal::standard_impl< ::duckdb::annotated_mutex>'
35 | using standard_impl_t = typename standard_impl<T>::type;
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:45:1: note: in instantiation of template type alias 'standard_impl_t' requested here
45 | using mutex_impl_t = standard_impl_t<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:21:69: note: in instantiation of template type alias 'mutex_impl_t' requested here
21 | class DUCKDB_CAPABILITY("mutex") annotated_mutex : public internal::mutex_impl_t<annotated_mutex> {
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/bit/bitstring.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/bit_functions.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function_set.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/aggregate_function.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector_operations/aggregate_executor.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/vector.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/unified_vector_format.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:15:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: error: no type named 'type' in 'duckdb::internal::standard_impl< ::duckdb::annotated_mutex>'
35 | using standard_impl_t = typename standard_impl<T>::type;
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:45:1: note: in instantiation of template type alias 'standard_impl_t' requested here
45 | using mutex_impl_t = standard_impl_t<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:23:25: note: in instantiation of template type alias 'mutex_impl_t' requested here
23 | using Impl = internal::mutex_impl_t<annotated_mutex>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:27:3: error: use of undeclared identifier 'Impl'
27 | Impl::lock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:30:3: error: use of undeclared identifier 'Impl'
30 | Impl::unlock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:33:10: error: use of undeclared identifier 'Impl'
33 | return Impl::try_lock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:103:20: error: no type named 'mutex' in namespace 'std'
103 | using mutex = std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:104:29: error: no type named 'mutex' in namespace 'std'
104 | template <typename M = std::mutex>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:106:29: error: no type named 'mutex' in namespace 'std'
106 | template <typename M = std::mutex>
| ~~~~~^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/bit/bitstring.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/bit_functions.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function_set.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar_function.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector_operations/unary_executor.hpp:14:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/dictionary_vector.hpp:27:2: error: unknown type name 'mutex'
27 | mutex cached_hashes_lock;
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/bit/bitstring.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/bit_functions.hpp:14:
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:14:
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:39:7: error: no type named 'condition_variable' in namespace 'std'
39 | std::condition_variable cv;
| ~~~~~^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/bit/bitstring.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/bit_functions.hpp:14:
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:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_reorderer.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group.hpp:20:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/checkpoint/checkpoint_options.hpp:29:26: error: use of undeclared identifier 'mutex'
29 | optional_ptr<lock_guard<mutex>> wal_lock;
| ^~~~~
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/bit/bitstring.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/bit_functions.hpp:14:
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:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_reorderer.hpp:12:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group.hpp:237:10: error: unknown type name 'mutex'
237 | mutable mutex row_group_lock;
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/bit/bitstring.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/bit_functions.hpp:14:
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:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_reorderer.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_segment_tree.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/segment_tree.hpp:13:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/segment_lock.hpp:19:23: error: unknown type name 'mutex'
19 | explicit SegmentLock(mutex &lock) : lock(lock) {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/segment_lock.hpp:38:14: error: use of undeclared identifier 'mutex'
38 | unique_lock<mutex> lock;
| ^~~~~
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/bit/bitstring.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/bit_functions.hpp:14:
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:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_reorderer.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_segment_tree.hpp:11:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/segment_tree.hpp:340:10: error: unknown type name 'mutex'
340 | mutable mutex node_lock;
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/bit/bitstring.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/bit_functions.hpp:14:
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:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_reorderer.hpp:13:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_segment_tree.hpp:22:25: error: only virtual member functions can be marked 'override'
22 | ~RowGroupSegmentTree() override;
| ^~~~~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_segment_tree.hpp:31:43: error: only virtual member functions can be marked 'override'
31 | shared_ptr<RowGroup> LoadSegment() const override;
| ^~~~~~~~
18 errors generated.
[1/695] Compiling bitstring.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:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:15:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:40:20: error: no type named 'mutex' in namespace 'std'
40 | using type = std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: error: no type named 'type' in 'duckdb::internal::standard_impl< ::duckdb::annotated_mutex>'
35 | using standard_impl_t = typename standard_impl<T>::type;
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:45:1: note: in instantiation of template type alias 'standard_impl_t' requested here
45 | using mutex_impl_t = standard_impl_t<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:21:69: note: in instantiation of template type alias 'mutex_impl_t' requested here
21 | class DUCKDB_CAPABILITY("mutex") annotated_mutex : public internal::mutex_impl_t<annotated_mutex> {
| ^
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:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:15:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: error: no type named 'type' in 'duckdb::internal::standard_impl< ::duckdb::annotated_mutex>'
35 | using standard_impl_t = typename standard_impl<T>::type;
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:45:1: note: in instantiation of template type alias 'standard_impl_t' requested here
45 | using mutex_impl_t = standard_impl_t<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:23:25: note: in instantiation of template type alias 'mutex_impl_t' requested here
23 | using Impl = internal::mutex_impl_t<annotated_mutex>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:27:3: error: use of undeclared identifier 'Impl'
27 | Impl::lock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:30:3: error: use of undeclared identifier 'Impl'
30 | Impl::unlock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:33:10: error: use of undeclared identifier 'Impl'
33 | return Impl::try_lock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:103:20: error: no type named 'mutex' in namespace 'std'
103 | using mutex = std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:104:29: error: no type named 'mutex' in namespace 'std'
104 | template <typename M = std::mutex>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:106:29: error: no type named 'mutex' in namespace 'std'
106 | template <typename M = std::mutex>
| ~~~~~^
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:128:2: error: unknown type name 'mutex'
128 | mutex &GetCatalogLock() {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:150:72: error: use of undeclared identifier 'mutex'
150 | void CreateDefaultEntries(CatalogTransaction transaction, unique_lock<mutex> &lock);
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:153:60: error: use of undeclared identifier 'mutex'
153 | unique_lock<mutex> &lock);
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:158:39: error: use of undeclared identifier 'mutex'
158 | unique_lock<mutex> &read_lock, bool should_be_empty = true);
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:163:82: error: use of undeclared identifier 'mutex'
163 | 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:165:62: error: use of undeclared identifier 'mutex'
165 | AlterInfo &alter_info, unique_lock<mutex> &read_lock);
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:170:2: error: unknown type name 'mutex'
170 | 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:131:2: error: unknown type name 'mutex'
131 | mutex transaction_lock;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/duck_transaction_manager.hpp:137:2: error: unknown type name 'mutex'
137 | mutex start_transaction_lock;
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[1/695] Compiling ub_src_transaction.cpp
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/enum/enum_functions.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/enum_functions.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function_set.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/aggregate_function.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector_operations/aggregate_executor.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/vector.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/unified_vector_format.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:15:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:40:20: error: no type named 'mutex' in namespace 'std'
40 | using type = std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: error: no type named 'type' in 'duckdb::internal::standard_impl< ::duckdb::annotated_mutex>'
35 | using standard_impl_t = typename standard_impl<T>::type;
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:45:1: note: in instantiation of template type alias 'standard_impl_t' requested here
45 | using mutex_impl_t = standard_impl_t<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:21:69: note: in instantiation of template type alias 'mutex_impl_t' requested here
21 | class DUCKDB_CAPABILITY("mutex") annotated_mutex : public internal::mutex_impl_t<annotated_mutex> {
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/enum/enum_functions.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/enum_functions.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function_set.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/aggregate_function.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector_operations/aggregate_executor.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/vector.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/unified_vector_format.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:15:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: error: no type named 'type' in 'duckdb::internal::standard_impl< ::duckdb::annotated_mutex>'
35 | using standard_impl_t = typename standard_impl<T>::type;
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:45:1: note: in instantiation of template type alias 'standard_impl_t' requested here
45 | using mutex_impl_t = standard_impl_t<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:23:25: note: in instantiation of template type alias 'mutex_impl_t' requested here
23 | using Impl = internal::mutex_impl_t<annotated_mutex>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:27:3: error: use of undeclared identifier 'Impl'
27 | Impl::lock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:30:3: error: use of undeclared identifier 'Impl'
30 | Impl::unlock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:33:10: error: use of undeclared identifier 'Impl'
33 | return Impl::try_lock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:103:20: error: no type named 'mutex' in namespace 'std'
103 | using mutex = std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:104:29: error: no type named 'mutex' in namespace 'std'
104 | template <typename M = std::mutex>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:106:29: error: no type named 'mutex' in namespace 'std'
106 | template <typename M = std::mutex>
| ~~~~~^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/enum/enum_functions.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/enum_functions.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function_set.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar_function.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector_operations/unary_executor.hpp:14:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/dictionary_vector.hpp:27:2: error: unknown type name 'mutex'
27 | mutex cached_hashes_lock;
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/enum/enum_functions.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/enum_functions.hpp:14:
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:14:
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:39:7: error: no type named 'condition_variable' in namespace 'std'
39 | std::condition_variable cv;
| ~~~~~^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/enum/enum_functions.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/enum_functions.hpp:14:
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:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_reorderer.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group.hpp:20:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/checkpoint/checkpoint_options.hpp:29:26: error: use of undeclared identifier 'mutex'
29 | optional_ptr<lock_guard<mutex>> wal_lock;
| ^~~~~
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/enum/enum_functions.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/enum_functions.hpp:14:
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:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_reorderer.hpp:12:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group.hpp:237:10: error: unknown type name 'mutex'
237 | mutable mutex row_group_lock;
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/enum/enum_functions.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/enum_functions.hpp:14:
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:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_reorderer.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_segment_tree.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/segment_tree.hpp:13:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/segment_lock.hpp:19:23: error: unknown type name 'mutex'
19 | explicit SegmentLock(mutex &lock) : lock(lock) {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/segment_lock.hpp:38:14: error: use of undeclared identifier 'mutex'
38 | unique_lock<mutex> lock;
| ^~~~~
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/enum/enum_functions.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/enum_functions.hpp:14:
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:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_reorderer.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_segment_tree.hpp:11:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/segment_tree.hpp:340:10: error: unknown type name 'mutex'
340 | mutable mutex node_lock;
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/scalar/enum/enum_functions.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/core_functions/include/core_functions/scalar/enum_functions.hpp:14:
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:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_reorderer.hpp:13:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_segment_tree.hpp:22:25: error: only virtual member functions can be marked 'override'
22 | ~RowGroupSegmentTree() override;
| ^~~~~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_segment_tree.hpp:31:43: error: only virtual member functions can be marked 'override'
31 | shared_ptr<RowGroup> LoadSegment() const override;
| ^~~~~~~~
[1/695] Compiling enum_functions.cpp
In file included from src/storage/serialization/serialize_constraint.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/serialization/serialize_constraint.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/execution/operator/csv_scanner/csv_option.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/strftime_format.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar_function.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector_operations/binary_executor.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/vector.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/unified_vector_format.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:15:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:40:20: error: no type named 'mutex' in namespace 'std'
40 | using type = std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: error: no type named 'type' in 'duckdb::internal::standard_impl< ::duckdb::annotated_mutex>'
35 | using standard_impl_t = typename standard_impl<T>::type;
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:45:1: note: in instantiation of template type alias 'standard_impl_t' requested here
45 | using mutex_impl_t = standard_impl_t<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:21:69: note: in instantiation of template type alias 'mutex_impl_t' requested here
21 | class DUCKDB_CAPABILITY("mutex") annotated_mutex : public internal::mutex_impl_t<annotated_mutex> {
| ^
In file included from src/storage/serialization/serialize_constraint.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/serialization/serialize_constraint.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/execution/operator/csv_scanner/csv_option.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/strftime_format.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar_function.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector_operations/binary_executor.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/vector.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/unified_vector_format.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:15:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: error: no type named 'type' in 'duckdb::internal::standard_impl< ::duckdb::annotated_mutex>'
35 | using standard_impl_t = typename standard_impl<T>::type;
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:45:1: note: in instantiation of template type alias 'standard_impl_t' requested here
45 | using mutex_impl_t = standard_impl_t<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:23:25: note: in instantiation of template type alias 'mutex_impl_t' requested here
23 | using Impl = internal::mutex_impl_t<annotated_mutex>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:27:3: error: use of undeclared identifier 'Impl'
27 | Impl::lock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:30:3: error: use of undeclared identifier 'Impl'
30 | Impl::unlock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:33:10: error: use of undeclared identifier 'Impl'
33 | return Impl::try_lock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:103:20: error: no type named 'mutex' in namespace 'std'
103 | using mutex = std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:104:29: error: no type named 'mutex' in namespace 'std'
104 | template <typename M = std::mutex>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:106:29: error: no type named 'mutex' in namespace 'std'
106 | template <typename M = std::mutex>
| ~~~~~^
In file included from src/storage/serialization/serialize_constraint.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/serialization/serialize_constraint.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/execution/operator/csv_scanner/csv_option.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/strftime_format.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar_function.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector_operations/unary_executor.hpp:14:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/dictionary_vector.hpp:27:2: error: unknown type name 'mutex'
27 | mutex cached_hashes_lock;
| ^
In file included from src/storage/serialization/serialize_create_info.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/serialization/serialize_create_info.cpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parser/parsed_data/create_macro_info.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/macro_function.hpp:12:
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 src/storage/serialization/serialize_create_info.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/serialization/serialize_create_info.cpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parser/parsed_data/create_macro_info.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/macro_function.hpp:12:
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:128:2: error: unknown type name 'mutex'
128 | mutex &GetCatalogLock() {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:150:72: error: use of undeclared identifier 'mutex'
150 | void CreateDefaultEntries(CatalogTransaction transaction, unique_lock<mutex> &lock);
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:153:60: error: use of undeclared identifier 'mutex'
153 | unique_lock<mutex> &lock);
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:158:39: error: use of undeclared identifier 'mutex'
158 | unique_lock<mutex> &read_lock, bool should_be_empty = true);
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:163:82: error: use of undeclared identifier 'mutex'
163 | 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:165:62: error: use of undeclared identifier 'mutex'
165 | AlterInfo &alter_info, unique_lock<mutex> &read_lock);
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:170:2: error: unknown type name 'mutex'
170 | mutex catalog_lock;
| ^
In file included from src/storage/serialization/serialize_create_info.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/serialization/serialize_create_info.cpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/parser/parsed_data/create_macro_info.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/macro_function.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/client_context.hpp:22:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/client_config.hpp:16:
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:58:2: error: unknown type name 'mutex'
58 | mutex error_lock;
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[1/695] Compiling ub_src_storage_serialization.cpp
In file included from src/storage/table/variant/variant_shredding.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/variant/variant_shredding.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/flat_vector.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/vector.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/unified_vector_format.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:15:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:40:20: error: no type named 'mutex' in namespace 'std'
40 | using type = std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: error: no type named 'type' in 'duckdb::internal::standard_impl< ::duckdb::annotated_mutex>'
35 | using standard_impl_t = typename standard_impl<T>::type;
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:45:1: note: in instantiation of template type alias 'standard_impl_t' requested here
45 | using mutex_impl_t = standard_impl_t<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:21:69: note: in instantiation of template type alias 'mutex_impl_t' requested here
21 | class DUCKDB_CAPABILITY("mutex") annotated_mutex : public internal::mutex_impl_t<annotated_mutex> {
| ^
In file included from src/storage/table/variant/variant_shredding.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/variant/variant_shredding.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/flat_vector.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/vector.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/unified_vector_format.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:15:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: error: no type named 'type' in 'duckdb::internal::standard_impl< ::duckdb::annotated_mutex>'
35 | using standard_impl_t = typename standard_impl<T>::type;
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:45:1: note: in instantiation of template type alias 'standard_impl_t' requested here
45 | using mutex_impl_t = standard_impl_t<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:23:25: note: in instantiation of template type alias 'mutex_impl_t' requested here
23 | using Impl = internal::mutex_impl_t<annotated_mutex>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:27:3: error: use of undeclared identifier 'Impl'
27 | Impl::lock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:30:3: error: use of undeclared identifier 'Impl'
30 | Impl::unlock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:33:10: error: use of undeclared identifier 'Impl'
33 | return Impl::try_lock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:103:20: error: no type named 'mutex' in namespace 'std'
103 | using mutex = std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:104:29: error: no type named 'mutex' in namespace 'std'
104 | template <typename M = std::mutex>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:106:29: error: no type named 'mutex' in namespace 'std'
106 | template <typename M = std::mutex>
| ~~~~~^
In file included from src/storage/table/variant/variant_shredding.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/variant/variant_shredding.cpp:2:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/list_vector.hpp:12:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/dictionary_vector.hpp:27:2: error: unknown type name 'mutex'
27 | mutex cached_hashes_lock;
| ^
In file included from src/storage/table/variant/variant_shredding.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/variant/variant_shredding.cpp:7:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/variant_column_data.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/column_data.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/persistent_table_data.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/table_statistics.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/reservoir_sample.hpp:13:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/random_engine.hpp:45:2: error: unknown type name 'mutex'
45 | mutex lock;
| ^
In file included from src/storage/table/variant/variant_shredding.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/variant/variant_shredding.cpp:7:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/variant_column_data.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/column_data.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/persistent_table_data.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/table_statistics.hpp:11:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/reservoir_sample.hpp:37:10: error: no matching member function for call to 'NextRandomInteger'
37 | return NextRandomInteger();
| ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/random_engine.hpp:35:11: note: candidate function not viable: no known conversion from 'duckdb::ReservoirRNG' to 'duckdb::RandomEngine' for object argument
35 | uint32_t NextRandomInteger();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/random_engine.hpp:36:11: note: candidate function not viable: requires 2 arguments, but 0 were provided
36 | uint32_t NextRandomInteger(uint32_t min, uint32_t max);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/storage/table/variant/variant_shredding.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/variant/variant_shredding.cpp:7:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/variant_column_data.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/column_data.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/persistent_table_data.hpp:11:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/table_statistics.hpp:24:31: error: unknown type name 'mutex'
24 | explicit TableStatisticsLock(mutex &l) : guard(l) {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/table_statistics.hpp:27:13: error: use of undeclared identifier 'mutex'
27 | lock_guard<mutex> guard;
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/table_statistics.hpp:70:13: error: use of undeclared identifier 'mutex'
70 | shared_ptr<mutex> stats_lock;
| ^~~~~
In file included from src/storage/table/variant/variant_shredding.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/variant/variant_shredding.cpp:7:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/variant_column_data.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/column_data.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/persistent_table_data.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/metadata/metadata_manager.hpp:13:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/block_manager.hpp:192:2: error: unknown type name 'mutex'
192 | mutex blocks_lock;
| ^
In file included from src/storage/table/variant/variant_shredding.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/variant/variant_shredding.cpp:7:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/variant_column_data.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/column_data.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/persistent_table_data.hpp:12:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/metadata/metadata_manager.hpp:100:10: error: unknown type name 'mutex'
100 | mutable mutex block_lock;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/metadata/metadata_manager.hpp:105:42: error: use of undeclared identifier 'mutex'
105 | block_id_t AllocateNewBlock(unique_lock<mutex> &block_lock);
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/metadata/metadata_manager.hpp:109:28: error: use of undeclared identifier 'mutex'
109 | void AddBlock(unique_lock<mutex> &block_lock, MetadataBlock new_block, bool if_exists = false);
| ^~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1/695] Compiling ub_src_storage_table_variant.cpp
In file included from src/storage/statistics/base_statistics.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/statistics/base_statistics.cpp:3:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/vector.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/unified_vector_format.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:15:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:40:20: error: no type named 'mutex' in namespace 'std'
40 | using type = std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: error: no type named 'type' in 'duckdb::internal::standard_impl< ::duckdb::annotated_mutex>'
35 | using standard_impl_t = typename standard_impl<T>::type;
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:45:1: note: in instantiation of template type alias 'standard_impl_t' requested here
45 | using mutex_impl_t = standard_impl_t<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:21:69: note: in instantiation of template type alias 'mutex_impl_t' requested here
21 | class DUCKDB_CAPABILITY("mutex") annotated_mutex : public internal::mutex_impl_t<annotated_mutex> {
| ^
In file included from src/storage/statistics/base_statistics.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/statistics/base_statistics.cpp:3:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/vector.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/unified_vector_format.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:15:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: error: no type named 'type' in 'duckdb::internal::standard_impl< ::duckdb::annotated_mutex>'
35 | using standard_impl_t = typename standard_impl<T>::type;
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:45:1: note: in instantiation of template type alias 'standard_impl_t' requested here
45 | using mutex_impl_t = standard_impl_t<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:23:25: note: in instantiation of template type alias 'mutex_impl_t' requested here
23 | using Impl = internal::mutex_impl_t<annotated_mutex>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:27:3: error: use of undeclared identifier 'Impl'
27 | Impl::lock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:30:3: error: use of undeclared identifier 'Impl'
30 | Impl::unlock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:33:10: error: use of undeclared identifier 'Impl'
33 | return Impl::try_lock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:103:20: error: no type named 'mutex' in namespace 'std'
103 | using mutex = std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:104:29: error: no type named 'mutex' in namespace 'std'
104 | template <typename M = std::mutex>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:106:29: error: no type named 'mutex' in namespace 'std'
106 | template <typename M = std::mutex>
| ~~~~~^
In file included from src/storage/statistics/base_statistics.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/statistics/base_statistics.cpp:4:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/variant/variant_shredding.hpp:9:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/variant_utils.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar_function.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector_operations/unary_executor.hpp:14:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/dictionary_vector.hpp:27:2: error: unknown type name 'mutex'
27 | mutex cached_hashes_lock;
| ^
In file included from src/storage/statistics/base_statistics.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/statistics/base_statistics.cpp:4:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/variant/variant_shredding.hpp:9:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/variant_utils.hpp:12:
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:14:
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:39:7: error: no type named 'condition_variable' in namespace 'std'
39 | std::condition_variable cv;
| ~~~~~^
In file included from src/storage/statistics/base_statistics.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/statistics/base_statistics.cpp:4:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/variant/variant_shredding.hpp:9:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/variant_utils.hpp:12:
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:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_reorderer.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group.hpp:20:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/checkpoint/checkpoint_options.hpp:29:26: error: use of undeclared identifier 'mutex'
29 | optional_ptr<lock_guard<mutex>> wal_lock;
| ^~~~~
In file included from src/storage/statistics/base_statistics.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/statistics/base_statistics.cpp:4:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/variant/variant_shredding.hpp:9:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/variant_utils.hpp:12:
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:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_reorderer.hpp:12:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group.hpp:237:10: error: unknown type name 'mutex'
237 | mutable mutex row_group_lock;
| ^
In file included from src/storage/statistics/base_statistics.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/statistics/base_statistics.cpp:4:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/variant/variant_shredding.hpp:9:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/variant_utils.hpp:12:
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:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_reorderer.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_segment_tree.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/segment_tree.hpp:13:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/segment_lock.hpp:19:23: error: unknown type name 'mutex'
19 | explicit SegmentLock(mutex &lock) : lock(lock) {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/segment_lock.hpp:38:14: error: use of undeclared identifier 'mutex'
38 | unique_lock<mutex> lock;
| ^~~~~
In file included from src/storage/statistics/base_statistics.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/statistics/base_statistics.cpp:4:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/variant/variant_shredding.hpp:9:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/variant_utils.hpp:12:
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:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_reorderer.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_segment_tree.hpp:11:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/segment_tree.hpp:340:10: error: unknown type name 'mutex'
340 | mutable mutex node_lock;
| ^
In file included from src/storage/statistics/base_statistics.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/statistics/base_statistics.cpp:4:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/variant/variant_shredding.hpp:9:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/variant_utils.hpp:12:
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:18:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_reorderer.hpp:13:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_segment_tree.hpp:22:25: error: only virtual member functions can be marked 'override'
22 | ~RowGroupSegmentTree() override;
| ^~~~~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/row_group_segment_tree.hpp:31:43: error: only virtual member functions can be marked 'override'
31 | shared_ptr<RowGroup> LoadSegment() const override;
| ^~~~~~~~
[1/695] Compiling ub_src_storage_statistics.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:3:
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:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:15:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:40:20: error: no type named 'mutex' in namespace 'std'
40 | using type = std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: error: no type named 'type' in 'duckdb::internal::standard_impl< ::duckdb::annotated_mutex>'
35 | using standard_impl_t = typename standard_impl<T>::type;
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:45:1: note: in instantiation of template type alias 'standard_impl_t' requested here
45 | using mutex_impl_t = standard_impl_t<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:21:69: note: in instantiation of template type alias 'mutex_impl_t' requested here
21 | class DUCKDB_CAPABILITY("mutex") annotated_mutex : public internal::mutex_impl_t<annotated_mutex> {
| ^
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:3:
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:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:15:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: error: no type named 'type' in 'duckdb::internal::standard_impl< ::duckdb::annotated_mutex>'
35 | using standard_impl_t = typename standard_impl<T>::type;
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:45:1: note: in instantiation of template type alias 'standard_impl_t' requested here
45 | using mutex_impl_t = standard_impl_t<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:23:25: note: in instantiation of template type alias 'mutex_impl_t' requested here
23 | using Impl = internal::mutex_impl_t<annotated_mutex>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:27:3: error: use of undeclared identifier 'Impl'
27 | Impl::lock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:30:3: error: use of undeclared identifier 'Impl'
30 | Impl::unlock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:33:10: error: use of undeclared identifier 'Impl'
33 | return Impl::try_lock();
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:103:20: error: no type named 'mutex' in namespace 'std'
103 | using mutex = std::mutex;
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:104:29: error: no type named 'mutex' in namespace 'std'
104 | template <typename M = std::mutex>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:106:29: error: no type named 'mutex' in namespace 'std'
106 | template <typename M = std::mutex>
| ~~~~~^
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:3:
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/storage/table/chunk_info.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/chunk_info.cpp:5:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/deserializer.hpp:19:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_option.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/strftime_format.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar_function.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector_operations/unary_executor.hpp:14:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/dictionary_vector.hpp:27:2: error: unknown type name 'mutex'
27 | mutex cached_hashes_lock;
| ^
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:6:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/memory_stream.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/read_stream.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:128:2: error: unknown type name 'mutex'
128 | mutex &GetCatalogLock() {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:150:72: error: use of undeclared identifier 'mutex'
150 | void CreateDefaultEntries(CatalogTransaction transaction, unique_lock<mutex> &lock);
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:153:60: error: use of undeclared identifier 'mutex'
153 | unique_lock<mutex> &lock);
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:158:39: error: use of undeclared identifier 'mutex'
158 | unique_lock<mutex> &read_lock, bool should_be_empty = true);
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:163:82: error: use of undeclared identifier 'mutex'
163 | 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:165:62: error: use of undeclared identifier 'mutex'
165 | AlterInfo &alter_info, unique_lock<mutex> &read_lock);
| ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:170:2: error: unknown type name 'mutex'
170 | mutex catalog_lock;
| ^
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:6:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/memory_stream.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/read_stream.hpp:15:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/client_context.hpp:22:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/client_config.hpp:16:
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:58:2: error: unknown type name 'mutex'
58 | mutex error_lock;
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[1/695] Compiling ub_src_storage_table.cpp
[1/695] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 wasm