The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Realm, reference community (a40ced), with Swift 6.3 for Android on 30 Sep 2026 11:26:43 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/realm/realm-swift.git
Reference: community
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
 * branch            community  -> FETCH_HEAD
 * [new branch]      community  -> origin/community
HEAD is now at a40ced7 Release 20.0.6
Cloned https://github.com/realm/realm-swift.git
Revision (git rev-parse @):
a40ced79265b644a896e393b0f3a37e7916e7de3
SUCCESS checkout https://github.com/realm/realm-swift.git at community
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/realm/realm-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:8ca9e1e6d70fd53f5b05e4f64d92569d697563f7f457a1485802bc9eb2cd1382
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:37:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
 35 | ]
 36 |
 37 | let package = Package(
    |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
    |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 38 |     name: "Realm",
 39 |     platforms: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/realm/realm-core.git
[1/252559] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (10.13s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 20.1.5 (11.09s)
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.5
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/SwiftLinkTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CustomColumnNameTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CustomPersistableTestObjects.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MapTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveMutableSetTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/QueryTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectAccessorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveMapTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmConfigurationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmPropertyTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ThreadSafeReferenceTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/TestValueFactory.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmSwiftTests-Info.plist
    /host/spi-builder-workspace/RealmSwift/Tests/CodableTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernKVOTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CombineTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/AnyRealmValueTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectiveCSupportTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftUITests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ListTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectCustomPropertiesTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PerformanceTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectAccessorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/KeyPathTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/TestCase.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CompactionTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MixedCollectionTest.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ProjectionTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ProjectedCollectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PrimitiveListTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftUnicodeTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MutableSetTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/RealmCollectionTypeTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/PropertyTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SortDescriptorTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectIdTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/GeospatialTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernTestObjects.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SwiftTestObjects.swift
    /host/spi-builder-workspace/RealmSwift/Tests/Decimal128Tests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ModernObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/MigrationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectSchemaInitializationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/CustomObjectCreationTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/KVOTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/ObjectSchemaTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/QueryTests.swift.gyb
    /host/spi-builder-workspace/RealmSwift/Tests/SchemaTests.swift
    /host/spi-builder-workspace/RealmSwift/Tests/SectionedResultsTests.swift
Building for debugging...
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>
      |         ^~~~~~~~~~~~~~~~~
1 error generated.
[0/228] Compiling RealmTestSupport RLMMultiProcessTestCase.m
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
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
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 platform_info.cpp
[0/228] Compiling array_binary.cpp
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
[0/228] Compiling serializer.cpp
BUILD FAILURE 6.3 android