Build Information
Failed to build SwiftySensorsTrainers with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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: 5.10
Building package at path: $workDir
https://github.com/codeinversion/sensors-swift-trainers.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/kinetic-fit/sensors-swift
[1/1068] Fetching sensors-swift
Fetched https://github.com/kinetic-fit/sensors-swift from cache (0.62s)
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.30s)
Fetching https://github.com/artman/Signals
[1/1047] Fetching signals
Fetched https://github.com/artman/Signals from cache (0.28s)
Computing version for https://github.com/artman/Signals
Computed https://github.com/artman/Signals at 6.1.0 (1.55s)
Creating working copy for https://github.com/kinetic-fit/sensors-swift
Working copy of https://github.com/kinetic-fit/sensors-swift resolved at master (4525ec6)
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
Building for debugging...
[0/9] Write sources
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
#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/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
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/9] Compiling KineticSensors KineticControl.m
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'
uint16_t power;
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:44:5: error: unknown type name 'uint8_t'
uint8_t cadenceRPM;
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:47:5: error: unknown type name 'uint16_t'
uint16_t targetResistance;
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:59:59: error: unknown type name 'uint8_t'
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'
uint8_t updateRate;
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:94:5: error: unknown type name 'uint32_t'
uint32_t tickRate;
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:97:5: error: unknown type name 'uint16_t'
uint16_t systemStatus;
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:100:5: error: unknown type name 'uint8_t'
uint8_t firmwareUpdateState;
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:103:5: error: unknown type name 'uint8_t'
uint8_t brakeStrength;
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:106:5: error: unknown type name 'uint8_t'
uint8_t brakeOffset;
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:109:5: error: unknown type name 'uint8_t'
uint8_t noiseFilter;
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/SmartControl.h:121:61: error: unknown type name 'uint8_t'
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'
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'
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'
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'
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'
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'
smart_control_set_mode_erg_data smart_control_set_mode_erg_command(uint16_t targetWatts);
^
[3/9] Compiling KineticSensors SmartControl.c
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'
uint32_t calibrationReady; // ignore and be careful when changing this unless you understand what the values are.
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/inRide.h:72:5: error: unknown type name 'uint32_t'
uint32_t calibrationStart; // ignore and be careful when changing this unless you understand what the values are.
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/inRide.h:73:5: error: unknown type name 'uint32_t'
uint32_t calibrationEnd; // ignore and be careful when changing this unless you understand what the values are.
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/inRide.h:74:5: error: unknown type name 'uint32_t'
uint32_t calibrationDebounce; // ignore and be careful when changing this unless you understand what the values are.
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/inRide.h:75:5: error: unknown type name 'uint32_t'
uint32_t updateRateDefault;
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/inRide.h:76:5: error: unknown type name 'uint32_t'
uint32_t updateRateCalibration; // 8hz is a good value here
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/inRide.h:103:5: error: unknown type name 'uint16_t'
uint16_t commandKey;
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/inRide.h:104:5: error: unknown type name 'uint8_t'
uint8_t command;
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/inRide.h:109:5: error: unknown type name 'uint16_t'
uint16_t commandKey;
^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/inRide.h:110:5: error: unknown type name 'uint8_t'
uint8_t command;
^
[3/9] Compiling KineticSensors inRide.c
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
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/9] Compiling KineticSensors KineticSDK.m
[3/9] Write swift-version-24593BA9C3E375BF.txt
[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
#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/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
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
[0/6] Compiling KineticSensors KineticInRide.m
[0/6] Compiling KineticSensors SmartControl.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
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
[0/6] Compiling KineticSensors KineticControl.m
[0/6] Compiling KineticSensors inRide.c
[0/6] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux