Build Information
Failed to build RealmSwiftMacro, reference main (b98237), with Swift 6.2 for Android on 5 Dec 2025 08:06:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fummicc1/RealmSwiftMacro.git
Reference: main
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/fummicc1/RealmSwiftMacro
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b982377 Fix data-race issue (#7)
Cloned https://github.com/fummicc1/RealmSwiftMacro.git
Revision (git rev-parse @):
b9823777b9a41c60e853e10157fb76c9889422ed
SUCCESS checkout https://github.com/fummicc1/RealmSwiftMacro.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/fummicc1/RealmSwiftMacro.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c3fe93b3f7c9edfd66b4287786a9b8caf7805f96d7219e301e257b4e0de911bb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/realm/realm-swift
[1/73015] Fetching swift-syntax
[8033/204664] Fetching swift-syntax, realm-swift
Fetched https://github.com/apple/swift-syntax.git from cache (6.96s)
[131060/131649] Fetching realm-swift
Fetched https://github.com/realm/realm-swift from cache (14.91s)
Computing version for https://github.com/realm/realm-swift
Computed https://github.com/realm/realm-swift at 10.54.6 (17.35s)
Fetching https://github.com/realm/realm-core.git
[1/252494] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (22.51s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 602.0.0 (23.15s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 14.14.0 (0.65s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/realm/realm-swift
Working copy of https://github.com/realm/realm-swift resolved at 10.54.6
Creating working copy for https://github.com/realm/realm-core.git
Working copy of https://github.com/realm/realm-core.git resolved at 14.14.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2.1-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2.1-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.50s)
Building for debugging...
[0/307] Write sources
[1/307] Compiling Bid bid128_mul.c
[2/307] Compiling Bid bid128_quantize.c
[3/307] Compiling Bid bid128_string.c
[4/307] Compiling Bid bid128_to_int64.c
[5/307] Compiling mathlimits.cc
[6/307] Compiling Bid bid128_div.c
[7/307] Compiling Bid bid128_fma.c
[8/307] Compiling mathutil.cc
[9/307] Write swift-version--6B0C4D200E742BB1.txt
[10/307] Compiling s2geometry s2region.cc
[11/310] Compiling s2geometry s2r2rect.cc
[12/310] Compiling s2geometry s2pointregion.cc
[13/310] Compiling s2geometry s2polyline.cc
[14/310] Compiling s2geometry s2polygonbuilder.cc
[15/310] Compiling s2geometry s2polygon.cc
[16/310] Compiling s2geometry s2latlng.cc
[17/310] Compiling s2geometry s2latlngrect.cc
[18/310] Compiling s2geometry s2edgeutil.cc
[19/310] Compiling s2geometry s2loop.cc
[20/310] Compiling s2geometry s2edgeindex.cc
[21/310] Copying PrivacyInfo.xcprivacy
[23/310] Write sources
[26/310] Copying PrivacyInfo.xcprivacy
[27/310] Compiling s2geometry s2cellid.cc
[29/310] Compiling RealmSwiftMacroMacros RealmSwiftMacroMacro.swift
[30/310] Emitting module RealmSwiftMacroMacros
[31/310] Compiling RealmSwiftMacroMacros RealmModelMacro.swift
[32/311] Compiling s2geometry s2cell.cc
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.
[33/311] Compiling RealmCoreResources resource_bundle_accessor.m
[33/311] Compiling uuid.cpp
[33/311] Compiling version.cpp
[33/311] Compiling s2geometry s1angle.cc
[33/311] Compiling s2geometry s1interval.cc
[33/311] Compiling s2geometry s2.cc
[33/311] Compiling s2geometry s2cap.cc
BUILD FAILURE 6.2 android