Build Information
Failed to build DuckDB, reference main (095e44), with Swift 6.1 for Wasm on 1 Oct 2026 01:52:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/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 095e449 automated update
Cloned https://github.com/duckdb/duckdb-swift.git
Revision (git rev-parse @):
095e449567dce3d87b4112a74358731cf501bfce
SUCCESS checkout https://github.com/duckdb/duckdb-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/duckdb/duckdb-swift.git
https://github.com/duckdb/duckdb-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:beceeede496da67681f4fa220a6b97cc098a0178841a413735f598dc6bbaf4c8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/403] Write sources
[1/403] Compiling entropy_encode.cpp
[2/403] Write swift-version-24593BA9C3E375BF.txt
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:50:20: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/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:50:15: error: expected a type
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:50:20: error: expected ';' after alias declaration
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
| ;
/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>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
107 | using unique_lock = std::unique_lock<M>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/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:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:21: error: expected a type
107 | using unique_lock = std::unique_lock<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: expected ';' after alias declaration
107 | using unique_lock = std::unique_lock<M>;
| ^
| ;
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:29:10: error: unknown type name 'mutex'
29 | mutable 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: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/thread_annotation/mutex.hpp:56:31: note: in instantiation of template type alias 'mutex_impl_t' requested here
56 | using type = std::lock_guard<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: note: in instantiation of template class 'duckdb::internal::standard_impl<duckdb::annotated_lock_guard<duckdb::annotated_mutex>>' requested here
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:60:1: note: in instantiation of template type alias 'standard_impl_t' requested here
60 | using lock_impl_t = standard_impl_t<L>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:39:72: note: in instantiation of template type alias 'lock_impl_t' requested here
39 | class DUCKDB_SCOPED_CAPABILITY annotated_lock_guard : public internal::lock_impl_t<annotated_lock_guard<M>> {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/hyperloglog.hpp:164:41: note: in instantiation of template class 'duckdb::annotated_lock_guard<duckdb::annotated_mutex>' requested here
164 | annotated_lock_guard<annotated_mutex> guard(lock);
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[3/403] Compiling ub_src_storage_table_variant.cpp
In file included from src/transaction/cleanup_state.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/cleanup_state.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/cleanup_state.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer_allocator.hpp:13:
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:50:20: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/transaction/cleanup_state.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/cleanup_state.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/cleanup_state.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer_allocator.hpp:13:
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:50:15: error: expected a type
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:50:20: error: expected ';' after alias declaration
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
| ;
/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/cleanup_state.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/cleanup_state.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/cleanup_state.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer_allocator.hpp:13:
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>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
107 | using unique_lock = std::unique_lock<M>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/transaction/cleanup_state.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/cleanup_state.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/cleanup_state.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer_allocator.hpp:13:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:21: error: expected a type
107 | using unique_lock = std::unique_lock<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: expected ';' after alias declaration
107 | using unique_lock = std::unique_lock<M>;
| ^
| ;
In file included from src/transaction/cleanup_state.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/cleanup_state.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/cleanup_state.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer.hpp:13:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer_allocator.hpp:78:2: error: unknown type name 'mutex'
78 | mutex lock;
| ^
In file included from src/transaction/cleanup_state.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/cleanup_state.cpp:6:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/data_table.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/data_table_info.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/table_index_list.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/index_entry.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/index/bound_index.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/index/unbound_index.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/index_storage_info.hpp:17:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/buffer/block_handle.hpp:30:31: error: use of undeclared identifier 'mutex'
30 | using BlockLock = unique_lock<mutex>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/buffer/block_handle.hpp:53:2: error: unknown type name 'BlockLock'
53 | BlockLock GetLock() {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/buffer/block_handle.hpp:57:19: error: unknown type name 'BlockLock'
57 | void VerifyMutex(BlockLock &l) const {
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[3/403] 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/function_set_base.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/data_chunk.hpp:13:
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:50:20: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/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/function_set_base.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/data_chunk.hpp:13:
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:50:15: error: expected a type
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:50:20: error: expected ';' after alias declaration
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
| ;
/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/function_set_base.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/data_chunk.hpp:13:
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>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
107 | using unique_lock = std::unique_lock<M>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/extension/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/function_set_base.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/data_chunk.hpp:13:
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:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:21: error: expected a type
107 | using unique_lock = std::unique_lock<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: expected ';' after alias declaration
107 | using unique_lock = std::unique_lock<M>;
| ^
| ;
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/aggregate_function.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector_operations/aggregate_executor.hpp:15:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/dictionary_vector.hpp:29:10: error: unknown type name 'mutex'
29 | mutable 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:15:
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:16:
/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:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function_set_base.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/data_chunk.hpp:13:
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/thread_annotation/mutex.hpp:56:31: note: in instantiation of template type alias 'mutex_impl_t' requested here
56 | using type = std::lock_guard<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: note: in instantiation of template class 'duckdb::internal::standard_impl<duckdb::annotated_lock_guard<duckdb::annotated_mutex>>' requested here
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:60:1: note: in instantiation of template type alias 'standard_impl_t' requested here
60 | using lock_impl_t = standard_impl_t<L>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:39:72: note: in instantiation of template type alias 'lock_impl_t' requested here
39 | class DUCKDB_SCOPED_CAPABILITY annotated_lock_guard : public internal::lock_impl_t<annotated_lock_guard<M>> {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/physical_operator_states.hpp:91:41: note: in instantiation of template class 'duckdb::annotated_lock_guard<duckdb::annotated_mutex>' requested here
91 | annotated_lock_guard<annotated_mutex> guard(lock);
| ^
[3/403] Compiling enum_functions.cpp
In file included from src/function/scalar/system/aggregate_export.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/system/aggregate_export.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:50:20: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/function/scalar/system/aggregate_export.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/system/aggregate_export.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:50:15: error: expected a type
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:50:20: error: expected ';' after alias declaration
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
| ;
/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/function/scalar/system/aggregate_export.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/system/aggregate_export.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>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
107 | using unique_lock = std::unique_lock<M>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/function/scalar/system/aggregate_export.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/system/aggregate_export.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:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:21: error: expected a type
107 | using unique_lock = std::unique_lock<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: expected ';' after alias declaration
107 | using unique_lock = std::unique_lock<M>;
| ^
| ;
In file included from src/function/scalar/system/aggregate_export.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/system/aggregate_export.cpp:3:
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:29:10: error: unknown type name 'mutex'
29 | mutable mutex cached_hashes_lock;
| ^
In file included from src/function/scalar/system/aggregate_export.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/system/aggregate_export.cpp:7:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/create_sort_key.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function_set.hpp:15:
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:16:
/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/function/scalar/system/aggregate_export.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/system/aggregate_export.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/thread_annotation/mutex.hpp:56:31: note: in instantiation of template type alias 'mutex_impl_t' requested here
56 | using type = std::lock_guard<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: note: in instantiation of template class 'duckdb::internal::standard_impl<duckdb::annotated_lock_guard<duckdb::annotated_mutex>>' requested here
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:60:1: note: in instantiation of template type alias 'standard_impl_t' requested here
60 | using lock_impl_t = standard_impl_t<L>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:39:72: note: in instantiation of template type alias 'lock_impl_t' requested here
39 | class DUCKDB_SCOPED_CAPABILITY annotated_lock_guard : public internal::lock_impl_t<annotated_lock_guard<M>> {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/physical_operator_states.hpp:91:41: note: in instantiation of template class 'duckdb::annotated_lock_guard<duckdb::annotated_mutex>' requested here
91 | annotated_lock_guard<annotated_mutex> guard(lock);
| ^
[3/403] Compiling ub_src_function_scalar_system.cpp
In file included from src/function/scalar/generic/barrier.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/generic/barrier.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/generic_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/function_set_base.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/data_chunk.hpp:13:
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:50:20: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/function/scalar/generic/barrier.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/generic/barrier.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/generic_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/function_set_base.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/data_chunk.hpp:13:
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:50:15: error: expected a type
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:50:20: error: expected ';' after alias declaration
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
| ;
/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/function/scalar/generic/barrier.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/generic/barrier.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/generic_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/function_set_base.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/data_chunk.hpp:13:
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>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
107 | using unique_lock = std::unique_lock<M>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/function/scalar/generic/barrier.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/generic/barrier.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/generic_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/function_set_base.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/data_chunk.hpp:13:
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:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:21: error: expected a type
107 | using unique_lock = std::unique_lock<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: expected ';' after alias declaration
107 | using unique_lock = std::unique_lock<M>;
| ^
| ;
In file included from src/function/scalar/generic/barrier.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/generic/barrier.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/generic_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/aggregate_function.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector_operations/aggregate_executor.hpp:15:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/dictionary_vector.hpp:29:10: error: unknown type name 'mutex'
29 | mutable mutex cached_hashes_lock;
| ^
In file included from src/function/scalar/generic/barrier.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/generic/barrier.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/generic_functions.hpp:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function_set.hpp:15:
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:16:
/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/function/scalar/generic/barrier.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/generic/barrier.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/generic_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/function_set_base.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/function.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/data_chunk.hpp:13:
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/thread_annotation/mutex.hpp:56:31: note: in instantiation of template type alias 'mutex_impl_t' requested here
56 | using type = std::lock_guard<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: note: in instantiation of template class 'duckdb::internal::standard_impl<duckdb::annotated_lock_guard<duckdb::annotated_mutex>>' requested here
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:60:1: note: in instantiation of template type alias 'standard_impl_t' requested here
60 | using lock_impl_t = standard_impl_t<L>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:39:72: note: in instantiation of template type alias 'lock_impl_t' requested here
39 | class DUCKDB_SCOPED_CAPABILITY annotated_lock_guard : public internal::lock_impl_t<annotated_lock_guard<M>> {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/physical_operator_states.hpp:91:41: note: in instantiation of template class 'duckdb::annotated_lock_guard<duckdb::annotated_mutex>' requested here
91 | annotated_lock_guard<annotated_mutex> guard(lock);
| ^
In file included from src/storage/table/array_column_data.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/array_column_data.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/array_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:50:20: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/storage/table/array_column_data.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/array_column_data.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/array_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:50:15: error: expected a type
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:50:20: error: expected ';' after alias declaration
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
| ;
/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/array_column_data.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/array_column_data.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/array_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>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
107 | using unique_lock = std::unique_lock<M>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/storage/table/array_column_data.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/array_column_data.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/array_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:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:21: error: expected a type
107 | using unique_lock = std::unique_lock<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: expected ';' after alias declaration
107 | using unique_lock = std::unique_lock<M>;
| ^
| ;
In file included from src/storage/table/array_column_data.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/array_column_data.cpp:2:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/array_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/array_column_data.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/array_column_data.cpp:2:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/array_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/array_column_data.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/array_column_data.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/array_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/thread_annotation/mutex.hpp:56:31: note: in instantiation of template type alias 'mutex_impl_t' requested here
56 | using type = std::lock_guard<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: note: in instantiation of template class 'duckdb::internal::standard_impl<duckdb::annotated_lock_guard<duckdb::annotated_mutex>>' requested here
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:60:1: note: in instantiation of template type alias 'standard_impl_t' requested here
60 | using lock_impl_t = standard_impl_t<L>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:39:72: note: in instantiation of template type alias 'lock_impl_t' requested here
39 | class DUCKDB_SCOPED_CAPABILITY annotated_lock_guard : public internal::lock_impl_t<annotated_lock_guard<M>> {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/hyperloglog.hpp:164:41: note: in instantiation of template class 'duckdb::annotated_lock_guard<duckdb::annotated_mutex>' requested here
164 | annotated_lock_guard<annotated_mutex> guard(lock);
| ^
In file included from src/storage/table/array_column_data.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/array_column_data.cpp:2:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/array_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) {
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[3/403] Compiling ub_src_storage_table.cpp
[3/403] Compiling ub_src_function_scalar_generic.cpp
In file included from src/function/table/arrow.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/table/arrow.cpp:3:
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:14:
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:11:
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:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/data_chunk.hpp:13:
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:50:20: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/function/table/arrow.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/table/arrow.cpp:3:
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:14:
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:11:
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:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/data_chunk.hpp:13:
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:50:15: error: expected a type
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:50:20: error: expected ';' after alias declaration
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
| ;
/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/function/table/arrow.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/table/arrow.cpp:3:
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:14:
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:11:
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:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/data_chunk.hpp:13:
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>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
107 | using unique_lock = std::unique_lock<M>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/function/table/arrow.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/table/arrow.cpp:3:
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:14:
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:11:
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:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/data_chunk.hpp:13:
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:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:21: error: expected a type
107 | using unique_lock = std::unique_lock<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: expected ';' after alias declaration
107 | using unique_lock = std::unique_lock<M>;
| ^
| ;
In file included from src/function/table/arrow.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/table/arrow.cpp:3:
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:14:
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:11:
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:71:2: error: unknown type name 'mutex'
71 | mutex lock;
| ^
In file included from src/function/table/arrow.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/table/arrow.cpp:3:
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/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:58:2: error: unknown type name 'mutex'
58 | mutex error_lock;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/task_error_manager.hpp:24:14: error: use of undeclared identifier 'mutex'
24 | lock_guard<mutex> elock(error_lock);
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/task_error_manager.hpp:30:14: error: use of undeclared identifier 'mutex'
30 | lock_guard<mutex> elock(error_lock);
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[3/403] Compiling ub_src_function_table.cpp
In file included from src/function/scalar/variant/variant_array_length.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/variant/variant_array_length.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:50:20: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/function/scalar/variant/variant_array_length.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/variant/variant_array_length.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:50:15: error: expected a type
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:50:20: error: expected ';' after alias declaration
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
| ;
/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/function/scalar/variant/variant_array_length.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/variant/variant_array_length.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>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
107 | using unique_lock = std::unique_lock<M>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/function/scalar/variant/variant_array_length.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/variant/variant_array_length.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:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:21: error: expected a type
107 | using unique_lock = std::unique_lock<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: expected ';' after alias declaration
107 | using unique_lock = std::unique_lock<M>;
| ^
| ;
In file included from src/function/scalar/variant/variant_array_length.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/function/scalar/variant/variant_array_length.cpp:3:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/variant_path_function.hpp:13:
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:14:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector_operations/unary_executor.hpp:13:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/dictionary_vector.hpp:29:10: error: unknown type name 'mutex'
29 | mutable mutex cached_hashes_lock;
| ^
[3/403] Compiling ub_src_function_scalar_variant.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:beceeede496da67681f4fa220a6b97cc098a0178841a413735f598dc6bbaf4c8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from src/storage/metadata/metadata_manager.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/metadata/metadata_manager.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/metadata/metadata_manager.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/block_manager.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:50:20: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/storage/metadata/metadata_manager.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/metadata/metadata_manager.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/metadata/metadata_manager.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/block_manager.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:50:15: error: expected a type
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:50:20: error: expected ';' after alias declaration
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
| ;
/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/metadata/metadata_manager.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/metadata/metadata_manager.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/metadata/metadata_manager.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/block_manager.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>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
107 | using unique_lock = std::unique_lock<M>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/storage/metadata/metadata_manager.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/metadata/metadata_manager.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/metadata/metadata_manager.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/block_manager.hpp:12:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:21: error: expected a type
107 | using unique_lock = std::unique_lock<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: expected ';' after alias declaration
107 | using unique_lock = std::unique_lock<M>;
| ^
| ;
In file included from src/storage/metadata/metadata_manager.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/metadata/metadata_manager.cpp:1:
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/metadata/metadata_manager.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/metadata/metadata_manager.cpp:1:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/metadata/metadata_manager.hpp:101:10: error: unknown type name 'mutex'
101 | mutable mutex block_lock;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/metadata/metadata_manager.hpp:106:42: error: use of undeclared identifier 'mutex'
106 | block_id_t AllocateNewBlock(unique_lock<mutex> &block_lock);
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/metadata/metadata_manager.hpp:110:28: error: use of undeclared identifier 'mutex'
110 | 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.
[0/401] Compiling ub_src_storage_metadata.cpp
In file included from src/storage/compression/roaring/analyze.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/compression/roaring/analyze.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/compression/roaring/roaring.hpp:15:
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:50:20: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/storage/compression/roaring/analyze.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/compression/roaring/analyze.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/compression/roaring/roaring.hpp:15:
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:50:15: error: expected a type
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:50:20: error: expected ';' after alias declaration
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
| ;
/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/compression/roaring/analyze.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/compression/roaring/analyze.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/compression/roaring/roaring.hpp:15:
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>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
107 | using unique_lock = std::unique_lock<M>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/storage/compression/roaring/analyze.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/compression/roaring/analyze.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/compression/roaring/roaring.hpp:15:
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:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:21: error: expected a type
107 | using unique_lock = std::unique_lock<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: expected ';' after alias declaration
107 | using unique_lock = std::unique_lock<M>;
| ^
| ;
[0/401] Compiling ub_src_storage_compression_roaring.cpp
In file included from src/storage/statistics/array_stats.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/statistics/array_stats.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/array_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:50:20: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/storage/statistics/array_stats.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/statistics/array_stats.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/array_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:50:15: error: expected a type
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:50:20: error: expected ';' after alias declaration
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
| ;
/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/array_stats.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/statistics/array_stats.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/array_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>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
107 | using unique_lock = std::unique_lock<M>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/storage/statistics/array_stats.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/statistics/array_stats.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/array_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:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:21: error: expected a type
107 | using unique_lock = std::unique_lock<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: expected ';' after alias declaration
107 | using unique_lock = std::unique_lock<M>;
| ^
| ;
[0/401] Compiling ub_src_storage_statistics.cpp
[0/401] Compiling ub_src_storage_serialization.cpp
In file included from src/storage/table/array_column_data.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/array_column_data.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/array_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:50:20: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/storage/table/array_column_data.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/array_column_data.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/array_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:50:15: error: expected a type
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:50:20: error: expected ';' after alias declaration
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
| ;
/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/array_column_data.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/array_column_data.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/array_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>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
107 | using unique_lock = std::unique_lock<M>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/storage/table/array_column_data.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/array_column_data.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/array_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:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:21: error: expected a type
107 | using unique_lock = std::unique_lock<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: expected ';' after alias declaration
107 | using unique_lock = std::unique_lock<M>;
| ^
| ;
In file included from src/storage/table/array_column_data.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/array_column_data.cpp:2:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/array_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/array_column_data.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/array_column_data.cpp:2:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/array_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/array_column_data.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/array_column_data.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/vector/array_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/thread_annotation/mutex.hpp:56:31: note: in instantiation of template type alias 'mutex_impl_t' requested here
56 | using type = std::lock_guard<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:35:1: note: in instantiation of template class 'duckdb::internal::standard_impl<duckdb::annotated_lock_guard<duckdb::annotated_mutex>>' requested here
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:60:1: note: in instantiation of template type alias 'standard_impl_t' requested here
60 | using lock_impl_t = standard_impl_t<L>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:39:72: note: in instantiation of template type alias 'lock_impl_t' requested here
39 | class DUCKDB_SCOPED_CAPABILITY annotated_lock_guard : public internal::lock_impl_t<annotated_lock_guard<M>> {
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/types/hyperloglog.hpp:164:41: note: in instantiation of template class 'duckdb::annotated_lock_guard<duckdb::annotated_mutex>' requested here
164 | annotated_lock_guard<annotated_mutex> guard(lock);
| ^
In file included from src/storage/table/array_column_data.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/table/array_column_data.cpp:2:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/table/array_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) {
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[0/401] Compiling ub_src_storage_table.cpp
In file included from src/transaction/cleanup_state.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/cleanup_state.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/cleanup_state.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer_allocator.hpp:13:
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:50:20: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/transaction/cleanup_state.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/cleanup_state.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/cleanup_state.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer_allocator.hpp:13:
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:50:15: error: expected a type
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:50:20: error: expected ';' after alias declaration
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
| ;
/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/cleanup_state.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/cleanup_state.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/cleanup_state.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer_allocator.hpp:13:
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>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
107 | using unique_lock = std::unique_lock<M>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/transaction/cleanup_state.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/cleanup_state.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/cleanup_state.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer.hpp:13:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer_allocator.hpp:13:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:21: error: expected a type
107 | using unique_lock = std::unique_lock<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: expected ';' after alias declaration
107 | using unique_lock = std::unique_lock<M>;
| ^
| ;
In file included from src/transaction/cleanup_state.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/transaction/cleanup_state.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/cleanup_state.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer.hpp:13:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/undo_buffer_allocator.hpp:78:2: error: unknown type name 'mutex'
78 | mutex lock;
| ^
[0/401] Compiling ub_src_transaction.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:50:20: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/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:50:15: error: expected a type
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:50:20: error: expected ';' after alias declaration
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
| ;
/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>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
107 | using unique_lock = std::unique_lock<M>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/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:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:21: error: expected a type
107 | using unique_lock = std::unique_lock<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: expected ';' after alias declaration
107 | using unique_lock = std::unique_lock<M>;
| ^
| ;
[0/401] Compiling ub_src_storage_table_variant.cpp
In file included from src/storage/external_file_cache/caching_file_system.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/external_file_cache/caching_file_system.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/external_file_cache/caching_file_system.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:50:20: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/storage/external_file_cache/caching_file_system.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/external_file_cache/caching_file_system.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/external_file_cache/caching_file_system.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:50:15: error: expected a type
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation/mutex.hpp:50:20: error: expected ';' after alias declaration
50 | using type = std::unique_lock<mutex_impl_t<M>>;
| ^
| ;
/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/external_file_cache/caching_file_system.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/external_file_cache/caching_file_system.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/external_file_cache/caching_file_system.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>
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
107 | using unique_lock = std::unique_lock<M>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from src/storage/external_file_cache/caching_file_system.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/external_file_cache/caching_file_system.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/external_file_cache/caching_file_system.hpp:14:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:21: error: expected a type
107 | using unique_lock = std::unique_lock<M>;
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:107:26: error: expected ';' after alias declaration
107 | using unique_lock = std::unique_lock<M>;
| ^
| ;
In file included from src/storage/external_file_cache/caching_file_system.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/external_file_cache/caching_file_system.cpp:1:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/external_file_cache/caching_file_system.hpp:19:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/external_file_cache/external_file_cache.hpp:26:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/external_file_cache/external_file_cache_block.hpp:26:15: error: no type named 'condition_variable' in namespace 'std'
26 | mutable std::condition_variable cv DUCKDB_GUARDED_BY(mtx);
| ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/external_file_cache/external_file_cache_block.hpp:26:37: warning: attribute guarded_by ignored, because it is not attached to a declaration [-Wignored-attributes]
26 | mutable std::condition_variable cv DUCKDB_GUARDED_BY(mtx);
| ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/thread_annotation.hpp:19:75: note: expanded from macro 'DUCKDB_GUARDED_BY'
19 | #define DUCKDB_GUARDED_BY(x) DUCKDB_THREAD_ANNOTATION_ATTRIBUTE(guarded_by(x))
| ^
In file included from src/storage/external_file_cache/caching_file_system.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/external_file_cache/caching_file_system.cpp:1:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/storage/external_file_cache/caching_file_system.hpp:42:10: error: unknown type name 'mutex'
42 | mutable mutex lock;
| ^
[0/401] Compiling ub_src_storage_external_file_cache.cpp
BUILD FAILURE 6.1 wasm