The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FIT, reference main (5d24f3), with Swift 6.1 for Android on 28 Apr 2026 17:43:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/garmin/fit-objective-c-sdk.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/garmin/fit-objective-c-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5d24f32 Garmin FIT SDK 21.202.0
Cloned https://github.com/garmin/fit-objective-c-sdk.git
Revision (git rev-parse @):
5d24f32be43dfdd6fd748fe3cdd96f20ad45bb7c
SUCCESS checkout https://github.com/garmin/fit-objective-c-sdk.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/garmin/fit-objective-c-sdk.git
https://github.com/garmin/fit-objective-c-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Building for debugging...
[0/154] Write sources
[1/154] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITZonesTargetMesg.mm:13:
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/154] Compiling ObjcFIT FITZonesTargetMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITWatchfaceSettingsMesg.mm:13:
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITWeightScaleMesg.mm:13:
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/154] Compiling ObjcFIT FITWatchfaceSettingsMesg.mm
[2/154] Compiling ObjcFIT FITWeightScaleMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITWorkoutStepMesg.mm:13:
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/154] Compiling ObjcFIT FITWorkoutStepMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITWorkoutSessionMesg.mm:13:
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/154] Compiling ObjcFIT FITWorkoutSessionMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITWeatherAlertMesg.mm:13:
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/154] Compiling ObjcFIT FITWeatherAlertMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITWorkoutMesg.mm:13:
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/154] Compiling ObjcFIT FITWorkoutMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITWeatherConditionsMesg.mm:13:
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/154] Compiling ObjcFIT FITWeatherConditionsMesg.mm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITWorkoutMesg.mm:13:
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/153] Compiling ObjcFIT FITWorkoutMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITWatchfaceSettingsMesg.mm:13:
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/153] Compiling ObjcFIT FITWatchfaceSettingsMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITWeatherAlertMesg.mm:13:
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/153] Compiling ObjcFIT FITWeatherAlertMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITWeatherConditionsMesg.mm:13:
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/153] Compiling ObjcFIT FITWeatherConditionsMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITWorkoutStepMesg.mm:13:
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/153] Compiling ObjcFIT FITWorkoutStepMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITWeightScaleMesg.mm:13:
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/153] Compiling ObjcFIT FITWeightScaleMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITWorkoutSessionMesg.mm:13:
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/153] Compiling ObjcFIT FITWorkoutSessionMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITZonesTargetMesg.mm:13:
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/153] Compiling ObjcFIT FITZonesTargetMesg.mm
BUILD FAILURE 6.1 android