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 FITParser, reference v1.3.0 (bee30e), with Swift 6.1 for Android on 30 May 2025 21:49:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/deepsealabs/fit-parser-swift.git
Reference: v1.3.0
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/deepsealabs/fit-parser-swift
 * tag               v1.3.0     -> FETCH_HEAD
HEAD is now at bee30e1 fix: max depth parsing
Cloned https://github.com/deepsealabs/fit-parser-swift.git
Revision (git rev-parse @):
bee30e1a8ea0ac63e59e5c60b201f844ebb8aa3d
SUCCESS checkout https://github.com/deepsealabs/fit-parser-swift.git at v1.3.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/deepsealabs/fit-parser-swift.git
https://github.com/deepsealabs/fit-parser-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "fit-objective-c-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "21.141.0",
            "upper_bound" : "22.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/garmin/fit-objective-c-sdk.git"
    }
  ],
  "manifest_display_name" : "FITParser",
  "name" : "FITParser",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "FITParser",
      "targets" : [
        "FITParser"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FITParserCLI",
      "targets" : [
        "FITParserCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FITParserTests",
      "module_type" : "SwiftTarget",
      "name" : "FITParserTests",
      "path" : "Tests/FITParserTests",
      "sources" : [
        "FITParserTests.swift"
      ],
      "target_dependencies" : [
        "FITParser"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FITParserCLI",
      "module_type" : "SwiftTarget",
      "name" : "FITParserCLI",
      "path" : "Sources/FITParserCLI",
      "product_memberships" : [
        "FITParserCLI"
      ],
      "sources" : [
        "FITParserCLI.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "FITParser"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "FITParser",
      "module_type" : "SwiftTarget",
      "name" : "FITParser",
      "path" : "Sources/FITParser",
      "product_dependencies" : [
        "FIT"
      ],
      "product_memberships" : [
        "FITParser",
        "FITParserCLI"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/FITParser/TestDive.fit",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/FITParser/TestDive2.fit",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ContentView.swift",
        "FITParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/garmin/fit-objective-c-sdk.git
[1/2658] Fetching fit-objective-c-sdk
Fetched https://github.com/garmin/fit-objective-c-sdk.git from cache (0.36s)
Computing version for https://github.com/garmin/fit-objective-c-sdk.git
Computed https://github.com/garmin/fit-objective-c-sdk.git at 21.171.0 (0.87s)
Creating working copy for https://github.com/garmin/fit-objective-c-sdk.git
Working copy of https://github.com/garmin/fit-objective-c-sdk.git resolved at 21.171.0
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/FITParser/TestDive4.fit
    /host/spi-builder-workspace/Sources/FITParser/TestDive5.fit
    /host/spi-builder-workspace/Sources/FITParser/TestDive3.fit
Building for debugging...
[0/160] Write swift-version-24593BA9C3E375BF.txt
[0/160] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITActivityMesg.mm:13:
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITAntTxMesg.mm:13:
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/160] Compiling ObjcFIT FITActivityMesg.mm
[2/160] Compiling ObjcFIT FITAntTxMesg.mm
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITAadAccelFeaturesMesg.mm:13:
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/160] Compiling ObjcFIT FITAadAccelFeaturesMesg.mm
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITZonesTargetMesg.mm:13:
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/160] Compiling ObjcFIT FITZonesTargetMesg.mm
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITAntRxMesg.mm:13:
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/160] Compiling ObjcFIT FITAntRxMesg.mm
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITAntChannelIdMesg.mm:13:
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/160] Compiling ObjcFIT FITAntChannelIdMesg.mm
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITAviationAttitudeMesg.mm:13:
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/160] Compiling ObjcFIT FITAviationAttitudeMesg.mm
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITHsaStressDataMesg.mm:13:
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/160] Compiling ObjcFIT FITHsaStressDataMesg.mm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/FITParser/TestDive3.fit
    /host/spi-builder-workspace/Sources/FITParser/TestDive4.fit
    /host/spi-builder-workspace/Sources/FITParser/TestDive5.fit
[0/1] Planning build
Building for debugging...
[0/159] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITWorkoutSessionMesg.mm:13:
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/159] Compiling ObjcFIT FITWorkoutSessionMesg.mm
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITWatchfaceSettingsMesg.mm:13:
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/159] Compiling ObjcFIT FITWatchfaceSettingsMesg.mm
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITWorkoutStepMesg.mm:13:
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/159] Compiling ObjcFIT FITWorkoutStepMesg.mm
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITZonesTargetMesg.mm:13:
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/159] Compiling ObjcFIT FITZonesTargetMesg.mm
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITWeatherAlertMesg.mm:13:
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/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/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITWeatherConditionsMesg.mm:13:
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/159] Compiling ObjcFIT FITWeatherConditionsMesg.mm
[1/159] Compiling ObjcFIT FITWeatherAlertMesg.mm
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITWorkoutMesg.mm:13:
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/159] Compiling ObjcFIT FITWorkoutMesg.mm
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITWeightScaleMesg.mm:13:
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITMessage+Internal.h:13:
/host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/include/FITMessage.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/159] Compiling ObjcFIT FITWeightScaleMesg.mm
BUILD FAILURE 6.1 android