Build Information
Failed to build RxRealm, reference main (f64bf1
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 12:53:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RxSwiftCommunity/RxRealm.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/RxSwiftCommunity/RxRealm
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f64bf1c Merge pull request #219 from fabianmuecke/add-observe-from-arguments
Cloned https://github.com/RxSwiftCommunity/RxRealm.git
Revision (git rev-parse @):
f64bf1c4b07612185eb0d4935b4ef9cf06679357
SUCCESS checkout https://github.com/RxSwiftCommunity/RxRealm.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/RxSwiftCommunity/RxRealm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/realm/realm-swift.git
[1/52710] Fetching rxswift
[46913/184069] Fetching rxswift, realm-swift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (20.57s)
Fetched https://github.com/realm/realm-swift.git from cache (20.79s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.9.0 (21.67s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 10.54.5 (1.28s)
Fetching https://github.com/realm/realm-core.git
[1/252487] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (26.81s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 14.14.0 (28.05s)
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.5
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.9.0
Building for debugging...
[0/304] Compiling Bid bid128_mul.c
[1/304] Compiling Bid bid128_quantize.c
[2/304] Write swift-version-24593BA9C3E375BF.txt
[3/304] Compiling Bid bid_from_int.c
[4/304] Compiling Bid bid_round.c
[5/304] Compiling mathlimits.cc
[6/304] Compiling s2geometry s2region.cc
[7/304] Compiling mathutil.cc
[8/304] Compiling s2geometry s2r2rect.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object_changeset.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object_changeset.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/collection_notifications.hpp:24:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/util/atomic_shared_ptr.hpp:151:18: error: no type named 'mutex' in namespace 'std'
151 | mutable std::mutex m_mutex;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/util/atomic_shared_ptr.hpp:106:30: error: no member named 'mutex' in namespace 'std'
106 | std::lock_guard<std::mutex> lock(ptr.m_mutex);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/util/atomic_shared_ptr.hpp:111:30: error: no member named 'mutex' in namespace 'std'
111 | std::lock_guard<std::mutex> lock(ptr.m_mutex);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/util/atomic_shared_ptr.hpp:120:18: 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.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/ctime:71:9: note: 'clock' declared here
71 | using ::clock _LIBCPP_USING_IF_EXISTS;
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object_changeset.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object_changeset.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/collection_notifications.hpp:24:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/util/atomic_shared_ptr.hpp:130:14: error: no member named 'lock' in namespace 'std'; did you mean 'clock'?
130 | std::lock(m_mutex, ptr.m_mutex);
| ~~~~~^~~~
| clock
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/ctime:71:9: note: 'clock' declared here
71 | using ::clock _LIBCPP_USING_IF_EXISTS;
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object_changeset.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object_changeset.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/collection_notifications.hpp:24:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/util/atomic_shared_ptr.hpp:139:30: error: no member named 'mutex' in namespace 'std'
139 | std::lock_guard<std::mutex> lock(m_mutex);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/util/atomic_shared_ptr.hpp:146:30: error: no member named 'mutex' in namespace 'std'
146 | std::lock_guard<std::mutex> lock(m_mutex);
| ~~~~~^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object_changeset.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object_changeset.hpp:22:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/collection_notifications.hpp:57:54: error: implicit instantiation of undefined template 'realm::util::AtomicSharedPtr<realm::_impl::CollectionNotifier>'
57 | util::AtomicSharedPtr<_impl::CollectionNotifier> m_notifier;
| ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/util/atomic_shared_ptr.hpp:47:7: note: template is declared here
47 | class AtomicSharedPtr;
| ^
8 errors generated.
[9/304] Compiling object_changeset.cpp
[9/304] Compiling s2geometry s2polygonbuilder.cc
[9/304] Compiling s2geometry s2pointregion.cc
[9/304] Compiling object_schema.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/impl/collection_notifier.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/impl/deep_change_checker.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object_changeset.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/collection_notifications.hpp:24:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/util/atomic_shared_ptr.hpp:151:18: error: no type named 'mutex' in namespace 'std'
151 | mutable std::mutex m_mutex;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/util/atomic_shared_ptr.hpp:106:30: error: no member named 'mutex' in namespace 'std'
106 | std::lock_guard<std::mutex> lock(ptr.m_mutex);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/util/atomic_shared_ptr.hpp:111:30: error: no member named 'mutex' in namespace 'std'
111 | std::lock_guard<std::mutex> lock(ptr.m_mutex);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/util/atomic_shared_ptr.hpp:120:18: 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.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/ctime:71:9: note: 'clock' declared here
71 | using ::clock _LIBCPP_USING_IF_EXISTS;
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/impl/collection_notifier.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/impl/deep_change_checker.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object_changeset.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/collection_notifications.hpp:24:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/util/atomic_shared_ptr.hpp:130:14: error: no member named 'lock' in namespace 'std'; did you mean 'clock'?
130 | std::lock(m_mutex, ptr.m_mutex);
| ~~~~~^~~~
| clock
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/ctime:71:9: note: 'clock' declared here
71 | using ::clock _LIBCPP_USING_IF_EXISTS;
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/impl/collection_notifier.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/impl/deep_change_checker.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object_changeset.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/collection_notifications.hpp:24:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/util/atomic_shared_ptr.hpp:139:30: error: no member named 'mutex' in namespace 'std'
139 | std::lock_guard<std::mutex> lock(m_mutex);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/util/atomic_shared_ptr.hpp:146:30: error: no member named 'mutex' in namespace 'std'
146 | std::lock_guard<std::mutex> lock(m_mutex);
| ~~~~~^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/impl/collection_notifier.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/impl/deep_change_checker.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/object_changeset.hpp:22:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/collection_notifications.hpp:57:54: error: implicit instantiation of undefined template 'realm::util::AtomicSharedPtr<realm::_impl::CollectionNotifier>'
57 | util::AtomicSharedPtr<_impl::CollectionNotifier> m_notifier;
| ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/object-store/util/atomic_shared_ptr.hpp:47:7: note: template is declared here
47 | class AtomicSharedPtr;
| ^
[9/304] Compiling object.cpp
[9/304] Compiling s2geometry s2polygon.cc
[9/304] Compiling s2geometry s2polyline.cc
[9/304] Compiling object_store.cpp
BUILD FAILURE 6.2 wasm