The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build FIT, reference main (bb0b74), with Swift 5.9 for Linux on 6 Aug 2024 06:59:40 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.48.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 bb0b74c Garmin FIT SDK 21.141.0
Cloned https://github.com/garmin/fit-objective-c-sdk.git
Revision (git rev-parse @):
bb0b74c948586f88184ab8f43eee7201c406edb7
SUCCESS checkout https://github.com/garmin/fit-objective-c-sdk.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/garmin/fit-objective-c-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:ab95bcf8ae8f59ab6d4725f4fd8a1a6162581ba0800402e498200829aee2a822
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITAccelerometerDataMesg.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/148] Compiling ObjcFIT FITAccelerometerDataMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMemoGlobMesg.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/148] Compiling ObjcFIT FITMemoGlobMesg.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/148] Compiling ObjcFIT FITZonesTargetMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITAviationAttitudeMesg.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/148] Compiling ObjcFIT FITAviationAttitudeMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITAntTxMesg.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/148] Compiling ObjcFIT FITAntTxMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITAntChannelIdMesg.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/148] Compiling ObjcFIT FITAntChannelIdMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITMaxMetDataMesg.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/148] Compiling ObjcFIT FITMaxMetDataMesg.mm
In file included from /host/spi-builder-workspace/Sources/ObjcFIT/FITActivityMesg.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/148] Compiling ObjcFIT FITActivityMesg.mm
BUILD FAILURE 5.9 linux