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 SwiftySensorsTrainers, reference master (93db8d), with Swift 6.0 for Linux on 31 Oct 2024 23:37:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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.0
Building package at path:  $PWD
https://github.com/codeinversion/sensors-swift-trainers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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.45s)
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.33s)
Fetching https://github.com/artman/Signals
[1/1047] Fetching signals
Fetched https://github.com/artman/Signals from cache (0.38s)
Computing version for https://github.com/artman/Signals
Computed https://github.com/artman/Signals at 6.1.0 (3.91s)
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)
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-kinetic
Working copy of https://github.com/kinetic-fit/sensors-swift-kinetic resolved at master (9335f10)
Building for debugging...
[0/9] Write sources
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_dat[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;
      |     ^
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/9] Compiling KineticSensors KineticInRide.m
[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.0 linux