Build Information
Failed to build FITParser, reference main (bee30e
), with Swift 6.1 for Wasm on 30 May 2025 21:50:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 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: 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: wasm
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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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.73s)
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 (2.78s)
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/TestDive5.fit
/host/spi-builder-workspace/Sources/FITParser/TestDive3.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/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 error generated.
[0/160] Compiling ObjcFIT FITAntChannelIdMesg.mm
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/160] Compiling ObjcFIT FITAntTxMesg.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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/160] Compiling ObjcFIT FITAccelerometerDataMesg.mm
[0/160] Write swift-version-24593BA9C3E375BF.txt
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/160] Compiling ObjcFIT FITAntRxMesg.mm
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/160] Compiling ObjcFIT FITActivityMesg.mm
In file included from /host/spi-builder-workspace/.build/checkouts/fit-objective-c-sdk/Sources/ObjcFIT/FITMaxMetDataMesg.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/FITMemoGlobMesg.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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/160] Compiling ObjcFIT FITMaxMetDataMesg.mm
[0/160] Compiling ObjcFIT FITMemoGlobMesg.mm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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/160] Write sources
[0/160] Copying TestDive.fit
[0/160] Copying TestDive2.fit
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.
[5/160] Compiling ObjcFIT FITZonesTargetMesg.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 error generated.
[5/160] 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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/160] Compiling ObjcFIT FITWeatherAlertMesg.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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/160] Compiling ObjcFIT FITWeatherConditionsMesg.mm
[5/160] 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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/160] Compiling ObjcFIT FITWorkoutSessionMesg.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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/160] Compiling ObjcFIT FITWorkoutMesg.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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/160] Compiling ObjcFIT FITWorkoutStepMesg.mm
BUILD FAILURE 6.1 wasm