The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RealmCoder, reference 1.0.2 (8730ac), with Swift 6.4 for Linux on 16 Sep 2026 20:13:09 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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OakCityLabs/RealmCoder.git
Reference: 1.0.2
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
 * tag               1.0.2      -> FETCH_HEAD
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 1.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/OakCityLabs/RealmCoder.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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-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.57s)
Computing version for https://github.com/realm/realm-cocoa.git
Computed https://github.com/realm/realm-cocoa.git at 4.4.1 (5.85s)
Fetching https://github.com/realm/realm-core
[1/252559] Fetching realm-core
Fetched https://github.com/realm/realm-core (8.29s)
Computing version for https://github.com/realm/realm-core
Computed https://github.com/realm/realm-core at 5.23.8 (8.53s)
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.git
Working copy of https://github.com/realm/realm-cocoa.git resolved at 4.4.1
Building for debugging...
[Pre-planning 1 / 157]
[Constructing 105 / 441]
[41 / 163] RealmCore
[45 / 163] RealmCore
[46 / 163] RealmCore
[49 / 163] RealmCore
[50 / 163] RealmCore
[52 / 163] RealmCore
[53 / 163] RealmCore
[56 / 163] RealmCore
[59 / 163] RealmCore
[60 / 163] RealmCore
[61 / 163] RealmCore
[62 / 163] RealmCore
[65 / 163] RealmCore
[67 / 163] RealmCore
[69 / 163] RealmCore
[73 / 163] RealmCore
[74 / 163] RealmCore
[75 / 163] RealmCore
[78 / 163] RealmCore
[79 / 163] RealmCore
[80 / 163] RealmCore
[82 / 163] RealmCore
[84 / 163] RealmCore
[85 / 163] RealmCore
[87 / 163] RealmCore
[89 / 163] RealmCore
[90 / 163] RealmCore
[91 / 163] RealmCore
[92 / 163] RealmCore
[93 / 163] RealmCore
[95 / 163] RealmCore
[98 / 163] RealmCore
[99 / 163] RealmCore
[103 / 163] Realm
[104 / 163] Realm
[105 / 163] Realm
[105 / 163] RealmCore
[106 / 163] Realm
[108 / 163] Realm
[110 / 163] Realm
[113 / 163] Realm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/object_store.cpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/object_store.hpp:45:51: error: no member named 'numeric_limits' in namespace 'std'
   45 |     static constexpr uint64_t NotVersioned = std::numeric_limits<uint64_t>::max();
      |                                                   ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/object_store.hpp:45:66: error: unexpected type name 'uint64_t': expected expression
   45 |     static constexpr uint64_t NotVersioned = std::numeric_limits<uint64_t>::max();
      |                                                                  ^
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/object_store.hpp:45:75: error: no member named 'max' in the global namespace; did you mean 'std::max'?
   45 |     static constexpr uint64_t NotVersioned = std::numeric_limits<uint64_t>::max();
      |                                                                           ^~~~~
      |                                                                           std::max
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/object_store.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/object_store.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_ref.hpp:23:
In file included from /lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/algorithm:62:
In file included from /lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_algo.h:60:
/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/algorithmfwd.h:407:5: note: 'std::max' declared here
  407 |     max(const _Tp&, const _Tp&);
      |     ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/object_store.cpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/object_store.hpp:45:75: error: no matching function for call to 'max'
   45 |     static constexpr uint64_t NotVersioned = std::numeric_limits<uint64_t>::max();
      |                                                                           ^~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/object_store.cpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/object_store.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/table_ref.hpp:23:
In file included from /lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/algorithm:62:
In file included from /lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_algo.h:60:
/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/algorithmfwd.h:407:5: note: candidate function template not viable: requires 2 arguments, but 0 were provided
  407 |     max(const _Tp&, const _Tp&);
      |     ^   ~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/object_store.cpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/object_store.hpp:45:31: error: declaration of constexpr static data member 'NotVersioned' requires an initializer
   45 |     static constexpr uint64_t NotVersioned = std::numeric_limits<uint64_t>::max();
      |                               ^
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/object_store.cpp:43:33: error: constexpr variable 'NotVersioned' must be initialized by a constant expression
   43 | constexpr uint64_t ObjectStore::NotVersioned;
      |                                 ^
      |                                              = 0
6 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Realm.build/Debug-linux-x86_64/Realm-t.build/Objects-normal/x86_64/object_store.o /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/object_store.cpp normal x86_64 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/Realm.build/Debug-linux-x86_64/Realm-t.build/Objects-normal/x86_64/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp

    /usr/bin/clang -x c++ -target x86_64-unknown-linux-gnu -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 / @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Realm.build/Debug-linux-x86_64/Realm-t.build/Objects-normal/x86_64/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Realm.build/Debug-linux-x86_64/Realm-t.build/Objects-normal/x86_64/object_store.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Realm.build/Debug-linux-x86_64/Realm-t.build/Objects-normal/x86_64/object_store.dia -c /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/object_store.cpp -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Realm.build/Debug-linux-x86_64/Realm-t.build/Objects-normal/x86_64/object_store.o
error: Build failed
BUILD FAILURE 6.4 linux