Build Information
Failed to build RealmCoder, reference 1.0.2 (8730ac), with Swift 6.1 for Android on 27 May 2025 16:00:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OakCityLabs/RealmCoder.git
Reference: 1.0.2
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/OakCityLabs/RealmCoder
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at 8730ac1 Merge branch 'master' into documentation
Cloned https://github.com/OakCityLabs/RealmCoder.git
Revision (git rev-parse @):
8730ac1a45811fff4df2907adde5f1347a813ed4
SUCCESS checkout https://github.com/OakCityLabs/RealmCoder.git at 1.0.2
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/OakCityLabs/RealmCoder.git
https://github.com/OakCityLabs/RealmCoder.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "realm-cocoa",
"requirement" : {
"range" : [
{
"lower_bound" : "4.4.1",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/realm-cocoa.git"
}
],
"manifest_display_name" : "RealmCoder",
"name" : "RealmCoder",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
}
],
"products" : [
{
"name" : "RealmCoder",
"targets" : [
"RealmCoder"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "RealmCoderTests",
"module_type" : "SwiftTarget",
"name" : "RealmCoderTests",
"path" : "Tests/RealmCoderTests",
"sources" : [
"ModelTests/EnvelopedUserTests.swift",
"ModelTests/FarmTests.swift",
"ModelTests/MuppetTests.swift",
"ModelTests/ParkingLotTests.swift",
"ModelTests/PetFinderTests.swift",
"ModelTests/UserTests.swift",
"Models/Animal.swift",
"Models/Farm.swift",
"Models/Muppet.swift",
"Models/User/EnvelopedUser.swift",
"Models/User/User.swift",
"Models/Vehicle/Car.swift",
"Models/Vehicle/Motorcycle.swift",
"Models/Vehicle/ParkingLot.swift",
"Models/Vehicle/Vehicle.swift",
"RealmCoderTests.swift",
"Utils.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"RealmCoder"
],
"type" : "test"
},
{
"c99name" : "RealmCoder",
"module_type" : "SwiftTarget",
"name" : "RealmCoder",
"path" : "Sources/RealmCoder",
"product_dependencies" : [
"RealmSwift"
],
"product_memberships" : [
"RealmCoder"
],
"sources" : [
"RealmCodable.swift",
"RealmCoder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/realm/realm-cocoa.git
[1/131268] Fetching realm-cocoa
Fetched https://github.com/realm/realm-cocoa.git from cache (17.06s)
Computing version for https://github.com/realm/realm-cocoa.git
Computed https://github.com/realm/realm-cocoa.git at 4.4.1 (18.39s)
Fetching https://github.com/realm/realm-core
[1/252487] Fetching realm-core
Fetched https://github.com/realm/realm-core from cache (30.74s)
Computing version for https://github.com/realm/realm-core
Computed https://github.com/realm/realm-core at 5.23.8 (32.45s)
Creating working copy for https://github.com/realm/realm-cocoa.git
Working copy of https://github.com/realm/realm-cocoa.git resolved at 4.4.1
Creating working copy for https://github.com/realm/realm-core
Working copy of https://github.com/realm/realm-core resolved at 5.23.8
Building for debugging...
[0/53] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMSwiftSupport.m:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMSwiftSupport.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/53] Compiling RLMSwiftSupport.m
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMThreadSafeReference.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMThreadSafeReference_Private.hpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMThreadSafeReference.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/53] Compiling RLMThreadSafeReference.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUpdateChecker.mm:21:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMRealm.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/53] Compiling RLMUpdateChecker.mm
[2/53] Compiling collection_notifications.cpp
[2/53] Compiling external_commit_helper.cpp
[2/53] Compiling keychain_helper.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUtil.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUtil.hpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMConstants.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/53] Compiling RLMUtil.mm
[2/53] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMSwiftSupport.m:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMSwiftSupport.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/51] Compiling RLMSwiftSupport.m
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUtil.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUtil.hpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMConstants.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/51] Compiling RLMUtil.mm
[0/51] Compiling RLMRealmConfiguration.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMResults.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMResults_Private.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMResults_Private.h:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMResults.h:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMCollection.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/51] Compiling RLMResults.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUpdateChecker.mm:21:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMRealm.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/51] Compiling RLMUpdateChecker.mm
[0/51] Compiling RLMSchema.mm
[0/51] Compiling RLMRealmUtil.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMThreadSafeReference.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMThreadSafeReference_Private.hpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMThreadSafeReference.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
19 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/51] Compiling RLMThreadSafeReference.mm
BUILD FAILURE 6.1 android