Build Information
Failed to build RealmDatabase, reference master (f8752e), with Swift 6.4 for Android on 25 Sep 2026 19:43:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/realm/realm-core.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/realm/realm-core
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at f8752e1 Fix Xcode 27 Build error (#8096)
Submodule path 'src/external/sha-1': checked out 'd9ae30f34095107ece9dceb224839f0dc2f9c1c7'
Submodule path 'src/external/sha-2': checked out '0e9aebf34101c6aa89355fd76ac9cd886735dee1'
Submodule path 'test/external/catch': checked out '8ac8190e494a381072c89f5e161b92a08d98b37b'
Submodule 'src/external/sha-1' (https://github.com/clibs/sha1.git) registered for path 'src/external/sha-1'
Submodule 'src/external/sha-2' (https://github.com/kalven/sha-2.git) registered for path 'src/external/sha-2'
Submodule 'test/external/catch' (https://github.com/catchorg/Catch2.git) registered for path 'test/external/catch'
Cloning into '/host/spi-builder-workspace/src/external/sha-1'...
Cloning into '/host/spi-builder-workspace/src/external/sha-2'...
Cloning into '/host/spi-builder-workspace/test/external/catch'...
Cloned https://github.com/realm/realm-core.git
Revision (git rev-parse @):
f8752e180b7f288feadffafdef818068755efe0a
SUCCESS checkout https://github.com/realm/realm-core.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/realm/realm-core.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 596]
[Planning 595 / 596]
[Planning deferred tasks]
[Constructing 1293 / 1508]
[84 / 522] RealmDatabase_RealmCoreResources
[87 / 522] s2geometry
[91 / 522] s2geometry
[92 / 522] s2geometry
[93 / 522] s2geometry
[94 / 522] s2geometry
[95 / 522] s2geometry
[97 / 522] s2geometry
[100 / 522] SyncServer
[101 / 522] s2geometry
[102 / 522] s2geometry
[104 / 522] SyncServer
[105 / 522] s2geometry
[106 / 522] s2geometry
[108 / 522] Catch2
[1m/host/spi-builder-workspace/src/realm/sync/noinst/server/crypto_server_apple.mm:9:10: [0m[0;1;31mfatal error: [0m[1m'CommonCrypto/CommonDigest.h' file not found[0m
9 | #include <CommonCrypto/CommonDigest.h>[0m
| [0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-android-aarch64/SyncServer-t.build/Objects-normal/aarch64/crypto_server_apple.o /host/spi-builder-workspace/src/realm/sync/noinst/server/crypto_server_apple.mm normal aarch64 objective-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/RealmDatabase.build/Debug-android-aarch64/SyncServer-t.build/Objects-normal/aarch64/1327f19f0bcfdca2b0edc983f55b1f87bc6668d9b41defbef7b7987f2db570ad-common-args.resp
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/clang -x objective-c++ -target aarch64-unknown-linux-android28 -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-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -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 -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-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -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 /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot @/host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-android-aarch64/SyncServer-t.build/Objects-normal/aarch64/1327f19f0bcfdca2b0edc983f55b1f87bc6668d9b41defbef7b7987f2db570ad-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-android-aarch64/SyncServer-t.build/Objects-normal/aarch64/crypto_server_apple.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-android-aarch64/SyncServer-t.build/Objects-normal/aarch64/crypto_server_apple.dia -c /host/spi-builder-workspace/src/realm/sync/noinst/server/crypto_server_apple.mm -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealmDatabase.build/Debug-android-aarch64/SyncServer-t.build/Objects-normal/aarch64/crypto_server_apple.o
error: Build failed
BUILD FAILURE 6.4 android