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 Realm, reference v20.0.3 (626053), with Swift 6.2 (beta) for Android on 24 Jun 2025 17:02:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/realm/realm-swift.git
Reference: v20.0.3
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-swift
 * tag               v20.0.3    -> FETCH_HEAD
HEAD is now at 6260534 Release 20.0.3
Cloned https://github.com/realm/realm-swift.git
Revision (git rev-parse @):
6260534683132eb981338c7c39fd5e69205876e6
SUCCESS checkout https://github.com/realm/realm-swift.git at v20.0.3
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/realm/realm-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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-core.git
[1/252487] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (16.64s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 20.1.0 (17.29s)
Creating working copy for https://github.com/realm/realm-core.git
Working copy of https://github.com/realm/realm-core.git resolved at 20.1.0
warning: 'spi-builder-workspace': ignoring target 'RealmTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': found 53 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveListTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernTestObjects.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CombineTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/GeospatialTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/TestCase.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PropertyTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftUnicodeTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ProjectedCollectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/Decimal128Tests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/QueryTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MapTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmPropertyTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectAccessorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveMapTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/KVOTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmCollectionTypeTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/TestValueFactory.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ThreadSafeReferenceTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ListTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MixedCollectionTest.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CodableTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/QueryTests.swift.gyb
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectSchemaInitializationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/AnyRealmValueTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernKVOTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SchemaTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftLinkTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/KeyPathTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ProjectionTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SectionedResultsTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MigrationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectCustomPropertiesTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CustomObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectiveCSupportTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CustomPersistableTestObjects.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PerformanceTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MutableSetTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftTestObjects.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectAccessorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmConfigurationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftUITests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CompactionTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveMutableSetTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectIdTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmSwiftTests-Info.plist
    /host/spi-builder-workspace/RealmSwift/Tests/CustomColumnNameTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SortDescriptorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectSchemaTests.swift
Building for debugging...
In file included from /host/spi-builder-workspace/Realm/TestUtils/RLMChildProcessEnvironment.m:19:
/host/spi-builder-workspace/Realm/TestUtils/include/RLMChildProcessEnvironment.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/228] Compiling RealmTestSupport RLMChildProcessEnvironment.m
[0/228] Compiling deep_change_checker.cpp
In file included from /host/spi-builder-workspace/Realm/TestUtils/RLMTestObjects.m:19:
In file included from /host/spi-builder-workspace/Realm/TestUtils/include/RLMTestObjects.h:19:
/host/spi-builder-workspace/include/Realm/Realm.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/228] Compiling RealmTestSupport RLMTestObjects.m
[0/228] Compiling list_notifier.cpp
[0/228] Compiling collection_notifications.cpp
In file included from /host/spi-builder-workspace/Realm/TestUtils/RLMMultiProcessTestCase.m:19:
In file included from /host/spi-builder-workspace/Realm/TestUtils/include/RLMMultiProcessTestCase.h:19:
/host/spi-builder-workspace/Realm/TestUtils/include/RLMTestCase.h:19:9: fatal error: 'XCTest/XCTest.h' file not found
   19 | #import <XCTest/XCTest.h>
      |         ^~~~~~~~~~~~~~~~~
[0/228] Compiling RealmTestSupport RLMMultiProcessTestCase.m
In file included from /host/spi-builder-workspace/Realm/TestUtils/TestUtils.mm:19:
/host/spi-builder-workspace/Realm/TestUtils/include/TestUtils.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/228] Compiling RealmTestSupport TestUtils.mm
In file included from /host/spi-builder-workspace/Realm/TestUtils/RLMTestCase.m:19:
/host/spi-builder-workspace/Realm/TestUtils/include/RLMTestCase.h:19:9: fatal error: 'XCTest/XCTest.h' file not found
   19 | #import <XCTest/XCTest.h>
      |         ^~~~~~~~~~~~~~~~~
[0/228] Compiling RealmTestSupport RLMTestCase.m
BUILD FAILURE 6.2 android