Build Information
Failed to build RealmSwiftMacro, reference main (b98237), with Swift 6.1 for Android on 5 Dec 2025 08:07:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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.1
Building package at path: $PWD
https://github.com/fummicc1/RealmSwiftMacro.git
https://github.com/fummicc1/RealmSwiftMacro.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "602.0.0",
"upper_bound" : "603.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
},
{
"identity" : "realm-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "10.54.6",
"upper_bound" : "11.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/realm-swift"
}
],
"manifest_display_name" : "RealmSwiftMacro",
"name" : "RealmSwiftMacro",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "RealmSwiftMacro",
"targets" : [
"RealmSwiftMacro"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RealmSwiftMacroClient",
"targets" : [
"RealmSwiftMacroClient"
],
"type" : {
"executable" : null
}
},
{
"name" : "RealmSwiftMacroMacros",
"targets" : [
"RealmSwiftMacroMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "RealmSwiftMacroTests",
"module_type" : "SwiftTarget",
"name" : "RealmSwiftMacroTests",
"path" : "Tests/RealmSwiftMacroTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"RealmSwiftMacroTests.swift"
],
"target_dependencies" : [
"RealmSwiftMacroMacros"
],
"type" : "test"
},
{
"c99name" : "RealmSwiftMacroMacros",
"module_type" : "SwiftTarget",
"name" : "RealmSwiftMacroMacros",
"path" : "Sources/RealmSwiftMacroMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"RealmSwiftMacro",
"RealmSwiftMacroClient",
"RealmSwiftMacroMacros"
],
"sources" : [
"RealmModelMacro.swift",
"RealmSwiftMacroMacro.swift"
],
"type" : "macro"
},
{
"c99name" : "RealmSwiftMacroClient",
"module_type" : "SwiftTarget",
"name" : "RealmSwiftMacroClient",
"path" : "Sources/RealmSwiftMacroClient",
"product_dependencies" : [
"RealmSwift"
],
"product_memberships" : [
"RealmSwiftMacroClient"
],
"sources" : [
"SNS.swift",
"Todo.swift",
"main.swift"
],
"target_dependencies" : [
"RealmSwiftMacro"
],
"type" : "executable"
},
{
"c99name" : "RealmSwiftMacro",
"module_type" : "SwiftTarget",
"name" : "RealmSwiftMacro",
"path" : "Sources/RealmSwiftMacro",
"product_dependencies" : [
"RealmSwift"
],
"product_memberships" : [
"RealmSwiftMacro",
"RealmSwiftMacroClient"
],
"sources" : [
"RealmSwiftMacro.swift"
],
"target_dependencies" : [
"RealmSwiftMacroMacros"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.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:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/realm/realm-swift
[1/73015] Fetching swift-syntax
[8763/204664] Fetching swift-syntax, realm-swift
Fetched https://github.com/apple/swift-syntax.git from cache (7.12s)
[130945/131649] Fetching realm-swift
Fetched https://github.com/realm/realm-swift from cache (16.75s)
Computing version for https://github.com/realm/realm-swift
Computed https://github.com/realm/realm-swift at 10.54.6 (19.40s)
Fetching https://github.com/realm/realm-core.git
[1/252494] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (23.57s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 602.0.0 (24.47s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 14.14.0 (0.92s)
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
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
Building for debugging...
[0/340] Compiling Bid bid_decimal_globals.c
[0/340] Compiling Bid bid128_2_str_tables.c
[2/340] Compiling Bid bid128_quantize.c
[2/340] Compiling Bid bid128_mul.c
[4/340] Write sources
[21/340] Compiling Bid bid_from_int.c
[22/340] Compiling Bid bid128_compare.c
[23/340] Compiling Bid bid128_string.c
[24/340] Compiling mathlimits.cc
[25/340] Compiling _SwiftSyntaxCShims PlatformMutex.c
[26/340] Write swift-version-24593BA9C3E375BF.txt
[27/340] Compiling Bid bid128_add.c
[28/342] Compiling s2geometry s2region.cc
[29/342] Compiling mathutil.cc
[30/346] Compiling s2geometry s2r2rect.cc
[31/346] Compiling s2geometry s2pointregion.cc
[33/350] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[34/350] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[34/351] Compiling s2geometry s2polyline.cc
[36/351] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[37/351] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[38/352] Emitting module SwiftSyntax602
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[39/352] Compiling SwiftSyntax602 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[40/352] Emitting module SwiftSyntax601
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[41/352] Compiling SwiftSyntax601 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[43/354] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[44/354] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[48/355] Wrapping AST for SwiftSyntax510 for debugging
[49/355] Wrapping AST for SwiftSyntax509 for debugging
[50/355] Wrapping AST for SwiftSyntax602 for debugging
[51/355] Wrapping AST for SwiftSyntax601 for debugging
[52/355] Wrapping AST for SwiftSyntax600 for debugging
[53/418] Compiling s2geometry s2polygon.cc
[54/418] Compiling s2geometry s2polygonbuilder.cc
[55/418] Compiling s2geometry s2latlngrect.cc
[56/418] Compiling s2geometry s2edgeutil.cc
[57/418] Compiling s2geometry s2latlng.cc
[58/418] Compiling s2geometry s2loop.cc
[60/418] Compiling SwiftSyntax Identifier.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[61/418] Compiling SwiftSyntax MemoryLayout.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[62/418] Compiling SwiftSyntax MissingNodeInitializers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[63/418] Compiling SwiftSyntax RawSyntax.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[64/418] Compiling SwiftSyntax RawSyntaxArena.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[65/418] Compiling SwiftSyntax RawSyntaxLayoutView.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[66/418] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[67/418] Compiling SwiftSyntax RawSyntaxTokenView.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[68/418] Compiling SwiftSyntax SourceEdit.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[68/426] Compiling s2geometry s2edgeindex.cc
[69/426] Copying PrivacyInfo.xcprivacy
[69/426] Write sources
[69/426] Copying PrivacyInfo.xcprivacy
[75/426] Compiling s2geometry s2cellid.cc
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/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.
[76/426] Compiling RealmCoreResources resource_bundle_accessor.m
[76/426] Compiling s2geometry s1interval.cc
[76/426] Compiling s2geometry s1angle.cc
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[76/426] Compiling s2geometry s2cap.cc
[76/426] Compiling s2geometry s2cell.cc
[76/426] Compiling version.cpp
[76/426] Compiling s2geometry s2.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/294] Compiling s2geometry s2.cc
[1/294] Write swift-version-24593BA9C3E375BF.txt
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/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.
[2/294] Compiling RealmCoreResources resource_bundle_accessor.m
[2/294] Compiling uuid.cpp
[2/294] Compiling s2geometry s2cell.cc
[2/294] Compiling s2geometry s1interval.cc
[2/294] Compiling version.cpp
[2/294] Compiling utilities.cpp
[2/294] Compiling s2geometry s2cap.cc
[2/294] Compiling s2geometry s1angle.cc
BUILD FAILURE 6.1 android