This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/codeinversion/sensors-swift-trainers.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/codeinversion/sensors-swift-trainers.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-6F35C1178C84523A.txt
[4/14] Compiling KineticSensors inRide.c
[5/14] Compiling KineticSensors SmartControl.c
[6/14] Compiling KineticSensors KineticSDK.m
[7/14] Compiling KineticSensors KineticControl.m
[8/14] Compiling KineticSensors KineticInRide.m
[10/14] Compiling Signals UIControl+Signals.swift
[11/14] Compiling Signals UIBarButtonItem+Signals.swift
[12/14] Compiling Signals AssociatedObject.swift
[13/14] Emitting module Signals
[14/14] Compiling Signals Signal.swift
[15/31] Compiling SwiftySensors Operators.swift
[16/31] Compiling SwiftySensors RSSINormalizer.swift
[17/32] Compiling SwiftySensors Service.swift
[18/32] Compiling SwiftySensors SensorManager.swift
[19/32] Compiling SwiftySensors Sensor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/Sensor.swift:278:53: error: value of optional type 'CBService?' must be unwrapped to refer to member 'uuid' of wrapped base type 'CBService'
276 |     /// :nodoc:
277 |     public func peripheral(_ peripheral: CBPeripheral, didUpdateValueFor characteristic: CBCharacteristic, error: Error?) {
278 |         guard let service = services[characteristic.service.uuid.uuidString] else { return }
    |                                                     |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'uuid' of wrapped base type 'CBService'
    |                                                     |- note: chain the optional using '?' to access member 'uuid' only for non-'nil' base values
    |                                                     `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
279 |         guard let char = service.characteristics[characteristic.uuid.uuidString] else { return }
280 |         if char.cbCharacteristic !== characteristic {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/Sensor.swift:289:53: error: value of optional type 'CBService?' must be unwrapped to refer to member 'uuid' of wrapped base type 'CBService'
287 |     /// :nodoc:
288 |     public func peripheral(_ peripheral: CBPeripheral, didWriteValueFor characteristic: CBCharacteristic, error: Error?) {
289 |         guard let service = services[characteristic.service.uuid.uuidString] else { return }
    |                                                     |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'uuid' of wrapped base type 'CBService'
    |                                                     |- note: chain the optional using '?' to access member 'uuid' only for non-'nil' base values
    |                                                     `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
290 |         guard let char = service.characteristics[characteristic.uuid.uuidString] else { return }
291 |         if char.cbCharacteristic !== characteristic {
[20/32] Compiling SwiftySensors HeartRateSerializer.swift
[21/32] Compiling SwiftySensors HeartRateService.swift
[22/32] Emitting module SwiftySensors
[23/32] Compiling SwiftySensors CyclingPowerSerializer.swift
[24/32] Compiling SwiftySensors CyclingPowerService.swift
[25/32] Compiling SwiftySensors CyclingSpeedCadenceService.swift
[26/32] Compiling SwiftySensors DeviceInformationService.swift
[27/32] Compiling SwiftySensors CyclingSerializer.swift
[28/32] Compiling SwiftySensors CyclingSpeedCadenceSerializer.swift
[29/32] Compiling SwiftySensors FitnessMachineSerializer.swift
[30/32] Compiling SwiftySensors FitnessMachineService.swift
[31/32] Compiling SwiftySensors Characteristic.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:20:9: error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
18 |      */
19 |     public func notify(_ enabled: Bool) {
20 |         service.peripheral.setNotifyValue(enabled, for: self)
   |         |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
   |         `- note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
21 |     }
22 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:20:17: error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'setNotifyValue' of wrapped base type 'CBPeripheral'
18 |      */
19 |     public func notify(_ enabled: Bool) {
20 |         service.peripheral.setNotifyValue(enabled, for: self)
   |                 |- error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'setNotifyValue' of wrapped base type 'CBPeripheral'
   |                 |- note: chain the optional using '?' to access member 'setNotifyValue' only for non-'nil' base values
   |                 `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
21 |     }
22 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:25:9: error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
23 |     /// Read the value of the Characteristic
24 |     public func read() {
25 |         service.peripheral.readValue(for: self)
   |         |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
   |         `- note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
26 |     }
27 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:25:17: error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'readValue' of wrapped base type 'CBPeripheral'
23 |     /// Read the value of the Characteristic
24 |     public func read() {
25 |         service.peripheral.readValue(for: self)
   |                 |- error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'readValue' of wrapped base type 'CBPeripheral'
   |                 |- note: chain the optional using '?' to access member 'readValue' only for non-'nil' base values
   |                 `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
26 |     }
27 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:37:12: error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
35 |      */
36 |     @discardableResult public func write(_ data: Data, writeType: CBCharacteristicWriteType) -> Bool {
37 |         if service.peripheral.state == .connected {
   |            |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
   |            `- note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
38 |             service.peripheral.writeValue(data, for: self, type: writeType)
39 |             return true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:37:20: error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'state' of wrapped base type 'CBPeripheral'
35 |      */
36 |     @discardableResult public func write(_ data: Data, writeType: CBCharacteristicWriteType) -> Bool {
37 |         if service.peripheral.state == .connected {
   |                    |- error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'state' of wrapped base type 'CBPeripheral'
   |                    |- note: chain the optional using '?' to access member 'state' only for non-'nil' base values
   |                    `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
38 |             service.peripheral.writeValue(data, for: self, type: writeType)
39 |             return true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:38:13: error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
36 |     @discardableResult public func write(_ data: Data, writeType: CBCharacteristicWriteType) -> Bool {
37 |         if service.peripheral.state == .connected {
38 |             service.peripheral.writeValue(data, for: self, type: writeType)
   |             |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
   |             `- note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
39 |             return true
40 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:38:21: error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'writeValue' of wrapped base type 'CBPeripheral'
36 |     @discardableResult public func write(_ data: Data, writeType: CBCharacteristicWriteType) -> Bool {
37 |         if service.peripheral.state == .connected {
38 |             service.peripheral.writeValue(data, for: self, type: writeType)
   |                     |- error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'writeValue' of wrapped base type 'CBPeripheral'
   |                     |- note: chain the optional using '?' to access member 'writeValue' only for non-'nil' base values
   |                     `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
39 |             return true
40 |         }
[32/32] Compiling SwiftySensors CoreBluetooth.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:20:9: error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
18 |      */
19 |     public func notify(_ enabled: Bool) {
20 |         service.peripheral.setNotifyValue(enabled, for: self)
   |         |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
   |         `- note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
21 |     }
22 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:20:17: error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'setNotifyValue' of wrapped base type 'CBPeripheral'
18 |      */
19 |     public func notify(_ enabled: Bool) {
20 |         service.peripheral.setNotifyValue(enabled, for: self)
   |                 |- error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'setNotifyValue' of wrapped base type 'CBPeripheral'
   |                 |- note: chain the optional using '?' to access member 'setNotifyValue' only for non-'nil' base values
   |                 `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
21 |     }
22 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:25:9: error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
23 |     /// Read the value of the Characteristic
24 |     public func read() {
25 |         service.peripheral.readValue(for: self)
   |         |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
   |         `- note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
26 |     }
27 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:25:17: error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'readValue' of wrapped base type 'CBPeripheral'
23 |     /// Read the value of the Characteristic
24 |     public func read() {
25 |         service.peripheral.readValue(for: self)
   |                 |- error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'readValue' of wrapped base type 'CBPeripheral'
   |                 |- note: chain the optional using '?' to access member 'readValue' only for non-'nil' base values
   |                 `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
26 |     }
27 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:37:12: error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
35 |      */
36 |     @discardableResult public func write(_ data: Data, writeType: CBCharacteristicWriteType) -> Bool {
37 |         if service.peripheral.state == .connected {
   |            |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
   |            `- note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
38 |             service.peripheral.writeValue(data, for: self, type: writeType)
39 |             return true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:37:20: error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'state' of wrapped base type 'CBPeripheral'
35 |      */
36 |     @discardableResult public func write(_ data: Data, writeType: CBCharacteristicWriteType) -> Bool {
37 |         if service.peripheral.state == .connected {
   |                    |- error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'state' of wrapped base type 'CBPeripheral'
   |                    |- note: chain the optional using '?' to access member 'state' only for non-'nil' base values
   |                    `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
38 |             service.peripheral.writeValue(data, for: self, type: writeType)
39 |             return true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:38:13: error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
36 |     @discardableResult public func write(_ data: Data, writeType: CBCharacteristicWriteType) -> Bool {
37 |         if service.peripheral.state == .connected {
38 |             service.peripheral.writeValue(data, for: self, type: writeType)
   |             |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
   |             `- note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
39 |             return true
40 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:38:21: error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'writeValue' of wrapped base type 'CBPeripheral'
36 |     @discardableResult public func write(_ data: Data, writeType: CBCharacteristicWriteType) -> Bool {
37 |         if service.peripheral.state == .connected {
38 |             service.peripheral.writeValue(data, for: self, type: writeType)
   |                     |- error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'writeValue' of wrapped base type 'CBPeripheral'
   |                     |- note: chain the optional using '?' to access member 'writeValue' only for non-'nil' base values
   |                     `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
39 |             return true
40 |         }
Fetching https://github.com/kinetic-fit/sensors-swift
[1/1068] Fetching sensors-swift
Fetched https://github.com/kinetic-fit/sensors-swift from cache (0.98s)
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.75s)
Fetching https://github.com/artman/Signals
[1/1047] Fetching signals
Fetched https://github.com/artman/Signals from cache (0.90s)
Computing version for https://github.com/artman/Signals
Computed https://github.com/artman/Signals at 6.1.0 (2.74s)
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/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)
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.