The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RealmExtensions, reference master (0707ec), with Swift 6.3 for Wasm on 18 Apr 2026 08:05:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DigitalSolutionsPest/RealmExtensions.git
Reference: master
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/DigitalSolutionsPest/RealmExtensions
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0707ec2 Fix stack overflow when chaining many RealmTransactions
Cloned https://github.com/DigitalSolutionsPest/RealmExtensions.git
Revision (git rev-parse @):
0707ec293cabefd647fcdca531c0aed1f3a3cc28
SUCCESS checkout https://github.com/DigitalSolutionsPest/RealmExtensions.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/DigitalSolutionsPest/RealmExtensions.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/realm/realm-swift.git
[1/131743] Fetching realm-swift
Fetched https://github.com/realm/realm-swift.git from cache (16.39s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 20.0.4 (17.96s)
Fetching https://github.com/realm/realm-core.git
[1/252508] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (32.08s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 20.1.4 (32.82s)
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.4
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.4
Building for debugging...
[0/221] Write sources
[1/221] Compiling mathlimits.cc
[2/221] Compiling Bid bid128_fma.c
[3/221] Compiling s2geometry s2region.cc
[4/221] Compiling mathutil.cc
[5/221] Write swift-version-24593BA9C3E375BF.txt
[6/221] Compiling output_stream.cpp
[7/221] Compiling s2geometry s2polyline.cc
[8/221] Compiling s2geometry s2r2rect.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/history.cpp:21:
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/history.cpp:21:
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
      |                              ^~~~~
/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/history.cpp:21:
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:
/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.
[9/221] Compiling history.cpp
[9/221] Compiling s2geometry s2polygonbuilder.cc
[9/221] Compiling s2geometry s2loop.cc
[9/221] Compiling s2geometry s2latlng.cc
[9/221] Compiling s2geometry s2pointregion.cc
[9/221] Compiling s2geometry s2latlngrect.cc
[9/221] Compiling s2geometry s2polygon.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/impl/copy_replication.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/impl/copy_replication.hpp:22:
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: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/impl/copy_replication.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/impl/copy_replication.hpp:22:
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: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/impl/copy_replication.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/impl/copy_replication.hpp:22:
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:
/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));
      |                             ^~~~~~~~~~~~~~~~~
[9/221] Compiling copy_replication.cpp
BUILD FAILURE 6.3 wasm