The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftySensorsTrainers, reference master (93db8d), with Swift 6.2 for Linux on 18 Jun 2025 10:21:46 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/codeinversion/sensors-swift-trainers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-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.25s)
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 (1.59s)
Computing version for https://github.com/artman/Signals
Computed https://github.com/artman/Signals at 6.1.0 (3.82s)
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/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/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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
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'
   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);
      |                                                                        ^
[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'
   71 |     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'
   72 |     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'
   73 |     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'
   74 |     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'
   75 |     uint32_t updateRateDefault;
      |     ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/inRide.h:76:5: error: unknown type name 'uint32_t'
   76 |     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'
  103 |     uint16_t commandKey;
      |     ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/inRide.h:104:5: error: unknown type name 'uint8_t'
  104 |     uint8_t command;
      |     ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/inRide.h:109:5: error: unknown type name 'uint16_t'
  109 |     uint16_t commandKey;
      |     ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/inRide.h:110:5: error: unknown type name 'uint8_t'
  110 |     uint8_t command;
      |     ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/inRide.h:115:5: error: unknown type name 'uint16_t'
  115 |     uint16_t commandKey;
      |     ^
/host/spi-builder-workspace/.build/checkouts/sensors-swift-kinetic/Sources/KineticSensors/inRide.h:116:5: error: unknown type name 'uint8_t'
  116 |     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
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/9] Compiling KineticSensors KineticSDK.m
[3/9] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 linux