The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IceCream, reference master (e6a89b), with Swift 6.3 for Wasm on 22 Apr 2026 12:00:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/caiyue1993/IceCream.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/caiyue1993/IceCream
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e6a89be use Music Mate as the updated live demo
Cloned https://github.com/caiyue1993/IceCream.git
Revision (git rev-parse @):
e6a89be5c7dfa3b42e58bfe5422d57c19c4d9e4d
SUCCESS checkout https://github.com/caiyue1993/IceCream.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/caiyue1993/IceCream.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
[1/131743] Fetching realm-cocoa
Fetched https://github.com/realm/realm-cocoa from cache (14.83s)
Computing version for https://github.com/realm/realm-cocoa
Computed https://github.com/realm/realm-cocoa at 4.4.1 (15.77s)
Fetching https://github.com/realm/realm-core
[1/252508] Fetching realm-core
Fetched https://github.com/realm/realm-core from cache (30.85s)
Computing version for https://github.com/realm/realm-core
Computed https://github.com/realm/realm-core at 5.23.8 (31.46s)
Creating working copy for https://github.com/realm/realm-core
Working copy of https://github.com/realm/realm-core resolved at 5.23.8
Creating working copy for https://github.com/realm/realm-cocoa
Working copy of https://github.com/realm/realm-cocoa resolved at 4.4.1
Building for debugging...
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.
[0/53] Compiling collection_notifications.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMListBase.mm:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMListBase.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/53] Compiling RLMListBase.mm
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;
      |       ^
[0/53] Compiling collection_change_builder.cpp
[0/53] Compiling keychain_helper.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMMigration.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMMigration_Private.h:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMMigration.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/53] Compiling RLMMigration.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/apple/external_commit_helper.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/external_commit_helper.hpp:37:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/generic/external_commit_helper.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group_shared.hpp:26:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/interprocess_condvar.hpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/interprocess_mutex.hpp:24:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/file.hpp:549:9: error: unknown type name 'dev_t'; did you mean 'div_t'?
  549 |         dev_t device;
      |         ^~~~~
      |         div_t
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/stdlib.h:76:35: note: 'div_t' declared here
   76 | typedef struct { int quot, rem; } div_t;
      |                                   ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/apple/external_commit_helper.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/external_commit_helper.hpp:37:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/generic/external_commit_helper.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group_shared.hpp:26:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/interprocess_condvar.hpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/interprocess_mutex.hpp:24:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/file.hpp:1289:23: error: invalid operands to binary expression ('const div_t' and 'const div_t')
 1289 |     return lhs.device == rhs.device && lhs.inode == rhs.inode;
      |            ~~~~~~~~~~ ^  ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/file.hpp:1284:13: note: candidate function not viable: no known conversion from 'const div_t' to 'const File::UniqueID' for 1st argument
 1284 | inline bool operator==(const File::UniqueID& lhs, const File::UniqueID& rhs)
      |             ^          ~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/file.hpp:1303:20: error: invalid operands to binary expression ('const div_t' and 'const div_t')
 1303 |     if (lhs.device < rhs.device)
      |         ~~~~~~~~~~ ^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/file.hpp:1298:13: note: candidate function not viable: no known conversion from 'const div_t' to 'const File::UniqueID' for 1st argument
 1298 | inline bool operator<(const File::UniqueID& lhs, const File::UniqueID& rhs)
      |             ^         ~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/file.hpp:1305:20: error: invalid operands to binary expression ('const div_t' and 'const div_t')
 1305 |     if (lhs.device > rhs.device)
      |         ~~~~~~~~~~ ^ ~~~~~~~~~~
[0/53] Compiling external_commit_helper.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMManagedArray.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMArray_Private.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMArray_Private.h:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMArray.h:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMCollection.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/53] Compiling RLMManagedArray.mm
[0/53] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 wasm