The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RealmDatabase, reference v20.1.5 (b4192c), with Swift 6.2 for Android on 4 Jul 2026 00:47:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/realm/realm-core.git
Reference: v20.1.5
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
 * tag               v20.1.5    -> FETCH_HEAD
HEAD is now at b4192c4 Add support for Xcode 27 (#8097)
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 @):
b4192c46305570577c4d08df790fddec5ab3aa04
SUCCESS checkout https://github.com/realm/realm-core.git at v20.1.5
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/realm/realm-core.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:3f0849bce0d177c252f57ff0847fffe59d625aee973279c71a52a43c740d3c90
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Building for debugging...
[0/346] Compiling Bid bid128_mul.c
/host/spi-builder-workspace/src/external/IntelRDFPMathLib20U2/LIBRARY/src/bid128_2_str_tables.c:41:16: warning: unknown attribute 'nonstring' ignored [-Wunknown-attributes]
   41 | __attribute__((nonstring))
      |                ^~~~~~~~~
1 warning generated.
[1/346] Compiling Bid bid128_2_str_tables.c
[2/346] Compiling Bid bid128_quantize.c
[3/346] Compiling Bid bid128_compare.c
[4/346] Compiling Bid bid128_add.c
[5/346] Compiling mathlimits.cc
[6/346] Compiling Bid bid128_div.c
[7/346] Compiling Bid bid128_fma.c
[8/346] Compiling s2geometry s2r2rect.cc
[9/346] Compiling catch_benchmark_function.cpp
[10/346] Compiling s2geometry s2region.cc
[11/346] Write swift-version--11D90AFD9DD3AB2.txt
[12/346] Compiling mathutil.cc
[13/346] Compiling s2geometry s2polyline.cc
[14/346] Compiling s2geometry s2pointregion.cc
[15/346] Compiling s2geometry s2polygonbuilder.cc
[16/346] Compiling s2geometry s2polygon.cc
[17/346] Compiling s2geometry s2latlng.cc
[18/346] Compiling s2geometry s2edgeutil.cc
[19/346] Compiling s2geometry s2latlngrect.cc
[20/346] Compiling s2geometry s2loop.cc
[21/346] Compiling s2geometry s2cellid.cc
[22/346] Compiling s2geometry s2edgeindex.cc
[23/346] Compiling s2geometry s2cell.cc
[24/346] Compiling s2geometry s2cap.cc
[25/346] Write sources
[26/346] Copying PrivacyInfo.xcprivacy
[27/346] Copying catch_user_config.hpp
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/RealmCoreResources.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[28/346] Compiling RealmCoreResources resource_bundle_accessor.m
[28/346] Compiling s2geometry s1interval.cc
[28/346] Compiling s2geometry s2.cc
[28/346] Compiling RealmQueryParser driver.cpp
[28/346] Compiling query_bison.cpp
[28/346] Compiling query_flex.cpp
[28/346] Compiling RealmQueryParser keypath_mapping.cpp
[28/346] Compiling s2geometry s1angle.cc
BUILD FAILURE 6.2 android