The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build RealmSwiftMacro, reference main (ad8252), with Swift 6.2 (beta) for Android on 20 Jun 2025 13:34:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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 ad82526 fix: remove unused param (#6)
Cloned https://github.com/fummicc1/RealmSwiftMacro.git
Revision (git rev-parse @):
ad82526cc08287d9b48895aef76fa7027621c464
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-3":/host -w "$PWD" 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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/realm/realm-swift
Fetching https://github.com/apple/swift-syntax.git
[1/70906] Fetching swift-syntax
[12765/202265] Fetching swift-syntax, realm-swift
Fetched https://github.com/apple/swift-syntax.git from cache (10.76s)
[127491/131359] Fetching realm-swift
Fetched https://github.com/realm/realm-swift from cache (23.80s)
Computing version for https://github.com/realm/realm-swift
Computed https://github.com/realm/realm-swift at 10.54.5 (26.76s)
Fetching https://github.com/realm/realm-core.git
[1/252487] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (28.90s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 14.14.0 (29.92s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.72s)
Creating working copy for https://github.com/realm/realm-swift
Working copy of https://github.com/realm/realm-swift resolved at 10.54.5
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
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Building for debugging...
[0/331] Compiling Bid bid128_mul.c
[1/331] Compiling Bid bid128_2_str_tables.c
[2/331] Write sources
[15/331] Write swift-version-8C5A4AE7A8CE2BA.txt
[16/331] Compiling Bid bid128.c
[17/331] Compiling Bid bid64_to_bid128.c
[18/331] Compiling Bid bid128_compare.c
[19/331] Compiling Bid bid128_add.c
[20/333] Compiling Bid bid128_fma.c
[21/333] Compiling mathlimits.cc
[23/333] Emitting module SwiftSyntax509
[23/333] Compiling Bid bid128_div.c
[24/333] Compiling mathutil.cc
[25/333] Compiling s2geometry s2region.cc
[26/333] Compiling s2geometry s2r2rect.cc
[27/333] Compiling s2geometry s2pointregion.cc
[28/333] Compiling s2geometry s2polyline.cc
[30/333] Compiling SwiftSyntax509 Empty.swift
[31/334] Compiling s2geometry s2polygonbuilder.cc
[32/379] Compiling s2geometry s2latlng.cc
[33/379] Wrapping AST for SwiftSyntax509 for debugging
[34/379] Compiling s2geometry s2latlngrect.cc
[35/379] Compiling s2geometry s2polygon.cc
[36/379] Compiling s2geometry s2loop.cc
[37/379] Compiling s2geometry s2edgeutil.cc
[39/379] Compiling SwiftSyntax AbsolutePosition.swift
[40/379] Compiling SwiftSyntax Assert.swift
[41/379] Compiling SwiftSyntax BumpPtrAllocator.swift
[42/379] Compiling SwiftSyntax CommonAncestor.swift
[43/379] Compiling SwiftSyntax Convenience.swift
[44/379] Compiling SwiftSyntax MemoryLayout.swift
[45/379] Compiling SwiftSyntax MissingNodeInitializers.swift
[45/385] Compiling s2geometry s2edgeindex.cc
[45/385] Copying PrivacyInfo.xcprivacy
[45/385] Write sources
[45/385] Copying PrivacyInfo.xcprivacy
[52/385] Compiling s2geometry s2cellid.cc
[53/385] Compiling s2geometry s2cap.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.
[54/385] Compiling RealmCoreResources resource_bundle_accessor.m
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[54/385] Compiling RealmCoreResources dummy.mm
[54/385] Compiling version.cpp
[54/385] Compiling s2geometry s2cell.cc
[54/385] Compiling s2geometry s1angle.cc
[54/385] Compiling s2geometry s1interval.cc
[54/385] Compiling s2geometry s2.cc
BUILD FAILURE 6.2 android