The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RealmCoder, reference master (8730ac), with Swift 6.3 for Wasm on 11 Apr 2026 08:43:55 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.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/OakCityLabs/RealmCoder.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/OakCityLabs/RealmCoder
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8730ac1 Merge branch 'master' into documentation
Cloned https://github.com/OakCityLabs/RealmCoder.git
Revision (git rev-parse @):
8730ac1a45811fff4df2907adde5f1347a813ed4
SUCCESS checkout https://github.com/OakCityLabs/RealmCoder.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/OakCityLabs/RealmCoder.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.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-cocoa.git
[1/131732] Fetching realm-cocoa
Fetched https://github.com/realm/realm-cocoa.git from cache (11.68s)
Computing version for https://github.com/realm/realm-cocoa.git
Computed https://github.com/realm/realm-cocoa.git at 4.4.1 (12.30s)
Fetching https://github.com/realm/realm-core
[1/252508] Fetching realm-core
Fetched https://github.com/realm/realm-core from cache (31.19s)
Computing version for https://github.com/realm/realm-core
Computed https://github.com/realm/realm-core at 5.23.8 (31.77s)
Creating working copy for https://github.com/realm/realm-cocoa.git
Working copy of https://github.com/realm/realm-cocoa.git resolved at 4.4.1
Creating working copy for https://github.com/realm/realm-core
Working copy of https://github.com/realm/realm-core resolved at 5.23.8
Building for debugging...
[0/53] Compiling binding_callback_thread_observer.cpp
[1/53] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/collection_notifications.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/collection_notifications.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:141:18: error: no type named 'mutex' in namespace 'std'
  141 |     mutable std::mutex m_mutex;
      |             ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:96:30: error: no member named 'mutex' in namespace 'std'
   96 |         std::lock_guard<std::mutex> lock(ptr.m_mutex);
      |                              ^~~~~
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:101:30: error: no member named 'mutex' in namespace 'std'
  101 |         std::lock_guard<std::mutex> lock(ptr.m_mutex);
      |                              ^~~~~
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:110:18: error: no member named 'lock' in namespace 'std'; did you mean 'clock'?
  110 |             std::lock(m_mutex, ptr.m_mutex);
      |                  ^~~~
      |                  clock
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ctime:74:9: note: 'clock' declared here
   74 | using ::clock _LIBCPP_USING_IF_EXISTS;
      |         ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/collection_notifications.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/collection_notifications.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:120:14: error: no member named 'lock' in namespace 'std'; did you mean 'clock'?
  120 |         std::lock(m_mutex, ptr.m_mutex);
      |              ^~~~
      |              clock
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ctime:74:9: note: 'clock' declared here
   74 | using ::clock _LIBCPP_USING_IF_EXISTS;
      |         ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/collection_notifications.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/collection_notifications.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:129:30: error: no member named 'mutex' in namespace 'std'
  129 |         std::lock_guard<std::mutex> lock(m_mutex);
      |                              ^~~~~
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:136:30: error: no member named 'mutex' in namespace 'std'
  136 |         std::lock_guard<std::mutex> lock(m_mutex);
      |                              ^~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/collection_notifications.cpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/collection_notifications.hpp:50:54: error: implicit instantiation of undefined template 'realm::util::AtomicSharedPtr<realm::_impl::CollectionNotifier>'
   50 |     util::AtomicSharedPtr<_impl::CollectionNotifier> m_notifier;
      |                                                      ^
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:49:7: note: template is declared here
   49 | class AtomicSharedPtr;
      |       ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/collection_notifications.cpp:21:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_notifier.hpp:195:27: error: no member named 'mutex' in namespace 'std'
  195 |     std::unique_lock<std::mutex> lock_target();
      |                           ^~~~~
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_notifier.hpp:207:18: error: no type named 'mutex' in namespace 'std'
  207 |     mutable std::mutex m_realm_mutex;
      |             ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_notifier.hpp:228:10: error: no type named 'mutex' in namespace 'std'
  228 |     std::mutex m_callback_mutex;
      |     ~~~~~^
11 errors generated.
[3/53] Compiling collection_notifications.cpp
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/apple/keychain_helper.cpp:25:10: fatal error: 'Security/Security.h' file not found
   25 | #include <Security/Security.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/53] Compiling keychain_helper.cpp
[3/53] Compiling external_commit_helper.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/weak_realm_notifier.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/weak_realm_notifier.hpp:22:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/execution_context_id.hpp:65:32: error: no member named 'thread' in namespace 'std'
   65 |     AnyExecutionContextID(std::thread::id thread_id) : AnyExecutionContextID(Type::Thread, std::move(thread_id)) { }
      |                           ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/execution_context_id.hpp:104:32: error: no member named 'thread' in namespace 'std'
  104 |     util::AlignedUnion<1, std::thread::id, AbstractExecutionContextID>::type m_storage;
      |                           ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/execution_context_id.hpp:62:48: error: no member named 'this_thread' in namespace 'std'
   62 |             *this = AnyExecutionContextID(std::this_thread::get_id());
      |                                           ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/execution_context_id.hpp:112:55: error: no member named 'thread' in namespace 'std'
  112 | struct AnyExecutionContextID::TypeForStorageType<std::thread::id> {
      |                                                  ~~~~~^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/weak_realm_notifier.cpp:21:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/shared_realm.hpp:366:16: error: no viable conversion from returned value of type 'shared_ptr<make_shared_enabler>' to function return type 'shared_ptr<Realm>'
  366 |         return std::make_shared<make_shared_enabler>(std::move(config), std::move(coordinator));
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:331:43: note: candidate constructor not viable: no known conversion from 'shared_ptr<make_shared_enabler>' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument
  331 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT : __ptr_(nullptr), __cntrl_(nullptr) {}
      |                                           ^          ~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:476:25: note: candidate constructor not viable: no known conversion from 'shared_ptr<make_shared_enabler>' to 'const shared_ptr<realm::Realm> &' for 1st argument
  476 |   _LIBCPP_HIDE_FROM_ABI shared_ptr(const shared_ptr& __r) _NOEXCEPT : __ptr_(__r.__ptr_), __cntrl_(__r.__cntrl_) {
      |                         ^          ~~~~~~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:487:25: note: candidate constructor not viable: no known conversion from 'shared_ptr<make_shared_enabler>' to 'shared_ptr<realm::Realm> &&' for 1st argument
  487 |   _LIBCPP_HIDE_FROM_ABI shared_ptr(shared_ptr&& __r) _NOEXCEPT : __ptr_(__r.__ptr_), __cntrl_(__r.__cntrl_) {
      |                         ^          ~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:482:25: note: candidate template ignored: requirement '__compatible_with<make_shared_enabler, realm::Realm>::value' was not satisfied [with _Yp = make_shared_enabler]
  482 |   _LIBCPP_HIDE_FROM_ABI shared_ptr(const shared_ptr<_Yp>& __r) _NOEXCEPT : __ptr_(__r.__ptr_), __cntrl_(__r.__cntrl_) {
      |                         ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:493:25: note: candidate template ignored: requirement '__compatible_with<make_shared_enabler, realm::Realm>::value' was not satisfied [with _Yp = make_shared_enabler]
  493 |   _LIBCPP_HIDE_FROM_ABI shared_ptr(shared_ptr<_Yp>&& __r) _NOEXCEPT : __ptr_(__r.__ptr_), __cntrl_(__r.__cntrl_) {
      |                         ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:507:25: note: candidate template ignored: could not match 'auto_ptr' against 'shared_ptr'
  507 |   _LIBCPP_HIDE_FROM_ABI shared_ptr(auto_ptr<_Yp>&& __r) : __ptr_(__r.get()) {
      |                         ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:520:25: note: candidate template ignored: could not match 'unique_ptr' against 'shared_ptr'
  520 |   _LIBCPP_HIDE_FROM_ABI shared_ptr(unique_ptr<_Yp, _Dp>&& __r) : __ptr_(__r.get()) {
      |                         ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:541:25: note: candidate template ignored: could not match 'unique_ptr' against 'shared_ptr'
  541 |   _LIBCPP_HIDE_FROM_ABI shared_ptr(unique_ptr<_Yp, _Dp>&& __r) : __ptr_(__r.get()) {
      |                         ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:344:34: note: explicit constructor is not a candidate
  344 |   _LIBCPP_HIDE_FROM_ABI explicit shared_ptr(_Yp* __p) : __ptr_(__p) {
      |                                  ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:499:34: note: explicit constructor is not a candidate
  499 |   _LIBCPP_HIDE_FROM_ABI explicit shared_ptr(const weak_ptr<_Yp>& __r)
      |                                  ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:678:20: error: incompatible pointer types assigning to '__shared_weak_count *' from 'std::__shared_ptr_emplace<make_shared_enabler, std::allocator<make_shared_enabler>> *'
  678 |     __r.__cntrl_ = __cntrl;
      |                    ^~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:738:27: note: in instantiation of function template specialization 'std::shared_ptr<make_shared_enabler>::__create_with_control_block<make_shared_enabler, std::__shared_ptr_emplace<make_shared_enabler, std::allocator<make_shared_enabler>>>' requested here
  738 |   return shared_ptr<_Tp>::__create_with_control_block(
      |                           ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:744:15: note: in instantiation of function template specialization 'std::allocate_shared<make_shared_enabler, std::allocator<make_shared_enabler>, realm::Realm::Config, std::shared_ptr<realm::_impl::RealmCoordinator>, 0>' requested here
  744 |   return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...);
      |               ^
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/shared_realm.hpp:366:21: note: in instantiation of function template specialization 'std::make_shared<make_shared_enabler, realm::Realm::Config, std::shared_ptr<realm::_impl::RealmCoordinator>, 0>' requested here
  366 |         return std::make_shared<make_shared_enabler>(std::move(config), std::move(coordinator));
      |                     ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUtil.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUtil.hpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMConstants.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/53] Compiling RLMUtil.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_notifier.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_notifier.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_change_builder.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/collection_notifications.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:141:18: error: no type named 'mutex' in namespace 'std'
  141 |     mutable std::mutex m_mutex;
      |             ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:96:30: error: no member named 'mutex' in namespace 'std'
   96 |         std::lock_guard<std::mutex> lock(ptr.m_mutex);
      |                              ^~~~~
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:101:30: error: no member named 'mutex' in namespace 'std'
  101 |         std::lock_guard<std::mutex> lock(ptr.m_mutex);
      |                              ^~~~~
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:110:18: error: no member named 'lock' in namespace 'std'; did you mean 'clock'?
  110 |             std::lock(m_mutex, ptr.m_mutex);
      |                  ^~~~
      |                  clock
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ctime:74:9: note: 'clock' declared here
   74 | using ::clock _LIBCPP_USING_IF_EXISTS;
      |         ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_notifier.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_notifier.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_change_builder.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/collection_notifications.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:120:14: error: no member named 'lock' in namespace 'std'; did you mean 'clock'?
  120 |         std::lock(m_mutex, ptr.m_mutex);
      |              ^~~~
      |              clock
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ctime:74:9: note: 'clock' declared here
   74 | using ::clock _LIBCPP_USING_IF_EXISTS;
      |         ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_notifier.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_notifier.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_change_builder.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/collection_notifications.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:129:30: error: no member named 'mutex' in namespace 'std'
  129 |         std::lock_guard<std::mutex> lock(m_mutex);
      |                              ^~~~~
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:136:30: error: no member named 'mutex' in namespace 'std'
  136 |         std::lock_guard<std::mutex> lock(m_mutex);
      |                              ^~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_notifier.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_notifier.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_change_builder.hpp:22:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/collection_notifications.hpp:50:54: error: implicit instantiation of undefined template 'realm::util::AtomicSharedPtr<realm::_impl::CollectionNotifier>'
   50 |     util::AtomicSharedPtr<_impl::CollectionNotifier> m_notifier;
      |                                                      ^
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:49:7: note: template is declared here
   49 | class AtomicSharedPtr;
      |       ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_change_builder.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_change_builder.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/collection_notifications.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:141:18: error: no type named 'mutex' in namespace 'std'
  141 |     mutable std::mutex m_mutex;
      |             ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:96:30: error: no member named 'mutex' in namespace 'std'
   96 |         std::lock_guard<std::mutex> lock(ptr.m_mutex);
      |                              ^~~~~
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:101:30: error: no member named 'mutex' in namespace 'std'
  101 |         std::lock_guard<std::mutex> lock(ptr.m_mutex);
      |                              ^~~~~
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:110:18: error: no member named 'lock' in namespace 'std'; did you mean 'clock'?
  110 |             std::lock(m_mutex, ptr.m_mutex);
      |                  ^~~~
      |                  clock
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ctime:74:9: note: 'clock' declared here
   74 | using ::clock _LIBCPP_USING_IF_EXISTS;
      |         ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_change_builder.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_change_builder.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/collection_notifications.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:120:14: error: no member named 'lock' in namespace 'std'; did you mean 'clock'?
  120 |         std::lock(m_mutex, ptr.m_mutex);
      |              ^~~~
      |              clock
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ctime:74:9: note: 'clock' declared here
   74 | using ::clock _LIBCPP_USING_IF_EXISTS;
      |         ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_change_builder.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_change_builder.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/collection_notifications.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:129:30: error: no member named 'mutex' in namespace 'std'
  129 |         std::lock_guard<std::mutex> lock(m_mutex);
      |                              ^~~~~
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:136:30: error: no member named 'mutex' in namespace 'std'
  136 |         std::lock_guard<std::mutex> lock(m_mutex);
      |                              ^~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_change_builder.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/collection_change_builder.hpp:22:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/collection_notifications.hpp:50:54: error: implicit instantiation of undefined template 'realm::util::AtomicSharedPtr<realm::_impl::CollectionNotifier>'
   50 |     util::AtomicSharedPtr<_impl::CollectionNotifier> m_notifier;
      |                                                      ^
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/util/atomic_shared_ptr.hpp:49:7: note: template is declared here
   49 | class AtomicSharedPtr;
      |       ^
[3/53] Compiling collection_notifier.cpp
[3/53] Compiling collection_change_builder.cpp
[3/53] Compiling weak_realm_notifier.cpp
[3/53] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 wasm