Build Information
Failed to build MushafImad, reference 2.0.0 (a0c263), with Swift 6.3 for Wasm on 20 Jul 2026 00:42:01 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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ibo2001/MushafImad.git
Reference: 2.0.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/ibo2001/MushafImad
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at a0c263e docs: mark eye tracking as experimental
Cloned https://github.com/ibo2001/MushafImad.git
Revision (git rev-parse @):
a0c263e2e46c9779561141f45ab64f236d2c4739
SUCCESS checkout https://github.com/ibo2001/MushafImad.git at 2.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/ibo2001/MushafImad.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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:501b6bfc4ca8a27c305c68f9d5c778f996de82635741ab45476a03ffa6fa26d2
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/realm/realm-swift.git
[1/131801] Fetching realm-swift
Fetched https://github.com/realm/realm-swift.git from cache (6.19s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 20.0.5 (7.40s)
Fetching https://github.com/realm/realm-core.git
[1/252551] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (8.49s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 20.1.5 (8.75s)
Creating working copy for https://github.com/realm/realm-core.git
Working copy of https://github.com/realm/realm-core.git resolved at 20.1.5
Creating working copy for https://github.com/realm/realm-swift.git
Working copy of https://github.com/realm/realm-swift.git resolved at 20.0.5
Building for debugging...
[0/254] Write sources
[1/254] Compiling Bid bid_convert_data.c
[1/254] Compiling Bid bid128_2_str_tables.c
[3/254] Compiling Bid bid128_compare.c
[4/254] Write swift-version-24593BA9C3E375BF.txt
[4/254] Compiling Bid bid128_add.c
[6/254] Compiling mathlimits.cc
[7/254] Compiling s2geometry s2region.cc
[7/254] Compiling mathutil.cc
[9/254] Compiling s2geometry s2r2rect.cc
[10/254] 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: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: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: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: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: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:166:38: error: no member named 'mutex' in namespace 'std'
166 | return std::unique_lock<std::mutex>(m_mutex);
| ^~~~~
/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: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)
| ^~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:209:45: error: no member named 'mutex' in namespace 'std'
209 | m_mutex = std::make_unique<std::mutex>();
| ^~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:216:30: error: no member named 'mutex' in namespace 'std'
216 | inline std::unique_lock<std::mutex> CheckedOptionalMutex::lock() const
| ^~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:218:44: error: no member named 'mutex' in namespace 'std'
218 | return m_mutex ? std::unique_lock<std::mutex>(*m_mutex) : std::unique_lock<std::mutex>();
| ^~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:218:85: error: no member named 'mutex' in namespace 'std'
218 | return m_mutex ? std::unique_lock<std::mutex>(*m_mutex) : std::unique_lock<std::mutex>();
| ^~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc.cpp:25:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc_slab.hpp:646:10: error: no type named 'mutex' in namespace 'std'
646 | std::mutex m_mapping_mutex;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc_slab.hpp:800:33: error: cannot initialize object parameter of type 'const realm::Allocator' with an expression of type 'const realm::SlabAlloc'
800 | return get_section_base(1 + get_section_index(start_pos));
| ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc_slab.hpp:813:29: error: cannot initialize object parameter of type 'const realm::Allocator' with an expression of type 'const realm::SlabAlloc'
813 | return get_section_base(get_section_index(start_pos));
| ^~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[11/254] Compiling alloc.cpp
[11/254] Compiling s2geometry s2latlng.cc
[11/254] Compiling s2geometry s2latlngrect.cc
[11/254] Compiling s2geometry s2pointregion.cc
[11/254] Compiling s2geometry s2loop.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/class.cpp:21:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/shared_realm.hpp:28:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/transaction.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:23:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:30:
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: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: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: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:13: error: no type named 'mutex' in namespace 'std'; did you mean 'Mutex'?
160 | mutable std::mutex m_mutex;
| ^~~~~~~~~~
| Mutex
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:60:7: note: 'Mutex' declared here
60 | class Mutex {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/class.cpp:21:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/shared_realm.hpp:28:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/transaction.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:23:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:30:
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:166:38: error: no member named 'mutex' in namespace 'std'
166 | return std::unique_lock<std::mutex>(m_mutex);
| ^~~~~
/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: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)
| ^~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:209:45: error: no member named 'mutex' in namespace 'std'
209 | m_mutex = std::make_unique<std::mutex>();
| ^~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:216:30: error: no member named 'mutex' in namespace 'std'
216 | inline std::unique_lock<std::mutex> CheckedOptionalMutex::lock() const
| ^~~~~
[11/254] Compiling class.cpp
[11/254] Compiling s2geometry s2polygonbuilder.cc
[11/254] Compiling s2geometry s2polygon.cc
BUILD FAILURE 6.3 wasm