Build Information
Failed to build SwiftySensors with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/codeinversion/sensors-swift.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/codeinversion/sensors-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--423B1241ED78D482.txt
[4/8] Compiling Signals UIControl+Signals.swift
[5/8] Compiling Signals UIBarButtonItem+Signals.swift
[6/8] Compiling Signals Signal.swift
[7/8] Emitting module Signals
[8/8] Compiling Signals AssociatedObject.swift
[9/24] Compiling SwiftySensors HeartRateService.swift
[10/24] Compiling SwiftySensors Operators.swift
[11/26] Compiling SwiftySensors RSSINormalizer.swift
/Users/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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 }
^
!
[12/26] Compiling SwiftySensors Sensor.swift
/Users/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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 }
^
!
[13/26] Compiling SwiftySensors CyclingPowerService.swift
[14/26] Compiling SwiftySensors CyclingSerializer.swift
[15/26] Emitting module SwiftySensors
/Users/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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
[16/26] Compiling SwiftySensors CyclingSpeedCadenceSerializer.swift
[17/26] Compiling SwiftySensors CyclingSpeedCadenceService.swift
[18/26] Compiling SwiftySensors Characteristic.swift
/Users/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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)
^
!
[19/26] Compiling SwiftySensors CoreBluetooth.swift
/Users/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/26] Compiling SwiftySensors CyclingPowerSerializer.swift
/Users/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/26] Compiling SwiftySensors SensorManager.swift
/Users/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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
[22/26] Compiling SwiftySensors Service.swift
/Users/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/26] Compiling SwiftySensors DeviceInformationService.swift
[24/26] Compiling SwiftySensors FitnessMachineSerializer.swift
[25/26] Compiling SwiftySensors FitnessMachineService.swift
[26/26] Compiling SwiftySensors HeartRateSerializer.swift
error: fatalError
Fetching https://github.com/artman/Signals from cache
Fetched https://github.com/artman/Signals from cache (0.18s)
Computing version for https://github.com/artman/Signals
Computed https://github.com/artman/Signals at 6.1.0 (0.40s)
Creating working copy for https://github.com/artman/Signals
Working copy of https://github.com/artman/Signals resolved at 6.1.0
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/7] Compiling SwiftySensors RSSINormalizer.swift
[3/7] Compiling SwiftySensors Sensor.swift
/Users/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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 }
^
!
[4/7] Compiling SwiftySensors Characteristic.swift
[5/7] Emitting module SwiftySensors
/Users/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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
[6/7] Compiling SwiftySensors CyclingPowerSerializer.swift
[7/7] Compiling SwiftySensors CoreBluetooth.swift
/Users/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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)
^
!
[8/14] Compiling SwiftySensors Service.swift
/Users/builder/builds/UKfvDsi8u/0/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/14] Compiling SwiftySensors HeartRateService.swift
[10/14] Compiling SwiftySensors SensorManager.swift
/Users/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/0/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)!
^
[11/14] Compiling SwiftySensors DeviceInformationService.swift
[12/14] Compiling SwiftySensors CyclingSpeedCadenceService.swift
[13/14] Compiling SwiftySensors FitnessMachineService.swift
[14/14] Compiling SwiftySensors CyclingPowerService.swift
error: fatalError
BUILD FAILURE 5.10 macosSpm