The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftySensorsTrainers with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/codeinversion/sensors-swift-trainers.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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
Fetching https://github.com/kinetic-fit/sensors-swift from cache
Fetched https://github.com/kinetic-fit/sensors-swift (0.28s)
Fetching https://github.com/kinetic-fit/sensors-swift-kinetic from cache
Fetched https://github.com/kinetic-fit/sensors-swift-kinetic (0.20s)
Fetching https://github.com/artman/Signals from cache
Fetched https://github.com/artman/Signals (0.23s)
Computing version for https://github.com/artman/Signals
Computed https://github.com/artman/Signals at 6.1.0 (0.69s)
Creating working copy for https://github.com/kinetic-fit/sensors-swift
Working copy of https://github.com/kinetic-fit/sensors-swift resolved at master
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
Creating working copy for https://github.com/artman/Signals
Working copy of https://github.com/artman/Signals resolved at 6.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "sensors-swift-trainers",
      "name": "SwiftySensorsTrainers",
      "url": "https://github.com/codeinversion/sensors-swift-trainers.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sensors-swift-trainers",
      "dependencies": [
        {
          "identity": "sensors-swift",
          "name": "SwiftySensors",
          "url": "https://github.com/kinetic-fit/sensors-swift",
          "version": "unspecified",
          "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sensors-swift",
          "dependencies": [
            {
              "identity": "signals",
              "name": "Signals",
              "url": "https://github.com/artman/Signals",
              "version": "6.1.0",
              "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Signals",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "sensors-swift-kinetic",
          "name": "KineticSensors",
          "url": "https://github.com/kinetic-fit/sensors-swift-kinetic",
          "version": "unspecified",
          "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sensors-swift-kinetic",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/codeinversion/sensors-swift-trainers.git
[1/524] Fetching sensors-swift-trainers
Fetched https://github.com/codeinversion/sensors-swift-trainers.git (0.54s)
Fetching https://github.com/kinetic-fit/sensors-swift from cache
Fetched https://github.com/kinetic-fit/sensors-swift (0.22s)
Fetching https://github.com/kinetic-fit/sensors-swift-kinetic from cache
Fetched https://github.com/kinetic-fit/sensors-swift-kinetic (0.20s)
Fetching https://github.com/artman/Signals from cache
Fetched https://github.com/artman/Signals (0.17s)
Computing version for https://github.com/artman/Signals
Computed https://github.com/artman/Signals at 6.1.0 (0.02s)
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/codeinversion/sensors-swift-trainers.git
Working copy of https://github.com/codeinversion/sensors-swift-trainers.git resolved at master
Creating working copy for https://github.com/kinetic-fit/sensors-swift
Working copy of https://github.com/kinetic-fit/sensors-swift resolved at master
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
warning: '.resolve-product-dependencies': dependency 'sensors-swift-trainers' is not used by any target
Found 2 product dependencies
  - SwiftySensors
  - KineticSensors
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/10] Compiling KineticSensors inRide.c
[1/10] Compiling KineticSensors SmartControl.c
[2/10] Compiling KineticSensors KineticInRide.m
[3/10] Compiling KineticSensors KineticControl.m
[4/10] Compiling KineticSensors KineticSDK.m
[6/10] Compiling Signals UIBarButtonItem+Signals.swift
[7/10] Compiling Signals UIControl+Signals.swift
[8/10] Compiling Signals Signal.swift
[9/10] Emitting module Signals
[10/10] Compiling Signals AssociatedObject.swift
[11/26] Compiling SwiftySensors HeartRateService.swift
[12/26] Compiling SwiftySensors Operators.swift
[13/26] Compiling SwiftySensors FitnessMachineService.swift
[14/26] Compiling SwiftySensors HeartRateSerializer.swift
[15/26] Compiling SwiftySensors DeviceInformationService.swift
[16/26] Compiling SwiftySensors FitnessMachineSerializer.swift
[17/26] Compiling SwiftySensors CyclingSpeedCadenceSerializer.swift
[18/26] Compiling SwiftySensors CyclingSpeedCadenceService.swift
[19/26] Compiling SwiftySensors CyclingPowerService.swift
[20/26] Compiling SwiftySensors CyclingSerializer.swift
[21/26] Emitting module SwiftySensors
[22/26] Compiling SwiftySensors RSSINormalizer.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/Sensor.swift:278:53: note: chain the optional using '?' to access member 'uuid' only for non-'nil' base values
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
                                                           ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/Sensor.swift:278:53: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
                                                           !
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/Sensor.swift:289:53: note: chain the optional using '?' to access member 'uuid' only for non-'nil' base values
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
                                                           ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/Sensor.swift:289:53: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
                                                           !
[23/26] Compiling SwiftySensors Sensor.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/Sensor.swift:278:53: note: chain the optional using '?' to access member 'uuid' only for non-'nil' base values
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
                                                           ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/Sensor.swift:278:53: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
                                                           !
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/Sensor.swift:289:53: note: chain the optional using '?' to access member 'uuid' only for non-'nil' base values
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
                                                           ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/Sensor.swift:289:53: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
                                                           !
[24/26] Compiling SwiftySensors Characteristic.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        service.peripheral.setNotifyValue(enabled, for: self)
        ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:20:9: note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
        service.peripheral.setNotifyValue(enabled, for: self)
        ^
               ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        service.peripheral.setNotifyValue(enabled, for: self)
                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:20:17: note: chain the optional using '?' to access member 'setNotifyValue' only for non-'nil' base values
        service.peripheral.setNotifyValue(enabled, for: self)
                ^
                          ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:20:17: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        service.peripheral.setNotifyValue(enabled, for: self)
                ^
                          !
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        service.peripheral.readValue(for: self)
        ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:25:9: note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
        service.peripheral.readValue(for: self)
        ^
               ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        service.peripheral.readValue(for: self)
                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:25:17: note: chain the optional using '?' to access member 'readValue' only for non-'nil' base values
        service.peripheral.readValue(for: self)
                ^
                          ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:25:17: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        service.peripheral.readValue(for: self)
                ^
                          !
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        if service.peripheral.state == .connected {
           ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:37:12: note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
        if service.peripheral.state == .connected {
           ^
                  ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        if service.peripheral.state == .connected {
                   ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:37:20: note: chain the optional using '?' to access member 'state' only for non-'nil' base values
        if service.peripheral.state == .connected {
                   ^
                             ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:37:20: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        if service.peripheral.state == .connected {
                   ^
                             !
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
            service.peripheral.writeValue(data, for: self, type: writeType)
            ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:38:13: note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
            service.peripheral.writeValue(data, for: self, type: writeType)
            ^
                   ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
            service.peripheral.writeValue(data, for: self, type: writeType)
                    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:38:21: note: chain the optional using '?' to access member 'writeValue' only for non-'nil' base values
            service.peripheral.writeValue(data, for: self, type: writeType)
                    ^
                              ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:38:21: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
            service.peripheral.writeValue(data, for: self, type: writeType)
                    ^
                              !
[25/26] Compiling SwiftySensors CoreBluetooth.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        service.peripheral.setNotifyValue(enabled, for: self)
        ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:20:9: note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
        service.peripheral.setNotifyValue(enabled, for: self)
        ^
               ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        service.peripheral.setNotifyValue(enabled, for: self)
                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:20:17: note: chain the optional using '?' to access member 'setNotifyValue' only for non-'nil' base values
        service.peripheral.setNotifyValue(enabled, for: self)
                ^
                          ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:20:17: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        service.peripheral.setNotifyValue(enabled, for: self)
                ^
                          !
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        service.peripheral.readValue(for: self)
        ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:25:9: note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
        service.peripheral.readValue(for: self)
        ^
               ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        service.peripheral.readValue(for: self)
                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:25:17: note: chain the optional using '?' to access member 'readValue' only for non-'nil' base values
        service.peripheral.readValue(for: self)
                ^
                          ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:25:17: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        service.peripheral.readValue(for: self)
                ^
                          !
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        if service.peripheral.state == .connected {
           ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:37:12: note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
        if service.peripheral.state == .connected {
           ^
                  ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        if service.peripheral.state == .connected {
                   ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:37:20: note: chain the optional using '?' to access member 'state' only for non-'nil' base values
        if service.peripheral.state == .connected {
                   ^
                             ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:37:20: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        if service.peripheral.state == .connected {
                   ^
                             !
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
            service.peripheral.writeValue(data, for: self, type: writeType)
            ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:38:13: note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
            service.peripheral.writeValue(data, for: self, type: writeType)
            ^
                   ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
            service.peripheral.writeValue(data, for: self, type: writeType)
                    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:38:21: note: chain the optional using '?' to access member 'writeValue' only for non-'nil' base values
            service.peripheral.writeValue(data, for: self, type: writeType)
                    ^
                              ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:38:21: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
            service.peripheral.writeValue(data, for: self, type: writeType)
                    ^
                              !
[26/26] Compiling SwiftySensors CyclingPowerSerializer.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        service.peripheral.setNotifyValue(enabled, for: self)
        ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:20:9: note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
        service.peripheral.setNotifyValue(enabled, for: self)
        ^
               ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        service.peripheral.setNotifyValue(enabled, for: self)
                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:20:17: note: chain the optional using '?' to access member 'setNotifyValue' only for non-'nil' base values
        service.peripheral.setNotifyValue(enabled, for: self)
                ^
                          ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:20:17: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        service.peripheral.setNotifyValue(enabled, for: self)
                ^
                          !
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        service.peripheral.readValue(for: self)
        ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:25:9: note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
        service.peripheral.readValue(for: self)
        ^
               ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        service.peripheral.readValue(for: self)
                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:25:17: note: chain the optional using '?' to access member 'readValue' only for non-'nil' base values
        service.peripheral.readValue(for: self)
                ^
                          ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:25:17: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        service.peripheral.readValue(for: self)
                ^
                          !
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        if service.peripheral.state == .connected {
           ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:37:12: note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
        if service.peripheral.state == .connected {
           ^
                  ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        if service.peripheral.state == .connected {
                   ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:37:20: note: chain the optional using '?' to access member 'state' only for non-'nil' base values
        if service.peripheral.state == .connected {
                   ^
                             ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:37:20: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        if service.peripheral.state == .connected {
                   ^
                             !
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
            service.peripheral.writeValue(data, for: self, type: writeType)
            ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:38:13: note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
            service.peripheral.writeValue(data, for: self, type: writeType)
            ^
                   ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
            service.peripheral.writeValue(data, for: self, type: writeType)
                    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:38:21: note: chain the optional using '?' to access member 'writeValue' only for non-'nil' base values
            service.peripheral.writeValue(data, for: self, type: writeType)
                    ^
                              ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:38:21: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
            service.peripheral.writeValue(data, for: self, type: writeType)
                    ^
                              !
[27/28] Compiling SwiftySensors SensorManager.swift
[28/28] Compiling SwiftySensors Service.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[1/6] Compiling SwiftySensors RSSINormalizer.swift
[2/6] Compiling SwiftySensors CoreBluetooth.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        service.peripheral.setNotifyValue(enabled, for: self)
        ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:20:9: note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
        service.peripheral.setNotifyValue(enabled, for: self)
        ^
               ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        service.peripheral.setNotifyValue(enabled, for: self)
                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:20:17: note: chain the optional using '?' to access member 'setNotifyValue' only for non-'nil' base values
        service.peripheral.setNotifyValue(enabled, for: self)
                ^
                          ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:20:17: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        service.peripheral.setNotifyValue(enabled, for: self)
                ^
                          !
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        service.peripheral.readValue(for: self)
        ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:25:9: note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
        service.peripheral.readValue(for: self)
        ^
               ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        service.peripheral.readValue(for: self)
                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:25:17: note: chain the optional using '?' to access member 'readValue' only for non-'nil' base values
        service.peripheral.readValue(for: self)
                ^
                          ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:25:17: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        service.peripheral.readValue(for: self)
                ^
                          !
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        if service.peripheral.state == .connected {
           ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:37:12: note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
        if service.peripheral.state == .connected {
           ^
                  ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        if service.peripheral.state == .connected {
                   ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:37:20: note: chain the optional using '?' to access member 'state' only for non-'nil' base values
        if service.peripheral.state == .connected {
                   ^
                             ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:37:20: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        if service.peripheral.state == .connected {
                   ^
                             !
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
            service.peripheral.writeValue(data, for: self, type: writeType)
            ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:38:13: note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
            service.peripheral.writeValue(data, for: self, type: writeType)
            ^
                   ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
            service.peripheral.writeValue(data, for: self, type: writeType)
                    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:38:21: note: chain the optional using '?' to access member 'writeValue' only for non-'nil' base values
            service.peripheral.writeValue(data, for: self, type: writeType)
                    ^
                              ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/CoreBluetooth.swift:38:21: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
            service.peripheral.writeValue(data, for: self, type: writeType)
                    ^
                              !
[3/6] Compiling SwiftySensors Sensor.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/Sensor.swift:278:53: note: chain the optional using '?' to access member 'uuid' only for non-'nil' base values
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
                                                           ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/Sensor.swift:278:53: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
                                                           !
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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'
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/Sensor.swift:289:53: note: chain the optional using '?' to access member 'uuid' only for non-'nil' base values
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
                                                           ?
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/sensors-swift/Sources/SwiftySensors/Sensor.swift:289:53: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        guard let service = services[characteristic.service.uuid.uuidString] else { return }
                                                    ^
                                                           !
[4/6] Emitting module SwiftySensors
[5/6] Compiling SwiftySensors CyclingPowerSerializer.swift
[6/6] Compiling SwiftySensors Characteristic.swift
[7/13] Compiling SwiftySensors DeviceInformationService.swift
[8/13] Compiling SwiftySensors Service.swift
[9/13] Compiling SwiftySensors CyclingSpeedCadenceService.swift
[10/13] Compiling SwiftySensors CyclingPowerService.swift
[11/13] Compiling SwiftySensors FitnessMachineService.swift
[12/13] Compiling SwiftySensors SensorManager.swift
[13/13] Compiling SwiftySensors HeartRateService.swift
error: fatalError
BUILD FAILURE 5.9 macosSpm