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 main (bee30e), with Swift 6.1 for Linux on 1 May 2025 13:13:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/deepsealabs/fit-parser-swift.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/deepsealabs/fit-parser-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         linux
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/garmin/fit-objective-c-sdk.git
[1/2330] 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.158.0 (1.31s)
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.158.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/TestDive3.fit
    /host/spi-builder-workspace/Sources/FITParser/TestDive4.fit
    /host/spi-builder-workspace/Sources/FITParser/TestDive5.fit
Building for debugging...
[0/159] 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.
[1/159] Compiling ObjcFIT FITActivityMesg.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/159] Compiling ObjcFIT FITAadAccelFeaturesMesg.mm
[1/159] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITDiveAlarmMesg.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 FITDiveAlarmMesg.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/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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/159] Compiling ObjcFIT FITAntChannelIdMesg.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/FITAccelerometerDataMesg.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 FITAccelerometerDataMesg.mm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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/158] Write sources
[0/158] Copying TestDive2.fit
[0/158] Copying TestDive.fit
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 error generated.
[4/158] Compiling ObjcFIT FITWeightScaleMesg.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/158] Compiling ObjcFIT FITWeatherAlertMesg.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/158] Compiling ObjcFIT FITWorkoutStepMesg.mm
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
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 error generated.
[4/158] Compiling ObjcFIT FITWeatherConditionsMesg.mm
[4/158] Compiling ObjcFIT FITZonesTargetMesg.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 error[4/158] Compiling ObjcFIT FITWorkoutMesg.mm
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/158] Compiling ObjcFIT FITWorkoutSessionMesg.mm
[4/158] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux