Build Information
Failed to build SwiftySensors, reference master (334b9a
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 00:05:36 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
296 | public static let TotalDistancePresent = IndoorBikeDataFlags(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:295:27: warning: static property 'AverageCadencePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
293 | public static let AverageSpeedPresent = IndoorBikeDataFlags(rawValue: 1 << 1)
294 | public static let InstantaneousCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 2)
295 | public static let AverageCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 3)
| |- warning: static property 'AverageCadencePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AverageCadencePresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
296 | public static let TotalDistancePresent = IndoorBikeDataFlags(rawValue: 1 << 4)
297 | public static let ResistanceLevelPresent = IndoorBikeDataFlags(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:296:27: warning: static property 'TotalDistancePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
294 | public static let InstantaneousCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 2)
295 | public static let AverageCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 3)
296 | public static let TotalDistancePresent = IndoorBikeDataFlags(rawValue: 1 << 4)
| |- warning: static property 'TotalDistancePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TotalDistancePresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 | public static let ResistanceLevelPresent = IndoorBikeDataFlags(rawValue: 1 << 5)
298 | public static let InstantaneousPowerPresent = IndoorBikeDataFlags(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:297:27: warning: static property 'ResistanceLevelPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
295 | public static let AverageCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 3)
296 | public static let TotalDistancePresent = IndoorBikeDataFlags(rawValue: 1 << 4)
297 | public static let ResistanceLevelPresent = IndoorBikeDataFlags(rawValue: 1 << 5)
| |- warning: static property 'ResistanceLevelPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ResistanceLevelPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
298 | public static let InstantaneousPowerPresent = IndoorBikeDataFlags(rawValue: 1 << 6)
299 | public static let AveragePowerPresent = IndoorBikeDataFlags(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:298:27: warning: static property 'InstantaneousPowerPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
296 | public static let TotalDistancePresent = IndoorBikeDataFlags(rawValue: 1 << 4)
297 | public static let ResistanceLevelPresent = IndoorBikeDataFlags(rawValue: 1 << 5)
298 | public static let InstantaneousPowerPresent = IndoorBikeDataFlags(rawValue: 1 << 6)
| |- warning: static property 'InstantaneousPowerPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'InstantaneousPowerPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
299 | public static let AveragePowerPresent = IndoorBikeDataFlags(rawValue: 1 << 7)
300 | public static let ExpendedEnergyPresent = IndoorBikeDataFlags(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:299:27: warning: static property 'AveragePowerPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
297 | public static let ResistanceLevelPresent = IndoorBikeDataFlags(rawValue: 1 << 5)
298 | public static let InstantaneousPowerPresent = IndoorBikeDataFlags(rawValue: 1 << 6)
299 | public static let AveragePowerPresent = IndoorBikeDataFlags(rawValue: 1 << 7)
| |- warning: static property 'AveragePowerPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AveragePowerPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 | public static let ExpendedEnergyPresent = IndoorBikeDataFlags(rawValue: 1 << 8)
301 | public static let HeartRatePresent = IndoorBikeDataFlags(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:300:27: warning: static property 'ExpendedEnergyPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
298 | public static let InstantaneousPowerPresent = IndoorBikeDataFlags(rawValue: 1 << 6)
299 | public static let AveragePowerPresent = IndoorBikeDataFlags(rawValue: 1 << 7)
300 | public static let ExpendedEnergyPresent = IndoorBikeDataFlags(rawValue: 1 << 8)
| |- warning: static property 'ExpendedEnergyPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ExpendedEnergyPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
301 | public static let HeartRatePresent = IndoorBikeDataFlags(rawValue: 1 << 9)
302 | public static let MetabolicEquivalentPresent = IndoorBikeDataFlags(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:301:27: warning: static property 'HeartRatePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
299 | public static let AveragePowerPresent = IndoorBikeDataFlags(rawValue: 1 << 7)
300 | public static let ExpendedEnergyPresent = IndoorBikeDataFlags(rawValue: 1 << 8)
301 | public static let HeartRatePresent = IndoorBikeDataFlags(rawValue: 1 << 9)
| |- warning: static property 'HeartRatePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'HeartRatePresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
302 | public static let MetabolicEquivalentPresent = IndoorBikeDataFlags(rawValue: 1 << 10)
303 | public static let ElapsedTimePresent = IndoorBikeDataFlags(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:302:27: warning: static property 'MetabolicEquivalentPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
300 | public static let ExpendedEnergyPresent = IndoorBikeDataFlags(rawValue: 1 << 8)
301 | public static let HeartRatePresent = IndoorBikeDataFlags(rawValue: 1 << 9)
302 | public static let MetabolicEquivalentPresent = IndoorBikeDataFlags(rawValue: 1 << 10)
| |- warning: static property 'MetabolicEquivalentPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'MetabolicEquivalentPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
303 | public static let ElapsedTimePresent = IndoorBikeDataFlags(rawValue: 1 << 11)
304 | public static let RemainingTimePresent = IndoorBikeDataFlags(rawValue: 1 << 12)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:303:27: warning: static property 'ElapsedTimePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
301 | public static let HeartRatePresent = IndoorBikeDataFlags(rawValue: 1 << 9)
302 | public static let MetabolicEquivalentPresent = IndoorBikeDataFlags(rawValue: 1 << 10)
303 | public static let ElapsedTimePresent = IndoorBikeDataFlags(rawValue: 1 << 11)
| |- warning: static property 'ElapsedTimePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ElapsedTimePresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
304 | public static let RemainingTimePresent = IndoorBikeDataFlags(rawValue: 1 << 12)
305 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:304:27: warning: static property 'RemainingTimePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
302 | public static let MetabolicEquivalentPresent = IndoorBikeDataFlags(rawValue: 1 << 10)
303 | public static let ElapsedTimePresent = IndoorBikeDataFlags(rawValue: 1 << 11)
304 | public static let RemainingTimePresent = IndoorBikeDataFlags(rawValue: 1 << 12)
| |- warning: static property 'RemainingTimePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RemainingTimePresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
305 |
306 | public init(rawValue: UInt16) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineService.swift:21:23: warning: static property 'characteristicTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var uuid: String { return "1826" }
20 |
21 | public static var characteristicTypes: Dictionary<String, Characteristic.Type> = [
| |- warning: static property 'characteristicTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'characteristicTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'characteristicTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | Feature.uuid: Feature.self,
23 | ControlPoint.uuid: ControlPoint.self,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/HeartRateService.swift:21:23: warning: static property 'characteristicTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var uuid: String { return "180D" }
20 |
21 | public static var characteristicTypes: Dictionary<String, Characteristic.Type> = [
| |- warning: static property 'characteristicTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'characteristicTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'characteristicTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | Measurement.uuid: Measurement.self,
23 | BodySensorLocation.uuid: BodySensorLocation.self,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/SensorManager.swift:23:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SensorManager' may have shared mutable state; this is an error in the Swift 6 language mode
14 | An extensible Bluetooth LE Sensor Manager with concrete Service and Characteristic types, hierarchy, forwarding and observation to simplify BLE.
15 | */
16 | public class SensorManager: NSObject {
| `- note: class 'SensorManager' does not conform to the 'Sendable' protocol
17 |
18 | /**
:
21 | No internal reference is made to this instance.
22 | */
23 | public static let instance = SensorManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SensorManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/SensorManager.swift:29:23: warning: static property 'logSensorMessage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | or set your own closure at the project level to direct all logging to your logger of choice.
28 | */
29 | public static var logSensorMessage: ((_: String) -> ())? = { message in
| |- warning: static property 'logSensorMessage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logSensorMessage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logSensorMessage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | print(message)
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/SensorManager.swift:144:48: warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead
142 |
143 | /// Bluetooth State Change Signal
144 | public let onBluetoothStateChange = Signal<CBCentralManagerState>()
| `- warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead
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
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
16 |
17 | /// UUID string of the Service.
[23/26] Compiling SwiftySensors FitnessMachineSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:18:27: warning: static property 'averageSpeedSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
18 | public static let averageSpeedSupported = MachineFeatures(rawValue: 1 << 0)
| |- warning: static property 'averageSpeedSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'averageSpeedSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let cadenceSupported = MachineFeatures(rawValue: 1 << 1)
20 | public static let totalDistanceSupported = MachineFeatures(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:19:27: warning: static property 'cadenceSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
18 | public static let averageSpeedSupported = MachineFeatures(rawValue: 1 << 0)
19 | public static let cadenceSupported = MachineFeatures(rawValue: 1 << 1)
| |- warning: static property 'cadenceSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cadenceSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let totalDistanceSupported = MachineFeatures(rawValue: 1 << 2)
21 | public static let inclinationSupported = MachineFeatures(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:20:27: warning: static property 'totalDistanceSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
18 | public static let averageSpeedSupported = MachineFeatures(rawValue: 1 << 0)
19 | public static let cadenceSupported = MachineFeatures(rawValue: 1 << 1)
20 | public static let totalDistanceSupported = MachineFeatures(rawValue: 1 << 2)
| |- warning: static property 'totalDistanceSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'totalDistanceSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let inclinationSupported = MachineFeatures(rawValue: 1 << 3)
22 | public static let elevationGainSupported = MachineFeatures(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:21:27: warning: static property 'inclinationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
19 | public static let cadenceSupported = MachineFeatures(rawValue: 1 << 1)
20 | public static let totalDistanceSupported = MachineFeatures(rawValue: 1 << 2)
21 | public static let inclinationSupported = MachineFeatures(rawValue: 1 << 3)
| |- warning: static property 'inclinationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inclinationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let elevationGainSupported = MachineFeatures(rawValue: 1 << 4)
23 | public static let paceSupported = MachineFeatures(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:22:27: warning: static property 'elevationGainSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
20 | public static let totalDistanceSupported = MachineFeatures(rawValue: 1 << 2)
21 | public static let inclinationSupported = MachineFeatures(rawValue: 1 << 3)
22 | public static let elevationGainSupported = MachineFeatures(rawValue: 1 << 4)
| |- warning: static property 'elevationGainSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'elevationGainSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let paceSupported = MachineFeatures(rawValue: 1 << 5)
24 | public static let stepCountSupported = MachineFeatures(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:23:27: warning: static property 'paceSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
21 | public static let inclinationSupported = MachineFeatures(rawValue: 1 << 3)
22 | public static let elevationGainSupported = MachineFeatures(rawValue: 1 << 4)
23 | public static let paceSupported = MachineFeatures(rawValue: 1 << 5)
| |- warning: static property 'paceSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'paceSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let stepCountSupported = MachineFeatures(rawValue: 1 << 6)
25 | public static let resistanceLevelSupported = MachineFeatures(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:24:27: warning: static property 'stepCountSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
22 | public static let elevationGainSupported = MachineFeatures(rawValue: 1 << 4)
23 | public static let paceSupported = MachineFeatures(rawValue: 1 << 5)
24 | public static let stepCountSupported = MachineFeatures(rawValue: 1 << 6)
| |- warning: static property 'stepCountSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stepCountSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let resistanceLevelSupported = MachineFeatures(rawValue: 1 << 7)
26 | public static let strideCountSupported = MachineFeatures(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:25:27: warning: static property 'resistanceLevelSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
23 | public static let paceSupported = MachineFeatures(rawValue: 1 << 5)
24 | public static let stepCountSupported = MachineFeatures(rawValue: 1 << 6)
25 | public static let resistanceLevelSupported = MachineFeatures(rawValue: 1 << 7)
| |- warning: static property 'resistanceLevelSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resistanceLevelSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let strideCountSupported = MachineFeatures(rawValue: 1 << 8)
27 | public static let expendedEnergySupported = MachineFeatures(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:26:27: warning: static property 'strideCountSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
24 | public static let stepCountSupported = MachineFeatures(rawValue: 1 << 6)
25 | public static let resistanceLevelSupported = MachineFeatures(rawValue: 1 << 7)
26 | public static let strideCountSupported = MachineFeatures(rawValue: 1 << 8)
| |- warning: static property 'strideCountSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strideCountSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let expendedEnergySupported = MachineFeatures(rawValue: 1 << 9)
28 | public static let heartRateMeasurementSupported = MachineFeatures(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:27:27: warning: static property 'expendedEnergySupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
25 | public static let resistanceLevelSupported = MachineFeatures(rawValue: 1 << 7)
26 | public static let strideCountSupported = MachineFeatures(rawValue: 1 << 8)
27 | public static let expendedEnergySupported = MachineFeatures(rawValue: 1 << 9)
| |- warning: static property 'expendedEnergySupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expendedEnergySupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let heartRateMeasurementSupported = MachineFeatures(rawValue: 1 << 10)
29 | public static let metabolicEquivalentSupported = MachineFeatures(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:28:27: warning: static property 'heartRateMeasurementSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
26 | public static let strideCountSupported = MachineFeatures(rawValue: 1 << 8)
27 | public static let expendedEnergySupported = MachineFeatures(rawValue: 1 << 9)
28 | public static let heartRateMeasurementSupported = MachineFeatures(rawValue: 1 << 10)
| |- warning: static property 'heartRateMeasurementSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'heartRateMeasurementSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let metabolicEquivalentSupported = MachineFeatures(rawValue: 1 << 11)
30 | public static let elapsedTimeSupported = MachineFeatures(rawValue: 1 << 12)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:29:27: warning: static property 'metabolicEquivalentSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
27 | public static let expendedEnergySupported = MachineFeatures(rawValue: 1 << 9)
28 | public static let heartRateMeasurementSupported = MachineFeatures(rawValue: 1 << 10)
29 | public static let metabolicEquivalentSupported = MachineFeatures(rawValue: 1 << 11)
| |- warning: static property 'metabolicEquivalentSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'metabolicEquivalentSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let elapsedTimeSupported = MachineFeatures(rawValue: 1 << 12)
31 | public static let remainingTimeSupported = MachineFeatures(rawValue: 1 << 13)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:30:27: warning: static property 'elapsedTimeSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
28 | public static let heartRateMeasurementSupported = MachineFeatures(rawValue: 1 << 10)
29 | public static let metabolicEquivalentSupported = MachineFeatures(rawValue: 1 << 11)
30 | public static let elapsedTimeSupported = MachineFeatures(rawValue: 1 << 12)
| |- warning: static property 'elapsedTimeSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'elapsedTimeSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let remainingTimeSupported = MachineFeatures(rawValue: 1 << 13)
32 | public static let powerMeasurementSupported = MachineFeatures(rawValue: 1 << 14)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:31:27: warning: static property 'remainingTimeSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
29 | public static let metabolicEquivalentSupported = MachineFeatures(rawValue: 1 << 11)
30 | public static let elapsedTimeSupported = MachineFeatures(rawValue: 1 << 12)
31 | public static let remainingTimeSupported = MachineFeatures(rawValue: 1 << 13)
| |- warning: static property 'remainingTimeSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'remainingTimeSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let powerMeasurementSupported = MachineFeatures(rawValue: 1 << 14)
33 | public static let forceOnBeltAndPowerOutputSupported = MachineFeatures(rawValue: 1 << 15)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:32:27: warning: static property 'powerMeasurementSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
30 | public static let elapsedTimeSupported = MachineFeatures(rawValue: 1 << 12)
31 | public static let remainingTimeSupported = MachineFeatures(rawValue: 1 << 13)
32 | public static let powerMeasurementSupported = MachineFeatures(rawValue: 1 << 14)
| |- warning: static property 'powerMeasurementSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'powerMeasurementSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let forceOnBeltAndPowerOutputSupported = MachineFeatures(rawValue: 1 << 15)
34 | public static let userDataRetentionSupported = MachineFeatures(rawValue: 1 << 16)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:33:27: warning: static property 'forceOnBeltAndPowerOutputSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
31 | public static let remainingTimeSupported = MachineFeatures(rawValue: 1 << 13)
32 | public static let powerMeasurementSupported = MachineFeatures(rawValue: 1 << 14)
33 | public static let forceOnBeltAndPowerOutputSupported = MachineFeatures(rawValue: 1 << 15)
| |- warning: static property 'forceOnBeltAndPowerOutputSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forceOnBeltAndPowerOutputSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let userDataRetentionSupported = MachineFeatures(rawValue: 1 << 16)
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:34:27: warning: static property 'userDataRetentionSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
32 | public static let powerMeasurementSupported = MachineFeatures(rawValue: 1 << 14)
33 | public static let forceOnBeltAndPowerOutputSupported = MachineFeatures(rawValue: 1 << 15)
34 | public static let userDataRetentionSupported = MachineFeatures(rawValue: 1 << 16)
| |- warning: static property 'userDataRetentionSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userDataRetentionSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public init(rawValue: UInt32) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:44:27: warning: static property 'speedTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
44 | public static let speedTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 0)
| |- warning: static property 'speedTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'speedTargetSettingSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | public static let inclinationTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 1)
46 | public static let resistanceTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:45:27: warning: static property 'inclinationTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
44 | public static let speedTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 0)
45 | public static let inclinationTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 1)
| |- warning: static property 'inclinationTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inclinationTargetSettingSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static let resistanceTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 2)
47 | public static let powerTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:46:27: warning: static property 'resistanceTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
44 | public static let speedTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 0)
45 | public static let inclinationTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 1)
46 | public static let resistanceTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 2)
| |- warning: static property 'resistanceTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resistanceTargetSettingSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | public static let powerTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 3)
48 | public static let heartRateTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:47:27: warning: static property 'powerTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
45 | public static let inclinationTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 1)
46 | public static let resistanceTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 2)
47 | public static let powerTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 3)
| |- warning: static property 'powerTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'powerTargetSettingSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let heartRateTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 4)
49 | public static let targetedExpendedEnergyConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:48:27: warning: static property 'heartRateTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
46 | public static let resistanceTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 2)
47 | public static let powerTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 3)
48 | public static let heartRateTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 4)
| |- warning: static property 'heartRateTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'heartRateTargetSettingSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let targetedExpendedEnergyConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 5)
50 | public static let targetedStepNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:49:27: warning: static property 'targetedExpendedEnergyConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
47 | public static let powerTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 3)
48 | public static let heartRateTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 4)
49 | public static let targetedExpendedEnergyConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 5)
| |- warning: static property 'targetedExpendedEnergyConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedExpendedEnergyConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let targetedStepNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 6)
51 | public static let targetedStrideNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:50:27: warning: static property 'targetedStepNumberConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
48 | public static let heartRateTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 4)
49 | public static let targetedExpendedEnergyConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 5)
50 | public static let targetedStepNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 6)
| |- warning: static property 'targetedStepNumberConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedStepNumberConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let targetedStrideNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 7)
52 | public static let targetedDistanceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:51:27: warning: static property 'targetedStrideNumberConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
49 | public static let targetedExpendedEnergyConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 5)
50 | public static let targetedStepNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 6)
51 | public static let targetedStrideNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 7)
| |- warning: static property 'targetedStrideNumberConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedStrideNumberConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let targetedDistanceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 8)
53 | public static let targetedTrainingTimeConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:52:27: warning: static property 'targetedDistanceConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
50 | public static let targetedStepNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 6)
51 | public static let targetedStrideNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 7)
52 | public static let targetedDistanceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 8)
| |- warning: static property 'targetedDistanceConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedDistanceConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | public static let targetedTrainingTimeConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 9)
54 | public static let targetedTimeInTwoHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:53:27: warning: static property 'targetedTrainingTimeConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
51 | public static let targetedStrideNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 7)
52 | public static let targetedDistanceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 8)
53 | public static let targetedTrainingTimeConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 9)
| |- warning: static property 'targetedTrainingTimeConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedTrainingTimeConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | public static let targetedTimeInTwoHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 10)
55 | public static let targetedTimeInThreeHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:54:27: warning: static property 'targetedTimeInTwoHeartRateZonesConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
52 | public static let targetedDistanceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 8)
53 | public static let targetedTrainingTimeConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 9)
54 | public static let targetedTimeInTwoHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 10)
| |- warning: static property 'targetedTimeInTwoHeartRateZonesConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedTimeInTwoHeartRateZonesConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public static let targetedTimeInThreeHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 11)
56 | public static let targetedTimeInFiveHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 12)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:55:27: warning: static property 'targetedTimeInThreeHeartRateZonesConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
53 | public static let targetedTrainingTimeConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 9)
54 | public static let targetedTimeInTwoHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 10)
55 | public static let targetedTimeInThreeHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 11)
| |- warning: static property 'targetedTimeInThreeHeartRateZonesConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedTimeInThreeHeartRateZonesConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let targetedTimeInFiveHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 12)
57 | public static let indoorBikeSimulationParametersSupported = TargetSettingFeatures(rawValue: 1 << 13)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:56:27: warning: static property 'targetedTimeInFiveHeartRateZonesConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
54 | public static let targetedTimeInTwoHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 10)
55 | public static let targetedTimeInThreeHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 11)
56 | public static let targetedTimeInFiveHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 12)
| |- warning: static property 'targetedTimeInFiveHeartRateZonesConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedTimeInFiveHeartRateZonesConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | public static let indoorBikeSimulationParametersSupported = TargetSettingFeatures(rawValue: 1 << 13)
58 | public static let wheelCircumferenceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 14)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:57:27: warning: static property 'indoorBikeSimulationParametersSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
55 | public static let targetedTimeInThreeHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 11)
56 | public static let targetedTimeInFiveHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 12)
57 | public static let indoorBikeSimulationParametersSupported = TargetSettingFeatures(rawValue: 1 << 13)
| |- warning: static property 'indoorBikeSimulationParametersSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'indoorBikeSimulationParametersSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public static let wheelCircumferenceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 14)
59 | public static let spinDownControlSupported = TargetSettingFeatures(rawValue: 1 << 15)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:58:27: warning: static property 'wheelCircumferenceConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
56 | public static let targetedTimeInFiveHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 12)
57 | public static let indoorBikeSimulationParametersSupported = TargetSettingFeatures(rawValue: 1 << 13)
58 | public static let wheelCircumferenceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 14)
| |- warning: static property 'wheelCircumferenceConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wheelCircumferenceConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public static let spinDownControlSupported = TargetSettingFeatures(rawValue: 1 << 15)
60 | public static let targetedCadenceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 16)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:59:27: warning: static property 'spinDownControlSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
57 | public static let indoorBikeSimulationParametersSupported = TargetSettingFeatures(rawValue: 1 << 13)
58 | public static let wheelCircumferenceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 14)
59 | public static let spinDownControlSupported = TargetSettingFeatures(rawValue: 1 << 15)
| |- warning: static property 'spinDownControlSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'spinDownControlSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let targetedCadenceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 16)
61 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:60:27: warning: static property 'targetedCadenceConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
58 | public static let wheelCircumferenceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 14)
59 | public static let spinDownControlSupported = TargetSettingFeatures(rawValue: 1 << 15)
60 | public static let targetedCadenceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 16)
| |- warning: static property 'targetedCadenceConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedCadenceConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | public init(rawValue: UInt32) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:84:20: warning: static property 'TrainingStatusStringPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TrainerStatusFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 |
81 | public struct TrainerStatusFlags: OptionSet {
| `- note: consider making struct 'TrainerStatusFlags' conform to the 'Sendable' protocol
82 | public let rawValue: UInt8
83 |
84 | static let TrainingStatusStringPresent = TrainerStatusFlags(rawValue: 1 << 0)
| |- warning: static property 'TrainingStatusStringPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TrainerStatusFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TrainingStatusStringPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | static let ExtendedStringPresent = TrainerStatusFlags(rawValue: 1 << 2)
86 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:85:20: warning: static property 'ExtendedStringPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TrainerStatusFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 |
81 | public struct TrainerStatusFlags: OptionSet {
| `- note: consider making struct 'TrainerStatusFlags' conform to the 'Sendable' protocol
82 | public let rawValue: UInt8
83 |
84 | static let TrainingStatusStringPresent = TrainerStatusFlags(rawValue: 1 << 0)
85 | static let ExtendedStringPresent = TrainerStatusFlags(rawValue: 1 << 2)
| |- warning: static property 'ExtendedStringPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TrainerStatusFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ExtendedStringPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | public init(rawValue: UInt8) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:292:27: warning: static property 'MoreData' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
292 | public static let MoreData = IndoorBikeDataFlags(rawValue: 1 << 0)
| |- warning: static property 'MoreData' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'MoreData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 | public static let AverageSpeedPresent = IndoorBikeDataFlags(rawValue: 1 << 1)
294 | public static let InstantaneousCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:293:27: warning: static property 'AverageSpeedPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
292 | public static let MoreData = IndoorBikeDataFlags(rawValue: 1 << 0)
293 | public static let AverageSpeedPresent = IndoorBikeDataFlags(rawValue: 1 << 1)
| |- warning: static property 'AverageSpeedPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AverageSpeedPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
294 | public static let InstantaneousCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 2)
295 | public static let AverageCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:294:27: warning: static property 'InstantaneousCadencePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
292 | public static let MoreData = IndoorBikeDataFlags(rawValue: 1 << 0)
293 | public static let AverageSpeedPresent = IndoorBikeDataFlags(rawValue: 1 << 1)
294 | public static let InstantaneousCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 2)
| |- warning: static property 'InstantaneousCadencePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'InstantaneousCadencePresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
295 | public static let AverageCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 3)
296 | public static let TotalDistancePresent = IndoorBikeDataFlags(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:295:27: warning: static property 'AverageCadencePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
293 | public static let AverageSpeedPresent = IndoorBikeDataFlags(rawValue: 1 << 1)
294 | public static let InstantaneousCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 2)
295 | public static let AverageCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 3)
| |- warning: static property 'AverageCadencePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AverageCadencePresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
296 | public static let TotalDistancePresent = IndoorBikeDataFlags(rawValue: 1 << 4)
297 | public static let ResistanceLevelPresent = IndoorBikeDataFlags(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:296:27: warning: static property 'TotalDistancePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
294 | public static let InstantaneousCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 2)
295 | public static let AverageCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 3)
296 | public static let TotalDistancePresent = IndoorBikeDataFlags(rawValue: 1 << 4)
| |- warning: static property 'TotalDistancePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TotalDistancePresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 | public static let ResistanceLevelPresent = IndoorBikeDataFlags(rawValue: 1 << 5)
298 | public static let InstantaneousPowerPresent = IndoorBikeDataFlags(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:297:27: warning: static property 'ResistanceLevelPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
295 | public static let AverageCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 3)
296 | public static let TotalDistancePresent = IndoorBikeDataFlags(rawValue: 1 << 4)
297 | public static let ResistanceLevelPresent = IndoorBikeDataFlags(rawValue: 1 << 5)
| |- warning: static property 'ResistanceLevelPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ResistanceLevelPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
298 | public static let InstantaneousPowerPresent = IndoorBikeDataFlags(rawValue: 1 << 6)
299 | public static let AveragePowerPresent = IndoorBikeDataFlags(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:298:27: warning: static property 'InstantaneousPowerPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
296 | public static let TotalDistancePresent = IndoorBikeDataFlags(rawValue: 1 << 4)
297 | public static let ResistanceLevelPresent = IndoorBikeDataFlags(rawValue: 1 << 5)
298 | public static let InstantaneousPowerPresent = IndoorBikeDataFlags(rawValue: 1 << 6)
| |- warning: static property 'InstantaneousPowerPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'InstantaneousPowerPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
299 | public static let AveragePowerPresent = IndoorBikeDataFlags(rawValue: 1 << 7)
300 | public static let ExpendedEnergyPresent = IndoorBikeDataFlags(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:299:27: warning: static property 'AveragePowerPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
297 | public static let ResistanceLevelPresent = IndoorBikeDataFlags(rawValue: 1 << 5)
298 | public static let InstantaneousPowerPresent = IndoorBikeDataFlags(rawValue: 1 << 6)
299 | public static let AveragePowerPresent = IndoorBikeDataFlags(rawValue: 1 << 7)
| |- warning: static property 'AveragePowerPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AveragePowerPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 | public static let ExpendedEnergyPresent = IndoorBikeDataFlags(rawValue: 1 << 8)
301 | public static let HeartRatePresent = IndoorBikeDataFlags(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:300:27: warning: static property 'ExpendedEnergyPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
298 | public static let InstantaneousPowerPresent = IndoorBikeDataFlags(rawValue: 1 << 6)
299 | public static let AveragePowerPresent = IndoorBikeDataFlags(rawValue: 1 << 7)
300 | public static let ExpendedEnergyPresent = IndoorBikeDataFlags(rawValue: 1 << 8)
| |- warning: static property 'ExpendedEnergyPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ExpendedEnergyPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
301 | public static let HeartRatePresent = IndoorBikeDataFlags(rawValue: 1 << 9)
302 | public static let MetabolicEquivalentPresent = IndoorBikeDataFlags(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:301:27: warning: static property 'HeartRatePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
299 | public static let AveragePowerPresent = IndoorBikeDataFlags(rawValue: 1 << 7)
300 | public static let ExpendedEnergyPresent = IndoorBikeDataFlags(rawValue: 1 << 8)
301 | public static let HeartRatePresent = IndoorBikeDataFlags(rawValue: 1 << 9)
| |- warning: static property 'HeartRatePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'HeartRatePresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
302 | public static let MetabolicEquivalentPresent = IndoorBikeDataFlags(rawValue: 1 << 10)
303 | public static let ElapsedTimePresent = IndoorBikeDataFlags(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:302:27: warning: static property 'MetabolicEquivalentPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
300 | public static let ExpendedEnergyPresent = IndoorBikeDataFlags(rawValue: 1 << 8)
301 | public static let HeartRatePresent = IndoorBikeDataFlags(rawValue: 1 << 9)
302 | public static let MetabolicEquivalentPresent = IndoorBikeDataFlags(rawValue: 1 << 10)
| |- warning: static property 'MetabolicEquivalentPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'MetabolicEquivalentPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
303 | public static let ElapsedTimePresent = IndoorBikeDataFlags(rawValue: 1 << 11)
304 | public static let RemainingTimePresent = IndoorBikeDataFlags(rawValue: 1 << 12)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:303:27: warning: static property 'ElapsedTimePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
301 | public static let HeartRatePresent = IndoorBikeDataFlags(rawValue: 1 << 9)
302 | public static let MetabolicEquivalentPresent = IndoorBikeDataFlags(rawValue: 1 << 10)
303 | public static let ElapsedTimePresent = IndoorBikeDataFlags(rawValue: 1 << 11)
| |- warning: static property 'ElapsedTimePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ElapsedTimePresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
304 | public static let RemainingTimePresent = IndoorBikeDataFlags(rawValue: 1 << 12)
305 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:304:27: warning: static property 'RemainingTimePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
302 | public static let MetabolicEquivalentPresent = IndoorBikeDataFlags(rawValue: 1 << 10)
303 | public static let ElapsedTimePresent = IndoorBikeDataFlags(rawValue: 1 << 11)
304 | public static let RemainingTimePresent = IndoorBikeDataFlags(rawValue: 1 << 12)
| |- warning: static property 'RemainingTimePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RemainingTimePresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
305 |
306 | public init(rawValue: UInt16) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineService.swift:21:23: warning: static property 'characteristicTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var uuid: String { return "1826" }
20 |
21 | public static var characteristicTypes: Dictionary<String, Characteristic.Type> = [
| |- warning: static property 'characteristicTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'characteristicTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'characteristicTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | Feature.uuid: Feature.self,
23 | ControlPoint.uuid: ControlPoint.self,
[24/26] Compiling SwiftySensors FitnessMachineService.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:18:27: warning: static property 'averageSpeedSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
18 | public static let averageSpeedSupported = MachineFeatures(rawValue: 1 << 0)
| |- warning: static property 'averageSpeedSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'averageSpeedSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let cadenceSupported = MachineFeatures(rawValue: 1 << 1)
20 | public static let totalDistanceSupported = MachineFeatures(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:19:27: warning: static property 'cadenceSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
18 | public static let averageSpeedSupported = MachineFeatures(rawValue: 1 << 0)
19 | public static let cadenceSupported = MachineFeatures(rawValue: 1 << 1)
| |- warning: static property 'cadenceSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cadenceSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let totalDistanceSupported = MachineFeatures(rawValue: 1 << 2)
21 | public static let inclinationSupported = MachineFeatures(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:20:27: warning: static property 'totalDistanceSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
18 | public static let averageSpeedSupported = MachineFeatures(rawValue: 1 << 0)
19 | public static let cadenceSupported = MachineFeatures(rawValue: 1 << 1)
20 | public static let totalDistanceSupported = MachineFeatures(rawValue: 1 << 2)
| |- warning: static property 'totalDistanceSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'totalDistanceSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let inclinationSupported = MachineFeatures(rawValue: 1 << 3)
22 | public static let elevationGainSupported = MachineFeatures(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:21:27: warning: static property 'inclinationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
19 | public static let cadenceSupported = MachineFeatures(rawValue: 1 << 1)
20 | public static let totalDistanceSupported = MachineFeatures(rawValue: 1 << 2)
21 | public static let inclinationSupported = MachineFeatures(rawValue: 1 << 3)
| |- warning: static property 'inclinationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inclinationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let elevationGainSupported = MachineFeatures(rawValue: 1 << 4)
23 | public static let paceSupported = MachineFeatures(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:22:27: warning: static property 'elevationGainSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
20 | public static let totalDistanceSupported = MachineFeatures(rawValue: 1 << 2)
21 | public static let inclinationSupported = MachineFeatures(rawValue: 1 << 3)
22 | public static let elevationGainSupported = MachineFeatures(rawValue: 1 << 4)
| |- warning: static property 'elevationGainSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'elevationGainSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let paceSupported = MachineFeatures(rawValue: 1 << 5)
24 | public static let stepCountSupported = MachineFeatures(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:23:27: warning: static property 'paceSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
21 | public static let inclinationSupported = MachineFeatures(rawValue: 1 << 3)
22 | public static let elevationGainSupported = MachineFeatures(rawValue: 1 << 4)
23 | public static let paceSupported = MachineFeatures(rawValue: 1 << 5)
| |- warning: static property 'paceSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'paceSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let stepCountSupported = MachineFeatures(rawValue: 1 << 6)
25 | public static let resistanceLevelSupported = MachineFeatures(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:24:27: warning: static property 'stepCountSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
22 | public static let elevationGainSupported = MachineFeatures(rawValue: 1 << 4)
23 | public static let paceSupported = MachineFeatures(rawValue: 1 << 5)
24 | public static let stepCountSupported = MachineFeatures(rawValue: 1 << 6)
| |- warning: static property 'stepCountSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stepCountSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let resistanceLevelSupported = MachineFeatures(rawValue: 1 << 7)
26 | public static let strideCountSupported = MachineFeatures(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:25:27: warning: static property 'resistanceLevelSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
23 | public static let paceSupported = MachineFeatures(rawValue: 1 << 5)
24 | public static let stepCountSupported = MachineFeatures(rawValue: 1 << 6)
25 | public static let resistanceLevelSupported = MachineFeatures(rawValue: 1 << 7)
| |- warning: static property 'resistanceLevelSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resistanceLevelSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let strideCountSupported = MachineFeatures(rawValue: 1 << 8)
27 | public static let expendedEnergySupported = MachineFeatures(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:26:27: warning: static property 'strideCountSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
24 | public static let stepCountSupported = MachineFeatures(rawValue: 1 << 6)
25 | public static let resistanceLevelSupported = MachineFeatures(rawValue: 1 << 7)
26 | public static let strideCountSupported = MachineFeatures(rawValue: 1 << 8)
| |- warning: static property 'strideCountSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strideCountSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let expendedEnergySupported = MachineFeatures(rawValue: 1 << 9)
28 | public static let heartRateMeasurementSupported = MachineFeatures(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:27:27: warning: static property 'expendedEnergySupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
25 | public static let resistanceLevelSupported = MachineFeatures(rawValue: 1 << 7)
26 | public static let strideCountSupported = MachineFeatures(rawValue: 1 << 8)
27 | public static let expendedEnergySupported = MachineFeatures(rawValue: 1 << 9)
| |- warning: static property 'expendedEnergySupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expendedEnergySupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let heartRateMeasurementSupported = MachineFeatures(rawValue: 1 << 10)
29 | public static let metabolicEquivalentSupported = MachineFeatures(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:28:27: warning: static property 'heartRateMeasurementSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
26 | public static let strideCountSupported = MachineFeatures(rawValue: 1 << 8)
27 | public static let expendedEnergySupported = MachineFeatures(rawValue: 1 << 9)
28 | public static let heartRateMeasurementSupported = MachineFeatures(rawValue: 1 << 10)
| |- warning: static property 'heartRateMeasurementSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'heartRateMeasurementSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let metabolicEquivalentSupported = MachineFeatures(rawValue: 1 << 11)
30 | public static let elapsedTimeSupported = MachineFeatures(rawValue: 1 << 12)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:29:27: warning: static property 'metabolicEquivalentSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
27 | public static let expendedEnergySupported = MachineFeatures(rawValue: 1 << 9)
28 | public static let heartRateMeasurementSupported = MachineFeatures(rawValue: 1 << 10)
29 | public static let metabolicEquivalentSupported = MachineFeatures(rawValue: 1 << 11)
| |- warning: static property 'metabolicEquivalentSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'metabolicEquivalentSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let elapsedTimeSupported = MachineFeatures(rawValue: 1 << 12)
31 | public static let remainingTimeSupported = MachineFeatures(rawValue: 1 << 13)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:30:27: warning: static property 'elapsedTimeSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
28 | public static let heartRateMeasurementSupported = MachineFeatures(rawValue: 1 << 10)
29 | public static let metabolicEquivalentSupported = MachineFeatures(rawValue: 1 << 11)
30 | public static let elapsedTimeSupported = MachineFeatures(rawValue: 1 << 12)
| |- warning: static property 'elapsedTimeSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'elapsedTimeSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let remainingTimeSupported = MachineFeatures(rawValue: 1 << 13)
32 | public static let powerMeasurementSupported = MachineFeatures(rawValue: 1 << 14)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:31:27: warning: static property 'remainingTimeSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
29 | public static let metabolicEquivalentSupported = MachineFeatures(rawValue: 1 << 11)
30 | public static let elapsedTimeSupported = MachineFeatures(rawValue: 1 << 12)
31 | public static let remainingTimeSupported = MachineFeatures(rawValue: 1 << 13)
| |- warning: static property 'remainingTimeSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'remainingTimeSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let powerMeasurementSupported = MachineFeatures(rawValue: 1 << 14)
33 | public static let forceOnBeltAndPowerOutputSupported = MachineFeatures(rawValue: 1 << 15)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:32:27: warning: static property 'powerMeasurementSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
30 | public static let elapsedTimeSupported = MachineFeatures(rawValue: 1 << 12)
31 | public static let remainingTimeSupported = MachineFeatures(rawValue: 1 << 13)
32 | public static let powerMeasurementSupported = MachineFeatures(rawValue: 1 << 14)
| |- warning: static property 'powerMeasurementSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'powerMeasurementSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let forceOnBeltAndPowerOutputSupported = MachineFeatures(rawValue: 1 << 15)
34 | public static let userDataRetentionSupported = MachineFeatures(rawValue: 1 << 16)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:33:27: warning: static property 'forceOnBeltAndPowerOutputSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
31 | public static let remainingTimeSupported = MachineFeatures(rawValue: 1 << 13)
32 | public static let powerMeasurementSupported = MachineFeatures(rawValue: 1 << 14)
33 | public static let forceOnBeltAndPowerOutputSupported = MachineFeatures(rawValue: 1 << 15)
| |- warning: static property 'forceOnBeltAndPowerOutputSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forceOnBeltAndPowerOutputSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let userDataRetentionSupported = MachineFeatures(rawValue: 1 << 16)
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:34:27: warning: static property 'userDataRetentionSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
13 | open class FitnessMachineSerializer {
14 |
15 | public struct MachineFeatures: OptionSet {
| `- note: consider making struct 'MachineFeatures' conform to the 'Sendable' protocol
16 | public let rawValue: UInt32
17 |
:
32 | public static let powerMeasurementSupported = MachineFeatures(rawValue: 1 << 14)
33 | public static let forceOnBeltAndPowerOutputSupported = MachineFeatures(rawValue: 1 << 15)
34 | public static let userDataRetentionSupported = MachineFeatures(rawValue: 1 << 16)
| |- warning: static property 'userDataRetentionSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.MachineFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userDataRetentionSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public init(rawValue: UInt32) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:44:27: warning: static property 'speedTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
44 | public static let speedTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 0)
| |- warning: static property 'speedTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'speedTargetSettingSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | public static let inclinationTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 1)
46 | public static let resistanceTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:45:27: warning: static property 'inclinationTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
44 | public static let speedTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 0)
45 | public static let inclinationTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 1)
| |- warning: static property 'inclinationTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inclinationTargetSettingSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static let resistanceTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 2)
47 | public static let powerTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:46:27: warning: static property 'resistanceTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
44 | public static let speedTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 0)
45 | public static let inclinationTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 1)
46 | public static let resistanceTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 2)
| |- warning: static property 'resistanceTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resistanceTargetSettingSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | public static let powerTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 3)
48 | public static let heartRateTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:47:27: warning: static property 'powerTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
45 | public static let inclinationTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 1)
46 | public static let resistanceTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 2)
47 | public static let powerTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 3)
| |- warning: static property 'powerTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'powerTargetSettingSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let heartRateTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 4)
49 | public static let targetedExpendedEnergyConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:48:27: warning: static property 'heartRateTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
46 | public static let resistanceTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 2)
47 | public static let powerTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 3)
48 | public static let heartRateTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 4)
| |- warning: static property 'heartRateTargetSettingSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'heartRateTargetSettingSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let targetedExpendedEnergyConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 5)
50 | public static let targetedStepNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:49:27: warning: static property 'targetedExpendedEnergyConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
47 | public static let powerTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 3)
48 | public static let heartRateTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 4)
49 | public static let targetedExpendedEnergyConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 5)
| |- warning: static property 'targetedExpendedEnergyConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedExpendedEnergyConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let targetedStepNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 6)
51 | public static let targetedStrideNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:50:27: warning: static property 'targetedStepNumberConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
48 | public static let heartRateTargetSettingSupported = TargetSettingFeatures(rawValue: 1 << 4)
49 | public static let targetedExpendedEnergyConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 5)
50 | public static let targetedStepNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 6)
| |- warning: static property 'targetedStepNumberConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedStepNumberConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let targetedStrideNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 7)
52 | public static let targetedDistanceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:51:27: warning: static property 'targetedStrideNumberConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
49 | public static let targetedExpendedEnergyConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 5)
50 | public static let targetedStepNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 6)
51 | public static let targetedStrideNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 7)
| |- warning: static property 'targetedStrideNumberConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedStrideNumberConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let targetedDistanceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 8)
53 | public static let targetedTrainingTimeConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:52:27: warning: static property 'targetedDistanceConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
50 | public static let targetedStepNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 6)
51 | public static let targetedStrideNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 7)
52 | public static let targetedDistanceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 8)
| |- warning: static property 'targetedDistanceConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedDistanceConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | public static let targetedTrainingTimeConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 9)
54 | public static let targetedTimeInTwoHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:53:27: warning: static property 'targetedTrainingTimeConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
51 | public static let targetedStrideNumberConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 7)
52 | public static let targetedDistanceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 8)
53 | public static let targetedTrainingTimeConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 9)
| |- warning: static property 'targetedTrainingTimeConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedTrainingTimeConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | public static let targetedTimeInTwoHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 10)
55 | public static let targetedTimeInThreeHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:54:27: warning: static property 'targetedTimeInTwoHeartRateZonesConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
52 | public static let targetedDistanceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 8)
53 | public static let targetedTrainingTimeConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 9)
54 | public static let targetedTimeInTwoHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 10)
| |- warning: static property 'targetedTimeInTwoHeartRateZonesConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedTimeInTwoHeartRateZonesConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public static let targetedTimeInThreeHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 11)
56 | public static let targetedTimeInFiveHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 12)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:55:27: warning: static property 'targetedTimeInThreeHeartRateZonesConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
53 | public static let targetedTrainingTimeConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 9)
54 | public static let targetedTimeInTwoHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 10)
55 | public static let targetedTimeInThreeHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 11)
| |- warning: static property 'targetedTimeInThreeHeartRateZonesConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedTimeInThreeHeartRateZonesConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let targetedTimeInFiveHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 12)
57 | public static let indoorBikeSimulationParametersSupported = TargetSettingFeatures(rawValue: 1 << 13)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:56:27: warning: static property 'targetedTimeInFiveHeartRateZonesConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
54 | public static let targetedTimeInTwoHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 10)
55 | public static let targetedTimeInThreeHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 11)
56 | public static let targetedTimeInFiveHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 12)
| |- warning: static property 'targetedTimeInFiveHeartRateZonesConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedTimeInFiveHeartRateZonesConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | public static let indoorBikeSimulationParametersSupported = TargetSettingFeatures(rawValue: 1 << 13)
58 | public static let wheelCircumferenceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 14)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:57:27: warning: static property 'indoorBikeSimulationParametersSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
55 | public static let targetedTimeInThreeHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 11)
56 | public static let targetedTimeInFiveHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 12)
57 | public static let indoorBikeSimulationParametersSupported = TargetSettingFeatures(rawValue: 1 << 13)
| |- warning: static property 'indoorBikeSimulationParametersSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'indoorBikeSimulationParametersSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public static let wheelCircumferenceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 14)
59 | public static let spinDownControlSupported = TargetSettingFeatures(rawValue: 1 << 15)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:58:27: warning: static property 'wheelCircumferenceConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
56 | public static let targetedTimeInFiveHeartRateZonesConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 12)
57 | public static let indoorBikeSimulationParametersSupported = TargetSettingFeatures(rawValue: 1 << 13)
58 | public static let wheelCircumferenceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 14)
| |- warning: static property 'wheelCircumferenceConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wheelCircumferenceConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public static let spinDownControlSupported = TargetSettingFeatures(rawValue: 1 << 15)
60 | public static let targetedCadenceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 16)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:59:27: warning: static property 'spinDownControlSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
57 | public static let indoorBikeSimulationParametersSupported = TargetSettingFeatures(rawValue: 1 << 13)
58 | public static let wheelCircumferenceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 14)
59 | public static let spinDownControlSupported = TargetSettingFeatures(rawValue: 1 << 15)
| |- warning: static property 'spinDownControlSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'spinDownControlSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let targetedCadenceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 16)
61 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:60:27: warning: static property 'targetedCadenceConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public struct TargetSettingFeatures: OptionSet {
| `- note: consider making struct 'TargetSettingFeatures' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
58 | public static let wheelCircumferenceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 14)
59 | public static let spinDownControlSupported = TargetSettingFeatures(rawValue: 1 << 15)
60 | public static let targetedCadenceConfigurationSupported = TargetSettingFeatures(rawValue: 1 << 16)
| |- warning: static property 'targetedCadenceConfigurationSupported' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TargetSettingFeatures' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetedCadenceConfigurationSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | public init(rawValue: UInt32) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:84:20: warning: static property 'TrainingStatusStringPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TrainerStatusFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 |
81 | public struct TrainerStatusFlags: OptionSet {
| `- note: consider making struct 'TrainerStatusFlags' conform to the 'Sendable' protocol
82 | public let rawValue: UInt8
83 |
84 | static let TrainingStatusStringPresent = TrainerStatusFlags(rawValue: 1 << 0)
| |- warning: static property 'TrainingStatusStringPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TrainerStatusFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TrainingStatusStringPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | static let ExtendedStringPresent = TrainerStatusFlags(rawValue: 1 << 2)
86 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:85:20: warning: static property 'ExtendedStringPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TrainerStatusFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 |
81 | public struct TrainerStatusFlags: OptionSet {
| `- note: consider making struct 'TrainerStatusFlags' conform to the 'Sendable' protocol
82 | public let rawValue: UInt8
83 |
84 | static let TrainingStatusStringPresent = TrainerStatusFlags(rawValue: 1 << 0)
85 | static let ExtendedStringPresent = TrainerStatusFlags(rawValue: 1 << 2)
| |- warning: static property 'ExtendedStringPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.TrainerStatusFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ExtendedStringPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | public init(rawValue: UInt8) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:292:27: warning: static property 'MoreData' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
292 | public static let MoreData = IndoorBikeDataFlags(rawValue: 1 << 0)
| |- warning: static property 'MoreData' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'MoreData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 | public static let AverageSpeedPresent = IndoorBikeDataFlags(rawValue: 1 << 1)
294 | public static let InstantaneousCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:293:27: warning: static property 'AverageSpeedPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
292 | public static let MoreData = IndoorBikeDataFlags(rawValue: 1 << 0)
293 | public static let AverageSpeedPresent = IndoorBikeDataFlags(rawValue: 1 << 1)
| |- warning: static property 'AverageSpeedPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AverageSpeedPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
294 | public static let InstantaneousCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 2)
295 | public static let AverageCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:294:27: warning: static property 'InstantaneousCadencePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
292 | public static let MoreData = IndoorBikeDataFlags(rawValue: 1 << 0)
293 | public static let AverageSpeedPresent = IndoorBikeDataFlags(rawValue: 1 << 1)
294 | public static let InstantaneousCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 2)
| |- warning: static property 'InstantaneousCadencePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'InstantaneousCadencePresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
295 | public static let AverageCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 3)
296 | public static let TotalDistancePresent = IndoorBikeDataFlags(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:295:27: warning: static property 'AverageCadencePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
293 | public static let AverageSpeedPresent = IndoorBikeDataFlags(rawValue: 1 << 1)
294 | public static let InstantaneousCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 2)
295 | public static let AverageCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 3)
| |- warning: static property 'AverageCadencePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AverageCadencePresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
296 | public static let TotalDistancePresent = IndoorBikeDataFlags(rawValue: 1 << 4)
297 | public static let ResistanceLevelPresent = IndoorBikeDataFlags(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:296:27: warning: static property 'TotalDistancePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
294 | public static let InstantaneousCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 2)
295 | public static let AverageCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 3)
296 | public static let TotalDistancePresent = IndoorBikeDataFlags(rawValue: 1 << 4)
| |- warning: static property 'TotalDistancePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TotalDistancePresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 | public static let ResistanceLevelPresent = IndoorBikeDataFlags(rawValue: 1 << 5)
298 | public static let InstantaneousPowerPresent = IndoorBikeDataFlags(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:297:27: warning: static property 'ResistanceLevelPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
295 | public static let AverageCadencePresent = IndoorBikeDataFlags(rawValue: 1 << 3)
296 | public static let TotalDistancePresent = IndoorBikeDataFlags(rawValue: 1 << 4)
297 | public static let ResistanceLevelPresent = IndoorBikeDataFlags(rawValue: 1 << 5)
| |- warning: static property 'ResistanceLevelPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ResistanceLevelPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
298 | public static let InstantaneousPowerPresent = IndoorBikeDataFlags(rawValue: 1 << 6)
299 | public static let AveragePowerPresent = IndoorBikeDataFlags(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:298:27: warning: static property 'InstantaneousPowerPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
296 | public static let TotalDistancePresent = IndoorBikeDataFlags(rawValue: 1 << 4)
297 | public static let ResistanceLevelPresent = IndoorBikeDataFlags(rawValue: 1 << 5)
298 | public static let InstantaneousPowerPresent = IndoorBikeDataFlags(rawValue: 1 << 6)
| |- warning: static property 'InstantaneousPowerPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'InstantaneousPowerPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
299 | public static let AveragePowerPresent = IndoorBikeDataFlags(rawValue: 1 << 7)
300 | public static let ExpendedEnergyPresent = IndoorBikeDataFlags(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:299:27: warning: static property 'AveragePowerPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
297 | public static let ResistanceLevelPresent = IndoorBikeDataFlags(rawValue: 1 << 5)
298 | public static let InstantaneousPowerPresent = IndoorBikeDataFlags(rawValue: 1 << 6)
299 | public static let AveragePowerPresent = IndoorBikeDataFlags(rawValue: 1 << 7)
| |- warning: static property 'AveragePowerPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AveragePowerPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 | public static let ExpendedEnergyPresent = IndoorBikeDataFlags(rawValue: 1 << 8)
301 | public static let HeartRatePresent = IndoorBikeDataFlags(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:300:27: warning: static property 'ExpendedEnergyPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
298 | public static let InstantaneousPowerPresent = IndoorBikeDataFlags(rawValue: 1 << 6)
299 | public static let AveragePowerPresent = IndoorBikeDataFlags(rawValue: 1 << 7)
300 | public static let ExpendedEnergyPresent = IndoorBikeDataFlags(rawValue: 1 << 8)
| |- warning: static property 'ExpendedEnergyPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ExpendedEnergyPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
301 | public static let HeartRatePresent = IndoorBikeDataFlags(rawValue: 1 << 9)
302 | public static let MetabolicEquivalentPresent = IndoorBikeDataFlags(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:301:27: warning: static property 'HeartRatePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
299 | public static let AveragePowerPresent = IndoorBikeDataFlags(rawValue: 1 << 7)
300 | public static let ExpendedEnergyPresent = IndoorBikeDataFlags(rawValue: 1 << 8)
301 | public static let HeartRatePresent = IndoorBikeDataFlags(rawValue: 1 << 9)
| |- warning: static property 'HeartRatePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'HeartRatePresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
302 | public static let MetabolicEquivalentPresent = IndoorBikeDataFlags(rawValue: 1 << 10)
303 | public static let ElapsedTimePresent = IndoorBikeDataFlags(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:302:27: warning: static property 'MetabolicEquivalentPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
300 | public static let ExpendedEnergyPresent = IndoorBikeDataFlags(rawValue: 1 << 8)
301 | public static let HeartRatePresent = IndoorBikeDataFlags(rawValue: 1 << 9)
302 | public static let MetabolicEquivalentPresent = IndoorBikeDataFlags(rawValue: 1 << 10)
| |- warning: static property 'MetabolicEquivalentPresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'MetabolicEquivalentPresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
303 | public static let ElapsedTimePresent = IndoorBikeDataFlags(rawValue: 1 << 11)
304 | public static let RemainingTimePresent = IndoorBikeDataFlags(rawValue: 1 << 12)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:303:27: warning: static property 'ElapsedTimePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
301 | public static let HeartRatePresent = IndoorBikeDataFlags(rawValue: 1 << 9)
302 | public static let MetabolicEquivalentPresent = IndoorBikeDataFlags(rawValue: 1 << 10)
303 | public static let ElapsedTimePresent = IndoorBikeDataFlags(rawValue: 1 << 11)
| |- warning: static property 'ElapsedTimePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ElapsedTimePresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
304 | public static let RemainingTimePresent = IndoorBikeDataFlags(rawValue: 1 << 12)
305 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineSerializer.swift:304:27: warning: static property 'RemainingTimePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
287 | }
288 |
289 | public struct IndoorBikeDataFlags: OptionSet {
| `- note: consider making struct 'IndoorBikeDataFlags' conform to the 'Sendable' protocol
290 | public let rawValue: UInt16
291 |
:
302 | public static let MetabolicEquivalentPresent = IndoorBikeDataFlags(rawValue: 1 << 10)
303 | public static let ElapsedTimePresent = IndoorBikeDataFlags(rawValue: 1 << 11)
304 | public static let RemainingTimePresent = IndoorBikeDataFlags(rawValue: 1 << 12)
| |- warning: static property 'RemainingTimePresent' is not concurrency-safe because non-'Sendable' type 'FitnessMachineSerializer.IndoorBikeDataFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RemainingTimePresent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
305 |
306 | public init(rawValue: UInt16) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/FitnessMachineService.swift:21:23: warning: static property 'characteristicTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var uuid: String { return "1826" }
20 |
21 | public static var characteristicTypes: Dictionary<String, Characteristic.Type> = [
| |- warning: static property 'characteristicTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'characteristicTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'characteristicTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | Feature.uuid: Feature.self,
23 | ControlPoint.uuid: ControlPoint.self,
[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.0 macosSpm