The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DuckDB, reference main (095e44), with Swift 6.4 for Wasm on 1 Oct 2026 01:50:21 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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build 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.4
Building package at path:  $PWD
https://github.com/duckdb/duckdb-swift.git
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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Pre-planning 1 / 96]
[Planning deferred tasks]
[29 / 430] Cduckdb
[30 / 430] Cduckdb
[31 / 430] Cduckdb
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: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>;
      | ^
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: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>;
      | ^
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:23:25: note: in instantiation of template type alias 'mutex_impl_t' requested here
   23 |         using Impl = internal::mutex_impl_t<annotated_mutex>;
      |                                ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:27:3: error: use of undeclared identifier 'Impl'
   27 |                 Impl::lock();
      |                 ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:30:3: error: use of undeclared identifier 'Impl'
   30 |                 Impl::unlock();
      |                 ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:33:10: error: use of undeclared identifier 'Impl'
   33 |                 return Impl::try_lock();
      |                        ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:103:20: error: no type named 'mutex' in namespace 'std'
  103 | using mutex = std::mutex;
      |               ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:104:29: error: no type named 'mutex' in namespace 'std'
  104 | template <typename M = std::mutex>
      |                        ~~~~~^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/mutex.hpp:106:29: error: no type named 'mutex' in namespace 'std'
  106 | template <typename M = std::mutex>
      |                        ~~~~~^
In file included from src/storage/statistics/array_stats.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/statistics/array_stats.cpp:6:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/common/serializer/serializer.hpp:24:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_option.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar/strftime_format.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/scalar_function.hpp: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;
      |                 ^
In file included from src/storage/statistics/base_statistics.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/statistics/base_statistics.cpp:4:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/compression/compression.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/compression_function.hpp:19:
/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/statistics/base_statistics.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/statistics/base_statistics.cpp:4:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/compression/compression.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/compression_function.hpp:20:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/client_context.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_entry/schema_catalog_entry.hpp:12:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:19:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/transaction/transaction.hpp:11:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_entry/sequence_catalog_entry.hpp:72:10: error: unknown type name 'mutex'
   72 |         mutable mutex lock;
      |                 ^
In file included from src/storage/statistics/base_statistics.cpp:0:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/storage/statistics/base_statistics.cpp:4:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/compression/compression.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/function/compression_function.hpp:20:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/main/client_context.hpp:11:
In file included from /host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_entry/schema_catalog_entry.hpp:12:
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:135:2: error: unknown type name 'mutex'
  135 |         mutex &GetCatalogLock() {
      |         ^
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:157:72: error: use of undeclared identifier 'mutex'
  157 |         void CreateDefaultEntries(CatalogTransaction transaction, unique_lock<mutex> &lock);
      |                                                                               ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:160:60: error: use of undeclared identifier 'mutex'
  160 |                                                       unique_lock<mutex> &lock);
      |                                                                   ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:165:39: error: use of undeclared identifier 'mutex'
  165 |                                  unique_lock<mutex> &read_lock, bool should_be_empty = true);
      |                                              ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:170:86: error: use of undeclared identifier 'mutex'
  170 |         bool StartChain(CatalogTransaction transaction, const Identifier &name, unique_lock<mutex> &read_lock);
      |                                                                                             ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:172:62: error: use of undeclared identifier 'mutex'
  172 |                                  AlterInfo &alter_info, unique_lock<mutex> &read_lock);
      |                                                                     ^~~~~
/host/spi-builder-workspace/Sources/Cduckdb/duckdb/src/include/duckdb/catalog/catalog_set.hpp:177:2: error: unknown type name 'mutex'
  177 |         mutex catalog_lock;
      |         ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/DuckDB.build/Debug-webassembly-wasm32/Cduckdb-t.build/Objects-normal/wasm32/ub_src_storage_statistics.o /host/spi-builder-workspace/Sources/Cduckdb/duckdb/ub_src_storage_statistics.cpp normal wasm32 c++ com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/DuckDB.build/Debug-webassembly-wasm32/Cduckdb-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp

    /usr/bin/clang -x c++ -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/DuckDB.build/Debug-webassembly-wasm32/Cduckdb-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/DuckDB.build/Debug-webassembly-wasm32/Cduckdb-t.build/Objects-normal/wasm32/ub_src_storage_statistics.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/DuckDB.build/Debug-webassembly-wasm32/Cduckdb-t.build/Objects-normal/wasm32/ub_src_storage_statistics.dia -c /host/spi-builder-workspace/Sources/Cduckdb/duckdb/ub_src_storage_statistics.cpp -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/DuckDB.build/Debug-webassembly-wasm32/Cduckdb-t.build/Objects-normal/wasm32/ub_src_storage_statistics.o
error: Build failed
BUILD FAILURE 6.4 wasm