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 SwiftySensors 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.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/codeinversion/sensors-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 334b9a4 Adding additional platforms to SPM Package file
Cloned https://github.com/codeinversion/sensors-swift.git
Revision (git rev-parse @):
334b9a4636501bc10daae26ecef23dd667fc3054
SUCCESS checkout https://github.com/codeinversion/sensors-swift.git at master
Fetching https://github.com/artman/Signals from cache
Fetched https://github.com/artman/Signals (0.20s)
Computing version for https://github.com/artman/Signals
Computed https://github.com/artman/Signals at 6.1.0 (0.03s)
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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "sensors-swift",
      "name": "SwiftySensors",
      "url": "https://github.com/codeinversion/sensors-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/h8344Zi3/1/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Signals",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/codeinversion/sensors-swift.git
[1/1060] Fetching sensors-swift
Fetched https://github.com/codeinversion/sensors-swift.git (0.33s)
Fetching https://github.com/artman/Signals from cache
Fetched https://github.com/artman/Signals (0.16s)
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.git
Working copy of https://github.com/codeinversion/sensors-swift.git resolved at master
warning: '.resolve-product-dependencies': dependency 'sensors-swift' is not used by any target
Found 1 product dependencies
  - Signals
========================================
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...
[1/5] Emitting module Signals
[2/5] Compiling Signals UIBarButtonItem+Signals.swift
[3/5] Compiling Signals UIControl+Signals.swift
[4/5] Compiling Signals Signal.swift
[5/5] Compiling Signals AssociatedObject.swift
[6/21] Compiling SwiftySensors CyclingSpeedCadenceSerializer.swift
[7/21] Compiling SwiftySensors CyclingSpeedCadenceService.swift
[8/21] Compiling SwiftySensors CyclingPowerService.swift
[9/21] Compiling SwiftySensors CyclingSerializer.swift
[10/21] Compiling SwiftySensors FitnessMachineService.swift
[11/21] Compiling SwiftySensors HeartRateSerializer.swift
[12/21] Emitting module SwiftySensors
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftySensors/SensorManager.swift:144:48: warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead
    public let onBluetoothStateChange = Signal<CBCentralManagerState>()
                                               ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftySensors/Service.swift:15:34: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol ServiceProtocol: class {
                                 ^~~~~
                                 AnyObject
[13/21] Compiling SwiftySensors DeviceInformationService.swift
[14/21] Compiling SwiftySensors FitnessMachineSerializer.swift
[15/21] Compiling SwiftySensors HeartRateService.swift
[16/21] Compiling SwiftySensors Operators.swift
[17/21] Compiling SwiftySensors RSSINormalizer.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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 }
                                                    ^
                                                           !
[18/21] Compiling SwiftySensors Sensor.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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 }
                                                    ^
                                                           !
[19/21] Compiling SwiftySensors Characteristic.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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)
                    ^
                              !
[20/21] Compiling SwiftySensors CoreBluetooth.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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)
                    ^
                              !
[21/21] Compiling SwiftySensors CyclingPowerSerializer.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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)
                    ^
                              !
[22/23] Compiling SwiftySensors SensorManager.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftySensors/SensorManager.swift:144:48: warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead
    public let onBluetoothStateChange = Signal<CBCentralManagerState>()
                                               ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftySensors/SensorManager.swift:346:35: warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead
        onBluetoothStateChange => CBCentralManagerState(rawValue: central.state.rawValue)!
                                  ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftySensors/Service.swift:15:34: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol ServiceProtocol: class {
                                 ^~~~~
                                 AnyObject
[23/23] Compiling SwiftySensors Service.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftySensors/SensorManager.swift:144:48: warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead
    public let onBluetoothStateChange = Signal<CBCentralManagerState>()
                                               ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftySensors/SensorManager.swift:346:35: warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead
        onBluetoothStateChange => CBCentralManagerState(rawValue: central.state.rawValue)!
                                  ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftySensors/Service.swift:15:34: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol ServiceProtocol: class {
                                 ^~~~~
                                 AnyObject
error: fatalError
[0/1] Planning build
Building for debugging...
[1/6] Compiling SwiftySensors Characteristic.swift
[2/6] Compiling SwiftySensors CoreBluetooth.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/10] Compiling SwiftySensors DeviceInformationService.swift
[4/10] Compiling SwiftySensors CyclingPowerService.swift
[5/10] Compiling SwiftySensors FitnessMachineService.swift
[6/10] Compiling SwiftySensors CyclingSpeedCadenceService.swift
[7/13] Emitting module SwiftySensors
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftySensors/SensorManager.swift:144:48: warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead
    public let onBluetoothStateChange = Signal<CBCentralManagerState>()
                                               ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftySensors/Service.swift:15:34: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol ServiceProtocol: class {
                                 ^~~~~
                                 AnyObject
[8/13] Compiling SwiftySensors Service.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftySensors/Service.swift:15:34: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol ServiceProtocol: class {
                                 ^~~~~
                                 AnyObject
[9/13] Compiling SwiftySensors SensorManager.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftySensors/SensorManager.swift:144:48: warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead
    public let onBluetoothStateChange = Signal<CBCentralManagerState>()
                                               ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftySensors/SensorManager.swift:346:35: warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead
        onBluetoothStateChange => CBCentralManagerState(rawValue: central.state.rawValue)!
                                  ^
[10/13] Compiling SwiftySensors HeartRateService.swift
[11/13] Compiling SwiftySensors RSSINormalizer.swift
[12/13] Compiling SwiftySensors CyclingPowerSerializer.swift
[13/13] Compiling SwiftySensors Sensor.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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 }
                                                    ^
                                                           !
error: fatalError
BUILD FAILURE 5.9 macosSpm