Build Information
Failed to build SwiftySensorsTrainers, reference master (93db8d
), with Swift 6.1 for Linux on 25 Apr 2025 19:01:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/codeinversion/sensors-swift-trainers.git
Reference: master
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/codeinversion/sensors-swift-trainers
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 93db8dd Removing old functions on Kinetic Smart Control
Cloned https://github.com/codeinversion/sensors-swift-trainers.git
Revision (git rev-parse @):
93db8dd000e47233435a41ba061c23541ee18bb4
SUCCESS checkout https://github.com/codeinversion/sensors-swift-trainers.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/codeinversion/sensors-swift-trainers.git
https://github.com/codeinversion/sensors-swift-trainers.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "sensors-swift",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/kinetic-fit/sensors-swift"
},
{
"identity" : "sensors-swift-kinetic",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/kinetic-fit/sensors-swift-kinetic"
}
],
"manifest_display_name" : "SwiftySensorsTrainers",
"name" : "SwiftySensorsTrainers",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "SwiftySensorsTrainers",
"targets" : [
"SwiftySensorsTrainers"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftySensorsTrainers",
"module_type" : "SwiftTarget",
"name" : "SwiftySensorsTrainers",
"path" : "Sources/SwiftySensorsTrainers",
"product_dependencies" : [
"SwiftySensors",
"KineticSensors"
],
"product_memberships" : [
"SwiftySensorsTrainers"
],
"sources" : [
"CycleOpsSerializer.swift",
"CycleOpsService.swift",
"EliteTrainerSerializer.swift",
"EliteTrainerService.swift",
"InRide2Service.swift",
"JetBlackSerializer.swift",
"JetBlackService.swift",
"KineticSerializer.swift",
"KineticService.swift",
"SmartControlService.swift",
"TacxSerializer.swift",
"TacxService.swift",
"WahooAdvancedFitnessMachineSerializer.swift",
"WahooAdvancedFitnessMachineService.swift",
"WahooTrainerCharacteristic.swift",
"WahooTrainerSerializer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/kinetic-fit/sensors-swift
[1/1068] Fetching sensors-swift
Fetched https://github.com/kinetic-fit/sensors-swift from cache (0.23s)
Fetching https://github.com/kinetic-fit/sensors-swift-kinetic
[1/26] Fetching sensors-swift-kinetic
Fetched https://github.com/kinetic-fit/sensors-swift-kinetic from cache (0.20s)
Fetching https://github.com/artman/Signals
[1/1052] Fetching signals
Fetched https://github.com/artman/Signals from cache (0.29s)
Computing version for https://github.com/artman/Signals
Computed https://github.com/artman/Signals at 6.1.0 (2.95s)
Creating working copy for https://github.com/kinetic-fit/sensors-swift-kinetic
Working copy of https://github.com/kinetic-fit/sensors-swift-kinetic resolved at master (9335f10)
Creating working copy for https://github.com/artman/Signals
Working copy of https://github.com/artman/Signals resolved at 6.1.0
Creating working copy for https://github.com/kinetic-fit/sensors-swift
Working copy of https://github.com/kinetic-fit/sensors-swift resolved at master (334b9a4)
Building for debugging...
[0/9] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.c:7:
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:38:5: error: unknown type name 'uint16_t'
38 | uint16_t power;
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:44:5: error: unknown type name 'uint8_t'
44 | uint8_t cadenceRPM;
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:47:5: error: unknown type name 'uint16_t'
47 | uint16_t targetResistance;
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:59:59: error: unknown type name 'uint8_t'
59 | smart_control_power_data smart_control_process_power_data(uint8_t *data, size_t size);
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:79:5: error: unknown type name 'uint8_t'
79 | uint8_t updateRate;
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:94:5: error: unknown type name 'uint32_t'
94 | uint32_t tickRate;
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:97:5: error: unknown type name 'uint16_t'
97 | uint16_t systemStatus;
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:100:5: error: unknown type name 'uint8_t'
100 | uint8_t firmwareUpdateState;
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:103:5: error: unknown type name 'uint8_t'
103 | uint8_t brakeStrength;
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:106:5: error: unknown type name 'uint8_t'
106 | uint8_t brakeOffset;
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:109:5: error: unknown type name 'uint8_t'
109 | uint8_t noiseFilter;
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:121:61: error: unknown type name 'uint8_t'
121 | smart_control_config_data smart_control_process_config_data(uint8_t *data, size_t size);
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:127:5: error: unknown type name 'uint8_t'
127 | uint8_t bytes[5];
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:131:5: error: unknown type name 'uint8_t'
131 | uint8_t bytes[4];
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:135:5: error: unknown type name 'uint8_t'
135 | uint8_t bytes[5];
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:139:5: error: unknown type name 'uint8_t'
139 | uint8_t bytes[13];
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:143:5: error: unknown type name 'uint8_t'
143 | uint8_t bytes[4];
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:154:68: error: unknown type name 'uint16_t'
154 | smart_control_set_mode_erg_data smart_control_set_mode_erg_command(uint16_t targetWatts);
| ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:170:72: error: unknown type name 'uint8_t'
170 | smart_control_set_mode_fluid_data smart_control_set_mode_fluid_command(uint8_t level);
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[3/9] Compiling KineticSensors SmartControl.c
In file included from /host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/KineticInRide.m:5:
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/include/KineticInRide.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
5 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/9] Compiling KineticSensors KineticInRide.m
In file included from /host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/inRide.c:7:
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/inRide.h:71:5: error: unknown type name 'uint32_t'
71 | uint32_t calibrationReady; // ignore and be careful when changing this unless you understand what the values are.
| ^
[3/9] Compiling KineticSensors inRide.c
In file included from /host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/KineticControl.m:5:
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/include/KineticControl.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
5 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/9] Compiling KineticSensors KineticControl.m
In file included from /host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/KineticSDK.m:5:
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/include/KineticSDK.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
5 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/9] Compiling KineticSensors KineticSDK.m
[3/9] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/KineticSDK.m:5:
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/include/KineticSDK.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
5 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/6] Compiling KineticSensors KineticSDK.m
In file included from /host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/KineticControl.m:5:
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/include/KineticControl.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
5 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/KineticInRide.m:5:
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/include/KineticInRide.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
5 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/6] Compiling KineticSensors KineticInRide.m
[0/6] Compiling KineticSensors KineticControl.m
[0/6] Compiling KineticSensors SmartControl.c
[0/6] Compiling KineticSensors inRide.c
[0/6] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux