The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build kuzu-swift, reference 0.11.0 (bcbb00), with Swift 6.2 (beta) for Wasm on 15 Jul 2025 08:36:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kuzudb/kuzu-swift.git
Reference: 0.11.0
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/kuzudb/kuzu-swift
 * tag               0.11.0     -> FETCH_HEAD
HEAD is now at bcbb007 Update Kuzu from branch v0.11.0 (#70)
Cloned https://github.com/kuzudb/kuzu-swift.git
Revision (git rev-parse @):
bcbb00732bd4c3f82ae970a3e99cfb8765ac4192
SUCCESS checkout https://github.com/kuzudb/kuzu-swift.git at 0.11.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kuzudb/kuzu-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2094] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.36s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3425] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.72s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.25s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5 (3e4f133)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/cxx-kuzu/kuzu/extension/algo/src/common/in_mem_graph.cpp:1:
In file included from /host/spi-builder-workspace/Sources/cxx-kuzu/kuzu/extension/algo/src/include/common/in_mem_graph.h:5:
In file included from /host/spi-builder-workspace/Sources/cxx-kuzu/kuzu/src/include/function/gds/gds_object_manager.h:6:
/host/spi-builder-workspace/Sources/cxx-kuzu/kuzu/src/include/storage/buffer_manager/memory_manager.h:102:10: error: no type named 'mutex' in namespace 'std'
  102 |     std::mutex allocatorLock;
      |     ~~~~~^
1 error generated.
[2/1057] Compiling in_mem_graph.cpp
[2/1057] Compiling component_ids.cpp
[2/1057] Compiling connected_components_config.cpp
[2/1057] Compiling fts_config.cpp
In file included from /host/spi-builder-workspace/Sources/cxx-kuzu/kuzu/extension/algo/src/common/in_mem_gds_utils.cpp:1:
In file included from /host/spi-builder-workspace/Sources/cxx-kuzu/kuzu/extension/algo/src/include/common/in_mem_gds_utils.h:3:
In file included from /host/spi-builder-workspace/Sources/cxx-kuzu/kuzu/src/include/function/gds/gds_task.h:6:
/host/spi-builder-workspace/Sources/cxx-kuzu/kuzu/src/include/common/task_system/task.h:12:21: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
   12 | using lock_t = std::unique_lock<std::mutex>;
      |                ~~~~~^~~~~~~~~~~
      |                     unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
  102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
      | ^
In file included from /host/spi-builder-workspace/Sources/cxx-kuzu/kuzu/extension/algo/src/common/in_mem_gds_utils.cpp:1:
In file included from /host/spi-builder-workspace/Sources/cxx-kuzu/kuzu/extension/algo/src/include/common/in_mem_gds_utils.h:3:
In file included from /host/spi-builder-workspace/Sources/cxx-kuzu/kuzu/src/include/function/gds/gds_task.h:6:
/host/spi-builder-workspace/Sources/cxx-kuzu/kuzu/src/include/common/task_system/task.h:12:38: error: no member named 'mutex' in namespace 'std'
   12 | using lock_t = std::unique_lock<std::mutex>;
      |                                 ~~~~~^
/host/spi-builder-workspace/Sources/cxx-kuzu/kuzu/src/include/common/task_system/task.h:12:16: error: expected a type
   12 | using lock_t = std::unique_lock<std::mutex>;
      |                ^
/host/spi-builder-workspace/Sources/cxx-kuzu/kuzu/src/include/common/task_system/task.h:12:21: error: expected ';' after alias declaration
   12 | using lock_t = std::unique_lock<std::mutex>;
      |                     ^
      |                     ;
[2/1057] Compiling in_mem_gds_utils.cpp
[2/1057] Compiling louvain.cpp
[2/1057] Compiling k_core_decomposition.cpp
[2/1057] Compiling page_rank.cpp
BUILD FAILURE 6.2 wasm