Build Information
Failed to build MushafImad, reference main (830731), with Swift 6.2 for Wasm on 18 Mar 2026 10:24:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ibo2001/MushafImad.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/ibo2001/MushafImad
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 830731b feat: add eye-tracking-assisted reading progress (#22) (#53)
Updating files: 66% (6130/9244)
Updating files: 67% (6194/9244)
Updating files: 68% (6286/9244)
Updating files: 69% (6379/9244)
Updating files: 70% (6471/9244)
Updating files: 71% (6564/9244)
Updating files: 72% (6656/9244)
Updating files: 73% (6749/9244)
Updating files: 74% (6841/9244)
Updating files: 75% (6933/9244)
Updating files: 76% (7026/9244)
Updating files: 77% (7118/9244)
Updating files: 78% (7211/9244)
Updating files: 79% (7303/9244)
Updating files: 80% (7396/9244)
Updating files: 81% (7488/9244)
Updating files: 82% (7581/9244)
Updating files: 83% (7673/9244)
Updating files: 84% (7765/9244)
Updating files: 85% (7858/9244)
Updating files: 86% (7950/9244)
Updating files: 87% (8043/9244)
Updating files: 88% (8135/9244)
Updating files: 89% (8228/9244)
Updating files: 90% (8320/9244)
Updating files: 91% (8413/9244)
Updating files: 92% (8505/9244)
Updating files: 93% (8597/9244)
Updating files: 94% (8690/9244)
Updating files: 95% (8782/9244)
Updating files: 96% (8875/9244)
Updating files: 97% (8967/9244)
Updating files: 98% (9060/9244)
Updating files: 99% (9152/9244)
Updating files: 100% (9244/9244)
Updating files: 100% (9244/9244), done.
Cloned https://github.com/ibo2001/MushafImad.git
Revision (git rev-parse @):
830731b98f32556d07aa96c4981333f8c9762bbd
SUCCESS checkout https://github.com/ibo2001/MushafImad.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ibo2001/MushafImad.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:33aba1b4ee401c56e0fd7ee42e05ab1ffc0b6f44277ad19cffda5d456eb09500
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/realm/realm-swift.git
[1/131719] Fetching realm-swift
Fetched https://github.com/realm/realm-swift.git from cache (12.38s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 10.54.6 (16.39s)
Fetching https://github.com/realm/realm-core.git
[1/252508] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (18.43s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 14.14.0 (20.47s)
Creating working copy for https://github.com/realm/realm-core.git
Working copy of https://github.com/realm/realm-core.git resolved at 14.14.0
Creating working copy for https://github.com/realm/realm-swift.git
Working copy of https://github.com/realm/realm-swift.git resolved at 10.54.6
Building for debugging...
[0/331] Write sources
[1/331] Write swift-version-24593BA9C3E375BF.txt
[1/331] Compiling Bid bid_from_int.c
[3/331] Compiling Bid bid_round.c
[4/331] Compiling Bid bid128_to_int64.c
[5/331] Compiling mathlimits.cc
[6/331] Compiling s2geometry s2region.cc
[7/331] Compiling mathutil.cc
[8/331] Compiling s2geometry s2r2rect.cc
[9/331] Compiling s2geometry s2polyline.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc.cpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc_slab.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:70:23: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
70 | using Impl = std::unique_lock<std::mutex>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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/.build/checkouts/realm-core/src/realm/alloc.cpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc_slab.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:70:40: error: no member named 'mutex' in namespace 'std'
70 | using Impl = std::unique_lock<std::mutex>;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:70:18: error: expected a type
70 | using Impl = std::unique_lock<std::mutex>;
| ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:70:23: error: expected ';' after alias declaration
70 | using Impl = std::unique_lock<std::mutex>;
| ^
| ;
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:104:5: error: unknown type name 'Impl'
104 | Impl& native_handle()
| ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:110:5: error: unknown type name 'Impl'
110 | Impl m_impl;
| ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:115:23: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
115 | using Impl = std::unique_lock<std::mutex>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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/.build/checkouts/realm-core/src/realm/alloc.cpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc_slab.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:115:40: error: no member named 'mutex' in namespace 'std'
115 | using Impl = std::unique_lock<std::mutex>;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:115:18: error: expected a type
115 | using Impl = std::unique_lock<std::mutex>;
| ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:115:23: error: expected ';' after alias declaration
115 | using Impl = std::unique_lock<std::mutex>;
| ^
| ;
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:128:5: error: unknown type name 'Impl'
128 | Impl& native_handle()
| ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:134:5: error: unknown type name 'Impl'
134 | Impl m_impl;
| ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:160:18: error: no type named 'mutex' in namespace 'std'
160 | mutable std::mutex m_mutex;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:164:10: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
164 | std::unique_lock<std::mutex> lock() const
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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/.build/checkouts/realm-core/src/realm/alloc.cpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc_slab.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:164:27: error: no member named 'mutex' in namespace 'std'
164 | std::unique_lock<std::mutex> lock() const
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:188:34: error: no member named 'mutex' in namespace 'std'
188 | mutable std::unique_ptr<std::mutex> m_mutex;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:192:10: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
192 | std::unique_lock<std::mutex> lock() const;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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/.build/checkouts/realm-core/src/realm/alloc.cpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc_slab.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:192:27: error: no member named 'mutex' in namespace 'std'
192 | std::unique_lock<std::mutex> lock() const;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:196:46: error: no member named 'mutex' in namespace 'std'
196 | : m_mutex(enable ? std::make_unique<std::mutex>() : nullptr)
| ~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[10/331] Compiling alloc.cpp
[10/331] Compiling s2geometry s2polygon.cc
[10/331] Compiling s2geometry s2latlngrect.cc
[10/331] Compiling s2geometry s2loop.cc
[10/331] Compiling s2geometry s2pointregion.cc
[10/331] Compiling array_mixed.cpp
[10/331] Compiling push_client.cpp
[10/331] Compiling s2geometry s2polygonbuilder.cc
BUILD FAILURE 6.2 wasm