Build Information
Failed to build SwiftySensors, reference master (334b9a), with Swift 6.3 for macOS (SPM) on 11 Apr 2026 11:41:16 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/codeinversion/sensors-swift.git
Reference: master
Initialized empty Git repository in /Users/admin/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
[1/1052] Fetching signals
Fetched https://github.com/artman/Signals from cache (0.74s)
Computing version for https://github.com/artman/Signals
Computed https://github.com/artman/Signals at 6.1.0 (3.04s)
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/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "sensors-swift",
"name": "SwiftySensors",
"url": "https://github.com/codeinversion/sensors-swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sensors-swift",
"traits": [
"default"
],
"dependencies": [
{
"identity": "signals",
"name": "Signals",
"url": "https://github.com/artman/Signals",
"version": "6.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Signals",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/codeinversion/sensors-swift.git
[1/1068] Fetching sensors-swift
Fetched https://github.com/codeinversion/sensors-swift.git from cache (0.91s)
Fetching https://github.com/artman/Signals from cache
Fetched https://github.com/artman/Signals from cache (0.41s)
Computing version for https://github.com/artman/Signals
Computed https://github.com/artman/Signals at 6.1.0 (0.47s)
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 (334b9a4)
warning: '.resolve-product-dependencies': dependency 'sensors-swift' is not used by any target
Found 1 product dependencies
- Signals
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/codeinversion/sensors-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
[4/8] Compiling Signals UIControl+Signals.swift
[5/8] Compiling Signals Signal.swift
[6/8] Compiling Signals UIBarButtonItem+Signals.swift
[7/8] Emitting module Signals
[8/8] Compiling Signals AssociatedObject.swift
[9/25] Compiling SwiftySensors SensorManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/SensorManager.swift:144:48: warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead [#DeprecatedDeclaration]
142 |
143 | /// Bluetooth State Change Signal
144 | public let onBluetoothStateChange = Signal<CBCentralManagerState>()
| `- warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead [#DeprecatedDeclaration]
145 |
146 | /// Sensor Discovered Signal
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/SensorManager.swift:346:35: warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead [#DeprecatedDeclaration]
344 | }
345 |
346 | onBluetoothStateChange => CBCentralManagerState(rawValue: central.state.rawValue)!
| `- warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead [#DeprecatedDeclaration]
347 | }
348 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[10/25] Compiling SwiftySensors HeartRateSerializer.swift
[11/25] Compiling SwiftySensors HeartRateService.swift
[12/25] Compiling SwiftySensors Operators.swift
[13/25] Compiling SwiftySensors RSSINormalizer.swift
[14/25] Compiling SwiftySensors Sensor.swift
/Users/admin/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'
276 | /// :nodoc:
277 | public func peripheral(_ peripheral: CBPeripheral, didUpdateValueFor characteristic: CBCharacteristic, error: Error?) {
278 | guard let service = services[characteristic.service.uuid.uuidString] else { return }
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'uuid' of wrapped base type 'CBService'
| |- note: chain the optional using '?' to access member 'uuid' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
279 | guard let char = service.characteristics[characteristic.uuid.uuidString] else { return }
280 | if char.cbCharacteristic !== characteristic {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/Sensor.swift:289:53: error: value of optional type 'CBService?' must be unwrapped to refer to member 'uuid' of wrapped base type 'CBService'
287 | /// :nodoc:
288 | public func peripheral(_ peripheral: CBPeripheral, didWriteValueFor characteristic: CBCharacteristic, error: Error?) {
289 | guard let service = services[characteristic.service.uuid.uuidString] else { return }
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'uuid' of wrapped base type 'CBService'
| |- note: chain the optional using '?' to access member 'uuid' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
290 | guard let char = service.characteristics[characteristic.uuid.uuidString] else { return }
291 | if char.cbCharacteristic !== characteristic {
[15/26] Compiling SwiftySensors Service.swift
/Users/admin/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 [#deprecation]
13 | The Service Protocol is used by the Sensor Manager to identify, organize and instantiate Services given a UUID string.
14 | */
15 | public protocol ServiceProtocol: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
16 |
17 | /// UUID string of the Service.
[16/26] Compiling SwiftySensors CyclingSpeedCadenceService.swift
[17/26] Compiling SwiftySensors DeviceInformationService.swift
[18/26] Compiling SwiftySensors CyclingSerializer.swift
[19/26] Compiling SwiftySensors CyclingSpeedCadenceSerializer.swift
[20/26] Emitting module SwiftySensors
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/SensorManager.swift:144:48: warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead [#DeprecatedDeclaration]
142 |
143 | /// Bluetooth State Change Signal
144 | public let onBluetoothStateChange = Signal<CBCentralManagerState>()
| `- warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead [#DeprecatedDeclaration]
145 |
146 | /// Sensor Discovered Signal
/Users/admin/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 [#deprecation]
13 | The Service Protocol is used by the Sensor Manager to identify, organize and instantiate Services given a UUID string.
14 | */
15 | public protocol ServiceProtocol: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
16 |
17 | /// UUID string of the Service.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[21/26] Compiling SwiftySensors CyclingPowerSerializer.swift
[22/26] Compiling SwiftySensors CyclingPowerService.swift
[23/26] Compiling SwiftySensors FitnessMachineSerializer.swift
[24/26] Compiling SwiftySensors FitnessMachineService.swift
[25/26] Compiling SwiftySensors Characteristic.swift
/Users/admin/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'
18 | */
19 | public func notify(_ enabled: Bool) {
20 | service.peripheral.setNotifyValue(enabled, for: self)
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
| `- note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CoreBluetooth.swift:20:17: error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'setNotifyValue' of wrapped base type 'CBPeripheral'
18 | */
19 | public func notify(_ enabled: Bool) {
20 | service.peripheral.setNotifyValue(enabled, for: self)
| |- error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'setNotifyValue' of wrapped base type 'CBPeripheral'
| |- note: chain the optional using '?' to access member 'setNotifyValue' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CoreBluetooth.swift:25:9: error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
23 | /// Read the value of the Characteristic
24 | public func read() {
25 | service.peripheral.readValue(for: self)
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
| `- note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CoreBluetooth.swift:25:17: error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'readValue' of wrapped base type 'CBPeripheral'
23 | /// Read the value of the Characteristic
24 | public func read() {
25 | service.peripheral.readValue(for: self)
| |- error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'readValue' of wrapped base type 'CBPeripheral'
| |- note: chain the optional using '?' to access member 'readValue' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CoreBluetooth.swift:37:12: error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
35 | */
36 | @discardableResult public func write(_ data: Data, writeType: CBCharacteristicWriteType) -> Bool {
37 | if service.peripheral.state == .connected {
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
| `- note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
38 | service.peripheral.writeValue(data, for: self, type: writeType)
39 | return true
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CoreBluetooth.swift:37:20: error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'state' of wrapped base type 'CBPeripheral'
35 | */
36 | @discardableResult public func write(_ data: Data, writeType: CBCharacteristicWriteType) -> Bool {
37 | if service.peripheral.state == .connected {
| |- error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'state' of wrapped base type 'CBPeripheral'
| |- note: chain the optional using '?' to access member 'state' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
38 | service.peripheral.writeValue(data, for: self, type: writeType)
39 | return true
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CoreBluetooth.swift:38:13: error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
36 | @discardableResult public func write(_ data: Data, writeType: CBCharacteristicWriteType) -> Bool {
37 | if service.peripheral.state == .connected {
38 | service.peripheral.writeValue(data, for: self, type: writeType)
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
| `- note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
39 | return true
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CoreBluetooth.swift:38:21: error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'writeValue' of wrapped base type 'CBPeripheral'
36 | @discardableResult public func write(_ data: Data, writeType: CBCharacteristicWriteType) -> Bool {
37 | if service.peripheral.state == .connected {
38 | service.peripheral.writeValue(data, for: self, type: writeType)
| |- error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'writeValue' of wrapped base type 'CBPeripheral'
| |- note: chain the optional using '?' to access member 'writeValue' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
39 | return true
40 | }
[26/26] Compiling SwiftySensors CoreBluetooth.swift
/Users/admin/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'
18 | */
19 | public func notify(_ enabled: Bool) {
20 | service.peripheral.setNotifyValue(enabled, for: self)
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
| `- note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CoreBluetooth.swift:20:17: error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'setNotifyValue' of wrapped base type 'CBPeripheral'
18 | */
19 | public func notify(_ enabled: Bool) {
20 | service.peripheral.setNotifyValue(enabled, for: self)
| |- error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'setNotifyValue' of wrapped base type 'CBPeripheral'
| |- note: chain the optional using '?' to access member 'setNotifyValue' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CoreBluetooth.swift:25:9: error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
23 | /// Read the value of the Characteristic
24 | public func read() {
25 | service.peripheral.readValue(for: self)
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
| `- note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CoreBluetooth.swift:25:17: error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'readValue' of wrapped base type 'CBPeripheral'
23 | /// Read the value of the Characteristic
24 | public func read() {
25 | service.peripheral.readValue(for: self)
| |- error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'readValue' of wrapped base type 'CBPeripheral'
| |- note: chain the optional using '?' to access member 'readValue' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CoreBluetooth.swift:37:12: error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
35 | */
36 | @discardableResult public func write(_ data: Data, writeType: CBCharacteristicWriteType) -> Bool {
37 | if service.peripheral.state == .connected {
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
| `- note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
38 | service.peripheral.writeValue(data, for: self, type: writeType)
39 | return true
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CoreBluetooth.swift:37:20: error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'state' of wrapped base type 'CBPeripheral'
35 | */
36 | @discardableResult public func write(_ data: Data, writeType: CBCharacteristicWriteType) -> Bool {
37 | if service.peripheral.state == .connected {
| |- error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'state' of wrapped base type 'CBPeripheral'
| |- note: chain the optional using '?' to access member 'state' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
38 | service.peripheral.writeValue(data, for: self, type: writeType)
39 | return true
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CoreBluetooth.swift:38:13: error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
36 | @discardableResult public func write(_ data: Data, writeType: CBCharacteristicWriteType) -> Bool {
37 | if service.peripheral.state == .connected {
38 | service.peripheral.writeValue(data, for: self, type: writeType)
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'peripheral' of wrapped base type 'CBService'
| `- note: chain the optional using '?' to access member 'peripheral' only for non-'nil' base values
39 | return true
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CoreBluetooth.swift:38:21: error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'writeValue' of wrapped base type 'CBPeripheral'
36 | @discardableResult public func write(_ data: Data, writeType: CBCharacteristicWriteType) -> Bool {
37 | if service.peripheral.state == .connected {
38 | service.peripheral.writeValue(data, for: self, type: writeType)
| |- error: value of optional type 'CBPeripheral?' must be unwrapped to refer to member 'writeValue' of wrapped base type 'CBPeripheral'
| |- note: chain the optional using '?' to access member 'writeValue' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
39 | return true
40 | }
BUILD FAILURE 6.3 macosSpm