The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MushafImad, reference 1.0.4 (aff633), with Swift 6.2 for Wasm on 26 Dec 2025 08:43:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ibo2001/MushafImad.git
Reference: 1.0.4
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               1.0.4      -> FETCH_HEAD
HEAD is now at aff6330 fix: use MushafAssets.image for fasel to fix CI build
Updating files:  85% (7878/9192)
Updating files:  86% (7906/9192)
Updating files:  87% (7998/9192)
Updating files:  88% (8089/9192)
Updating files:  89% (8181/9192)
Updating files:  90% (8273/9192)
Updating files:  91% (8365/9192)
Updating files:  92% (8457/9192)
Updating files:  93% (8549/9192)
Updating files:  94% (8641/9192)
Updating files:  95% (8733/9192)
Updating files:  96% (8825/9192)
Updating files:  97% (8917/9192)
Updating files:  98% (9009/9192)
Updating files:  99% (9101/9192)
Updating files: 100% (9192/9192)
Updating files: 100% (9192/9192), done.
Cloned https://github.com/ibo2001/MushafImad.git
Revision (git rev-parse @):
aff63309310981b6ed1e7ee27e14cbf2304edb0b
SUCCESS checkout https://github.com/ibo2001/MushafImad.git at 1.0.4
========================================
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-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
Status: Image is up to date for registry.gitlab.com/finestructure/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/131649] Fetching realm-swift
Fetched https://github.com/realm/realm-swift.git from cache (9.95s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 10.54.6 (14.66s)
Fetching https://github.com/realm/realm-core.git
[1/252509] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (22.13s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 14.14.0 (24.84s)
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
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
Building for debugging...
[0/330] Write sources
[1/330] Write swift-version-24593BA9C3E375BF.txt
[2/330] Compiling Bid bid128_div.c
[2/330] Compiling mathlimits.cc
[2/330] Compiling Bid bid128_fma.c
[5/330] Compiling mathutil.cc
[6/330] Compiling s2geometry s2pointregion.cc
[7/330] Compiling s2geometry s2region.cc
[8/330] Compiling s2geometry s2polyline.cc
[9/330] Compiling s2geometry s2r2rect.cc
[10/330] Compiling s2geometry s2polygonbuilder.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/link_translator.cpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/list.hpp:38:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/replication.hpp:33:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/impl/transact_log.hpp:25:
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: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/link_translator.cpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/list.hpp:38:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/replication.hpp:33:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/impl/transact_log.hpp:25:
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: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/link_translator.cpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/list.hpp:38:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/replication.hpp:33:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/impl/transact_log.hpp:25:
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: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: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/link_translator.cpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/list.hpp:38:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/replication.hpp:33:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/impl/transact_log.hpp:25:
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: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/link_translator.cpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/list.hpp:38:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/replication.hpp:33:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/impl/transact_log.hpp:25:
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: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/link_translator.cpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/list.hpp:38:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/replication.hpp:33:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/impl/transact_log.hpp:25:
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: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.
[11/330] Compiling link_translator.cpp
[11/330] Compiling s2geometry s2latlng.cc
[11/330] Compiling s2geometry s2edgeutil.cc
[11/330] Compiling s2geometry s2edgeindex.cc
[11/330] Compiling s2geometry s2loop.cc
[11/330] Compiling s2geometry s2latlngrect.cc
[11/330] Compiling s2geometry s2cellid.cc
[11/330] Compiling s2geometry s2polygon.cc
BUILD FAILURE 6.2 wasm