Build Information
Successful build of Bluetooth, reference master (4f0ab2
), with Swift 6.0 for Linux on 5 Nov 2024 06:59:13 UTC.
Swift 6 data race errors: 120
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
63 |
64 | public let rawValue: UInt24
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:331:26: warning: sending 'self'-isolated value of type '(ATTHandleValueNotification) async -> ()' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
329 |
330 | // value notifications / indications
331 | await connection.register {
| `- warning: sending 'self'-isolated value of type '(ATTHandleValueNotification) async -> ()' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
332 | self.notification($0)
333 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:334:26: warning: sending 'self'-isolated value of type '(ATTHandleValueIndication) async -> ()' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
332 | self.notification($0)
333 | }
334 | await connection.register {
| `- warning: sending 'self'-isolated value of type '(ATTHandleValueIndication) async -> ()' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
335 | await self.indication($0)
336 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:58:33: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
56 | log: ((String) -> ())? = nil
57 | ) async {
58 | self.connection = await ATTConnection(
| |- warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'socket' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
59 | socket: socket,
60 | log: log
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:58:33: warning: sending 'log' risks causing data races; this is an error in the Swift 6 language mode
56 | log: ((String) -> ())? = nil
57 | ) async {
58 | self.connection = await ATTConnection(
| |- warning: sending 'log' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'log' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
59 | socket: socket,
60 | log: log
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:359:59: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
348 | sendID += 1
349 | let id = sendID
350 | return try await withCheckedThrowingContinuation { continuation in
| `- note: access can happen concurrently
351 | Task {
352 | let responseType: ATTProtocolDataUnit.Type = response
:
357 | continuation.resume(returning: ATTResponse<Response>($0))
358 | }
359 | guard let _ = await self.connection.queue(request, response: (callback, responseType))
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'request' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
360 | else { fatalError("Could not add PDU to queue: \(request)") }
361 | // store continuation in case it doesnt get called
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:372:40: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
370 | log?("Request: \(request)")
371 | assert(Request.attributeOpcode.type != .response)
372 | guard let _ = await connection.queue(request)
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'request' to actor-isolated instance method 'queue(_:response:)' risks causing data races between actor-isolated and 'self'-isolated uses
373 | else { fatalError("Could not add PDU to queue: \(request)") }
374 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:359:53: warning: sending 'self'-isolated value of type '(callback: (any ATTProtocolDataUnit) -> (), any ATTProtocolDataUnit.Type)' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
357 | continuation.resume(returning: ATTResponse<Response>($0))
358 | }
359 | guard let _ = await self.connection.queue(request, response: (callback, responseType))
| `- warning: sending 'self'-isolated value of type '(callback: (any ATTProtocolDataUnit) -> (), any ATTProtocolDataUnit.Type)' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
360 | else { fatalError("Could not add PDU to queue: \(request)") }
361 | // store continuation in case it doesnt get called
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:359:53: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
357 | continuation.resume(returning: ATTResponse<Response>($0))
358 | }
359 | guard let _ = await self.connection.queue(request, response: (callback, responseType))
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'request' to actor-isolated instance method 'queue(_:response:)' risks causing data races between actor-isolated and local actor-isolated uses
360 | else { fatalError("Could not add PDU to queue: \(request)") }
| `- note: access can happen concurrently
361 | // store continuation in case it doesnt get called
362 | self.sendContinuations[id] = { error in
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:357:34: warning: 'self'-isolated value of type 'ATTResponse<Response>' (aka 'Result<Response, ATTErrorResponse>') passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
355 | self.log?("Response: \($0)")
356 | self.sendContinuations[id] = nil
357 | continuation.resume(returning: ATTResponse<Response>($0))
| `- warning: 'self'-isolated value of type 'ATTResponse<Response>' (aka 'Result<Response, ATTErrorResponse>') passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
358 | }
359 | guard let _ = await self.connection.queue(request, response: (callback, responseType))
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCharacteristicExtendedProperties.swift:69:27: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTCharacteristicExtendedProperties.Property]' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | /// GATT Characteristic Extended Properties Options
61 | enum Property: UInt16, BitMaskOption {
| `- note: consider making enum 'Property' conform to the 'Sendable' protocol
62 |
63 | /// Reliable Write enabled
:
67 | case writableAuxiliaries = 0b10
68 |
69 | public static let allCases: [Property] = [.reliableWrite, .writableAuxiliaries]
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTCharacteristicExtendedProperties.Property]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | }
71 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:1086:10: warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'GATTClientError' has non-sendable type 'any ATTProtocolDataUnit'; this is an error in the Swift 6 language mode
1084 |
1085 | /// The GATT server responded with a PDU that has invalid values.
1086 | case invalidResponse(ATTProtocolDataUnit)
| `- warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'GATTClientError' has non-sendable type 'any ATTProtocolDataUnit'; this is an error in the Swift 6 language mode
1087 |
1088 | /// Already writing long value.
/host/spi-builder-workspace/Sources/BluetoothGATT/ATTProtocolDataUnit.swift:14:17: note: protocol 'ATTProtocolDataUnit' does not conform to the 'Sendable' protocol
12 |
13 | /// Data packet for the ATT protocol.
14 | public protocol ATTProtocolDataUnit {
| `- note: protocol 'ATTProtocolDataUnit' does not conform to the 'Sendable' protocol
15 |
16 | /// The PDU's attribute opcode.
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:1092:10: warning: associated value 'clientCharacteristicConfigurationNotAllowed' of 'Sendable'-conforming enum 'GATTClientError' has non-sendable type 'GATTClient.Characteristic'; this is an error in the Swift 6 language mode
1090 |
1091 | /// Characteristic missing client configuration descriptor.
1092 | case clientCharacteristicConfigurationNotAllowed(GATTClient.Characteristic)
| `- warning: associated value 'clientCharacteristicConfigurationNotAllowed' of 'Sendable'-conforming enum 'GATTClientError' has non-sendable type 'GATTClient.Characteristic'; this is an error in the Swift 6 language mode
1093 | }
1094 |
:
1171 |
1172 | /// A discovered characteristic.
1173 | struct Characteristic {
| `- note: consider making struct 'Characteristic' conform to the 'Sendable' protocol
1174 |
1175 | public typealias Property = GATTCharacteristicProperty
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClientCharacteristicConfiguration.swift:74:27: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTClientCharacteristicConfiguration.Configuration]' may have shared mutable state; this is an error in the Swift 6 language mode
64 |
65 | /// GATT Client Characteristic Configuration Options
66 | enum Configuration: UInt16, BitMaskOption {
| `- note: consider making enum 'Configuration' conform to the 'Sendable' protocol
67 |
68 | /// Notifications enabled
:
72 | case indicate = 0b10
73 |
74 | public static let allCases: [Configuration] = [.notify, .indicate]
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTClientCharacteristicConfiguration.Configuration]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | }
76 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:68:27: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTCurrentTime.Flag]' may have shared mutable state; this is an error in the Swift 6 language mode
52 | extension GATTCurrentTime {
53 |
54 | public enum Flag: UInt8, BitMaskOption {
| `- note: consider making enum 'Flag' conform to the 'Sendable' protocol
55 |
56 | /// Manual time update
:
66 | case dstChange = 0b1000
67 |
68 | public static let allCases: [Flag] = [
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTCurrentTime.Flag]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | .manualTimeUpdate,
70 | .externalReference,
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:184:27: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
177 | ///
178 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
179 | struct Year: BluetoothUnit {
| `- note: consider making struct 'Year' conform to the 'Sendable' protocol
180 |
181 | public static var unitType: UnitIdentifier { return .year }
182 |
183 | /// Unknown year
184 | public static let unknown = Year(0)
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |
186 | public static let min = Year(1582)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:186:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
177 | ///
178 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
179 | struct Year: BluetoothUnit {
| `- note: consider making struct 'Year' conform to the 'Sendable' protocol
180 |
181 | public static var unitType: UnitIdentifier { return .year }
:
184 | public static let unknown = Year(0)
185 |
186 | public static let min = Year(1582)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | public static let max = Year(9999)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:188:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
177 | ///
178 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
179 | struct Year: BluetoothUnit {
| `- note: consider making struct 'Year' conform to the 'Sendable' protocol
180 |
181 | public static var unitType: UnitIdentifier { return .year }
:
186 | public static let min = Year(1582)
187 |
188 | public static let max = Year(9999)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 | public let rawValue: UInt16
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:279:27: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
272 | ///
273 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
274 | struct Day: BluetoothUnit {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
275 |
276 | public static var unitType: UnitIdentifier { return .day }
277 |
278 | /// Day of Month is not known.
279 | public static let unknown = Day(0)
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
280 |
281 | /// The minimum value
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:282:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
272 | ///
273 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
274 | struct Day: BluetoothUnit {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
275 |
276 | public static var unitType: UnitIdentifier { return .day }
:
280 |
281 | /// The minimum value
282 | public static let min = Day(1)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
283 |
284 | /// The maximum value.
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:285:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
272 | ///
273 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
274 | struct Day: BluetoothUnit {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
275 |
276 | public static var unitType: UnitIdentifier { return .day }
:
283 |
284 | /// The maximum value.
285 | public static let max = Day(31)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
286 |
287 | public let rawValue: UInt8
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:331:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Hour' may have shared mutable state; this is an error in the Swift 6 language mode
324 | ///
325 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
326 | struct Hour: BluetoothUnit {
| `- note: consider making struct 'Hour' conform to the 'Sendable' protocol
327 |
328 | public static var unitType: UnitIdentifier { return .hour }
329 |
330 | /// The minimum value.
331 | public static let min = Hour(0)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Hour' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
332 |
333 | /// The maximum value.
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:334:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Hour' may have shared mutable state; this is an error in the Swift 6 language mode
324 | ///
325 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
326 | struct Hour: BluetoothUnit {
| `- note: consider making struct 'Hour' conform to the 'Sendable' protocol
327 |
328 | public static var unitType: UnitIdentifier { return .hour }
:
332 |
333 | /// The maximum value.
334 | public static let max = Hour(23)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Hour' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 |
336 | public let rawValue: UInt8
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:381:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Minute' may have shared mutable state; this is an error in the Swift 6 language mode
374 | ///
375 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
376 | struct Minute: BluetoothUnit {
| `- note: consider making struct 'Minute' conform to the 'Sendable' protocol
377 |
378 | public static var unitType: UnitIdentifier { return .minute }
379 |
380 | /// The minimum value.
381 | public static let min = Minute(0)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Minute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
382 |
383 | /// The maximum value.
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:384:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Minute' may have shared mutable state; this is an error in the Swift 6 language mode
374 | ///
375 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
376 | struct Minute: BluetoothUnit {
| `- note: consider making struct 'Minute' conform to the 'Sendable' protocol
377 |
378 | public static var unitType: UnitIdentifier { return .minute }
:
382 |
383 | /// The maximum value.
384 | public static let max = Minute(59)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Minute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
385 |
386 | public let rawValue: UInt8
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:430:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Second' may have shared mutable state; this is an error in the Swift 6 language mode
423 | ///
424 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
425 | struct Second: BluetoothUnit {
| `- note: consider making struct 'Second' conform to the 'Sendable' protocol
426 |
427 | public static var unitType: UnitIdentifier { return .second }
428 |
429 | /// The minimum value.
430 | public static let min = Second(0)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Second' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
431 |
432 | /// The maximum value.
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:433:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Second' may have shared mutable state; this is an error in the Swift 6 language mode
423 | ///
424 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
425 | struct Second: BluetoothUnit {
| `- note: consider making struct 'Second' conform to the 'Sendable' protocol
426 |
427 | public static var unitType: UnitIdentifier { return .second }
:
431 |
432 | /// The maximum value.
433 | public static let max = Second(59)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Second' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
434 |
435 | public let rawValue: UInt8
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateUTC.swift:58:27: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
52 | extension GATTDateUTC {
53 |
54 | public struct Day: BluetoothUnit, Equatable {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
55 |
56 | public static var unitType: UnitIdentifier { return .day }
57 |
58 | public static let unknown = Day(0)
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | public static let min = Day(1)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateUTC.swift:60:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
52 | extension GATTDateUTC {
53 |
54 | public struct Day: BluetoothUnit, Equatable {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
55 |
56 | public static var unitType: UnitIdentifier { return .day }
:
58 | public static let unknown = Day(0)
59 |
60 | public static let min = Day(1)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | public static let max = Day(16777214)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateUTC.swift:62:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
52 | extension GATTDateUTC {
53 |
54 | public struct Day: BluetoothUnit, Equatable {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
55 |
56 | public static var unitType: UnitIdentifier { return .day }
:
60 | public static let min = Day(1)
61 |
62 | public static let max = Day(16777214)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | public let rawValue: UInt24
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:331:26: warning: sending 'self'-isolated value of type '(ATTHandleValueNotification) async -> ()' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
329 |
330 | // value notifications / indications
331 | await connection.register {
| `- warning: sending 'self'-isolated value of type '(ATTHandleValueNotification) async -> ()' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
332 | self.notification($0)
333 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:334:26: warning: sending 'self'-isolated value of type '(ATTHandleValueIndication) async -> ()' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
332 | self.notification($0)
333 | }
334 | await connection.register {
| `- warning: sending 'self'-isolated value of type '(ATTHandleValueIndication) async -> ()' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
335 | await self.indication($0)
336 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:58:33: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
56 | log: ((String) -> ())? = nil
57 | ) async {
58 | self.connection = await ATTConnection(
| |- warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'socket' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
59 | socket: socket,
60 | log: log
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:58:33: warning: sending 'log' risks causing data races; this is an error in the Swift 6 language mode
56 | log: ((String) -> ())? = nil
57 | ) async {
58 | self.connection = await ATTConnection(
| |- warning: sending 'log' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'log' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
59 | socket: socket,
60 | log: log
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:359:59: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
348 | sendID += 1
349 | let id = sendID
350 | return try await withCheckedThrowingContinuation { continuation in
| `- note: access can happen concurrently
351 | Task {
352 | let responseType: ATTProtocolDataUnit.Type = response
:
357 | continuation.resume(returning: ATTResponse<Response>($0))
358 | }
359 | guard let _ = await self.connection.queue(request, response: (callback, responseType))
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'request' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
360 | else { fatalError("Could not add PDU to queue: \(request)") }
361 | // store continuation in case it doesnt get called
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:372:40: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
370 | log?("Request: \(request)")
371 | assert(Request.attributeOpcode.type != .response)
372 | guard let _ = await connection.queue(request)
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'request' to actor-isolated instance method 'queue(_:response:)' risks causing data races between actor-isolated and 'self'-isolated uses
373 | else { fatalError("Could not add PDU to queue: \(request)") }
374 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:359:53: warning: sending 'self'-isolated value of type '(callback: (any ATTProtocolDataUnit) -> (), any ATTProtocolDataUnit.Type)' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
357 | continuation.resume(returning: ATTResponse<Response>($0))
358 | }
359 | guard let _ = await self.connection.queue(request, response: (callback, responseType))
| `- warning: sending 'self'-isolated value of type '(callback: (any ATTProtocolDataUnit) -> (), any ATTProtocolDataUnit.Type)' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
360 | else { fatalError("Could not add PDU to queue: \(request)") }
361 | // store continuation in case it doesnt get called
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:359:53: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
357 | continuation.resume(returning: ATTResponse<Response>($0))
358 | }
359 | guard let _ = await self.connection.queue(request, response: (callback, responseType))
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'request' to actor-isolated instance method 'queue(_:response:)' risks causing data races between actor-isolated and local actor-isolated uses
360 | else { fatalError("Could not add PDU to queue: \(request)") }
| `- note: access can happen concurrently
361 | // store continuation in case it doesnt get called
362 | self.sendContinuations[id] = { error in
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:357:34: warning: 'self'-isolated value of type 'ATTResponse<Response>' (aka 'Result<Response, ATTErrorResponse>') passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
355 | self.log?("Response: \($0)")
356 | self.sendContinuations[id] = nil
357 | continuation.resume(returning: ATTResponse<Response>($0))
| `- warning: 'self'-isolated value of type 'ATTResponse<Response>' (aka 'Result<Response, ATTErrorResponse>') passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
358 | }
359 | guard let _ = await self.connection.queue(request, response: (callback, responseType))
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCharacteristicExtendedProperties.swift:69:27: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTCharacteristicExtendedProperties.Property]' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | /// GATT Characteristic Extended Properties Options
61 | enum Property: UInt16, BitMaskOption {
| `- note: consider making enum 'Property' conform to the 'Sendable' protocol
62 |
63 | /// Reliable Write enabled
:
67 | case writableAuxiliaries = 0b10
68 |
69 | public static let allCases: [Property] = [.reliableWrite, .writableAuxiliaries]
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTCharacteristicExtendedProperties.Property]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | }
71 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:1086:10: warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'GATTClientError' has non-sendable type 'any ATTProtocolDataUnit'; this is an error in the Swift 6 language mode
1084 |
1085 | /// The GATT server responded with a PDU that has invalid values.
1086 | case invalidResponse(ATTProtocolDataUnit)
| `- warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'GATTClientError' has non-sendable type 'any ATTProtocolDataUnit'; this is an error in the Swift 6 language mode
1087 |
1088 | /// Already writing long value.
/host/spi-builder-workspace/Sources/BluetoothGATT/ATTProtocolDataUnit.swift:14:17: note: protocol 'ATTProtocolDataUnit' does not conform to the 'Sendable' protocol
12 |
13 | /// Data packet for the ATT protocol.
14 | public protocol ATTProtocolDataUnit {
| `- note: protocol 'ATTProtocolDataUnit' does not conform to the 'Sendable' protocol
15 |
16 | /// The PDU's attribute opcode.
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:1092:10: warning: associated value 'clientCharacteristicConfigurationNotAllowed' of 'Sendable'-conforming enum 'GATTClientError' has non-sendable type 'GATTClient.Characteristic'; this is an error in the Swift 6 language mode
1090 |
1091 | /// Characteristic missing client configuration descriptor.
1092 | case clientCharacteristicConfigurationNotAllowed(GATTClient.Characteristic)
| `- warning: associated value 'clientCharacteristicConfigurationNotAllowed' of 'Sendable'-conforming enum 'GATTClientError' has non-sendable type 'GATTClient.Characteristic'; this is an error in the Swift 6 language mode
1093 | }
1094 |
:
1171 |
1172 | /// A discovered characteristic.
1173 | struct Characteristic {
| `- note: consider making struct 'Characteristic' conform to the 'Sendable' protocol
1174 |
1175 | public typealias Property = GATTCharacteristicProperty
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClientCharacteristicConfiguration.swift:74:27: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTClientCharacteristicConfiguration.Configuration]' may have shared mutable state; this is an error in the Swift 6 language mode
64 |
65 | /// GATT Client Characteristic Configuration Options
66 | enum Configuration: UInt16, BitMaskOption {
| `- note: consider making enum 'Configuration' conform to the 'Sendable' protocol
67 |
68 | /// Notifications enabled
:
72 | case indicate = 0b10
73 |
74 | public static let allCases: [Configuration] = [.notify, .indicate]
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTClientCharacteristicConfiguration.Configuration]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | }
76 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:68:27: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTCurrentTime.Flag]' may have shared mutable state; this is an error in the Swift 6 language mode
52 | extension GATTCurrentTime {
53 |
54 | public enum Flag: UInt8, BitMaskOption {
| `- note: consider making enum 'Flag' conform to the 'Sendable' protocol
55 |
56 | /// Manual time update
:
66 | case dstChange = 0b1000
67 |
68 | public static let allCases: [Flag] = [
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTCurrentTime.Flag]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | .manualTimeUpdate,
70 | .externalReference,
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:184:27: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
177 | ///
178 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
179 | struct Year: BluetoothUnit {
| `- note: consider making struct 'Year' conform to the 'Sendable' protocol
180 |
181 | public static var unitType: UnitIdentifier { return .year }
182 |
183 | /// Unknown year
184 | public static let unknown = Year(0)
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |
186 | public static let min = Year(1582)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:186:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
177 | ///
178 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
179 | struct Year: BluetoothUnit {
| `- note: consider making struct 'Year' conform to the 'Sendable' protocol
180 |
181 | public static var unitType: UnitIdentifier { return .year }
:
184 | public static let unknown = Year(0)
185 |
186 | public static let min = Year(1582)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | public static let max = Year(9999)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:188:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
177 | ///
178 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
179 | struct Year: BluetoothUnit {
| `- note: consider making struct 'Year' conform to the 'Sendable' protocol
180 |
181 | public static var unitType: UnitIdentifier { return .year }
:
186 | public static let min = Year(1582)
187 |
188 | public static let max = Year(9999)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 | public let rawValue: UInt16
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:279:27: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
272 | ///
273 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
274 | struct Day: BluetoothUnit {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
275 |
276 | public static var unitType: UnitIdentifier { return .day }
277 |
278 | /// Day of Month is not known.
279 | public static let unknown = Day(0)
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
280 |
281 | /// The minimum value
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:282:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
272 | ///
273 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
274 | struct Day: BluetoothUnit {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
275 |
276 | public static var unitType: UnitIdentifier { return .day }
:
280 |
281 | /// The minimum value
282 | public static let min = Day(1)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
283 |
284 | /// The maximum value.
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:285:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
272 | ///
273 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
274 | struct Day: BluetoothUnit {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
275 |
276 | public static var unitType: UnitIdentifier { return .day }
:
283 |
284 | /// The maximum value.
285 | public static let max = Day(31)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
286 |
287 | public let rawValue: UInt8
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:331:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Hour' may have shared mutable state; this is an error in the Swift 6 language mode
324 | ///
325 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
326 | struct Hour: BluetoothUnit {
| `- note: consider making struct 'Hour' conform to the 'Sendable' protocol
327 |
328 | public static var unitType: UnitIdentifier { return .hour }
329 |
330 | /// The minimum value.
331 | public static let min = Hour(0)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Hour' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
332 |
333 | /// The maximum value.
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:334:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Hour' may have shared mutable state; this is an error in the Swift 6 language mode
324 | ///
325 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
326 | struct Hour: BluetoothUnit {
| `- note: consider making struct 'Hour' conform to the 'Sendable' protocol
327 |
328 | public static var unitType: UnitIdentifier { return .hour }
:
332 |
333 | /// The maximum value.
334 | public static let max = Hour(23)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Hour' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 |
336 | public let rawValue: UInt8
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:381:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Minute' may have shared mutable state; this is an error in the Swift 6 language mode
374 | ///
375 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
376 | struct Minute: BluetoothUnit {
| `- note: consider making struct 'Minute' conform to the 'Sendable' protocol
377 |
378 | public static var unitType: UnitIdentifier { return .minute }
379 |
380 | /// The minimum value.
381 | public static let min = Minute(0)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Minute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
382 |
383 | /// The maximum value.
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:384:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Minute' may have shared mutable state; this is an error in the Swift 6 language mode
374 | ///
375 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
376 | struct Minute: BluetoothUnit {
| `- note: consider making struct 'Minute' conform to the 'Sendable' protocol
377 |
378 | public static var unitType: UnitIdentifier { return .minute }
:
382 |
383 | /// The maximum value.
384 | public static let max = Minute(59)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Minute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
385 |
386 | public let rawValue: UInt8
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:430:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Second' may have shared mutable state; this is an error in the Swift 6 language mode
423 | ///
424 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
425 | struct Second: BluetoothUnit {
| `- note: consider making struct 'Second' conform to the 'Sendable' protocol
426 |
427 | public static var unitType: UnitIdentifier { return .second }
428 |
429 | /// The minimum value.
430 | public static let min = Second(0)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Second' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
431 |
432 | /// The maximum value.
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:433:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Second' may have shared mutable state; this is an error in the Swift 6 language mode
423 | ///
424 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
425 | struct Second: BluetoothUnit {
| `- note: consider making struct 'Second' conform to the 'Sendable' protocol
426 |
427 | public static var unitType: UnitIdentifier { return .second }
:
431 |
432 | /// The maximum value.
433 | public static let max = Second(59)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Second' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
434 |
435 | public let rawValue: UInt8
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateUTC.swift:58:27: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
52 | extension GATTDateUTC {
53 |
54 | public struct Day: BluetoothUnit, Equatable {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
55 |
56 | public static var unitType: UnitIdentifier { return .day }
57 |
58 | public static let unknown = Day(0)
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | public static let min = Day(1)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateUTC.swift:60:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
52 | extension GATTDateUTC {
53 |
54 | public struct Day: BluetoothUnit, Equatable {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
55 |
56 | public static var unitType: UnitIdentifier { return .day }
:
58 | public static let unknown = Day(0)
59 |
60 | public static let min = Day(1)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | public static let max = Day(16777214)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateUTC.swift:62:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
52 | extension GATTDateUTC {
53 |
54 | public struct Day: BluetoothUnit, Equatable {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
55 |
56 | public static var unitType: UnitIdentifier { return .day }
:
60 | public static let min = Day(1)
61 |
62 | public static let max = Day(16777214)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | public let rawValue: UInt24
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:331:26: warning: sending 'self'-isolated value of type '(ATTHandleValueNotification) async -> ()' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
329 |
330 | // value notifications / indications
331 | await connection.register {
| `- warning: sending 'self'-isolated value of type '(ATTHandleValueNotification) async -> ()' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
332 | self.notification($0)
333 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:334:26: warning: sending 'self'-isolated value of type '(ATTHandleValueIndication) async -> ()' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
332 | self.notification($0)
333 | }
334 | await connection.register {
| `- warning: sending 'self'-isolated value of type '(ATTHandleValueIndication) async -> ()' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
335 | await self.indication($0)
336 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:58:33: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
56 | log: ((String) -> ())? = nil
57 | ) async {
58 | self.connection = await ATTConnection(
| |- warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'socket' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
59 | socket: socket,
60 | log: log
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:58:33: warning: sending 'log' risks causing data races; this is an error in the Swift 6 language mode
56 | log: ((String) -> ())? = nil
57 | ) async {
58 | self.connection = await ATTConnection(
| |- warning: sending 'log' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'log' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
59 | socket: socket,
60 | log: log
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:359:59: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
348 | sendID += 1
349 | let id = sendID
350 | return try await withCheckedThrowingContinuation { continuation in
| `- note: access can happen concurrently
351 | Task {
352 | let responseType: ATTProtocolDataUnit.Type = response
:
357 | continuation.resume(returning: ATTResponse<Response>($0))
358 | }
359 | guard let _ = await self.connection.queue(request, response: (callback, responseType))
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'request' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
360 | else { fatalError("Could not add PDU to queue: \(request)") }
361 | // store continuation in case it doesnt get called
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:372:40: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
370 | log?("Request: \(request)")
371 | assert(Request.attributeOpcode.type != .response)
372 | guard let _ = await connection.queue(request)
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'request' to actor-isolated instance method 'queue(_:response:)' risks causing data races between actor-isolated and 'self'-isolated uses
373 | else { fatalError("Could not add PDU to queue: \(request)") }
374 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:359:53: warning: sending 'self'-isolated value of type '(callback: (any ATTProtocolDataUnit) -> (), any ATTProtocolDataUnit.Type)' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
357 | continuation.resume(returning: ATTResponse<Response>($0))
358 | }
359 | guard let _ = await self.connection.queue(request, response: (callback, responseType))
| `- warning: sending 'self'-isolated value of type '(callback: (any ATTProtocolDataUnit) -> (), any ATTProtocolDataUnit.Type)' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
360 | else { fatalError("Could not add PDU to queue: \(request)") }
361 | // store continuation in case it doesnt get called
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:359:53: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
357 | continuation.resume(returning: ATTResponse<Response>($0))
358 | }
359 | guard let _ = await self.connection.queue(request, response: (callback, responseType))
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'request' to actor-isolated instance method 'queue(_:response:)' risks causing data races between actor-isolated and local actor-isolated uses
360 | else { fatalError("Could not add PDU to queue: \(request)") }
| `- note: access can happen concurrently
361 | // store continuation in case it doesnt get called
362 | self.sendContinuations[id] = { error in
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:357:34: warning: 'self'-isolated value of type 'ATTResponse<Response>' (aka 'Result<Response, ATTErrorResponse>') passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
355 | self.log?("Response: \($0)")
356 | self.sendContinuations[id] = nil
357 | continuation.resume(returning: ATTResponse<Response>($0))
| `- warning: 'self'-isolated value of type 'ATTResponse<Response>' (aka 'Result<Response, ATTErrorResponse>') passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
358 | }
359 | guard let _ = await self.connection.queue(request, response: (callback, responseType))
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCharacteristicExtendedProperties.swift:69:27: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTCharacteristicExtendedProperties.Property]' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | /// GATT Characteristic Extended Properties Options
61 | enum Property: UInt16, BitMaskOption {
| `- note: consider making enum 'Property' conform to the 'Sendable' protocol
62 |
63 | /// Reliable Write enabled
:
67 | case writableAuxiliaries = 0b10
68 |
69 | public static let allCases: [Property] = [.reliableWrite, .writableAuxiliaries]
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTCharacteristicExtendedProperties.Property]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | }
71 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:1086:10: warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'GATTClientError' has non-sendable type 'any ATTProtocolDataUnit'; this is an error in the Swift 6 language mode
1084 |
1085 | /// The GATT server responded with a PDU that has invalid values.
1086 | case invalidResponse(ATTProtocolDataUnit)
| `- warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'GATTClientError' has non-sendable type 'any ATTProtocolDataUnit'; this is an error in the Swift 6 language mode
1087 |
1088 | /// Already writing long value.
/host/spi-builder-workspace/Sources/BluetoothGATT/ATTProtocolDataUnit.swift:14:17: note: protocol 'ATTProtocolDataUnit' does not conform to the 'Sendable' protocol
12 |
13 | /// Data packet for the ATT protocol.
14 | public protocol ATTProtocolDataUnit {
| `- note: protocol 'ATTProtocolDataUnit' does not conform to the 'Sendable' protocol
15 |
16 | /// The PDU's attribute opcode.
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:1092:10: warning: associated value 'clientCharacteristicConfigurationNotAllowed' of 'Sendable'-conforming enum 'GATTClientError' has non-sendable type 'GATTClient.Characteristic'; this is an error in the Swift 6 language mode
1090 |
1091 | /// Characteristic missing client configuration descriptor.
1092 | case clientCharacteristicConfigurationNotAllowed(GATTClient.Characteristic)
| `- warning: associated value 'clientCharacteristicConfigurationNotAllowed' of 'Sendable'-conforming enum 'GATTClientError' has non-sendable type 'GATTClient.Characteristic'; this is an error in the Swift 6 language mode
1093 | }
1094 |
:
1171 |
1172 | /// A discovered characteristic.
1173 | struct Characteristic {
| `- note: consider making struct 'Characteristic' conform to the 'Sendable' protocol
1174 |
1175 | public typealias Property = GATTCharacteristicProperty
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClientCharacteristicConfiguration.swift:74:27: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTClientCharacteristicConfiguration.Configuration]' may have shared mutable state; this is an error in the Swift 6 language mode
64 |
65 | /// GATT Client Characteristic Configuration Options
66 | enum Configuration: UInt16, BitMaskOption {
| `- note: consider making enum 'Configuration' conform to the 'Sendable' protocol
67 |
68 | /// Notifications enabled
:
72 | case indicate = 0b10
73 |
74 | public static let allCases: [Configuration] = [.notify, .indicate]
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTClientCharacteristicConfiguration.Configuration]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | }
76 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:68:27: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTCurrentTime.Flag]' may have shared mutable state; this is an error in the Swift 6 language mode
52 | extension GATTCurrentTime {
53 |
54 | public enum Flag: UInt8, BitMaskOption {
| `- note: consider making enum 'Flag' conform to the 'Sendable' protocol
55 |
56 | /// Manual time update
:
66 | case dstChange = 0b1000
67 |
68 | public static let allCases: [Flag] = [
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[GATTCurrentTime.Flag]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | .manualTimeUpdate,
70 | .externalReference,
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:184:27: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
177 | ///
178 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
179 | struct Year: BluetoothUnit {
| `- note: consider making struct 'Year' conform to the 'Sendable' protocol
180 |
181 | public static var unitType: UnitIdentifier { return .year }
182 |
183 | /// Unknown year
184 | public static let unknown = Year(0)
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |
186 | public static let min = Year(1582)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:186:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
177 | ///
178 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
179 | struct Year: BluetoothUnit {
| `- note: consider making struct 'Year' conform to the 'Sendable' protocol
180 |
181 | public static var unitType: UnitIdentifier { return .year }
:
184 | public static let unknown = Year(0)
185 |
186 | public static let min = Year(1582)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | public static let max = Year(9999)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:188:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
177 | ///
178 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
179 | struct Year: BluetoothUnit {
| `- note: consider making struct 'Year' conform to the 'Sendable' protocol
180 |
181 | public static var unitType: UnitIdentifier { return .year }
:
186 | public static let min = Year(1582)
187 |
188 | public static let max = Year(9999)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Year' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 | public let rawValue: UInt16
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:279:27: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
272 | ///
273 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
274 | struct Day: BluetoothUnit {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
275 |
276 | public static var unitType: UnitIdentifier { return .day }
277 |
278 | /// Day of Month is not known.
279 | public static let unknown = Day(0)
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
280 |
281 | /// The minimum value
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:282:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
272 | ///
273 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
274 | struct Day: BluetoothUnit {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
275 |
276 | public static var unitType: UnitIdentifier { return .day }
:
280 |
281 | /// The minimum value
282 | public static let min = Day(1)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
283 |
284 | /// The maximum value.
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:285:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
272 | ///
273 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
274 | struct Day: BluetoothUnit {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
275 |
276 | public static var unitType: UnitIdentifier { return .day }
:
283 |
284 | /// The maximum value.
285 | public static let max = Day(31)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
286 |
287 | public let rawValue: UInt8
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:331:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Hour' may have shared mutable state; this is an error in the Swift 6 language mode
324 | ///
325 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
326 | struct Hour: BluetoothUnit {
| `- note: consider making struct 'Hour' conform to the 'Sendable' protocol
327 |
328 | public static var unitType: UnitIdentifier { return .hour }
329 |
330 | /// The minimum value.
331 | public static let min = Hour(0)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Hour' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
332 |
333 | /// The maximum value.
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:334:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Hour' may have shared mutable state; this is an error in the Swift 6 language mode
324 | ///
325 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
326 | struct Hour: BluetoothUnit {
| `- note: consider making struct 'Hour' conform to the 'Sendable' protocol
327 |
328 | public static var unitType: UnitIdentifier { return .hour }
:
332 |
333 | /// The maximum value.
334 | public static let max = Hour(23)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Hour' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 |
336 | public let rawValue: UInt8
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:381:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Minute' may have shared mutable state; this is an error in the Swift 6 language mode
374 | ///
375 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
376 | struct Minute: BluetoothUnit {
| `- note: consider making struct 'Minute' conform to the 'Sendable' protocol
377 |
378 | public static var unitType: UnitIdentifier { return .minute }
379 |
380 | /// The minimum value.
381 | public static let min = Minute(0)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Minute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
382 |
383 | /// The maximum value.
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:384:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Minute' may have shared mutable state; this is an error in the Swift 6 language mode
374 | ///
375 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
376 | struct Minute: BluetoothUnit {
| `- note: consider making struct 'Minute' conform to the 'Sendable' protocol
377 |
378 | public static var unitType: UnitIdentifier { return .minute }
:
382 |
383 | /// The maximum value.
384 | public static let max = Minute(59)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Minute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
385 |
386 | public let rawValue: UInt8
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:430:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Second' may have shared mutable state; this is an error in the Swift 6 language mode
423 | ///
424 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
425 | struct Second: BluetoothUnit {
| `- note: consider making struct 'Second' conform to the 'Sendable' protocol
426 |
427 | public static var unitType: UnitIdentifier { return .second }
428 |
429 | /// The minimum value.
430 | public static let min = Second(0)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Second' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
431 |
432 | /// The maximum value.
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateTime.swift:433:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Second' may have shared mutable state; this is an error in the Swift 6 language mode
423 | ///
424 | /// - SeeAlso: [Units](https://www.bluetooth.com/specifications/assigned-numbers/units)
425 | struct Second: BluetoothUnit {
| `- note: consider making struct 'Second' conform to the 'Sendable' protocol
426 |
427 | public static var unitType: UnitIdentifier { return .second }
:
431 |
432 | /// The maximum value.
433 | public static let max = Second(59)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateTime.Second' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
434 |
435 | public let rawValue: UInt8
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateUTC.swift:58:27: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
52 | extension GATTDateUTC {
53 |
54 | public struct Day: BluetoothUnit, Equatable {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
55 |
56 | public static var unitType: UnitIdentifier { return .day }
57 |
58 | public static let unknown = Day(0)
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | public static let min = Day(1)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateUTC.swift:60:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
52 | extension GATTDateUTC {
53 |
54 | public struct Day: BluetoothUnit, Equatable {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
55 |
56 | public static var unitType: UnitIdentifier { return .day }
:
58 | public static let unknown = Day(0)
59 |
60 | public static let min = Day(1)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | public static let max = Day(16777214)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTDateUTC.swift:62:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
52 | extension GATTDateUTC {
53 |
54 | public struct Day: BluetoothUnit, Equatable {
| `- note: consider making struct 'Day' conform to the 'Sendable' protocol
55 |
56 | public static var unitType: UnitIdentifier { return .day }
:
60 | public static let min = Day(1)
61 |
62 | public static let max = Day(16777214)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'GATTDateUTC.Day' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | public let rawValue: UInt24
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:331:26: warning: sending 'self'-isolated value of type '(ATTHandleValueNotification) async -> ()' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
329 |
330 | // value notifications / indications
331 | await connection.register {
| `- warning: sending 'self'-isolated value of type '(ATTHandleValueNotification) async -> ()' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
332 | self.notification($0)
333 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:334:26: warning: sending 'self'-isolated value of type '(ATTHandleValueIndication) async -> ()' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
332 | self.notification($0)
333 | }
334 | await connection.register {
| `- warning: sending 'self'-isolated value of type '(ATTHandleValueIndication) async -> ()' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
335 | await self.indication($0)
336 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:58:33: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
56 | log: ((String) -> ())? = nil
57 | ) async {
58 | self.connection = await ATTConnection(
| |- warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'socket' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
59 | socket: socket,
60 | log: log
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:58:33: warning: sending 'log' risks causing data races; this is an error in the Swift 6 language mode
56 | log: ((String) -> ())? = nil
57 | ) async {
58 | self.connection = await ATTConnection(
| |- warning: sending 'log' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'log' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
59 | socket: socket,
60 | log: log
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:359:59: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
348 | sendID += 1
349 | let id = sendID
350 | return try await withCheckedThrowingContinuation { continuation in
| `- note: access can happen concurrently
351 | Task {
352 | let responseType: ATTProtocolDataUnit.Type = response
:
357 | continuation.resume(returning: ATTResponse<Response>($0))
358 | }
359 | guard let _ = await self.connection.queue(request, response: (callback, responseType))
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'request' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
360 | else { fatalError("Could not add PDU to queue: \(request)") }
361 | // store continuation in case it doesnt get called
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:372:40: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
370 | log?("Request: \(request)")
371 | assert(Request.attributeOpcode.type != .response)
372 | guard let _ = await connection.queue(request)
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'request' to actor-isolated instance method 'queue(_:response:)' risks causing data races between actor-isolated and 'self'-isolated uses
373 | else { fatalError("Could not add PDU to queue: \(request)") }
374 | }
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:359:53: warning: sending 'self'-isolated value of type '(callback: (any ATTProtocolDataUnit) -> (), any ATTProtocolDataUnit.Type)' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
357 | continuation.resume(returning: ATTResponse<Response>($0))
358 | }
359 | guard let _ = await self.connection.queue(request, response: (callback, responseType))
| `- warning: sending 'self'-isolated value of type '(callback: (any ATTProtocolDataUnit) -> (), any ATTProtocolDataUnit.Type)' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
360 | else { fatalError("Could not add PDU to queue: \(request)") }
361 | // store continuation in case it doesnt get called
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:359:53: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
357 | continuation.resume(returning: ATTResponse<Response>($0))
358 | }
359 | guard let _ = await self.connection.queue(request, response: (callback, responseType))
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'request' to actor-isolated instance method 'queue(_:response:)' risks causing data races between actor-isolated and local actor-isolated uses
360 | else { fatalError("Could not add PDU to queue: \(request)") }
| `- note: access can happen concurrently
361 | // store continuation in case it doesnt get called
362 | self.sendContinuations[id] = { error in
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTClient.swift:357:34: warning: 'self'-isolated value of type 'ATTResponse<Response>' (aka 'Result<Response, ATTErrorResponse>') passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
355 | self.log?("Response: \($0)")
356 | self.sendContinuations[id] = nil
357 | continuation.resume(returning: ATTResponse<Response>($0))
| `- warning: 'self'-isolated value of type 'ATTResponse<Response>' (aka 'Result<Response, ATTErrorResponse>') passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
358 | }
359 | guard let _ = await self.connection.queue(request, response: (callback, responseType))
[462/462] Emitting module BluetoothHCI
/host/spi-builder-workspace/Sources/BluetoothHCI/HCICreateConnection.swift:113:27: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[HCICreateConnection.ClockOffset]' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | /// The Clock_Offset parameter is the difference between its own clock and the clock of the remote device with BD_ADDR. Only bits 2 through 16 of the difference are used, and they are mapped to this parameter as bits 0 through 14 respectively.
109 | public enum ClockOffset: UInt16, BitMaskOption {
| `- note: consider making enum 'ClockOffset' conform to the 'Sendable' protocol
110 |
111 | case valid = 0b10000000_00000000
112 |
113 | public static let allCases: [ClockOffset] = [.valid]
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[HCICreateConnection.ClockOffset]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | }
115 | }
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIHoldMode.swift:89:27: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'HCIHoldMode.Interval' may have shared mutable state; this is an error in the Swift 6 language mode
76 | Mandatory Range: 0x0014 to 0x8000
77 | */
78 | struct Interval: RawRepresentable, Equatable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
79 |
80 | public static let length = MemoryLayout<UInt16>.size + MemoryLayout<UInt16>.size
:
87 |
88 | /// Maximum interval range.
89 | public static let full = Interval(Interval.min ... Interval.max)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'HCIHoldMode.Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | public let rawValue: RawValue
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIInquiry.swift:121:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIInquiry.Duration' may have shared mutable state; this is an error in the Swift 6 language mode
115 | /// Maximum amount of time specified before the Inquiry is halted. Size: 1 octet
116 | /// Range: 0x01 – 0x30
117 | struct Duration: RawRepresentable {
| `- note: consider making struct 'Duration' conform to the 'Sendable' protocol
118 |
119 | public static let min = Duration(0x01)
120 |
121 | public static let max = Duration(0x30)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIInquiry.Duration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | public let rawValue: UInt8
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIInquiry.swift:91:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIInquiry.LAP' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// This is the LAP from which the inquiry access code should be derived when the inquiry procedure is made
89 | struct LAP: RawRepresentable {
| `- note: consider making struct 'LAP' conform to the 'Sendable' protocol
90 |
91 | public static let min = LAP(0x9E8B00)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIInquiry.LAP' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 |
93 | public static let max = LAP(0x9E8B3F)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIInquiry.swift:93:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIInquiry.LAP' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// This is the LAP from which the inquiry access code should be derived when the inquiry procedure is made
89 | struct LAP: RawRepresentable {
| `- note: consider making struct 'LAP' conform to the 'Sendable' protocol
90 |
91 | public static let min = LAP(0x9E8B00)
92 |
93 | public static let max = LAP(0x9E8B3F)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIInquiry.LAP' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | public let rawValue: UInt24
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIInquiry.swift:119:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIInquiry.Duration' may have shared mutable state; this is an error in the Swift 6 language mode
115 | /// Maximum amount of time specified before the Inquiry is halted. Size: 1 octet
116 | /// Range: 0x01 – 0x30
117 | struct Duration: RawRepresentable {
| `- note: consider making struct 'Duration' conform to the 'Sendable' protocol
118 |
119 | public static let min = Duration(0x01)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIInquiry.Duration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public static let max = Duration(0x30)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIInquiry.swift:154:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIInquiry.Responses' may have shared mutable state; this is an error in the Swift 6 language mode
150 | /// Maximum number of responses from the Inquiry before the Inquiry is halted.
151 | /// Range: 0x01 – 0xFF
152 | struct Responses: RawRepresentable {
| `- note: consider making struct 'Responses' conform to the 'Sendable' protocol
153 |
154 | public static let min = Responses(rawValue: 0x01)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIInquiry.Responses' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 |
156 | public static let max = Responses(rawValue: 0xFF)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIInquiry.swift:156:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIInquiry.Responses' may have shared mutable state; this is an error in the Swift 6 language mode
150 | /// Maximum number of responses from the Inquiry before the Inquiry is halted.
151 | /// Range: 0x01 – 0xFF
152 | struct Responses: RawRepresentable {
| `- note: consider making struct 'Responses' conform to the 'Sendable' protocol
153 |
154 | public static let min = Responses(rawValue: 0x01)
155 |
156 | public static let max = Responses(rawValue: 0xFF)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIInquiry.Responses' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | public static let unlimited = Responses(rawValue: 0x00)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIInquiry.swift:158:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'HCIInquiry.Responses' may have shared mutable state; this is an error in the Swift 6 language mode
150 | /// Maximum number of responses from the Inquiry before the Inquiry is halted.
151 | /// Range: 0x01 – 0xFF
152 | struct Responses: RawRepresentable {
| `- note: consider making struct 'Responses' conform to the 'Sendable' protocol
153 |
154 | public static let min = Responses(rawValue: 0x01)
:
156 | public static let max = Responses(rawValue: 0xFF)
157 |
158 | public static let unlimited = Responses(rawValue: 0x00)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'HCIInquiry.Responses' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |
160 | public let rawValue: UInt8
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILEExtendedAdvertisingReport.swift:151:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILEExtendedAdvertisingReport.PeriodicAdvertisingInterval' may have shared mutable state; this is an error in the Swift 6 language mode
146 | /// Time = N * 1.25 ms
147 | /// Time Range: 7.5 ms to 81,918.75 s
148 | public struct PeriodicAdvertisingInterval: RawRepresentable, Equatable, Hashable, Comparable {
| `- note: consider making struct 'PeriodicAdvertisingInterval' conform to the 'Sendable' protocol
149 |
150 | /// 7.5 msec
151 | public static let min = PeriodicAdvertisingInterval(0x0006)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILEExtendedAdvertisingReport.PeriodicAdvertisingInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | /// 81,918.75 sec
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILEExtendedAdvertisingReport.swift:154:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILEExtendedAdvertisingReport.PeriodicAdvertisingInterval' may have shared mutable state; this is an error in the Swift 6 language mode
146 | /// Time = N * 1.25 ms
147 | /// Time Range: 7.5 ms to 81,918.75 s
148 | public struct PeriodicAdvertisingInterval: RawRepresentable, Equatable, Hashable, Comparable {
| `- note: consider making struct 'PeriodicAdvertisingInterval' conform to the 'Sendable' protocol
149 |
150 | /// 7.5 msec
:
152 |
153 | /// 81,918.75 sec
154 | public static let max = PeriodicAdvertisingInterval(0xFFFF)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILEExtendedAdvertisingReport.PeriodicAdvertisingInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 |
156 | public let rawValue: UInt16
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILEPeriodicAdvertisingCreateSync.swift:98:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILEPeriodicAdvertisingCreateSync.SyncTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
93 | }
94 |
95 | public struct SyncTimeout: RawRepresentable, Equatable, Hashable, Comparable {
| `- note: consider making struct 'SyncTimeout' conform to the 'Sendable' protocol
96 |
97 | /// 100 msec
98 | public static let min = SyncTimeout(0x000A)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILEPeriodicAdvertisingCreateSync.SyncTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | /// 163.84 seconds
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILEPeriodicAdvertisingCreateSync.swift:101:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILEPeriodicAdvertisingCreateSync.SyncTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
93 | }
94 |
95 | public struct SyncTimeout: RawRepresentable, Equatable, Hashable, Comparable {
| `- note: consider making struct 'SyncTimeout' conform to the 'Sendable' protocol
96 |
97 | /// 100 msec
:
99 |
100 | /// 163.84 seconds
101 | public static let max = SyncTimeout(0x4000)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILEPeriodicAdvertisingCreateSync.SyncTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | public let rawValue: UInt16
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILEPeriodicAdvertisingSyncEstablished.swift:96:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILEPeriodicAdvertisingSyncEstablished.PeriodicAdvertisingInterval' may have shared mutable state; this is an error in the Swift 6 language mode
91 | }
92 |
93 | public struct PeriodicAdvertisingInterval: RawRepresentable, Equatable, Hashable, Comparable {
| `- note: consider making struct 'PeriodicAdvertisingInterval' conform to the 'Sendable' protocol
94 |
95 | /// 7.5 msec
96 | public static let min = PeriodicAdvertisingInterval(0x0006)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILEPeriodicAdvertisingSyncEstablished.PeriodicAdvertisingInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 |
98 | /// 4000 msec
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILEPeriodicAdvertisingSyncEstablished.swift:99:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILEPeriodicAdvertisingSyncEstablished.PeriodicAdvertisingInterval' may have shared mutable state; this is an error in the Swift 6 language mode
91 | }
92 |
93 | public struct PeriodicAdvertisingInterval: RawRepresentable, Equatable, Hashable, Comparable {
| `- note: consider making struct 'PeriodicAdvertisingInterval' conform to the 'Sendable' protocol
94 |
95 | /// 7.5 msec
:
97 |
98 | /// 4000 msec
99 | public static let max = PeriodicAdvertisingInterval(0xFFFF)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILEPeriodicAdvertisingSyncEstablished.PeriodicAdvertisingInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | public let rawValue: UInt16
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILEReadAdvertisingChannelTxPower.swift:58:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILEReadAdvertisingChannelTxPower.TransmitPowerLevel' may have shared mutable state; this is an error in the Swift 6 language mode
54 | /// Units: dBm
55 | /// Accuracy: +/- 4 dB
56 | public struct TransmitPowerLevel: RawRepresentable, Equatable, Hashable, Comparable {
| `- note: consider making struct 'TransmitPowerLevel' conform to the 'Sendable' protocol
57 |
58 | public static let min = TransmitPowerLevel(-20)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILEReadAdvertisingChannelTxPower.TransmitPowerLevel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | public static let max = TransmitPowerLevel(10)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILEReadAdvertisingChannelTxPower.swift:60:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILEReadAdvertisingChannelTxPower.TransmitPowerLevel' may have shared mutable state; this is an error in the Swift 6 language mode
54 | /// Units: dBm
55 | /// Accuracy: +/- 4 dB
56 | public struct TransmitPowerLevel: RawRepresentable, Equatable, Hashable, Comparable {
| `- note: consider making struct 'TransmitPowerLevel' conform to the 'Sendable' protocol
57 |
58 | public static let min = TransmitPowerLevel(-20)
59 |
60 | public static let max = TransmitPowerLevel(10)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILEReadAdvertisingChannelTxPower.TransmitPowerLevel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | public let rawValue: Int8
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILEReadMaximumDataLength.swift:85:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILEReadMaximumDataLength.SupportedMaxRxTime' may have shared mutable state; this is an error in the Swift 6 language mode
81 | /// a single Link Layer packet on a data connection.
82 | /// Range 0x0148-0x4290
83 | public struct SupportedMaxRxTime: RawRepresentable, Equatable, Hashable, Comparable {
| `- note: consider making struct 'SupportedMaxRxTime' conform to the 'Sendable' protocol
84 |
85 | public static let min = SupportedMaxRxTime(0x0148)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILEReadMaximumDataLength.SupportedMaxRxTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | public static let max = SupportedMaxRxTime(0x4290)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILEReadMaximumDataLength.swift:87:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILEReadMaximumDataLength.SupportedMaxRxTime' may have shared mutable state; this is an error in the Swift 6 language mode
81 | /// a single Link Layer packet on a data connection.
82 | /// Range 0x0148-0x4290
83 | public struct SupportedMaxRxTime: RawRepresentable, Equatable, Hashable, Comparable {
| `- note: consider making struct 'SupportedMaxRxTime' conform to the 'Sendable' protocol
84 |
85 | public static let min = SupportedMaxRxTime(0x0148)
86 |
87 | public static let max = SupportedMaxRxTime(0x4290)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILEReadMaximumDataLength.SupportedMaxRxTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | public let rawValue: UInt16
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILEReadMaximumDataLength.swift:119:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILEReadMaximumDataLength.SupportedMaxRxOctets' may have shared mutable state; this is an error in the Swift 6 language mode
115 | /// a single Link Layer packet on a data connection.
116 | /// Range 0x001B-0x00FB
117 | public struct SupportedMaxRxOctets: RawRepresentable, Equatable, Hashable, Comparable {
| `- note: consider making struct 'SupportedMaxRxOctets' conform to the 'Sendable' protocol
118 |
119 | public static let min = SupportedMaxRxOctets(0x001B)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILEReadMaximumDataLength.SupportedMaxRxOctets' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public static let max = SupportedMaxRxOctets(0x00FB)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILEReadMaximumDataLength.swift:121:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILEReadMaximumDataLength.SupportedMaxRxOctets' may have shared mutable state; this is an error in the Swift 6 language mode
115 | /// a single Link Layer packet on a data connection.
116 | /// Range 0x001B-0x00FB
117 | public struct SupportedMaxRxOctets: RawRepresentable, Equatable, Hashable, Comparable {
| `- note: consider making struct 'SupportedMaxRxOctets' conform to the 'Sendable' protocol
118 |
119 | public static let min = SupportedMaxRxOctets(0x001B)
120 |
121 | public static let max = SupportedMaxRxOctets(0x00FB)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILEReadMaximumDataLength.SupportedMaxRxOctets' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | public let rawValue: UInt16
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILEReadTransmitPower.swift:57:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILEReadTransmitPower.TxPower' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct TxPower: RawRepresentable, Equatable, Hashable, Comparable {
| `- note: consider making struct 'TxPower' conform to the 'Sendable' protocol
56 |
57 | public static let min = TxPower(-127)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILEReadTransmitPower.TxPower' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | public static let max = TxPower(126)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILEReadTransmitPower.swift:59:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILEReadTransmitPower.TxPower' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct TxPower: RawRepresentable, Equatable, Hashable, Comparable {
| `- note: consider making struct 'TxPower' conform to the 'Sendable' protocol
56 |
57 | public static let min = TxPower(-127)
58 |
59 | public static let max = TxPower(126)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILEReadTransmitPower.TxPower' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | public let rawValue: Int8
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILESetAdvertisingParameters.swift:151:27: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[HCILESetAdvertisingParameters.ChannelMap]' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// Channel Map
140 | enum ChannelMap: UInt8, BitMaskOption {
| `- note: consider making enum 'ChannelMap' conform to the 'Sendable' protocol
141 |
142 | /// Enable channel 37 use
:
149 | case channel39 = 0b00000100
150 |
151 | public static let allCases: [ChannelMap] = [.channel37, .channel38, .channel39]
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[HCILESetAdvertisingParameters.ChannelMap]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILESetEventMask.swift:143:27: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[HCILESetEventMask.Event]' may have shared mutable state; this is an error in the Swift 6 language mode
79 | ///
80 | /// All bits not listed in this table are reserved for future use.
81 | enum Event: UInt64, BitMaskOption, CustomStringConvertible {
| `- note: consider making enum 'Event' conform to the 'Sendable' protocol
82 |
83 | /// LE Connection Complete Event
:
141 | case channelSelectionAlgorithm = 0b1000000000000000000
142 |
143 | public static let allCases: [Event] = [
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[HCILESetEventMask.Event]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 | .connectionComplete,
145 | .advertisingReport,
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILESetExtendedAdvertisingParameters.swift:263:27: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[HCILESetExtendedAdvertisingParameters.PrimaryAdvertisingChannelMap]' may have shared mutable state; this is an error in the Swift 6 language mode
250 | /// The Primary_Advertising_Channel_Map is a bit field that indicates the advertising channels that shall be used
251 | /// when transmitting advertising packets. At least one channel bit shall be set in the Primary_Advertising_Channel_Map parameter.
252 | public enum PrimaryAdvertisingChannelMap: UInt8, BitMaskOption {
| `- note: consider making enum 'PrimaryAdvertisingChannelMap' conform to the 'Sendable' protocol
253 |
254 | /// Channel 37 shall be used
:
261 | case channel39 = 0b100
262 |
263 | public static let allCases: [PrimaryAdvertisingChannelMap] = [
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[HCILESetExtendedAdvertisingParameters.PrimaryAdvertisingChannelMap]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 | .channel37,
265 | .channel38,
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILESetExtendedAdvertisingParameters.swift:275:27: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'HCILESetExtendedAdvertisingParameters.PrimaryAdvertisingInterval' may have shared mutable state; this is an error in the Swift 6 language mode
268 | }
269 |
270 | public struct PrimaryAdvertisingInterval: RawRepresentable, Equatable {
| `- note: consider making struct 'PrimaryAdvertisingInterval' conform to the 'Sendable' protocol
271 |
272 | public typealias RawValue = CountableClosedRange<UInt32>
273 |
274 | /// Maximum interval range.
275 | public static let full = PrimaryAdvertisingInterval(rawValue: .min ... .max)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'HCILESetExtendedAdvertisingParameters.PrimaryAdvertisingInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
276 |
277 | public let rawValue: RawValue
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILESetExtendedAdvertisingParameters.swift:328:27: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[HCILESetExtendedAdvertisingParameters.AdvertisingEventProperties]' may have shared mutable state; this is an error in the Swift 6 language mode
303 | /// The Advertising_Event_Properties parameter describes the type of advertising event that is being configured
304 | /// and its basic properties.
305 | public enum AdvertisingEventProperties: UInt16, BitMaskOption {
| `- note: consider making enum 'AdvertisingEventProperties' conform to the 'Sendable' protocol
306 |
307 | /// Connectable advertising
:
326 | case includeTxPower = 0b1000000
327 |
328 | public static let allCases: [HCILESetExtendedAdvertisingParameters.AdvertisingEventProperties] = [
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[HCILESetExtendedAdvertisingParameters.AdvertisingEventProperties]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
329 | .connectableAdvertising,
330 | .scannableAdvertising,
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILESetExtendedScanEnable.swift:104:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILESetExtendedScanEnable.Duration' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// Time = N * 10 ms
100 | /// Time Range: 10 ms to 655.35 s
101 | public struct Duration: RawRepresentable, Equatable, Comparable, Hashable {
| `- note: consider making struct 'Duration' conform to the 'Sendable' protocol
102 |
103 | /// 10 ms
104 | public static let min = Duration(0x0001)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILESetExtendedScanEnable.Duration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | /// 655.35 s
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILESetExtendedScanEnable.swift:107:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILESetExtendedScanEnable.Duration' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// Time = N * 10 ms
100 | /// Time Range: 10 ms to 655.35 s
101 | public struct Duration: RawRepresentable, Equatable, Comparable, Hashable {
| `- note: consider making struct 'Duration' conform to the 'Sendable' protocol
102 |
103 | /// 10 ms
:
105 |
106 | /// 655.35 s
107 | public static let max = Duration(0xFFFF)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILESetExtendedScanEnable.Duration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |
109 | public let rawValue: UInt16
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILESetExtendedScanEnable.swift:146:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILESetExtendedScanEnable.Duration' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// Time = N * 10 ms
100 | /// Time Range: 10 ms to 655.35 s
101 | public struct Duration: RawRepresentable, Equatable, Comparable, Hashable {
| `- note: consider making struct 'Duration' conform to the 'Sendable' protocol
102 |
103 | /// 10 ms
:
144 |
145 | /// 1.28 s
146 | public static let min = Duration(0x0001)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILESetExtendedScanEnable.Duration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | /// 83,884.8 s
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILESetExtendedScanEnable.swift:149:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILESetExtendedScanEnable.Duration' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// Time = N * 10 ms
100 | /// Time Range: 10 ms to 655.35 s
101 | public struct Duration: RawRepresentable, Equatable, Comparable, Hashable {
| `- note: consider making struct 'Duration' conform to the 'Sendable' protocol
102 |
103 | /// 10 ms
:
147 |
148 | /// 83,884.8 s
149 | public static let max = Duration(0xFFFF)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILESetExtendedScanEnable.Duration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | public let rawValue: UInt16
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILESetPeriodicAdvertisingParameters.swift:96:27: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'HCILESetPeriodicAdvertisingParameters.PeriodicAdvertisingInterval' may have shared mutable state; this is an error in the Swift 6 language mode
89 | }
90 |
91 | public struct PeriodicAdvertisingInterval: RawRepresentable, Equatable {
| `- note: consider making struct 'PeriodicAdvertisingInterval' conform to the 'Sendable' protocol
92 |
93 | public typealias RawValue = CountableClosedRange<UInt16>
94 |
95 | /// Maximum interval range.
96 | public static let full = PeriodicAdvertisingInterval(rawValue: .min ... .max)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'HCILESetPeriodicAdvertisingParameters.PeriodicAdvertisingInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 |
98 | public let rawValue: RawValue
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILESetPeriodicAdvertisingParameters.swift:131:27: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[HCILESetPeriodicAdvertisingParameters.AdvertisingEventProperties]' may have shared mutable state; this is an error in the Swift 6 language mode
124 | /// The Advertising_Event_Properties parameter describes the type of advertising event that is being configured
125 | /// and its basic properties.
126 | public enum AdvertisingEventProperties: UInt16, BitMaskOption {
| `- note: consider making enum 'AdvertisingEventProperties' conform to the 'Sendable' protocol
127 |
128 | /// Include TxPower in the extended header of the advertising PDU
129 | case includeTxPower = 0b100000
130 |
131 | public static let allCases: [HCILESetPeriodicAdvertisingParameters.AdvertisingEventProperties] = [
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[HCILESetPeriodicAdvertisingParameters.AdvertisingEventProperties]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 | .includeTxPower
133 | ]
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILESetResolvablePrivateAddressTimeout.swift:41:23: warning: static property 'defaultRpaTimeout' is not concurrency-safe because non-'Sendable' type 'HCILESetResolvablePrivateAddressTimeout.RPATimeout' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | /// Default: N= 0x0384 (900 s or 15 minutes)
41 | public static let defaultRpaTimeout = RPATimeout(0x0384)
| |- warning: static property 'defaultRpaTimeout' is not concurrency-safe because non-'Sendable' type 'HCILESetResolvablePrivateAddressTimeout.RPATimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRpaTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// RPA_Timeout measured in s
:
60 | /// RPA_Timeout measured in s
61 | /// Range for N: 0x0001 – 0xA1B8 (1 s – approximately 11.5 hours)
62 | public struct RPATimeout: RawRepresentable, Equatable, Comparable, Hashable {
| `- note: consider making struct 'RPATimeout' conform to the 'Sendable' protocol
63 |
64 | /// 2.5 msec
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILESetResolvablePrivateAddressTimeout.swift:65:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILESetResolvablePrivateAddressTimeout.RPATimeout' may have shared mutable state; this is an error in the Swift 6 language mode
60 | /// RPA_Timeout measured in s
61 | /// Range for N: 0x0001 – 0xA1B8 (1 s – approximately 11.5 hours)
62 | public struct RPATimeout: RawRepresentable, Equatable, Comparable, Hashable {
| `- note: consider making struct 'RPATimeout' conform to the 'Sendable' protocol
63 |
64 | /// 2.5 msec
65 | public static let min = RPATimeout(0x0001)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCILESetResolvablePrivateAddressTimeout.RPATimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /// 10.24 seconds
/host/spi-builder-workspace/Sources/BluetoothHCI/HCILESetResolvablePrivateAddressTimeout.swift:68:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILESetResolvablePrivateAddressTimeout.RPATimeout' may have shared mutable state; this is an error in the Swift 6 language mode
60 | /// RPA_Timeout measured in s
61 | /// Range for N: 0x0001 – 0xA1B8 (1 s – approximately 11.5 hours)
62 | public struct RPATimeout: RawRepresentable, Equatable, Comparable, Hashable {
| `- note: consider making struct 'RPATimeout' conform to the 'Sendable' protocol
63 |
64 | /// 2.5 msec
:
66 |
67 | /// 10.24 seconds
68 | public static let max = RPATimeout(0xA1B8)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCILESetResolvablePrivateAddressTimeout.RPATimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | public let rawValue: UInt16
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIModeChange.swift:74:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIModeChange.Interval' may have shared mutable state; this is an error in the Swift 6 language mode
70 | extension HCIModeChange {
71 |
72 | public struct Interval: RawRepresentable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
73 |
74 | public static let min = Interval(0x0002)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIModeChange.Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | public static let max = Interval(0xFFFE)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIModeChange.swift:76:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIModeChange.Interval' may have shared mutable state; this is an error in the Swift 6 language mode
70 | extension HCIModeChange {
71 |
72 | public struct Interval: RawRepresentable {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
73 |
74 | public static let min = Interval(0x0002)
75 |
76 | public static let max = Interval(0xFFFE)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIModeChange.Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 |
78 | public let rawValue: UInt16
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIPINCodeRequestReply.swift:97:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIPINCodeRequestReply.PINCodeLength' may have shared mutable state; this is an error in the Swift 6 language mode
93 | extension HCIPINCodeRequestReply {
94 |
95 | public struct PINCodeLength: RawRepresentable {
| `- note: consider making struct 'PINCodeLength' conform to the 'Sendable' protocol
96 |
97 | public static let min = PINCodeLength(0x00)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIPINCodeRequestReply.PINCodeLength' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | public static let max = PINCodeLength(0x10)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIPINCodeRequestReply.swift:99:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIPINCodeRequestReply.PINCodeLength' may have shared mutable state; this is an error in the Swift 6 language mode
93 | extension HCIPINCodeRequestReply {
94 |
95 | public struct PINCodeLength: RawRepresentable {
| `- note: consider making struct 'PINCodeLength' conform to the 'Sendable' protocol
96 |
97 | public static let min = PINCodeLength(0x00)
98 |
99 | public static let max = PINCodeLength(0x10)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIPINCodeRequestReply.PINCodeLength' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | public let rawValue: UInt8
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIPeriodicInquiryMode.swift:110:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.LAP' may have shared mutable state; this is an error in the Swift 6 language mode
106 |
107 | /// This is the LAP from which the inquiry access code should be derived when the inquiry procedure is made
108 | struct LAP: RawRepresentable {
| `- note: consider making struct 'LAP' conform to the 'Sendable' protocol
109 |
110 | public static let min = LAP(0x9E8B00)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.LAP' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 | public static let max = LAP(0x9E8B3F)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIPeriodicInquiryMode.swift:112:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.LAP' may have shared mutable state; this is an error in the Swift 6 language mode
106 |
107 | /// This is the LAP from which the inquiry access code should be derived when the inquiry procedure is made
108 | struct LAP: RawRepresentable {
| `- note: consider making struct 'LAP' conform to the 'Sendable' protocol
109 |
110 | public static let min = LAP(0x9E8B00)
111 |
112 | public static let max = LAP(0x9E8B3F)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.LAP' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 | public let rawValue: UInt24
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIPeriodicInquiryMode.swift:138:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.MinDuration' may have shared mutable state; this is an error in the Swift 6 language mode
134 | /// Minimum amount of time specified between consecutive inquiries. Size: 2 octets
135 | /// Range: 0x02 – 0xFFFE
136 | struct MinDuration: RawRepresentable {
| `- note: consider making struct 'MinDuration' conform to the 'Sendable' protocol
137 |
138 | public static let min = MinDuration(0x0002)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.MinDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |
140 | public static let max = MinDuration(0xFFFE)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIPeriodicInquiryMode.swift:140:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.MinDuration' may have shared mutable state; this is an error in the Swift 6 language mode
134 | /// Minimum amount of time specified between consecutive inquiries. Size: 2 octets
135 | /// Range: 0x02 – 0xFFFE
136 | struct MinDuration: RawRepresentable {
| `- note: consider making struct 'MinDuration' conform to the 'Sendable' protocol
137 |
138 | public static let min = MinDuration(0x0002)
139 |
140 | public static let max = MinDuration(0xFFFE)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.MinDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 |
142 | public let rawValue: UInt16
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIPeriodicInquiryMode.swift:172:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.MaxDuration' may have shared mutable state; this is an error in the Swift 6 language mode
168 | /// Maximum amount of time specified between consecutive inquiries. Size: 2 octets
169 | /// Range: 0x03 – 0xFFFF
170 | struct MaxDuration: RawRepresentable {
| `- note: consider making struct 'MaxDuration' conform to the 'Sendable' protocol
171 |
172 | public static let min = MaxDuration(0x0003)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.MaxDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 | public static let max = MaxDuration(0xFFFF)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIPeriodicInquiryMode.swift:174:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.MaxDuration' may have shared mutable state; this is an error in the Swift 6 language mode
168 | /// Maximum amount of time specified between consecutive inquiries. Size: 2 octets
169 | /// Range: 0x03 – 0xFFFF
170 | struct MaxDuration: RawRepresentable {
| `- note: consider making struct 'MaxDuration' conform to the 'Sendable' protocol
171 |
172 | public static let min = MaxDuration(0x0003)
173 |
174 | public static let max = MaxDuration(0xFFFF)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.MaxDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 |
176 | public let rawValue: UInt16
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIPeriodicInquiryMode.swift:209:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.Duration' may have shared mutable state; this is an error in the Swift 6 language mode
205 | /// Time = N * 1.28 sec
206 | /// Range: 1.28 – 61.44 Sec
207 | struct Duration: RawRepresentable {
| `- note: consider making struct 'Duration' conform to the 'Sendable' protocol
208 |
209 | public static let min = Duration(0x01)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.Duration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 |
211 | public static let max = Duration(0x30)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIPeriodicInquiryMode.swift:211:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.Duration' may have shared mutable state; this is an error in the Swift 6 language mode
205 | /// Time = N * 1.28 sec
206 | /// Range: 1.28 – 61.44 Sec
207 | struct Duration: RawRepresentable {
| `- note: consider making struct 'Duration' conform to the 'Sendable' protocol
208 |
209 | public static let min = Duration(0x01)
210 |
211 | public static let max = Duration(0x30)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.Duration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
212 |
213 | public let rawValue: UInt8
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIPeriodicInquiryMode.swift:244:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.Responses' may have shared mutable state; this is an error in the Swift 6 language mode
240 | /// Maximum number of responses from the Inquiry before the Inquiry is halted.
241 | /// Range: 0x01 – 0xFF
242 | struct Responses: RawRepresentable {
| `- note: consider making struct 'Responses' conform to the 'Sendable' protocol
243 |
244 | public static let min = Responses(0x01)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.Responses' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 |
246 | public static let max = Responses(0xFF)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIPeriodicInquiryMode.swift:246:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.Responses' may have shared mutable state; this is an error in the Swift 6 language mode
240 | /// Maximum number of responses from the Inquiry before the Inquiry is halted.
241 | /// Range: 0x01 – 0xFF
242 | struct Responses: RawRepresentable {
| `- note: consider making struct 'Responses' conform to the 'Sendable' protocol
243 |
244 | public static let min = Responses(0x01)
245 |
246 | public static let max = Responses(0xFF)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.Responses' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 |
248 | public static let unlimited = Responses(0x00)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIPeriodicInquiryMode.swift:248:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.Responses' may have shared mutable state; this is an error in the Swift 6 language mode
240 | /// Maximum number of responses from the Inquiry before the Inquiry is halted.
241 | /// Range: 0x01 – 0xFF
242 | struct Responses: RawRepresentable {
| `- note: consider making struct 'Responses' conform to the 'Sendable' protocol
243 |
244 | public static let min = Responses(0x01)
:
246 | public static let max = Responses(0xFF)
247 |
248 | public static let unlimited = Responses(0x00)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'HCIPeriodicInquiryMode.Responses' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 |
250 | public let rawValue: UInt8
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIUserConfirmationRequest.swift:42:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIUserConfirmationRequest.NumericValue' may have shared mutable state; this is an error in the Swift 6 language mode
38 | extension HCIUserConfirmationRequest {
39 |
40 | public struct NumericValue: RawRepresentable {
| `- note: consider making struct 'NumericValue' conform to the 'Sendable' protocol
41 |
42 | public static let min = NumericValue(0x00000000)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIUserConfirmationRequest.NumericValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | public static let max = NumericValue(0x000F423F)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIUserConfirmationRequest.swift:44:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIUserConfirmationRequest.NumericValue' may have shared mutable state; this is an error in the Swift 6 language mode
38 | extension HCIUserConfirmationRequest {
39 |
40 | public struct NumericValue: RawRepresentable {
| `- note: consider making struct 'NumericValue' conform to the 'Sendable' protocol
41 |
42 | public static let min = NumericValue(0x00000000)
43 |
44 | public static let max = NumericValue(0x000F423F)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIUserConfirmationRequest.NumericValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | public let rawValue: UInt32
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIWriteLinkPolicySettings.swift:82:27: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[HCIWriteLinkPolicySettings.LinkPolicySettings]' may have shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | /// Link Policy Settings
68 | public enum LinkPolicySettings: UInt16, BitMaskOption {
| `- note: consider making enum 'LinkPolicySettings' conform to the 'Sendable' protocol
69 |
70 | /// Enable Role Switch.
:
80 | case enableParkState = 0x0008
81 |
82 | public static let allCases: [LinkPolicySettings] = [
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[HCIWriteLinkPolicySettings.LinkPolicySettings]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | .enableRoleSwitch,
84 | .enableHoldMode,
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIWriteLinkSupervisionTimeout.swift:79:27: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'HCIWriteLinkSupervisionTimeout.LinkSupervisionTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
75 | /// Link_Supervision_Timeout = 20 sec
76 | /// Mandatory Range for Controller: 0x0190 to 0xFFFF; plus 0 for infinite timeout
77 | public struct LinkSupervisionTimeout: RawRepresentable {
| `- note: consider making struct 'LinkSupervisionTimeout' conform to the 'Sendable' protocol
78 |
79 | public static let infinite = LinkSupervisionTimeout(0)
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'HCIWriteLinkSupervisionTimeout.LinkSupervisionTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infinite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | public var rawValue: UInt16
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIWritePageScanActivity.swift:64:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIWritePageScanActivity.PageScanInterval' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | /// The Page_Scan_Interval configuration parameter defines the amount of time between consecutive page scans. This time interval is defined from when the Controller started its last page scan until it begins the next page scan.
62 | public struct PageScanInterval: RawRepresentable {
| `- note: consider making struct 'PageScanInterval' conform to the 'Sendable' protocol
63 |
64 | public static let min = PageScanInterval(0x0012)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIWritePageScanActivity.PageScanInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public static let max = PageScanInterval(0x1000)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIWritePageScanActivity.swift:66:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIWritePageScanActivity.PageScanInterval' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | /// The Page_Scan_Interval configuration parameter defines the amount of time between consecutive page scans. This time interval is defined from when the Controller started its last page scan until it begins the next page scan.
62 | public struct PageScanInterval: RawRepresentable {
| `- note: consider making struct 'PageScanInterval' conform to the 'Sendable' protocol
63 |
64 | public static let min = PageScanInterval(0x0012)
65 |
66 | public static let max = PageScanInterval(0x1000)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIWritePageScanActivity.PageScanInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public let rawValue: UInt16
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIWritePageScanActivity.swift:96:27: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIWritePageScanActivity.PageScanWindow' may have shared mutable state; this is an error in the Swift 6 language mode
92 |
93 | /// The Page_Scan_Window configuration parameter defines the amount of time for the duration of the page scan. The Page_Scan_Window can only be less than or equal to the Page_Scan_Interval.
94 | public struct PageScanWindow: RawRepresentable {
| `- note: consider making struct 'PageScanWindow' conform to the 'Sendable' protocol
95 |
96 | public static let min = PageScanWindow(0x0011)
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'HCIWritePageScanActivity.PageScanWindow' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 |
98 | public static let max = PageScanWindow(0x1000)
/host/spi-builder-workspace/Sources/BluetoothHCI/HCIWritePageScanActivity.swift:98:27: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIWritePageScanActivity.PageScanWindow' may have shared mutable state; this is an error in the Swift 6 language mode
92 |
93 | /// The Page_Scan_Window configuration parameter defines the amount of time for the duration of the page scan. The Page_Scan_Window can only be less than or equal to the Page_Scan_Interval.
94 | public struct PageScanWindow: RawRepresentable {
| `- note: consider making struct 'PageScanWindow' conform to the 'Sendable' protocol
95 |
96 | public static let min = PageScanWindow(0x0011)
97 |
98 | public static let max = PageScanWindow(0x1000)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'HCIWritePageScanActivity.PageScanWindow' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | public let rawValue: UInt16
/host/spi-builder-workspace/Sources/BluetoothHCI/VendorCommand.swift:28:16: warning: static property 'names' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The names of the registered vendor commands.
28 | static var names = [VendorCommand: String]()
| |- warning: static property 'names' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'names' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'names' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | var name: String {
Build complete! (90.27s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Bluetooth",
"name" : "Bluetooth",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Bluetooth",
"targets" : [
"Bluetooth"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BluetoothGAP",
"targets" : [
"BluetoothGAP"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BluetoothGATT",
"targets" : [
"BluetoothGATT"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BluetoothHCI",
"targets" : [
"BluetoothHCI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BluetoothTests",
"module_type" : "SwiftTarget",
"name" : "BluetoothTests",
"path" : "Tests/BluetoothTests",
"sources" : [
"AddressTests.swift",
"AttributeProtocolTests.swift",
"BluetoothTests.swift",
"BluetoothUUIDTests.swift",
"DarwinTests.swift",
"DefinedUUIDTests.swift",
"GAPTests.swift",
"GATTCharacteristicTests.swift",
"GATTDatabaseTests.swift",
"GATTDescriptorTests.swift",
"GATTTests.swift",
"Generated/GeneratedCompanyIdentifierTests.swift",
"HCITests.swift",
"HostController.swift",
"IntegerTests.swift",
"L2CAPSocket.swift",
"TestProfile.swift",
"UInt128Tests.swift",
"UInt24Tests.swift",
"UInt256Tests.swift",
"UInt40Tests.swift",
"UInt48Tests.swift",
"UInt512Tests.swift",
"UUIDTests.swift",
"UnitIdentifierTests.swift",
"iBeaconTests.swift"
],
"target_dependencies" : [
"Bluetooth",
"BluetoothGAP",
"BluetoothGATT",
"BluetoothHCI"
],
"type" : "test"
},
{
"c99name" : "BluetoothHCI",
"module_type" : "SwiftTarget",
"name" : "BluetoothHCI",
"path" : "Sources/BluetoothHCI",
"product_memberships" : [
"BluetoothHCI"
],
"sources" : [
"AdvertisingChannelHeader.swift",
"AdvertisingInterval.swift",
"BluetoothHostController.swift",
"ChannelIdentifier.swift",
"ConnectionAcceptTimeout.swift",
"Extensions/Bool.swift",
"Extensions/Data.swift",
"Extensions/DataConvertible.swift",
"Extensions/Hexadecimal.swift",
"Extensions/Integer.swift",
"Extensions/UUID.swift",
"HCI.swift",
"HCIAcceptConnectionRequest.swift",
"HCIAuthenticationComplete.swift",
"HCIAuthenticationRequested.swift",
"HCIChangeConnectionPacketType.swift",
"HCICommand.swift",
"HCICommandComplete.swift",
"HCICommandStatus.swift",
"HCICommandTimeout.swift",
"HCIConnectionComplete.swift",
"HCIConnectionPacketTypeChange.swift",
"HCIConnectionRequest.swift",
"HCICreateConnection.swift",
"HCICreateConnectionCancel.swift",
"HCIDeleteStoredLinkKey.swift",
"HCIDisconnect.swift",
"HCIDisconnectionComplete.swift",
"HCIEncryptionChange.swift",
"HCIEncryptionKeyRefreshComplete.swift",
"HCIError.swift",
"HCIEvent.swift",
"HCIExitPeriodicInquiryMode.swift",
"HCIGeneralEvent.swift",
"HCIHoldMode.swift",
"HCIIOCapabilityRequest.swift",
"HCIIOCapabilityRequestReply.swift",
"HCIIOCapabilityResponse.swift",
"HCIInquiry.swift",
"HCIInquiryCancel.swift",
"HCIInquiryComplete.swift",
"HCIInquiryResult.swift",
"HCILEAddDeviceToPeriodicAdvertiserList.swift",
"HCILEAddDeviceToResolvingList.swift",
"HCILEAddDeviceToWhiteList.swift",
"HCILEAdvertisingReport.swift",
"HCILEAdvertisingSetTerminated.swift",
"HCILEChannelSelectionAlgorithm.swift",
"HCILEConnectionComplete.swift",
"HCILEConnectionUpdateComplete.swift",
"HCILECreateConnection.swift",
"HCILEDataLengthChange.swift",
"HCILEDirectedAdvertisingReport.swift",
"HCILEEncrypt.swift",
"HCILEEnhancedConnectionComplete.swift",
"HCILEEnhancedReceiverTest.swift",
"HCILEEnhancedTransmitterTest.swift",
"HCILEExtendedAdvertisingReport.swift",
"HCILEExtendedCreateConnection.swift",
"HCILEGenerateDHKey.swift",
"HCILEGenerateDHKeyComplete.swift",
"HCILELongTermKeyRequest.swift",
"HCILELongTermKeyRequestNegativeReply.swift",
"HCILELongTermKeyRequestReply.swift",
"HCILEPeriodicAdvertisingCreateSync.swift",
"HCILEPeriodicAdvertisingReport.swift",
"HCILEPeriodicAdvertisingSyncEstablished.swift",
"HCILEPeriodicAdvertisingSyncLost.swift",
"HCILEPeriodicAdvertisingTerminateSync.swift",
"HCILEPhyUpdateComplete.swift",
"HCILERandom.swift",
"HCILEReadAdvertisingChannelTxPower.swift",
"HCILEReadBufferSize.swift",
"HCILEReadChannelMap.swift",
"HCILEReadLocalP256PublicKeyComplete.swift",
"HCILEReadLocalResolvableAddressReturn.swift",
"HCILEReadLocalSupportedFeatures.swift",
"HCILEReadMaximumAdvertisingDataLength.swift",
"HCILEReadMaximumDataLength.swift",
"HCILEReadNumberOfSupportedAdvertisingSets.swift",
"HCILEReadPeerResolvableAddressReturn.swift",
"HCILEReadPeriodicAdvertisingListSize.swift",
"HCILEReadPhy.swift",
"HCILEReadRemoteUsedFeatures.swift",
"HCILEReadRemoteUsedFeaturesComplete.swift",
"HCILEReadResolvingListSize.swift",
"HCILEReadRfPathCompensation.swift",
"HCILEReadSuggestedDefaultDataLength.swift",
"HCILEReadSupportedStates.swift",
"HCILEReadTransmitPower.swift",
"HCILEReadWhiteListSize.swift",
"HCILEReceiverTest.swift",
"HCILERemoteConnectionParameterRequest.swift",
"HCILERemoteConnectionParameterRequestNegativeReply.swift",
"HCILERemoteConnectionParameterRequestReply.swift",
"HCILERemoveAdvertisingSet.swift",
"HCILERemoveDeviceFromResolvingList.swift",
"HCILERemoveDeviceFromWhiteList.swift",
"HCILERemoveDeviceToPeriodicAdvertiserList.swift",
"HCILEScanRequestReceived.swift",
"HCILESetAddressResolutionEnable.swift",
"HCILESetAdvertiseEnable.swift",
"HCILESetAdvertisingData.swift",
"HCILESetAdvertisingParameters.swift",
"HCILESetAdvertisingSetRandomAddress.swift",
"HCILESetDataLength.swift",
"HCILESetDefaultPhy.swift",
"HCILESetEventMask.swift",
"HCILESetExtendedAdvertisingData.swift",
"HCILESetExtendedAdvertisingParameters.swift",
"HCILESetExtendedScanEnable.swift",
"HCILESetExtendedScanParameters.swift",
"HCILESetExtendedScanResponseData.swift",
"HCILESetHostChannelClassification.swift",
"HCILESetPeriodicAdvertisingData.swift",
"HCILESetPeriodicAdvertisingEnable.swift",
"HCILESetPeriodicAdvertisingParameters.swift",
"HCILESetPhy.swift",
"HCILESetPrivacyMode.swift",
"HCILESetRandomAddress.swift",
"HCILESetResolvablePrivateAddressTimeout.swift",
"HCILESetScanEnable.swift",
"HCILESetScanParameters.swift",
"HCILESetScanResponseData.swift",
"HCILEStartEncryption.swift",
"HCILETestEnd.swift",
"HCILETransmitterTest.swift",
"HCILEUpdateConnection.swift",
"HCILEWriteRfPathCompensation.swift",
"HCILEWriteSuggestedDefaultDataLength.swift",
"HCILinkKeyNotification.swift",
"HCILinkKeyRequest.swift",
"HCILinkKeyRequestNegativeReply.swift",
"HCILinkKeyRequestReply.swift",
"HCILowEnergyMetaEvent.swift",
"HCIMaxSlotsChange.swift",
"HCIModeChange.swift",
"HCINumberOfCompletedPackets.swift",
"HCIPINCodeRequest.swift",
"HCIPINCodeRequestReply.swift",
"HCIPacketHeader.swift",
"HCIPageScanRepetitionMode.swift",
"HCIPeriodicInquiryMode.swift",
"HCIQoSSetup.swift",
"HCIQoSSetupComplete.swift",
"HCIReadClassOfDevice.swift",
"HCIReadClockOffset.swift",
"HCIReadClockOffsetComplete.swift",
"HCIReadConnectionAcceptTimeout.swift",
"HCIReadDataBlockSize.swift",
"HCIReadDeviceAddress.swift",
"HCIReadLMPHandle.swift",
"HCIReadLocalName.swift",
"HCIReadLocalSupportedFeatures.swift",
"HCIReadLocalVersionInformation.swift",
"HCIReadPageTimeout.swift",
"HCIReadRemoteExtendedFeatures.swift",
"HCIReadRemoteExtendedFeaturesComplete.swift",
"HCIReadRemoteFeaturesComplete.swift",
"HCIReadRemoteSupportedFeatures.swift",
"HCIReadRemoteVersionInformation.swift",
"HCIReadRemoteVersionInformationComplete.swift",
"HCIReadStoredLinkKey.swift",
"HCIRejectConnectionRequest.swift",
"HCIRemoteNameRequest.swift",
"HCIRemoteNameRequestComplete.swift",
"HCIReset.swift",
"HCISetConnectionEncryption.swift",
"HCISetEventFilter.swift",
"HCISimplePairingComplete.swift",
"HCIUserConfirmationRequest.swift",
"HCIUserConfirmationRequestReply.swift",
"HCIVersion.swift",
"HCIWriteClassOfDevice.swift",
"HCIWriteConnectionAcceptTimeout.swift",
"HCIWriteLinkPolicySettings.swift",
"HCIWriteLinkSupervisionTimeout.swift",
"HCIWriteLocalName.swift",
"HCIWritePageScanActivity.swift",
"HCIWritePageScanType.swift",
"HCIWritePageTimeout.swift",
"HCIWriteScanEnable.swift",
"HostControllerBasebandCommand.swift",
"InformationalCommand.swift",
"LMPFeature.swift",
"LinkControlCommand.swift",
"LinkPolicyCommand.swift",
"LowEnergyAddressType.swift",
"LowEnergyAdvertiserAddressType.swift",
"LowEnergyAdvertising.swift",
"LowEnergyAllPhys.swift",
"LowEnergyChannelMap.swift",
"LowEnergyClockAccuracy.swift",
"LowEnergyCommand.swift",
"LowEnergyConnection.swift",
"LowEnergyConnectionInterval.swift",
"LowEnergyConnectionIntervalRange.swift",
"LowEnergyConnectionLatency.swift",
"LowEnergyConnectionLength.swift",
"LowEnergyEvent.swift",
"LowEnergyFeature.swift",
"LowEnergyFragmentPreference.swift",
"LowEnergyMaxTxOctets.swift",
"LowEnergyMaxTxTime.swift",
"LowEnergyPacketPayload.swift",
"LowEnergyPeerIdentifyAddressType.swift",
"LowEnergyPhyOptions.swift",
"LowEnergyResolvingList.swift",
"LowEnergyRfRxPathCompensationValue.swift",
"LowEnergyRfTxPathCompensationValue.swift",
"LowEnergyRole.swift",
"LowEnergyRxChannel.swift",
"LowEnergyRxPhy.swift",
"LowEnergyRxPhys.swift",
"LowEnergyScanInterval.swift",
"LowEnergyState.swift",
"LowEnergySupervisionTimeout.swift",
"LowEnergyTxChannel.swift",
"LowEnergyTxPhy.swift",
"LowEnergyTxPhys.swift",
"LowEnergyTxPower.swift",
"LowEnergyWhiteList.swift",
"LowEnergyWhiteListDevice.swift",
"PacketType.swift",
"ProtocolServiceMultiplexer.swift",
"StatusParametersCommand.swift",
"VendorCommand.swift",
"iBeacon.swift"
],
"target_dependencies" : [
"Bluetooth",
"BluetoothGAP"
],
"type" : "library"
},
{
"c99name" : "BluetoothGATT",
"module_type" : "SwiftTarget",
"name" : "BluetoothGATT",
"path" : "Sources/BluetoothGATT",
"product_memberships" : [
"BluetoothGATT"
],
"sources" : [
"ATT.swift",
"ATTConnection.swift",
"ATTError.swift",
"ATTErrorResponse.swift",
"ATTExecuteWriteRequest.swift",
"ATTExecuteWriteResponse.swift",
"ATTFindByTypeRequest.swift",
"ATTFindByTypeResponse.swift",
"ATTFindInformationRequest.swift",
"ATTFindInformationResponse.swift",
"ATTHandleValueConfirmation.swift",
"ATTHandleValueIndication.swift",
"ATTHandleValueNotification.swift",
"ATTMaximumTransmissionUnit.swift",
"ATTMaximumTransmissionUnitRequest.swift",
"ATTMaximumTransmissionUnitResponse.swift",
"ATTPrepareWriteRequest.swift",
"ATTPrepareWriteResponse.swift",
"ATTProtocolDataUnit.swift",
"ATTReadBlobRequest.swift",
"ATTReadBlobResponse.swift",
"ATTReadByGroupTypeRequest.swift",
"ATTReadByGroupTypeResponse.swift",
"ATTReadByTypeRequest.swift",
"ATTReadByTypeResponse.swift",
"ATTReadMultipleRequest.swift",
"ATTReadMultipleResponse.swift",
"ATTReadRequest.swift",
"ATTReadResponse.swift",
"ATTSignedWriteCommand.swift",
"ATTWriteCommand.swift",
"ATTWriteRequest.swift",
"ATTWriteResponse.swift",
"Extensions/Array.swift",
"Extensions/Bool.swift",
"Extensions/Data.swift",
"Extensions/DataConvertible.swift",
"Extensions/Hexadecimal.swift",
"Extensions/Integer.swift",
"Extensions/UUID.swift",
"GAPUUIDList.swift",
"GATT.swift",
"GATTAerobicHeartRateLowerLimit.swift",
"GATTAerobicHeartRateUpperLimit.swift",
"GATTAerobicThreshold.swift",
"GATTAge.swift",
"GATTAggregateFormatDescriptor.swift",
"GATTAlertCategory.swift",
"GATTAlertCategoryBitMask.swift",
"GATTAlertLevel.swift",
"GATTAlertNotificationControlPoint.swift",
"GATTAlertNotificationService.swift",
"GATTAlertStatus.swift",
"GATTAltitude.swift",
"GATTAnaerobicHeartRateLowerLimit.swift",
"GATTAnaerobicHeartRateUpperLimit.swift",
"GATTAnalog.swift",
"GATTAnalogOutput.swift",
"GATTAttributes.swift",
"GATTBarometricPressureTrend.swift",
"GATTBatteryLevel.swift",
"GATTBatteryPowerState.swift",
"GATTBatteryService.swift",
"GATTBloodPressureFeature.swift",
"GATTBloodPressureManagement.swift",
"GATTBloodPressureService.swift",
"GATTBodyCompositionMeasurement.swift",
"GATTBodySensorLocation.swift",
"GATTBootKeyboardInputReport.swift",
"GATTBootKeyboardOutputReport.swift",
"GATTBootMouseInputReport.swift",
"GATTCGMSessionRunTime.swift",
"GATTCentralAddressResolution.swift",
"GATTCharacteristic.swift",
"GATTCharacteristicExtendedProperties.swift",
"GATTCharacteristicFormatType.swift",
"GATTClient.swift",
"GATTClientCharacteristicConfiguration.swift",
"GATTCrossTrainerData.swift",
"GATTCurrentTime.swift",
"GATTDatabase.swift",
"GATTDateTime.swift",
"GATTDateUTC.swift",
"GATTDayDateTime.swift",
"GATTDayOfWeek.swift",
"GATTDescriptor.swift",
"GATTDstOffset.swift",
"GATTExactTime100.swift",
"GATTExactTime256.swift",
"GATTExternalReportReference.swift",
"GATTFirmwareRevisionString.swift",
"GATTFloorNumber.swift",
"GATTFormatDescriptor.swift",
"GATTHardwareRevisionString.swift",
"GATTIndoorPositioningConfiguration.swift",
"GATTLatitude.swift",
"GATTLocalEastCoordinate.swift",
"GATTLocalNorthCoordinate.swift",
"GATTLocalTimeInformation.swift",
"GATTLocationName.swift",
"GATTLongitude.swift",
"GATTManufacturerNameString.swift",
"GATTModelNumber.swift",
"GATTNewAlert.swift",
"GATTNumberOfDigitals.swift",
"GATTObjectID.swift",
"GATTObjectName.swift",
"GATTObjectSize.swift",
"GATTObjectType.swift",
"GATTPnPID.swift",
"GATTProfile.swift",
"GATTReferenceTimeInformation.swift",
"GATTReportReference.swift",
"GATTScanIntervalWindow.swift",
"GATTScanRefresh.swift",
"GATTSecondaryTimeZone.swift",
"GATTSerialNumberString.swift",
"GATTServer.swift",
"GATTServerCharacteristicConfiguration.swift",
"GATTService.swift",
"GATTSoftwareRevisionString.swift",
"GATTSupportedNewAlertCategory.swift",
"GATTSupportedUnreadAlertCategory.swift",
"GATTSystemID.swift",
"GATTTimeAccuracy.swift",
"GATTTimeBroadcast.swift",
"GATTTimeSource.swift",
"GATTTimeTriggerSetting.swift",
"GATTTimeUpdateControlPoint.swift",
"GATTTimeUpdateState.swift",
"GATTTimeWithDst.swift",
"GATTTimeZone.swift",
"GATTUncertainty.swift",
"GATTUnreadAlertStatus.swift",
"GATTUserDescription.swift"
],
"target_dependencies" : [
"Bluetooth"
],
"type" : "library"
},
{
"c99name" : "BluetoothGAP",
"module_type" : "SwiftTarget",
"name" : "BluetoothGAP",
"path" : "Sources/BluetoothGAP",
"product_memberships" : [
"BluetoothGAP",
"BluetoothHCI"
],
"sources" : [
"Decoder.swift",
"Encoder.swift",
"Extensions/Data.swift",
"Extensions/DataConvertible.swift",
"Extensions/Hexadecimal.swift",
"Extensions/Integer.swift",
"Extensions/String.swift",
"Extensions/UUID.swift",
"GAP3DInformation.swift",
"GAPAdvertisingInterval.swift",
"GAPAppearance.swift",
"GAPAppearanceData.swift",
"GAPChannelMapUpdateIndication.swift",
"GAPClassOfDevice.swift",
"GAPCompleteListOf128BitServiceClassUUIDs.swift",
"GAPCompleteListOf16BitServiceClassUUIDs.swift",
"GAPCompleteListOf32BitServiceClassUUIDs.swift",
"GAPCompleteLocalName.swift",
"GAPData.swift",
"GAPDataType.swift",
"GAPFlags.swift",
"GAPIncompleteListOf128BitServiceClassUUIDs.swift",
"GAPIncompleteListOf16BitServiceClassUUIDs.swift",
"GAPIncompleteListOf32BitServiceClassUUIDs.swift",
"GAPIndoorPositioning.swift",
"GAPLEDeviceAddress.swift",
"GAPLERole.swift",
"GAPLESecureConnectionsConfirmation.swift",
"GAPLESecureConnectionsRandom.swift",
"GAPLESupportedFeatures.swift",
"GAPListOf128BitServiceSolicitationUUIDs.swift",
"GAPListOf16BitServiceSolicitationUUIDs.swift",
"GAPListOf32BitServiceSolicitationUUIDs.swift",
"GAPManufacturerSpecificData.swift",
"GAPMeshBeacon.swift",
"GAPMeshMessage.swift",
"GAPPBADV.swift",
"GAPPublicTargetAddress.swift",
"GAPRandomTargetAddress.swift",
"GAPSecurityManagerOOBFlags.swift",
"GAPSecurityManagerTKValue.swift",
"GAPServiceData128BitUUID.swift",
"GAPServiceData16BitUUID.swift",
"GAPServiceData32BitUUID.swift",
"GAPShortLocalName.swift",
"GAPSimplePairingHashC.swift",
"GAPSimplePairingRandomizerR.swift",
"GAPSlaveConnectionIntervalRange.swift",
"GAPTransportDiscoveryData.swift",
"GAPTxPowerLevel.swift",
"GAPURI.swift",
"GAPUUIDList.swift",
"iBeacon.swift"
],
"target_dependencies" : [
"Bluetooth"
],
"type" : "library"
},
{
"c99name" : "Bluetooth",
"module_type" : "SwiftTarget",
"name" : "Bluetooth",
"path" : "Sources/Bluetooth",
"product_memberships" : [
"Bluetooth",
"BluetoothGAP",
"BluetoothGATT",
"BluetoothHCI"
],
"sources" : [
"Address.swift",
"AsyncIndefiniteStream.swift",
"BitMaskOption.swift",
"BluetoothUUID.swift",
"ByteSwap.swift",
"ByteValue.swift",
"ClassOfDevice.swift",
"CompanyIdentifier.swift",
"Data.swift",
"DefinedUUID.swift",
"DefinedUUIDExtension.swift",
"Extensions/DataConvertible.swift",
"Extensions/Hexadecimal.swift",
"Extensions/Integer.swift",
"Extensions/String.swift",
"Extensions/UUID.swift",
"Generated/GeneratedCompanyIdentifierNames.swift",
"Generated/GeneratedCompanyIdentifiers.swift",
"L2CAPSocket.swift",
"LowEnergyAdvertisingData.swift",
"LowEnergyScanTimeInterval.swift",
"RSSI.swift",
"SFloat.swift",
"SecurityLevel.swift",
"UInt128.swift",
"UInt24.swift",
"UInt256.swift",
"UInt40.swift",
"UInt48.swift",
"UInt512.swift",
"Unit.swift",
"UnitIdentifier.swift",
"UnitIdentifierExtension.swift",
"iBeacon.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.