Build Information
Failed to build SwiftySensors, reference master (334b9a
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 19:26:07 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
| |- note: add '@MainActor' to make static property 'totalDistanceSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'inclinationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'elevationGainSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'paceSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'stepCountSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'resistanceLevelSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'strideCountSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'expendedEnergySupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'heartRateMeasurementSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'metabolicEquivalentSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'elapsedTimeSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'remainingTimeSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'powerMeasurementSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'forceOnBeltAndPowerOutputSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'userDataRetentionSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'speedTargetSettingSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'inclinationTargetSettingSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'resistanceTargetSettingSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'powerTargetSettingSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'heartRateTargetSettingSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedExpendedEnergyConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedStepNumberConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedStrideNumberConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedDistanceConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedTrainingTimeConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedTimeInTwoHeartRateZonesConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedTimeInThreeHeartRateZonesConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedTimeInFiveHeartRateZonesConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'indoorBikeSimulationParametersSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'wheelCircumferenceConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'spinDownControlSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedCadenceConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'TrainingStatusStringPresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'ExtendedStringPresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'MoreData' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'AverageSpeedPresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'InstantaneousCadencePresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'AverageCadencePresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'TotalDistancePresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'ResistanceLevelPresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'InstantaneousPowerPresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'AveragePowerPresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'ExpendedEnergyPresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'HeartRatePresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'MetabolicEquivalentPresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'ElapsedTimePresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'RemainingTimePresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'characteristicTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | Feature.uuid: Feature.self,
23 | ControlPoint.uuid: ControlPoint.self,
[22/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: add '@MainActor' to make static property 'averageSpeedSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'cadenceSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'totalDistanceSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'inclinationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'elevationGainSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'paceSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'stepCountSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'resistanceLevelSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'strideCountSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'expendedEnergySupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'heartRateMeasurementSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'metabolicEquivalentSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'elapsedTimeSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'remainingTimeSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'powerMeasurementSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'forceOnBeltAndPowerOutputSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'userDataRetentionSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'speedTargetSettingSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'inclinationTargetSettingSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'resistanceTargetSettingSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'powerTargetSettingSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'heartRateTargetSettingSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedExpendedEnergyConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedStepNumberConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedStrideNumberConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedDistanceConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedTrainingTimeConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedTimeInTwoHeartRateZonesConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedTimeInThreeHeartRateZonesConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedTimeInFiveHeartRateZonesConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'indoorBikeSimulationParametersSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'wheelCircumferenceConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'spinDownControlSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'targetedCadenceConfigurationSupported' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'TrainingStatusStringPresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'ExtendedStringPresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'MoreData' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'AverageSpeedPresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'InstantaneousCadencePresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'AverageCadencePresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'TotalDistancePresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'ResistanceLevelPresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'InstantaneousPowerPresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'AveragePowerPresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'ExpendedEnergyPresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'HeartRatePresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'MetabolicEquivalentPresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'ElapsedTimePresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'RemainingTimePresent' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'characteristicTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | Feature.uuid: Feature.self,
23 | ControlPoint.uuid: ControlPoint.self,
[23/26] Compiling SwiftySensors CyclingSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CyclingSpeedCadenceSerializer.swift:25:27: warning: static property 'WheelRevolutionDataSupported' is not concurrency-safe because non-'Sendable' type 'CyclingSpeedCadenceSerializer.Features' may have shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public struct Features: OptionSet {
| `- note: consider making struct 'Features' conform to the 'Sendable' protocol
23 | public let rawValue: UInt16
24 |
25 | public static let WheelRevolutionDataSupported = Features(rawValue: 1 << 0)
| |- warning: static property 'WheelRevolutionDataSupported' is not concurrency-safe because non-'Sendable' type 'CyclingSpeedCadenceSerializer.Features' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'WheelRevolutionDataSupported' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let CrankRevolutionDataSupported = Features(rawValue: 1 << 1)
27 | public static let MultipleSensorLocationsSupported = Features(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CyclingSpeedCadenceSerializer.swift:26:27: warning: static property 'CrankRevolutionDataSupported' is not concurrency-safe because non-'Sendable' type 'CyclingSpeedCadenceSerializer.Features' may have shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public struct Features: OptionSet {
| `- note: consider making struct 'Features' conform to the 'Sendable' protocol
23 | public let rawValue: UInt16
24 |
25 | public static let WheelRevolutionDataSupported = Features(rawValue: 1 << 0)
26 | public static let CrankRevolutionDataSupported = Features(rawValue: 1 << 1)
| |- warning: static property 'CrankRevolutionDataSupported' is not concurrency-safe because non-'Sendable' type 'CyclingSpeedCadenceSerializer.Features' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'CrankRevolutionDataSupported' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let MultipleSensorLocationsSupported = Features(rawValue: 1 << 2)
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CyclingSpeedCadenceSerializer.swift:27:27: warning: static property 'MultipleSensorLocationsSupported' is not concurrency-safe because non-'Sendable' type 'CyclingSpeedCadenceSerializer.Features' may have shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public struct Features: OptionSet {
| `- note: consider making struct 'Features' conform to the 'Sendable' protocol
23 | public let rawValue: UInt16
24 |
25 | public static let WheelRevolutionDataSupported = Features(rawValue: 1 << 0)
26 | public static let CrankRevolutionDataSupported = Features(rawValue: 1 << 1)
27 | public static let MultipleSensorLocationsSupported = Features(rawValue: 1 << 2)
| |- warning: static property 'MultipleSensorLocationsSupported' is not concurrency-safe because non-'Sendable' type 'CyclingSpeedCadenceSerializer.Features' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'MultipleSensorLocationsSupported' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public init(rawValue: UInt16) {
[24/26] Compiling SwiftySensors CyclingSpeedCadenceSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CyclingSpeedCadenceSerializer.swift:25:27: warning: static property 'WheelRevolutionDataSupported' is not concurrency-safe because non-'Sendable' type 'CyclingSpeedCadenceSerializer.Features' may have shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public struct Features: OptionSet {
| `- note: consider making struct 'Features' conform to the 'Sendable' protocol
23 | public let rawValue: UInt16
24 |
25 | public static let WheelRevolutionDataSupported = Features(rawValue: 1 << 0)
| |- warning: static property 'WheelRevolutionDataSupported' is not concurrency-safe because non-'Sendable' type 'CyclingSpeedCadenceSerializer.Features' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'WheelRevolutionDataSupported' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let CrankRevolutionDataSupported = Features(rawValue: 1 << 1)
27 | public static let MultipleSensorLocationsSupported = Features(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CyclingSpeedCadenceSerializer.swift:26:27: warning: static property 'CrankRevolutionDataSupported' is not concurrency-safe because non-'Sendable' type 'CyclingSpeedCadenceSerializer.Features' may have shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public struct Features: OptionSet {
| `- note: consider making struct 'Features' conform to the 'Sendable' protocol
23 | public let rawValue: UInt16
24 |
25 | public static let WheelRevolutionDataSupported = Features(rawValue: 1 << 0)
26 | public static let CrankRevolutionDataSupported = Features(rawValue: 1 << 1)
| |- warning: static property 'CrankRevolutionDataSupported' is not concurrency-safe because non-'Sendable' type 'CyclingSpeedCadenceSerializer.Features' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'CrankRevolutionDataSupported' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let MultipleSensorLocationsSupported = Features(rawValue: 1 << 2)
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/CyclingSpeedCadenceSerializer.swift:27:27: warning: static property 'MultipleSensorLocationsSupported' is not concurrency-safe because non-'Sendable' type 'CyclingSpeedCadenceSerializer.Features' may have shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public struct Features: OptionSet {
| `- note: consider making struct 'Features' conform to the 'Sendable' protocol
23 | public let rawValue: UInt16
24 |
25 | public static let WheelRevolutionDataSupported = Features(rawValue: 1 << 0)
26 | public static let CrankRevolutionDataSupported = Features(rawValue: 1 << 1)
27 | public static let MultipleSensorLocationsSupported = Features(rawValue: 1 << 2)
| |- warning: static property 'MultipleSensorLocationsSupported' is not concurrency-safe because non-'Sendable' type 'CyclingSpeedCadenceSerializer.Features' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'MultipleSensorLocationsSupported' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public init(rawValue: UInt16) {
[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 | }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling Signals AssociatedObject.swift
[3/6] Compiling Signals UIBarButtonItem+Signals.swift
[4/6] Compiling Signals Signal.swift
[5/6] Emitting module Signals
[6/6] Compiling Signals UIControl+Signals.swift
[7/23] Compiling SwiftySensors Operators.swift
[8/23] Compiling SwiftySensors RSSINormalizer.swift
[9/23] Compiling SwiftySensors SensorManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/SensorManager.swift:144:48: warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead
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/SensorManager.swift:346:35: warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead
344 | }
345 |
346 | onBluetoothStateChange => CBCentralManagerState(rawValue: central.state.rawValue)!
| `- warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead
347 | }
348 |
[10/23] Compiling SwiftySensors HeartRateSerializer.swift
[11/23] Compiling SwiftySensors HeartRateService.swift
[12/23] Compiling SwiftySensors CyclingSerializer.swift
[13/23] Compiling SwiftySensors CyclingSpeedCadenceSerializer.swift
[14/23] Compiling SwiftySensors CyclingPowerSerializer.swift
[15/23] Compiling SwiftySensors CyclingPowerService.swift
[16/23] Compiling SwiftySensors CyclingSpeedCadenceService.swift
[17/23] Compiling SwiftySensors DeviceInformationService.swift
[18/23] Compiling SwiftySensors FitnessMachineSerializer.swift
[19/23] Compiling SwiftySensors FitnessMachineService.swift
[20/23] Emitting module SwiftySensors
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/SensorManager.swift:144:48: warning: 'CBCentralManagerState' was deprecated in macOS 10.13: Use CBManagerState instead
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.
[21/23] Compiling SwiftySensors Sensor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/Sensor.swift:278:53: error: value of optional type 'CBService?' must be unwrapped to refer to member 'uuid' of wrapped base type 'CBService'
276 | /// :nodoc:
277 | public func peripheral(_ peripheral: CBPeripheral, didUpdateValueFor characteristic: CBCharacteristic, error: Error?) {
278 | guard let service = services[characteristic.service.uuid.uuidString] else { return }
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'uuid' of wrapped base type 'CBService'
| |- note: chain the optional using '?' to access member 'uuid' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
279 | guard let char = service.characteristics[characteristic.uuid.uuidString] else { return }
280 | if char.cbCharacteristic !== characteristic {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/Sensor.swift:289:53: error: value of optional type 'CBService?' must be unwrapped to refer to member 'uuid' of wrapped base type 'CBService'
287 | /// :nodoc:
288 | public func peripheral(_ peripheral: CBPeripheral, didWriteValueFor characteristic: CBCharacteristic, error: Error?) {
289 | guard let service = services[characteristic.service.uuid.uuidString] else { return }
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'uuid' of wrapped base type 'CBService'
| |- note: chain the optional using '?' to access member 'uuid' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
290 | guard let char = service.characteristics[characteristic.uuid.uuidString] else { return }
291 | if char.cbCharacteristic !== characteristic {
[22/23] 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 | }
[23/23] 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 | }
[24/24] Compiling SwiftySensors Service.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySensors/Service.swift:15:34: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
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.
BUILD FAILURE 6.1 macosSpm