The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CombineRealm, reference master (8812f3), with Swift 6.4 for Wasm on 17 Sep 2026 07:30:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CombineCommunity/CombineRealm.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/CombineCommunity/CombineRealm
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8812f34 fixes RealmSwift dependency version
Cloned https://github.com/CombineCommunity/CombineRealm.git
Revision (git rev-parse @):
8812f3472790c7a0467c4f917179ab5ae02212ce
SUCCESS checkout https://github.com/CombineCommunity/CombineRealm.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/CombineCommunity/CombineRealm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/realm/realm-cocoa.git
[1/131832] Fetching realm-cocoa
Fetched https://github.com/realm/realm-cocoa.git (5.87s)
Computing version for https://github.com/realm/realm-cocoa.git
Computed https://github.com/realm/realm-cocoa.git at 5.5.2 (6.16s)
Fetching https://github.com/realm/realm-core
[1/252559] Fetching realm-core
Fetched https://github.com/realm/realm-core (10.05s)
Computing version for https://github.com/realm/realm-core
Computed https://github.com/realm/realm-core at 6.2.4 (10.30s)
Creating working copy for https://github.com/realm/realm-cocoa.git
Working copy of https://github.com/realm/realm-cocoa.git resolved at 5.5.2
Creating working copy for https://github.com/realm/realm-core
Working copy of https://github.com/realm/realm-core resolved at 6.2.4
warning: 'realm-cocoa': Invalid Source '/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/primitive_list_notifier.cpp': File not found.
warning: 'realm-cocoa': Invalid Source '/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/primitive_list_notifier.cpp': File not found.
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[37 / 160] RealmCore
[38 / 160] RealmCore
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/sort_descriptor.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/cluster.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/array.hpp:41:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/node.hpp:23:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/file.hpp:568:18: error: unknown type name 'dev_t'; did you mean 'div_t'?
  568 |         UniqueID(dev_t d, ino_t i)
      |                  ^~~~~
      |                  div_t
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/sort_descriptor.hpp:22:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/vector:314:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__vector/vector.h:71:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/stdexcept:285:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cstdlib:90:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/stdlib.h:89:
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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-core/src/realm/table_view.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/sort_descriptor.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/cluster.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/array.hpp:41:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/node.hpp:23:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/file.hpp:575:9: error: unknown type name 'dev_t'; did you mean 'div_t'?
  575 |         dev_t device;
      |         ^~~~~
      |         div_t
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/sort_descriptor.hpp:22:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/vector:314:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__vector/vector.h:71:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/stdexcept:285:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cstdlib:90:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/stdlib.h:89:
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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-core/src/realm/table_view.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/sort_descriptor.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/cluster.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/array.hpp:41:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/node.hpp:23:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/file.hpp:564:15: error: no matching constructor for initialization of 'div_t'
  564 |             : device(0)
      |               ^      ~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/sort_descriptor.hpp:22:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/vector:314:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__vector/vector.h:71:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/stdexcept:285:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cstdlib:90:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/stdlib.h:89:
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/stdlib.h:76:9: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const div_t' for 1st argument
   76 | typedef struct { int quot, rem; } div_t;
      |         ^~~~~~
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/stdlib.h:76:9: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'int' to 'div_t' for 1st argument
   76 | typedef struct { int quot, rem; } div_t;
      |         ^~~~~~
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/stdlib.h:76:9: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/sort_descriptor.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/cluster.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/array.hpp:41:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/node.hpp:23:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/file.hpp:1305:23: error: invalid operands to binary expression ('const div_t' and 'const div_t')
 1305 |     return lhs.device == rhs.device && lhs.inode == rhs.inode;
      |            ~~~~~~~~~~ ^  ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/file.hpp:1300:13: note: candidate function not viable: no known conversion from 'const div_t' to 'const File::UniqueID' for 1st argument
 1300 | inline bool operator==(const File::UniqueID& lhs, const File::UniqueID& rhs)
      |             ^          ~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/sort_descriptor.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/cluster.hpp:23:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/mixed.hpp:30:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/string_data.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/null.hpp:26:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/optional.hpp:501:6: note: candidate template ignored: could not match 'const Optional<T>' against 'const div_t'
  501 | bool operator==(const Optional<T>& lhs, const Optional<T>& rhs)
      |      ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/optional.hpp:543:6: note: candidate template ignored: could not match 'const Optional<T>' against 'const div_t'
  543 | bool operator==(const Optional<T>& lhs, None)
      |      ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/optional.hpp:562:6: note: candidate template ignored: could not match 'const Optional<T>' against 'const div_t'
  562 | bool operator==(None, const Optional<T>& rhs)
      |      ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/optional.hpp:580:6: note: candidate template ignored: could not match 'const Optional<T>' against 'const div_t'
  580 | bool operator==(const Optional<T>& lhs, const U& rhs)
      |      ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/optional.hpp:592:6: note: candidate template ignored: could not match 'const Optional<U>' against 'const div_t'
  592 | bool operator==(const T& lhs, const Optional<U>& rhs)
      |      ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/sort_descriptor.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/cluster.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/array.hpp:41:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/node.hpp:23:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/file.hpp:1319:20: error: invalid operands to binary expression ('const div_t' and 'const div_t')
 1319 |     if (lhs.device < rhs.device)
      |         ~~~~~~~~~~ ^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/file.hpp:1314:13: note: candidate function not viable: no known conversion from 'const div_t' to 'const File::UniqueID' for 1st argument
 1314 | inline bool operator<(const File::UniqueID& lhs, const File::UniqueID& rhs)
      |             ^         ~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/sort_descriptor.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/cluster.hpp:23:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/mixed.hpp:30:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/string_data.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/null.hpp:26:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/optional.hpp:519:6: note: candidate template ignored: could not match 'const Optional<T>' against 'const div_t'
  519 | bool operator<(const Optional<T>& lhs, const Optional<T>& rhs)
      |      ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/optional.hpp:555:6: note: candidate template ignored: could not match 'const Optional<T>' against 'const div_t'
  555 | bool operator<(const Optional<T>& lhs, None)
      |      ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/optional.hpp:574:6: note: candidate template ignored: could not match 'const Optional<T>' against 'const div_t'
  574 | bool operator<(None, const Optional<T>& rhs)
      |      ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/optional.hpp:586:6: note: candidate template ignored: could not match 'const Optional<T>' against 'const div_t'
  586 | bool operator<(const Optional<T>& lhs, const T& rhs)
      |      ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/optional.hpp:598:6: note: candidate template ignored: could not match 'const Optional<T>' against 'const div_t'
  598 | bool operator<(const T& lhs, const Optional<T>& rhs)
      |      ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/sort_descriptor.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/cluster.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/array.hpp:41:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/node.hpp:23:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/file.hpp:1321:20: error: invalid operands to binary expression ('const div_t' and 'const div_t')
 1321 |     if (lhs.device > rhs.device)
      |         ~~~~~~~~~~ ^ ~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/sort_descriptor.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/cluster.hpp:23:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/mixed.hpp:30:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/string_data.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/null.hpp:26:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/optional.hpp:531:6: note: candidate template ignored: could not match 'const util::Optional<T>' against 'const div_t'
  531 | bool operator>(const util::Optional<T>& lhs, const util::Optional<T>& rhs)
      |      ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:29:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:35:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc_slab.hpp:603:5: error: no type named 'mutex' in namespace 'std'; did you mean 'Mutex'?
  603 |     std::mutex m_mapping_mutex;
      |     ^~~~~~~~~~
      |     Mutex
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/sort_descriptor.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/cluster.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/array.hpp:41:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/node.hpp:23:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc.hpp:33:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/file_mapper.hpp:24:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:115:7: note: 'Mutex' declared here
  115 | class Mutex {
      |       ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:29:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:35:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc_slab.hpp:749:33: error: cannot initialize object parameter of type 'const realm::Allocator' with an expression of type 'const realm::SlabAlloc'
  749 |     return get_section_base(1 + get_section_index(start_pos));
      |                                 ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc_slab.hpp:762:29: error: cannot initialize object parameter of type 'const realm::Allocator' with an expression of type 'const realm::SlabAlloc'
  762 |     return get_section_base(get_section_index(start_pos));
      |                             ^~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:622:13: error: no type named 'mutex' in namespace 'std'; did you mean 'Mutex'?
  622 |     mutable std::mutex m_accessor_mutex;
      |             ^~~~~~~~~~
      |             Mutex
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/sort_descriptor.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/cluster.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/array.hpp:41:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/node.hpp:23:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc.hpp:33:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/file_mapper.hpp:24:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:115:7: note: 'Mutex' declared here
  115 | class Mutex {
      |       ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:667:12: error: no type named 'mutex' in namespace 'std'; did you mean 'Mutex'?
  667 |     static std::mutex g_table_recycler_mutex;
      |            ^~~~~~~~~~
      |            Mutex
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.hpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/sort_descriptor.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/cluster.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/array.hpp:41:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/node.hpp:23:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc.hpp:33:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/file_mapper.hpp:24:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:115:7: note: 'Mutex' declared here
  115 | class Mutex {
      |       ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:1203:16: error: non-const lvalue reference to type 'Allocator' cannot bind to a value of unrelated type 'SlabAlloc'
 1203 |         return group.m_alloc;
      |                ^~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:22:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:369:10: error: no type named 'recursive_mutex' in namespace 'std'
  369 |     std::recursive_mutex m_mutex;
      |     ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:701:16: error: cannot initialize object parameter of type 'const realm::Group' with an expression of type 'element_type' (aka 'realm::Transaction')
  701 |         return trans->has_table(name);
      |                ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:706:23: error: no matching member function for call to 'get_table'
  706 |         return trans->get_table(key); // Throws
      |                ~~~~~~~^~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:981:24: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'realm::Group' for object argument
  981 | inline TableRef Group::get_table(TableKey key)
      |                        ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:990:29: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'const realm::Group' for object argument
  990 | inline ConstTableRef Group::get_table(TableKey key) const
      |                             ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:334:14: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'realm::Group' for object argument
  334 |     TableRef get_table(int) = delete;
      |              ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:335:19: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'const realm::Group' for object argument
  335 |     ConstTableRef get_table(int) const = delete;
      |                   ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:999:24: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'realm::Group' for object argument
  999 | inline TableRef Group::get_table(StringData name)
      |                        ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:1007:29: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'const realm::Group' for object argument
 1007 | inline ConstTableRef Group::get_table(StringData name) const
      |                             ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:22:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:711:23: error: no matching member function for call to 'get_table'
  711 |         return trans->get_table(name); // Throws
      |                ~~~~~~~^~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:999:24: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'realm::Group' for object argument
  999 | inline TableRef Group::get_table(StringData name)
      |                        ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:1007:29: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'const realm::Group' for object argument
 1007 | inline ConstTableRef Group::get_table(StringData name) const
      |                             ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:334:14: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'realm::Group' for object argument
  334 |     TableRef get_table(int) = delete;
      |              ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:335:19: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'const realm::Group' for object argument
  335 |     ConstTableRef get_table(int) const = delete;
      |                   ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:981:24: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'realm::Group' for object argument
  981 | inline TableRef Group::get_table(TableKey key)
      |                        ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:990:29: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'const realm::Group' for object argument
  990 | inline ConstTableRef Group::get_table(TableKey key) const
      |                             ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:22:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:716:16: error: no viable conversion from returned value of type 'element_type' (aka 'realm::Transaction') to function return type 'const Group'
  716 |         return *trans.get();
      |                ^~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:88:5: note: candidate constructor not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'unattached_tag' for 1st argument
   88 |     Group(unattached_tag) noexcept;
      |     ^     ~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:91:5: note: candidate constructor not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'const Group &' for 1st argument
   91 |     Group(const Group&) = delete;
      |     ^     ~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:671:5: note: candidate constructor not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'shared_tag' for 1st argument
  671 |     Group(shared_tag) noexcept;
      |     ^     ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:673:5: note: candidate constructor not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'SlabAlloc *' for 1st argument
  673 |     Group(SlabAlloc* alloc) noexcept;
      |     ^     ~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:69:14: note: explicit constructor is not a candidate
   69 |     explicit Group(const std::string& file, const char* encryption_key = nullptr, OpenMode = mode_ReadOnly);
      |              ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:76:14: note: explicit constructor is not a candidate
   76 |     explicit Group(BinaryData, bool take_ownership = true);
      |              ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:22:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:748:16: error: cannot initialize object parameter of type 'const realm::Group' with an expression of type 'element_type' (aka 'realm::Transaction')
  748 |         return trans->has_table(name);
      |                ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:753:23: error: no matching member function for call to 'get_table'
  753 |         return trans->get_table(key); // Throws
      |                ~~~~~~~^~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp:22:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/db.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:981:24: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'realm::Group' for object argument
  981 | inline TableRef Group::get_table(TableKey key)
      |                        ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:990:29: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'const realm::Group' for object argument
  990 | inline ConstTableRef Group::get_table(TableKey key) const
      |                             ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:334:14: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'realm::Group' for object argument
  334 |     TableRef get_table(int) = delete;
      |              ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:335:19: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'const realm::Group' for object argument
  335 |     ConstTableRef get_table(int) const = delete;
      |                   ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:999:24: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'realm::Group' for object argument
  999 | inline TableRef Group::get_table(StringData name)
      |                        ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/group.hpp:1007:29: note: candidate function not viable: no known conversion from 'element_type' (aka 'realm::Transaction') to 'const realm::Group' for object argument
 1007 | inline ConstTableRef Group::get_table(StringData name) const
      |                             ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmCore.build/Debug-webassembly-wasm32/RealmCore-t.build/Objects-normal/wasm32/table_view.o /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp normal wasm32 c++ com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmCore.build/Debug-webassembly-wasm32/RealmCore-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp

    /usr/bin/clang -x c++ -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmCore.build/Debug-webassembly-wasm32/RealmCore-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmCore.build/Debug-webassembly-wasm32/RealmCore-t.build/Objects-normal/wasm32/table_view.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmCore.build/Debug-webassembly-wasm32/RealmCore-t.build/Objects-normal/wasm32/table_view.dia -c /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_view.cpp -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmCore.build/Debug-webassembly-wasm32/RealmCore-t.build/Objects-normal/wasm32/table_view.o
[42 / 160] RealmCore
error: Build failed
BUILD FAILURE 6.4 wasm