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 5.10 for Linux on 23 Apr 2025 18:05:20 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.2
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:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/deepsealabs/fit-parser-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-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.26s)
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 (0.35s)
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/TestDive5.fit
    /host/spi-builder-workspace/Sources/FITParser/TestDive4.fit
Building for debugging...
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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/159] Compiling ObjcFIT FITAntTxMesg.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/159] Compiling ObjcFIT FITAntChannelIdMesg.mm
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITDeviceSettingsMesg.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/159] Compiling ObjcFIT FITDeviceSettingsMesg.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/159] Compiling ObjcFIT FITAadAccelFeaturesMesg.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/159] Compiling ObjcFIT FITAntRxMesg.mm
[0/159] Compiling ObjcFIT FITAccelerometerDataMesg.mm
[0/159] Write swift-version-24593BA9C3E375BF.txt
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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/159] Compiling ObjcFIT FITActivityMesg.mm
BUILD FAILURE 5.10 linux