Build Information
Successful build of JacquardSDK, reference main (7db0fe
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 01:45:47 UTC.
Swift 6 data race errors: 43
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| |- warning: var 'jqLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jqLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'jqLogger' 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
39 |
40 | /// Describes different types of log messages which can be used to filter which messages are collected.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:20:14: warning: static property 'initialState' is not concurrency-safe because non-'Sendable' type 'TagConnectionStateMachine.State' may have shared mutable state; this is an error in the Swift 6 language mode
18 | class TagConnectionStateMachine {
19 |
20 | static let initialState: State = .preparingToConnect
| |- warning: static property 'initialState' is not concurrency-safe because non-'Sendable' type 'TagConnectionStateMachine.State' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initialState' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | private static let totalProgressSteps = 14
:
46 | }
47 |
48 | enum State {
| `- note: consider making enum 'State' conform to the 'Sendable' protocol
49 | case preparingToConnect
50 | case connecting(Int, Int)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:139:7: warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | class TagConnectionStateMachine {
| `- note: class 'TagConnectionStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | static let initialState: State = .preparingToConnect
:
137 | marshalQueue.async {
138 |
139 | self.context.currentProgress = 0
| `- warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | // Prepare the pairing child state machine.
141 | let pairingStateMachine = TagPairingStateMachine(peripheral: self.peripheral)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:152:43: warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in an isolated closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | class TagConnectionStateMachine {
| `- note: class 'TagConnectionStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | static let initialState: State = .preparingToConnect
:
150 |
151 | case .disconnected:
152 | if case .preparingToConnect = self.state {
| `- warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in an isolated closure; this is an error in the Swift 6 language mode
153 | break
154 | } else {
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:191:7: warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | class TagConnectionStateMachine {
| `- note: class 'TagConnectionStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | static let initialState: State = .preparingToConnect
:
189 | func disconnect(_ disconnectMethod: @escaping (Peripheral, [String: Any]?) -> Void) {
190 | marshalQueue.async {
191 | self.context.isUserDisconnect = true
| `- warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
192 | disconnectMethod(self.peripheral, nil)
193 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:192:7: warning: capture of 'disconnectMethod' with non-sendable type '(any Peripheral, [String : Any]?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 | marshalQueue.async {
191 | self.context.isUserDisconnect = true
192 | disconnectMethod(self.peripheral, nil)
| |- warning: capture of 'disconnectMethod' with non-sendable type '(any Peripheral, [String : Any]?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
193 | }
194 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:221:21: warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | class TagConnectionStateMachine {
| `- note: class 'TagConnectionStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | static let initialState: State = .preparingToConnect
:
219 | // Prepare the pairing child state machine.
220 | let initializationStateMachine = ProtocolInitializationStateMachine(
221 | peripheral: self.peripheral,
| `- warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 | characteristics: characteristics,
223 | userPublishQueue: self.context.userPublishQueue,
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:222:26: warning: capture of 'characteristics' with non-sendable type 'RequiredCharacteristics' in a `@Sendable` closure; this is an error in the Swift 6 language mode
220 | let initializationStateMachine = ProtocolInitializationStateMachine(
221 | peripheral: self.peripheral,
222 | characteristics: characteristics,
| `- warning: capture of 'characteristics' with non-sendable type 'RequiredCharacteristics' in a `@Sendable` closure; this is an error in the Swift 6 language mode
223 | userPublishQueue: self.context.userPublishQueue,
224 | sdkConfig: self.sdkConfig
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/TransportV2Implementation.swift:19:8: note: consider making struct 'RequiredCharacteristics' conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | struct RequiredCharacteristics {
| `- note: consider making struct 'RequiredCharacteristics' conform to the 'Sendable' protocol
20 | var commandCharacteristic: Characteristic
21 | var responseCharacteristic: Characteristic
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:245:13: warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in an isolated closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | class TagConnectionStateMachine {
| `- note: class 'TagConnectionStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | static let initialState: State = .preparingToConnect
:
243 |
244 | case .helloSent, .beginSent, .componentInfoSent, .creatingTagInstance:
245 | self.handleEvent(.initializationProgress)
| `- warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in an isolated closure; this is an error in the Swift 6 language mode
246 |
247 | case .tagInitialized(let tag):
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:285:7: warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | class TagConnectionStateMachine {
| `- note: class 'TagConnectionStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | static let initialState: State = .preparingToConnect
:
283 | private func invalidateConnectionTimer() {
284 | marshalQueue.async {
285 | self.connectionTimer?.cancel()
| `- warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
286 | self.connectionTimer = nil
287 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:297:39: warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | class TagConnectionStateMachine {
| `- note: class 'TagConnectionStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | static let initialState: State = .preparingToConnect
:
295 | func didConnect(peripheral: Peripheral) {
296 | marshalQueue.async {
297 | guard let pairingStateMachine = self.context.childStateMachine.pairingStateMachine else {
| `- warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
298 | assertionFailure("Unexpected didConnect method without an active pairing state machine")
299 | self.handleEvent(.connectionError(TagConnectionError.internalError))
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:302:50: warning: capture of 'peripheral' with non-sendable type 'any Peripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
300 | return
301 | }
302 | pairingStateMachine.didConnect(peripheral: peripheral)
| `- warning: capture of 'peripheral' with non-sendable type 'any Peripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
303 | }
304 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:162:10: note: protocol 'Peripheral' does not conform to the 'Sendable' protocol
160 |
161 | /// Testable protocol for `CBPeripheral` access.
162 | protocol Peripheral {
| `- note: protocol 'Peripheral' does not conform to the 'Sendable' protocol
163 |
164 | /// Peripheral name.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:310:9: warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | class TagConnectionStateMachine {
| `- note: class 'TagConnectionStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | static let initialState: State = .preparingToConnect
:
308 | // Update user disconnect when bluetooth state updated to powerOff.
309 | if let error = error as? TagConnectionError, case .bluetoothPowerOff = error {
310 | self.context.isUserDisconnect = true
| `- warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
311 | }
312 | self.handleEvent(.didDisconnect(error))
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:318:39: warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | class TagConnectionStateMachine {
| `- note: class 'TagConnectionStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | static let initialState: State = .preparingToConnect
:
316 | func didFailToConnect(peripheral: Peripheral, error: Error) {
317 | marshalQueue.async {
318 | guard let pairingStateMachine = self.context.childStateMachine.pairingStateMachine else {
| `- warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
319 | assertionFailure(
320 | "Unexpected didFailToConnect method without an active pairing state machine")
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:324:56: warning: capture of 'peripheral' with non-sendable type 'any Peripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
322 | return
323 | }
324 | pairingStateMachine.didFailToConnect(peripheral: peripheral, error: error)
| `- warning: capture of 'peripheral' with non-sendable type 'any Peripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
325 | }
326 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:162:10: note: protocol 'Peripheral' does not conform to the 'Sendable' protocol
160 |
161 | /// Testable protocol for `CBPeripheral` access.
162 | protocol Peripheral {
| `- note: protocol 'Peripheral' does not conform to the 'Sendable' protocol
163 |
164 | /// Peripheral name.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:342:11: warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | class TagConnectionStateMachine {
| `- note: class 'TagConnectionStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | static let initialState: State = .preparingToConnect
:
340 | if case .failure(let error) = completion {
341 | self.marshalQueue.async {
342 | self.handleEvent(.firmwareUpdateError(error))
| `- warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:351:11: warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | class TagConnectionStateMachine {
| `- note: class 'TagConnectionStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | static let initialState: State = .preparingToConnect
:
349 | ) {
350 | self.context.userPublishQueue.async {
351 | self.applyFirmwareUpdate(tagUpdate, tag: tag)
| `- warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
352 | }
353 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:351:36: warning: capture of 'tagUpdate' with non-sendable type 'DFUUpdateInfo' in a `@Sendable` closure; this is an error in the Swift 6 language mode
349 | ) {
350 | self.context.userPublishQueue.async {
351 | self.applyFirmwareUpdate(tagUpdate, tag: tag)
| `- warning: capture of 'tagUpdate' with non-sendable type 'DFUUpdateInfo' in a `@Sendable` closure; this is an error in the Swift 6 language mode
352 | }
353 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Model/DFUUpdateInfo.swift:30:15: note: consider making struct 'DFUUpdateInfo' conform to the 'Sendable' protocol
28 |
29 | /// Provides firmware update related information.
30 | public struct DFUUpdateInfo: Codable {
| `- note: consider making struct 'DFUUpdateInfo' conform to the 'Sendable' protocol
31 |
32 | /// Date on which firmware is updated.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:351:52: warning: capture of 'tag' with non-sendable type 'any ConnectedTag' in a `@Sendable` closure; this is an error in the Swift 6 language mode
349 | ) {
350 | self.context.userPublishQueue.async {
351 | self.applyFirmwareUpdate(tagUpdate, tag: tag)
| `- warning: capture of 'tag' with non-sendable type 'any ConnectedTag' in a `@Sendable` closure; this is an error in the Swift 6 language mode
352 | }
353 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/TagProtocols.swift:91:17: note: protocol 'ConnectedTag' does not conform to the 'Sendable' protocol
89 |
90 | /// The tag type for connected tags.
91 | public protocol ConnectedTag: JacquardTag {
| `- note: protocol 'ConnectedTag' does not conform to the 'Sendable' protocol
92 | /// Name of the tag.
93 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:362:18: warning: capture of 'state' with non-sendable type 'FirmwareUpdateState' in a `@Sendable` closure; this is an error in the Swift 6 language mode
360 | guard let self = self else { return }
361 | self.marshalQueue.async {
362 | switch state {
| `- warning: capture of 'state' with non-sendable type 'FirmwareUpdateState' in a `@Sendable` closure; this is an error in the Swift 6 language mode
363 | case .transferring(let progress):
364 | self.handleEvent(.firmwareTransferring(progress))
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/FirmwareUpdateAPI/FirmwareUpdateManager.swift:73:13: note: consider making enum 'FirmwareUpdateState' conform to the 'Sendable' protocol
71 |
72 | /// Information about the current state of firmware updates.
73 | public enum FirmwareUpdateState {
| `- note: consider making enum 'FirmwareUpdateState' conform to the 'Sendable' protocol
74 |
75 | /// When we start firmware update, this will be the initial state by default.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:364:13: warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | class TagConnectionStateMachine {
| `- note: class 'TagConnectionStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | static let initialState: State = .preparingToConnect
:
362 | switch state {
363 | case .transferring(let progress):
364 | self.handleEvent(.firmwareTransferring(progress))
| `- warning: capture of 'self' with non-sendable type 'TagConnectionStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
365 | case .transferred:
366 | self.handleEvent(.firmwareTransferCompleted)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagPairingStateMachine.swift:21:14: warning: static property 'initialState' is not concurrency-safe because non-'Sendable' type 'TagPairingStateMachine.State' may have shared mutable state; this is an error in the Swift 6 language mode
19 | class TagPairingStateMachine: NSObject {
20 |
21 | static let initialState: State = .disconnected
| |- warning: static property 'initialState' is not concurrency-safe because non-'Sendable' type 'TagPairingStateMachine.State' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initialState' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let requiredNotifyingCharacteristics = [
23 | UUID(JacquardServices.responseUUID),
:
39 | }
40 |
41 | enum State {
| `- note: consider making enum 'State' conform to the 'Sendable' protocol
42 | case preparingToConnect
43 | case disconnected
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/ProtocolConstants.swift:59:14: warning: static property 'responseUUID' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | // Used to receive and process responses to commands given to the device.
59 | static let responseUUID = CBUUID(string: "D2F2B8D0-D165-445C-B0E1-2D6B642EC57B")
| `- warning: static property 'responseUUID' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | // Used to get and react to notifications produced by the device.
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/ProtocolConstants.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
13 | // limitations under the License.
14 |
15 | import CoreBluetooth
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
16 |
17 | /// Contains the known protocol versions.
:
57 |
58 | // Used to receive and process responses to commands given to the device.
59 | static let responseUUID = CBUUID(string: "D2F2B8D0-D165-445C-B0E1-2D6B642EC57B")
| |- note: annotate 'responseUUID' 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 | // Used to get and react to notifications produced by the device.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/ProtocolConstants.swift:62:14: warning: static property 'notifyUUID' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | // Used to get and react to notifications produced by the device.
62 | static let notifyUUID = CBUUID(string: "D2F2B8D1-D165-445C-B0E1-2D6B642EC57B")
| |- warning: static property 'notifyUUID' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notifyUUID' 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 | // Used to get raw data stream produced by the device.
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/ProtocolConstants.swift:65:14: warning: static property 'rawDataUUID' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | // Used to get raw data stream produced by the device.
65 | static let rawDataUUID = CBUUID(string: "D2F2B8D2-D165-445C-B0E1-2D6B642EC57B")
| |- warning: static property 'rawDataUUID' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rawDataUUID' 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 | static let v2Characteristics = [commandUUID, responseUUID, notifyUUID, rawDataUUID]
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagPairingStateMachine.swift:92:7: warning: capture of 'self' with non-sendable type 'TagPairingStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | class TagPairingStateMachine: NSObject {
| `- note: class 'TagPairingStateMachine' does not conform to the 'Sendable' protocol
20 |
21 | static let initialState: State = .disconnected
:
90 | func didConnect(peripheral: Peripheral) {
91 | marshalQueue.async {
92 | self.handleEvent(.didConnect(peripheral))
| `- warning: capture of 'self' with non-sendable type 'TagPairingStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
93 | }
94 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagPairingStateMachine.swift:92:36: warning: capture of 'peripheral' with non-sendable type 'any Peripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
90 | func didConnect(peripheral: Peripheral) {
91 | marshalQueue.async {
92 | self.handleEvent(.didConnect(peripheral))
| `- warning: capture of 'peripheral' with non-sendable type 'any Peripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
93 | }
94 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:162:10: note: protocol 'Peripheral' does not conform to the 'Sendable' protocol
160 |
161 | /// Testable protocol for `CBPeripheral` access.
162 | protocol Peripheral {
| `- note: protocol 'Peripheral' does not conform to the 'Sendable' protocol
163 |
164 | /// Peripheral name.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagPairingStateMachine.swift:98:7: warning: capture of 'self' with non-sendable type 'TagPairingStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | class TagPairingStateMachine: NSObject {
| `- note: class 'TagPairingStateMachine' does not conform to the 'Sendable' protocol
20 |
21 | static let initialState: State = .disconnected
:
96 | func didFailToConnect(peripheral: Peripheral, error: Error) {
97 | marshalQueue.async {
98 | self.handleEvent(.failedToConnect(peripheral, error))
| `- warning: capture of 'self' with non-sendable type 'TagPairingStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | }
100 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagPairingStateMachine.swift:98:41: warning: capture of 'peripheral' with non-sendable type 'any Peripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | func didFailToConnect(peripheral: Peripheral, error: Error) {
97 | marshalQueue.async {
98 | self.handleEvent(.failedToConnect(peripheral, error))
| `- warning: capture of 'peripheral' with non-sendable type 'any Peripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | }
100 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:162:10: note: protocol 'Peripheral' does not conform to the 'Sendable' protocol
160 |
161 | /// Testable protocol for `CBPeripheral` access.
162 | protocol Peripheral {
| `- note: protocol 'Peripheral' does not conform to the 'Sendable' protocol
163 |
164 | /// Peripheral name.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagPairingStateMachine.swift:109:25: warning: capture of 'peripheral' with non-sendable type 'any Peripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | func peripheral(_ peripheral: Peripheral, didDiscoverServices error: Error?) {
108 | marshalQueue.async {
109 | if let services = peripheral.services {
| `- warning: capture of 'peripheral' with non-sendable type 'any Peripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 | self.handleEvent(.didDiscoverServices(services))
111 | } else {
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:162:10: note: protocol 'Peripheral' does not conform to the 'Sendable' protocol
160 |
161 | /// Testable protocol for `CBPeripheral` access.
162 | protocol Peripheral {
| `- note: protocol 'Peripheral' does not conform to the 'Sendable' protocol
163 |
164 | /// Peripheral name.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagPairingStateMachine.swift:110:9: warning: capture of 'self' with non-sendable type 'TagPairingStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | class TagPairingStateMachine: NSObject {
| `- note: class 'TagPairingStateMachine' does not conform to the 'Sendable' protocol
20 |
21 | static let initialState: State = .disconnected
:
108 | marshalQueue.async {
109 | if let services = peripheral.services {
110 | self.handleEvent(.didDiscoverServices(services))
| `- warning: capture of 'self' with non-sendable type 'TagPairingStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 | } else {
112 | let error = error ?? TagConnectionError.unknownCoreBluetoothError
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagPairingStateMachine.swift:122:22: warning: capture of 'service' with non-sendable type 'any Service' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | ) {
121 | marshalQueue.async {
122 | if let chars = service.characteristics {
| `- warning: capture of 'service' with non-sendable type 'any Service' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | self.handleEvent(.didDiscoverCharacteristics(service, chars))
124 | } else {
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:68:10: note: protocol 'Service' does not conform to the 'Sendable' protocol
66 | }
67 |
68 | protocol Service {
| `- note: protocol 'Service' does not conform to the 'Sendable' protocol
69 | var uuid: CBUUID { get }
70 | var characteristics: [CBCharacteristic]? { get }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagPairingStateMachine.swift:123:9: warning: capture of 'self' with non-sendable type 'TagPairingStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | class TagPairingStateMachine: NSObject {
| `- note: class 'TagPairingStateMachine' does not conform to the 'Sendable' protocol
20 |
21 | static let initialState: State = .disconnected
:
121 | marshalQueue.async {
122 | if let chars = service.characteristics {
123 | self.handleEvent(.didDiscoverCharacteristics(service, chars))
| `- warning: capture of 'self' with non-sendable type 'TagPairingStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | } else {
125 | let error = error ?? TagConnectionError.unknownCoreBluetoothError
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagPairingStateMachine.swift:136:7: warning: capture of 'self' with non-sendable type 'TagPairingStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | class TagPairingStateMachine: NSObject {
| `- note: class 'TagPairingStateMachine' does not conform to the 'Sendable' protocol
20 |
21 | static let initialState: State = .disconnected
:
134 | ) {
135 | marshalQueue.async {
136 | self.handleEvent(.didUpdateNotificationState(characteristic, error))
| `- warning: capture of 'self' with non-sendable type 'TagPairingStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 | }
138 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagPairingStateMachine.swift:136:52: warning: capture of 'characteristic' with non-sendable type 'any Characteristic' in a `@Sendable` closure; this is an error in the Swift 6 language mode
134 | ) {
135 | marshalQueue.async {
136 | self.handleEvent(.didUpdateNotificationState(characteristic, error))
| `- warning: capture of 'characteristic' with non-sendable type 'any Characteristic' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 | }
138 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:40:10: note: protocol 'Characteristic' does not conform to the 'Sendable' protocol
38 | }
39 |
40 | protocol Characteristic {
| `- note: protocol 'Characteristic' does not conform to the 'Sendable' protocol
41 | var uuid: CBUUID { get }
42 | var value: Data? { get }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/ProtocolConstants.swift:52:14: warning: static property 'v2Service' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
50 | enum JacquardServices {
51 | // The Jacquard V2 protocol service
52 | static let v2Service = CBUUID(string: "D2F2BF0D-D165-445C-B0E1-2D6B642EC57B")
| |- warning: static property 'v2Service' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v2Service' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | // v2 characteristics
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/ProtocolConstants.swift:67:14: warning: static property 'v2Characteristics' is not concurrency-safe because non-'Sendable' type '[CBUUID]' may have shared mutable state; this is an error in the Swift 6 language mode
65 | static let rawDataUUID = CBUUID(string: "D2F2B8D2-D165-445C-B0E1-2D6B642EC57B")
66 |
67 | static let v2Characteristics = [commandUUID, responseUUID, notifyUUID, rawDataUUID]
| |- warning: static property 'v2Characteristics' is not concurrency-safe because non-'Sendable' type '[CBUUID]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v2Characteristics' 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
68 | }
69 |
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:23:14: warning: static property 'write' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var read = CharacteristicProperties(.read)
22 | static var writeWithoutResponse = CharacteristicProperties(.writeWithoutResponse)
23 | static var write = CharacteristicProperties(.write)
| |- warning: static property 'write' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'write' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static var notify = CharacteristicProperties(.notify)
25 | static var indicate = CharacteristicProperties(.indicate)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:22:14: warning: static property 'writeWithoutResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | static var broadcast = CharacteristicProperties(.broadcast)
21 | static var read = CharacteristicProperties(.read)
22 | static var writeWithoutResponse = CharacteristicProperties(.writeWithoutResponse)
| |- warning: static property 'writeWithoutResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'writeWithoutResponse' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'writeWithoutResponse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static var write = CharacteristicProperties(.write)
24 | static var notify = CharacteristicProperties(.notify)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:24:14: warning: static property 'notify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | static var writeWithoutResponse = CharacteristicProperties(.writeWithoutResponse)
23 | static var write = CharacteristicProperties(.write)
24 | static var notify = CharacteristicProperties(.notify)
| |- warning: static property 'notify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'notify' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'notify' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static var indicate = CharacteristicProperties(.indicate)
26 | static var authenticatedSignedWrites = CharacteristicProperties(.authenticatedSignedWrites)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/ProtocolConstants.swift:56:14: warning: static property 'commandUUID' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
54 | // v2 characteristics
55 | // Used to send commands to the device.
56 | static let commandUUID = CBUUID(string: "D2F2EABB-D165-445C-B0E1-2D6B642EC57B")
| |- warning: static property 'commandUUID' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'commandUUID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | // Used to receive and process responses to commands given to the device.
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareImageWriterStateMachine.swift:133:7: warning: capture of 'self' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | }
23 |
24 | class FirmwareImageWriterStateMachine {
| `- note: class 'FirmwareImageWriterStateMachine' does not conform to the 'Sendable' protocol
25 |
26 | static let initialState: State = .idle
:
131 | func startWriting() {
132 | marshalQueue.async {
133 | self.handleEvent(.checkStatus)
| `- warning: capture of 'self' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
134 | }
135 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareImageWriterStateMachine.swift:142:9: warning: capture of 'self' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | }
23 |
24 | class FirmwareImageWriterStateMachine {
| `- note: class 'FirmwareImageWriterStateMachine' does not conform to the 'Sendable' protocol
25 |
26 | static let initialState: State = .idle
:
140 | case .preparingForWrite, .writing(_):
141 | marshalQueue.async {
142 | self.handleEvent(.stopWriting)
| `- warning: capture of 'self' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
143 | }
144 | default:
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareImageWriterStateMachine.swift:172:11: warning: capture of 'self' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | }
23 |
24 | class FirmwareImageWriterStateMachine {
| `- note: class 'FirmwareImageWriterStateMachine' does not conform to the 'Sendable' protocol
25 |
26 | static let initialState: State = .idle
:
170 | self.marshalQueue.async {
171 | jqLogger.error("Error: \(error) during status request.")
172 | self.handleEvent(.didReceiveStatusCheckError(error))
| `- warning: capture of 'self' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareImageWriterStateMachine.swift:180:9: warning: capture of 'self' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | }
23 |
24 | class FirmwareImageWriterStateMachine {
| `- note: class 'FirmwareImageWriterStateMachine' does not conform to the 'Sendable' protocol
25 |
26 | static let initialState: State = .idle
:
178 | }
179 | self.marshalQueue.async {
180 | self.processStatusResponse(response: response)
| `- warning: capture of 'self' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
181 | }
182 | }.addTo(&observations)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareImageWriterStateMachine.swift:236:35: warning: capture of 'self' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | }
23 |
24 | class FirmwareImageWriterStateMachine {
| `- note: class 'FirmwareImageWriterStateMachine' does not conform to the 'Sendable' protocol
25 |
26 | static let initialState: State = .idle
:
234 | case .failure(let error):
235 | self.marshalQueue.async {
236 | jqLogger.error("Error \(self.state) preparing for image transfer.")
| `- warning: capture of 'self' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
237 | self.handleEvent(.didReceivePrepareError(error))
238 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareImageWriterStateMachine.swift:236:35: warning: implicit capture of 'self' requires that 'FirmwareImageWriterStateMachine' conforms to `Sendable`; this is an error in the Swift 6 language mode
22 | }
23 |
24 | class FirmwareImageWriterStateMachine {
| `- note: class 'FirmwareImageWriterStateMachine' does not conform to the 'Sendable' protocol
25 |
26 | static let initialState: State = .idle
:
234 | case .failure(let error):
235 | self.marshalQueue.async {
236 | jqLogger.error("Error \(self.state) preparing for image transfer.")
| `- warning: implicit capture of 'self' requires that 'FirmwareImageWriterStateMachine' conforms to `Sendable`; this is an error in the Swift 6 language mode
237 | self.handleEvent(.didReceivePrepareError(error))
238 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareImageWriterStateMachine.swift:246:57: warning: capture of 'self' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | }
23 |
24 | class FirmwareImageWriterStateMachine {
| `- note: class 'FirmwareImageWriterStateMachine' does not conform to the 'Sendable' protocol
25 |
26 | static let initialState: State = .idle
:
244 | self.marshalQueue.async {
245 | jqLogger.info(
246 | "Prepare response OK; starting transfer for \(self.context.vendorID)-\(self.context.productID)"
| `- warning: capture of 'self' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
247 | )
248 | self.handleEvent(.startWriting)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareImageWriterStateMachine.swift:246:57: warning: implicit capture of 'self' requires that 'FirmwareImageWriterStateMachine' conforms to `Sendable`; this is an error in the Swift 6 language mode
22 | }
23 |
24 | class FirmwareImageWriterStateMachine {
| `- note: class 'FirmwareImageWriterStateMachine' does not conform to the 'Sendable' protocol
25 |
26 | static let initialState: State = .idle
:
244 | self.marshalQueue.async {
245 | jqLogger.info(
246 | "Prepare response OK; starting transfer for \(self.context.vendorID)-\(self.context.productID)"
| `- warning: implicit capture of 'self' requires that 'FirmwareImageWriterStateMachine' conforms to `Sendable`; this is an error in the Swift 6 language mode
247 | )
248 | self.handleEvent(.startWriting)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareImageWriterStateMachine.swift:272:11: warning: capture of 'self' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | }
23 |
24 | class FirmwareImageWriterStateMachine {
| `- note: class 'FirmwareImageWriterStateMachine' does not conform to the 'Sendable' protocol
25 |
26 | static let initialState: State = .idle
:
270 | case .failure(let error):
271 | self.marshalQueue.async {
272 | self.processWriteResponse(result: .failure(error))
| `- warning: capture of 'self' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 | }
274 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareImageWriterStateMachine.swift:280:9: warning: capture of 'self' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | }
23 |
24 | class FirmwareImageWriterStateMachine {
| `- note: class 'FirmwareImageWriterStateMachine' does not conform to the 'Sendable' protocol
25 |
26 | static let initialState: State = .idle
:
278 | }
279 | self.marshalQueue.async {
280 | self.processWriteResponse(result: .success(response))
| `- warning: capture of 'self' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
281 | }
282 | }.addTo(&observations)
[177/185] Emitting module JacquardSDK
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/CentralManagerImplementation.swift:82:1: warning: extension declares a conformance of imported type 'CBManagerState' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreBluetooth' introduce this conformance in the future
80 | }
81 |
82 | extension CBManagerState: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CBManagerState' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreBluetooth' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
83 |
84 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/IMUDataCollection/IMUModuleProtocol.swift:26:21: warning: static property 'low' is not concurrency-safe because non-'Sendable' type 'IMUSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// Using high configuration reduces battery life of the tag.
21 | /// Default configuration is set to low.
22 | public struct IMUSamplingRate {
| `- note: consider making struct 'IMUSamplingRate' conform to the 'Sendable' protocol
23 |
24 | /// Low level configuration for sampling rate.
25 | /// Values for accelerometer: hertz25 & gyroscope: hertz25
26 | public static let low = IMUSamplingRate(accelerometer: .low, gyroscope: .low)
| |- warning: static property 'low' is not concurrency-safe because non-'Sendable' type 'IMUSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'low' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// Mid level configuration for sampling rate.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/IMUDataCollection/IMUModuleProtocol.swift:84:14: warning: static property 'low' is not concurrency-safe because non-'Sendable' type 'AccelerometerSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Sampling rate for Accelerometer sensor.
47 | public enum AccelerometerSamplingRate {
| `- note: consider making enum 'AccelerometerSamplingRate' conform to the 'Sendable' protocol
48 | /// :nodoc:
49 | case hertz25
:
82 | case hertz1600
83 |
84 | static let low = AccelerometerSamplingRate.hertz25
| |- warning: static property 'low' is not concurrency-safe because non-'Sendable' type 'AccelerometerSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'low' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | static let mid = AccelerometerSamplingRate.hertz100
86 | static let high = AccelerometerSamplingRate.hertz400
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/IMUDataCollection/IMUModuleProtocol.swift:146:14: warning: static property 'low' is not concurrency-safe because non-'Sendable' type 'GyroscopeSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
118 |
119 | /// Sampling rate for Gyroscope sensor.
120 | public enum GyroscopeSamplingRate {
| `- note: consider making enum 'GyroscopeSamplingRate' conform to the 'Sendable' protocol
121 |
122 | /// :nodoc:
:
144 | case hertz3200
145 |
146 | static let low = GyroscopeSamplingRate.hertz25
| |- warning: static property 'low' is not concurrency-safe because non-'Sendable' type 'GyroscopeSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'low' 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 | static let mid = GyroscopeSamplingRate.hertz200
148 | static let high = GyroscopeSamplingRate.hertz800
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/IMUDataCollection/IMUModuleProtocol.swift:30:21: warning: static property 'mid' is not concurrency-safe because non-'Sendable' type 'IMUSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// Using high configuration reduces battery life of the tag.
21 | /// Default configuration is set to low.
22 | public struct IMUSamplingRate {
| `- note: consider making struct 'IMUSamplingRate' conform to the 'Sendable' protocol
23 |
24 | /// Low level configuration for sampling rate.
:
28 | /// Mid level configuration for sampling rate.
29 | /// Values for accelerometer: hertz100 & gyroscope: hertz200
30 | public static let mid = IMUSamplingRate(accelerometer: .mid, gyroscope: .mid)
| |- warning: static property 'mid' is not concurrency-safe because non-'Sendable' type 'IMUSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// High level configuration for sampling rate.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/IMUDataCollection/IMUModuleProtocol.swift:85:14: warning: static property 'mid' is not concurrency-safe because non-'Sendable' type 'AccelerometerSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Sampling rate for Accelerometer sensor.
47 | public enum AccelerometerSamplingRate {
| `- note: consider making enum 'AccelerometerSamplingRate' conform to the 'Sendable' protocol
48 | /// :nodoc:
49 | case hertz25
:
83 |
84 | static let low = AccelerometerSamplingRate.hertz25
85 | static let mid = AccelerometerSamplingRate.hertz100
| |- warning: static property 'mid' is not concurrency-safe because non-'Sendable' type 'AccelerometerSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mid' 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 | static let high = AccelerometerSamplingRate.hertz400
87 | static let veryHigh = AccelerometerSamplingRate.hertz1600
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/IMUDataCollection/IMUModuleProtocol.swift:147:14: warning: static property 'mid' is not concurrency-safe because non-'Sendable' type 'GyroscopeSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
118 |
119 | /// Sampling rate for Gyroscope sensor.
120 | public enum GyroscopeSamplingRate {
| `- note: consider making enum 'GyroscopeSamplingRate' conform to the 'Sendable' protocol
121 |
122 | /// :nodoc:
:
145 |
146 | static let low = GyroscopeSamplingRate.hertz25
147 | static let mid = GyroscopeSamplingRate.hertz200
| |- warning: static property 'mid' is not concurrency-safe because non-'Sendable' type 'GyroscopeSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mid' 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
148 | static let high = GyroscopeSamplingRate.hertz800
149 | static let veryHigh = GyroscopeSamplingRate.hertz3200
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/IMUDataCollection/IMUModuleProtocol.swift:34:21: warning: static property 'high' is not concurrency-safe because non-'Sendable' type 'IMUSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// Using high configuration reduces battery life of the tag.
21 | /// Default configuration is set to low.
22 | public struct IMUSamplingRate {
| `- note: consider making struct 'IMUSamplingRate' conform to the 'Sendable' protocol
23 |
24 | /// Low level configuration for sampling rate.
:
32 | /// High level configuration for sampling rate.
33 | /// Values for accelerometer: hertz400 & gyroscope: hertz800
34 | public static let high = IMUSamplingRate(accelerometer: .high, gyroscope: .high)
| |- warning: static property 'high' is not concurrency-safe because non-'Sendable' type 'IMUSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'high' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | let accelerometer: AccelerometerSamplingRate
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/IMUDataCollection/IMUModuleProtocol.swift:86:14: warning: static property 'high' is not concurrency-safe because non-'Sendable' type 'AccelerometerSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Sampling rate for Accelerometer sensor.
47 | public enum AccelerometerSamplingRate {
| `- note: consider making enum 'AccelerometerSamplingRate' conform to the 'Sendable' protocol
48 | /// :nodoc:
49 | case hertz25
:
84 | static let low = AccelerometerSamplingRate.hertz25
85 | static let mid = AccelerometerSamplingRate.hertz100
86 | static let high = AccelerometerSamplingRate.hertz400
| |- warning: static property 'high' is not concurrency-safe because non-'Sendable' type 'AccelerometerSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'high' 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
87 | static let veryHigh = AccelerometerSamplingRate.hertz1600
88 |
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/IMUDataCollection/IMUModuleProtocol.swift:148:14: warning: static property 'high' is not concurrency-safe because non-'Sendable' type 'GyroscopeSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
118 |
119 | /// Sampling rate for Gyroscope sensor.
120 | public enum GyroscopeSamplingRate {
| `- note: consider making enum 'GyroscopeSamplingRate' conform to the 'Sendable' protocol
121 |
122 | /// :nodoc:
:
146 | static let low = GyroscopeSamplingRate.hertz25
147 | static let mid = GyroscopeSamplingRate.hertz200
148 | static let high = GyroscopeSamplingRate.hertz800
| |- warning: static property 'high' is not concurrency-safe because non-'Sendable' type 'GyroscopeSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'high' 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
149 | static let veryHigh = GyroscopeSamplingRate.hertz3200
150 |
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/IMUDataCollection/IMUModuleProtocol.swift:87:14: warning: static property 'veryHigh' is not concurrency-safe because non-'Sendable' type 'AccelerometerSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// Sampling rate for Accelerometer sensor.
47 | public enum AccelerometerSamplingRate {
| `- note: consider making enum 'AccelerometerSamplingRate' conform to the 'Sendable' protocol
48 | /// :nodoc:
49 | case hertz25
:
85 | static let mid = AccelerometerSamplingRate.hertz100
86 | static let high = AccelerometerSamplingRate.hertz400
87 | static let veryHigh = AccelerometerSamplingRate.hertz1600
| |- warning: static property 'veryHigh' is not concurrency-safe because non-'Sendable' type 'AccelerometerSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'veryHigh' 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 | var rate: Google_Jacquard_Protocol_ImuAccelSampleRate {
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/IMUDataCollection/IMUModuleProtocol.swift:149:14: warning: static property 'veryHigh' is not concurrency-safe because non-'Sendable' type 'GyroscopeSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
118 |
119 | /// Sampling rate for Gyroscope sensor.
120 | public enum GyroscopeSamplingRate {
| `- note: consider making enum 'GyroscopeSamplingRate' conform to the 'Sendable' protocol
121 |
122 | /// :nodoc:
:
147 | static let mid = GyroscopeSamplingRate.hertz200
148 | static let high = GyroscopeSamplingRate.hertz800
149 | static let veryHigh = GyroscopeSamplingRate.hertz3200
| |- warning: static property 'veryHigh' is not concurrency-safe because non-'Sendable' type 'GyroscopeSamplingRate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'veryHigh' 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 | var rate: Google_Jacquard_Protocol_ImuGyroSampleRate {
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/ProtocolInitializationStateMachine.swift:25:14: warning: static property 'initialState' is not concurrency-safe because non-'Sendable' type 'ProtocolInitializationStateMachine.State' may have shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 |
25 | static let initialState: State = .paired
| |- warning: static property 'initialState' is not concurrency-safe because non-'Sendable' type 'ProtocolInitializationStateMachine.State' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initialState' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | // This will need to be refactored when we support > 1 protocol.
27 | static let supportedProtocol = ProtocolSpec.version2
:
44 | }
45 |
46 | enum State {
| `- note: consider making enum 'State' conform to the 'Sendable' protocol
47 | case paired
48 | case helloSent
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagConnectionStateMachine.swift:20:14: warning: static property 'initialState' is not concurrency-safe because non-'Sendable' type 'TagConnectionStateMachine.State' may have shared mutable state; this is an error in the Swift 6 language mode
18 | class TagConnectionStateMachine {
19 |
20 | static let initialState: State = .preparingToConnect
| |- warning: static property 'initialState' is not concurrency-safe because non-'Sendable' type 'TagConnectionStateMachine.State' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initialState' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | private static let totalProgressSteps = 14
:
46 | }
47 |
48 | enum State {
| `- note: consider making enum 'State' conform to the 'Sendable' protocol
49 | case preparingToConnect
50 | case connecting(Int, Int)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Connection/TagPairingStateMachine.swift:21:14: warning: static property 'initialState' is not concurrency-safe because non-'Sendable' type 'TagPairingStateMachine.State' may have shared mutable state; this is an error in the Swift 6 language mode
19 | class TagPairingStateMachine: NSObject {
20 |
21 | static let initialState: State = .disconnected
| |- warning: static property 'initialState' is not concurrency-safe because non-'Sendable' type 'TagPairingStateMachine.State' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initialState' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let requiredNotifyingCharacteristics = [
23 | UUID(JacquardServices.responseUUID),
:
39 | }
40 |
41 | enum State {
| `- note: consider making enum 'State' conform to the 'Sendable' protocol
42 | case preparingToConnect
43 | case disconnected
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/ProtocolConstants.swift:59:14: warning: static property 'responseUUID' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | // Used to receive and process responses to commands given to the device.
59 | static let responseUUID = CBUUID(string: "D2F2B8D0-D165-445C-B0E1-2D6B642EC57B")
| `- warning: static property 'responseUUID' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | // Used to get and react to notifications produced by the device.
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/ProtocolConstants.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
13 | // limitations under the License.
14 |
15 | import CoreBluetooth
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
16 |
17 | /// Contains the known protocol versions.
:
57 |
58 | // Used to receive and process responses to commands given to the device.
59 | static let responseUUID = CBUUID(string: "D2F2B8D0-D165-445C-B0E1-2D6B642EC57B")
| |- note: annotate 'responseUUID' 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 | // Used to get and react to notifications produced by the device.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/ProtocolConstants.swift:62:14: warning: static property 'notifyUUID' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | // Used to get and react to notifications produced by the device.
62 | static let notifyUUID = CBUUID(string: "D2F2B8D1-D165-445C-B0E1-2D6B642EC57B")
| |- warning: static property 'notifyUUID' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notifyUUID' 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 | // Used to get raw data stream produced by the device.
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/ProtocolConstants.swift:65:14: warning: static property 'rawDataUUID' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | // Used to get raw data stream produced by the device.
65 | static let rawDataUUID = CBUUID(string: "D2F2B8D2-D165-445C-B0E1-2D6B642EC57B")
| |- warning: static property 'rawDataUUID' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rawDataUUID' 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 | static let v2Characteristics = [commandUUID, responseUUID, notifyUUID, rawDataUUID]
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:31:22: warning: static property 'initialState' is not concurrency-safe because non-'Sendable' type 'FirmwareUpdateState' may have shared mutable state; this is an error in the Swift 6 language mode
29 | }
30 |
31 | private static let initialState: FirmwareUpdateState = .idle
| |- warning: static property 'initialState' is not concurrency-safe because non-'Sendable' type 'FirmwareUpdateState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initialState' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | private var marshalQueue: DispatchQueue
33 | private var context: Context
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/FirmwareUpdateAPI/FirmwareUpdateManager.swift:73:13: note: consider making enum 'FirmwareUpdateState' conform to the 'Sendable' protocol
71 |
72 | /// Information about the current state of firmware updates.
73 | public enum FirmwareUpdateState {
| `- note: consider making enum 'FirmwareUpdateState' conform to the 'Sendable' protocol
74 |
75 | /// When we start firmware update, this will be the initial state by default.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/IMUDataCollectionAPI/IMUSessionDataParser.swift:40:22: warning: static property 'startMarkerPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | private let actionIDLength = 4
39 |
40 | private static var startMarkerPrefix: [UInt8] =
| |- warning: static property 'startMarkerPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'startMarkerPrefix' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'startMarkerPrefix' 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
41 | [0xfe, 0xca, 0xfe, 0xca, 0xfe, 0xca, 0xfe, 0xca, 0xfe, 0xca, 0xfe, 0xca]
42 |
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/IMUDataCollectionAPI/IMUSessionDataParser.swift:43:22: warning: static property 'endMarkerPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | [0xfe, 0xca, 0xfe, 0xca, 0xfe, 0xca, 0xfe, 0xca, 0xfe, 0xca, 0xfe, 0xca]
42 |
43 | private static var endMarkerPrefix: [UInt8] =
| |- warning: static property 'endMarkerPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endMarkerPrefix' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'endMarkerPrefix' 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
44 | [0xad, 0xde, 0xad, 0xde, 0xad, 0xde, 0xad, 0xde, 0xad, 0xde, 0xad, 0xde, 0xad, 0xde]
45 |
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:20:14: warning: static property 'broadcast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | let rawValue: UInt
19 |
20 | static var broadcast = CharacteristicProperties(.broadcast)
| |- warning: static property 'broadcast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'broadcast' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'broadcast' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static var read = CharacteristicProperties(.read)
22 | static var writeWithoutResponse = CharacteristicProperties(.writeWithoutResponse)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:21:14: warning: static property 'read' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | static var broadcast = CharacteristicProperties(.broadcast)
21 | static var read = CharacteristicProperties(.read)
| |- warning: static property 'read' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'read' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static var writeWithoutResponse = CharacteristicProperties(.writeWithoutResponse)
23 | static var write = CharacteristicProperties(.write)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:22:14: warning: static property 'writeWithoutResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | static var broadcast = CharacteristicProperties(.broadcast)
21 | static var read = CharacteristicProperties(.read)
22 | static var writeWithoutResponse = CharacteristicProperties(.writeWithoutResponse)
| |- warning: static property 'writeWithoutResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'writeWithoutResponse' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'writeWithoutResponse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static var write = CharacteristicProperties(.write)
24 | static var notify = CharacteristicProperties(.notify)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:23:14: warning: static property 'write' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var read = CharacteristicProperties(.read)
22 | static var writeWithoutResponse = CharacteristicProperties(.writeWithoutResponse)
23 | static var write = CharacteristicProperties(.write)
| |- warning: static property 'write' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'write' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static var notify = CharacteristicProperties(.notify)
25 | static var indicate = CharacteristicProperties(.indicate)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:24:14: warning: static property 'notify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | static var writeWithoutResponse = CharacteristicProperties(.writeWithoutResponse)
23 | static var write = CharacteristicProperties(.write)
24 | static var notify = CharacteristicProperties(.notify)
| |- warning: static property 'notify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'notify' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'notify' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static var indicate = CharacteristicProperties(.indicate)
26 | static var authenticatedSignedWrites = CharacteristicProperties(.authenticatedSignedWrites)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:25:14: warning: static property 'indicate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | static var write = CharacteristicProperties(.write)
24 | static var notify = CharacteristicProperties(.notify)
25 | static var indicate = CharacteristicProperties(.indicate)
| |- warning: static property 'indicate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indicate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'indicate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | static var authenticatedSignedWrites = CharacteristicProperties(.authenticatedSignedWrites)
27 | static var extendedProperties = CharacteristicProperties(.extendedProperties)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:26:14: warning: static property 'authenticatedSignedWrites' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | static var notify = CharacteristicProperties(.notify)
25 | static var indicate = CharacteristicProperties(.indicate)
26 | static var authenticatedSignedWrites = CharacteristicProperties(.authenticatedSignedWrites)
| |- warning: static property 'authenticatedSignedWrites' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'authenticatedSignedWrites' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'authenticatedSignedWrites' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | static var extendedProperties = CharacteristicProperties(.extendedProperties)
28 | static var notifyEncryptionRequired = CharacteristicProperties(.notifyEncryptionRequired)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:27:14: warning: static property 'extendedProperties' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var indicate = CharacteristicProperties(.indicate)
26 | static var authenticatedSignedWrites = CharacteristicProperties(.authenticatedSignedWrites)
27 | static var extendedProperties = CharacteristicProperties(.extendedProperties)
| |- warning: static property 'extendedProperties' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'extendedProperties' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'extendedProperties' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var notifyEncryptionRequired = CharacteristicProperties(.notifyEncryptionRequired)
29 | static var indicateEncryptionRequired = CharacteristicProperties(.indicateEncryptionRequired)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:28:14: warning: static property 'notifyEncryptionRequired' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | static var authenticatedSignedWrites = CharacteristicProperties(.authenticatedSignedWrites)
27 | static var extendedProperties = CharacteristicProperties(.extendedProperties)
28 | static var notifyEncryptionRequired = CharacteristicProperties(.notifyEncryptionRequired)
| |- warning: static property 'notifyEncryptionRequired' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'notifyEncryptionRequired' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'notifyEncryptionRequired' 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 | static var indicateEncryptionRequired = CharacteristicProperties(.indicateEncryptionRequired)
30 |
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/Peripheral.swift:29:14: warning: static property 'indicateEncryptionRequired' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | static var extendedProperties = CharacteristicProperties(.extendedProperties)
28 | static var notifyEncryptionRequired = CharacteristicProperties(.notifyEncryptionRequired)
29 | static var indicateEncryptionRequired = CharacteristicProperties(.indicateEncryptionRequired)
| |- warning: static property 'indicateEncryptionRequired' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indicateEncryptionRequired' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'indicateEncryptionRequired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | fileprivate init(_ cbProperty: CBCharacteristicProperties) {
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/ProtocolConstants.swift:52:14: warning: static property 'v2Service' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
50 | enum JacquardServices {
51 | // The Jacquard V2 protocol service
52 | static let v2Service = CBUUID(string: "D2F2BF0D-D165-445C-B0E1-2D6B642EC57B")
| |- warning: static property 'v2Service' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v2Service' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | // v2 characteristics
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/ProtocolConstants.swift:56:14: warning: static property 'commandUUID' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
54 | // v2 characteristics
55 | // Used to send commands to the device.
56 | static let commandUUID = CBUUID(string: "D2F2EABB-D165-445C-B0E1-2D6B642EC57B")
| |- warning: static property 'commandUUID' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'commandUUID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | // Used to receive and process responses to commands given to the device.
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Transport/ProtocolConstants.swift:67:14: warning: static property 'v2Characteristics' is not concurrency-safe because non-'Sendable' type '[CBUUID]' may have shared mutable state; this is an error in the Swift 6 language mode
65 | static let rawDataUUID = CBUUID(string: "D2F2B8D2-D165-445C-B0E1-2D6B642EC57B")
66 |
67 | static let v2Characteristics = [commandUUID, responseUUID, notifyUUID, rawDataUUID]
| |- warning: static property 'v2Characteristics' is not concurrency-safe because non-'Sendable' type '[CBUUID]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v2Characteristics' 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
68 | }
69 |
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/JacquardManagerImplementation.swift:76:22: warning: static property 'connectionStateMachinesInternal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | static private var connectionStateMachinesInternal = [UUID: TagConnectionStateMachine]()
| |- warning: static property 'connectionStateMachinesInternal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'connectionStateMachinesInternal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'connectionStateMachinesInternal' 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 | static private let connectionStateMachinesAccessLock = NSLock()
78 |
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/JacquardSDKVersion.swift:17:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// SDK Version Metadata.
16 | public enum JacquardSDKVersion {
17 | static let version = Version(major: 0, minor: 2, micro: 0)
| |- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'version' 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
18 | /// A string describing the SDK version.
19 | public static var versionString: String { version.description }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/Version.swift:18:15: note: consider making struct 'Version' conform to the 'Sendable' protocol
16 |
17 | /// Represents a firmware version made up of a sequence of digits labeled major, minor and micro.
18 | public struct Version: Codable {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
19 |
20 | /// The first component of the version sequence. This is the most significant component.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Logger.swift:38:5: warning: var 'jqLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | var jqLogger: Logger = createDefaultLogger()
| |- warning: var 'jqLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jqLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'jqLogger' 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
39 |
40 | /// Describes different types of log messages which can be used to filter which messages are collected.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:9024:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
:
9022 | var _connectorType: Google_Jacquard_Protocol_ConnectorType? = nil
9023 |
9024 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
9025 |
9026 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10310:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10308 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10309 |
10310 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10311 |
10312 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10390:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10388 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10389 |
10390 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10391 |
10392 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:2848:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2846 | init() {}
2847 |
2848 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2849 | }
2850 |
:
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4022:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4020 | init() {}
4021 |
4022 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4023 | }
4024 |
:
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4061:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4059 | init() {}
4060 |
4061 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4062 | }
4063 |
:
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/publicSdk.pb.swift:163:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 | extension Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability: CaseIterable {
162 | // The compiler won't synthesize support with the UNRECOGNIZED case.
163 | public static var allCases: [Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
164 | .led,
165 | .gesture,
[178/185] Compiling JacquardSDK CloudManager.swift
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Network/CloudManager.swift:112:11: warning: capture of 'subject' with non-sendable type 'PassthroughSubject<Data, APIError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 | switch response.statusCode {
111 | case 400..<500:
112 | subject.send(completion: .failure(.clientError))
| `- warning: capture of 'subject' with non-sendable type 'PassthroughSubject<Data, APIError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 | case 500..<600:
114 | subject.send(completion: .failure(.serverError))
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Network/CloudManager.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
13 | // limitations under the License.
14 |
15 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
16 | import Foundation
17 |
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/NotificationProtocol.swift:44:9: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
42 |
43 | public func parseNotification(_ packet: Data) throws -> V2ProtocolNotificationInjectable {
44 | try Google_Jacquard_Protocol_Notification(
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
45 | serializedData: packet, extensions: Google_Jacquard_Protocol_Jacquard_Extensions)
46 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:9024:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
:
9022 | var _connectorType: Google_Jacquard_Protocol_ConnectorType? = nil
9023 |
9024 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
9025 |
9026 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10310:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10308 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10309 |
10310 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10311 |
10312 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10390:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10388 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10389 |
10390 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10391 |
10392 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:2848:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2846 | init() {}
2847 |
2848 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2849 | }
2850 |
:
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4022:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4020 | init() {}
4021 |
4022 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4023 | }
4024 |
:
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4061:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4059 | init() {}
4060 |
4061 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4062 | }
4063 |
:
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/publicSdk.pb.swift:163:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 | extension Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability: CaseIterable {
162 | // The compiler won't synthesize support with the UNRECOGNIZED case.
163 | public static var allCases: [Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
164 | .led,
165 | .gesture,
[179/185] Compiling JacquardSDK CloudManagerImpl.swift
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Network/CloudManager.swift:112:11: warning: capture of 'subject' with non-sendable type 'PassthroughSubject<Data, APIError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 | switch response.statusCode {
111 | case 400..<500:
112 | subject.send(completion: .failure(.clientError))
| `- warning: capture of 'subject' with non-sendable type 'PassthroughSubject<Data, APIError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 | case 500..<600:
114 | subject.send(completion: .failure(.serverError))
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Network/CloudManager.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
13 | // limitations under the License.
14 |
15 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
16 | import Foundation
17 |
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/NotificationProtocol.swift:44:9: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
42 |
43 | public func parseNotification(_ packet: Data) throws -> V2ProtocolNotificationInjectable {
44 | try Google_Jacquard_Protocol_Notification(
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
45 | serializedData: packet, extensions: Google_Jacquard_Protocol_Jacquard_Extensions)
46 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:9024:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
:
9022 | var _connectorType: Google_Jacquard_Protocol_ConnectorType? = nil
9023 |
9024 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
9025 |
9026 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10310:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10308 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10309 |
10310 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10311 |
10312 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10390:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10388 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10389 |
10390 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10391 |
10392 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:2848:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2846 | init() {}
2847 |
2848 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2849 | }
2850 |
:
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4022:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4020 | init() {}
4021 |
4022 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4023 | }
4024 |
:
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4061:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4059 | init() {}
4060 |
4061 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4062 | }
4063 |
:
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/publicSdk.pb.swift:163:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 | extension Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability: CaseIterable {
162 | // The compiler won't synthesize support with the UNRECOGNIZED case.
163 | public static var allCases: [Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
164 | .led,
165 | .gesture,
[180/185] Compiling JacquardSDK URLRequestBuilder.swift
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Network/CloudManager.swift:112:11: warning: capture of 'subject' with non-sendable type 'PassthroughSubject<Data, APIError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 | switch response.statusCode {
111 | case 400..<500:
112 | subject.send(completion: .failure(.clientError))
| `- warning: capture of 'subject' with non-sendable type 'PassthroughSubject<Data, APIError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 | case 500..<600:
114 | subject.send(completion: .failure(.serverError))
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Network/CloudManager.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
13 | // limitations under the License.
14 |
15 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
16 | import Foundation
17 |
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/NotificationProtocol.swift:44:9: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
42 |
43 | public func parseNotification(_ packet: Data) throws -> V2ProtocolNotificationInjectable {
44 | try Google_Jacquard_Protocol_Notification(
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
45 | serializedData: packet, extensions: Google_Jacquard_Protocol_Jacquard_Extensions)
46 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:9024:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
:
9022 | var _connectorType: Google_Jacquard_Protocol_ConnectorType? = nil
9023 |
9024 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
9025 |
9026 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10310:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10308 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10309 |
10310 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10311 |
10312 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10390:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10388 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10389 |
10390 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10391 |
10392 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:2848:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2846 | init() {}
2847 |
2848 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2849 | }
2850 |
:
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4022:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4020 | init() {}
4021 |
4022 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4023 | }
4024 |
:
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4061:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4059 | init() {}
4060 |
4061 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4062 | }
4063 |
:
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/publicSdk.pb.swift:163:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 | extension Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability: CaseIterable {
162 | // The compiler won't synthesize support with the UNRECOGNIZED case.
163 | public static var allCases: [Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
164 | .led,
165 | .gesture,
[181/185] Compiling JacquardSDK NotificationProtocol.swift
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Network/CloudManager.swift:112:11: warning: capture of 'subject' with non-sendable type 'PassthroughSubject<Data, APIError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 | switch response.statusCode {
111 | case 400..<500:
112 | subject.send(completion: .failure(.clientError))
| `- warning: capture of 'subject' with non-sendable type 'PassthroughSubject<Data, APIError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 | case 500..<600:
114 | subject.send(completion: .failure(.serverError))
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Network/CloudManager.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
13 | // limitations under the License.
14 |
15 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
16 | import Foundation
17 |
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/NotificationProtocol.swift:44:9: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
42 |
43 | public func parseNotification(_ packet: Data) throws -> V2ProtocolNotificationInjectable {
44 | try Google_Jacquard_Protocol_Notification(
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
45 | serializedData: packet, extensions: Google_Jacquard_Protocol_Jacquard_Extensions)
46 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:9024:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
:
9022 | var _connectorType: Google_Jacquard_Protocol_ConnectorType? = nil
9023 |
9024 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
9025 |
9026 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10310:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10308 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10309 |
10310 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10311 |
10312 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10390:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10388 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10389 |
10390 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10391 |
10392 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:2848:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2846 | init() {}
2847 |
2848 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2849 | }
2850 |
:
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4022:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4020 | init() {}
4021 |
4022 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4023 | }
4024 |
:
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4061:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4059 | init() {}
4060 |
4061 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4062 | }
4063 |
:
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/publicSdk.pb.swift:163:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 | extension Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability: CaseIterable {
162 | // The compiler won't synthesize support with the UNRECOGNIZED case.
163 | public static var allCases: [Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
164 | .led,
165 | .gesture,
[182/185] Compiling JacquardSDK TagProtocols.swift
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Network/CloudManager.swift:112:11: warning: capture of 'subject' with non-sendable type 'PassthroughSubject<Data, APIError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 | switch response.statusCode {
111 | case 400..<500:
112 | subject.send(completion: .failure(.clientError))
| `- warning: capture of 'subject' with non-sendable type 'PassthroughSubject<Data, APIError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 | case 500..<600:
114 | subject.send(completion: .failure(.serverError))
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Network/CloudManager.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
13 | // limitations under the License.
14 |
15 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
16 | import Foundation
17 |
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/NotificationProtocol.swift:44:9: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
42 |
43 | public func parseNotification(_ packet: Data) throws -> V2ProtocolNotificationInjectable {
44 | try Google_Jacquard_Protocol_Notification(
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
45 | serializedData: packet, extensions: Google_Jacquard_Protocol_Jacquard_Extensions)
46 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:9024:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
:
9022 | var _connectorType: Google_Jacquard_Protocol_ConnectorType? = nil
9023 |
9024 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
9025 |
9026 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10310:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10308 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10309 |
10310 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10311 |
10312 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10390:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10388 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10389 |
10390 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10391 |
10392 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:2848:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2846 | init() {}
2847 |
2848 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2849 | }
2850 |
:
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4022:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4020 | init() {}
4021 |
4022 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4023 | }
4024 |
:
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4061:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4059 | init() {}
4060 |
4061 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4062 | }
4063 |
:
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/publicSdk.pb.swift:163:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 | extension Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability: CaseIterable {
162 | // The compiler won't synthesize support with the UNRECOGNIZED case.
163 | public static var allCases: [Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
164 | .led,
165 | .gesture,
[183/185] Compiling JacquardSDK jacquard.pb.swift
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Network/CloudManager.swift:112:11: warning: capture of 'subject' with non-sendable type 'PassthroughSubject<Data, APIError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 | switch response.statusCode {
111 | case 400..<500:
112 | subject.send(completion: .failure(.clientError))
| `- warning: capture of 'subject' with non-sendable type 'PassthroughSubject<Data, APIError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 | case 500..<600:
114 | subject.send(completion: .failure(.serverError))
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Network/CloudManager.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
13 | // limitations under the License.
14 |
15 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
16 | import Foundation
17 |
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/NotificationProtocol.swift:44:9: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
42 |
43 | public func parseNotification(_ packet: Data) throws -> V2ProtocolNotificationInjectable {
44 | try Google_Jacquard_Protocol_Notification(
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
45 | serializedData: packet, extensions: Google_Jacquard_Protocol_Jacquard_Extensions)
46 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:9024:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
:
9022 | var _connectorType: Google_Jacquard_Protocol_ConnectorType? = nil
9023 |
9024 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
9025 |
9026 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10310:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10308 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10309 |
10310 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10311 |
10312 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10390:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10388 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10389 |
10390 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10391 |
10392 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:2848:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2846 | init() {}
2847 |
2848 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2849 | }
2850 |
:
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4022:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4020 | init() {}
4021 |
4022 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4023 | }
4024 |
:
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4061:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4059 | init() {}
4060 |
4061 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4062 | }
4063 |
:
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/publicSdk.pb.swift:163:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 | extension Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability: CaseIterable {
162 | // The compiler won't synthesize support with the UNRECOGNIZED case.
163 | public static var allCases: [Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
164 | .led,
165 | .gesture,
[184/185] Compiling JacquardSDK publicSdk.pb.swift
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Network/CloudManager.swift:112:11: warning: capture of 'subject' with non-sendable type 'PassthroughSubject<Data, APIError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 | switch response.statusCode {
111 | case 400..<500:
112 | subject.send(completion: .failure(.clientError))
| `- warning: capture of 'subject' with non-sendable type 'PassthroughSubject<Data, APIError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 | case 500..<600:
114 | subject.send(completion: .failure(.serverError))
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Network/CloudManager.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
13 | // limitations under the License.
14 |
15 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
16 | import Foundation
17 |
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/NotificationProtocol.swift:44:9: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
42 |
43 | public func parseNotification(_ packet: Data) throws -> V2ProtocolNotificationInjectable {
44 | try Google_Jacquard_Protocol_Notification(
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
45 | serializedData: packet, extensions: Google_Jacquard_Protocol_Jacquard_Extensions)
46 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:9024:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
:
9022 | var _connectorType: Google_Jacquard_Protocol_ConnectorType? = nil
9023 |
9024 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
9025 |
9026 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10310:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10308 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10309 |
10310 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10311 |
10312 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10390:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10388 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10389 |
10390 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10391 |
10392 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:2848:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2846 | init() {}
2847 |
2848 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2849 | }
2850 |
:
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4022:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4020 | init() {}
4021 |
4022 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4023 | }
4024 |
:
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4061:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4059 | init() {}
4060 |
4061 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4062 | }
4063 |
:
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/publicSdk.pb.swift:163:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 | extension Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability: CaseIterable {
162 | // The compiler won't synthesize support with the UNRECOGNIZED case.
163 | public static var allCases: [Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
164 | .led,
165 | .gesture,
[185/185] Compiling JacquardSDK resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Network/CloudManager.swift:112:11: warning: capture of 'subject' with non-sendable type 'PassthroughSubject<Data, APIError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 | switch response.statusCode {
111 | case 400..<500:
112 | subject.send(completion: .failure(.clientError))
| `- warning: capture of 'subject' with non-sendable type 'PassthroughSubject<Data, APIError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 | case 500..<600:
114 | subject.send(completion: .failure(.serverError))
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
| `- note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
3 | public init()
4 | @objc deinit
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Network/CloudManager.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
13 | // limitations under the License.
14 |
15 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
16 | import Foundation
17 |
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/NotificationProtocol.swift:44:9: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
42 |
43 | public func parseNotification(_ packet: Data) throws -> V2ProtocolNotificationInjectable {
44 | try Google_Jacquard_Protocol_Notification(
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
45 | serializedData: packet, extensions: Google_Jacquard_Protocol_Jacquard_Extensions)
46 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:9024:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
:
9022 | var _connectorType: Google_Jacquard_Protocol_ConnectorType? = nil
9023 |
9024 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_GearChar._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
9025 |
9026 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10310:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10308 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10309 |
10310 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10311 |
10312 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:10390:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
10388 | var _womConfig: Google_Jacquard_Protocol_WomConfiguration? = nil
10389 |
10390 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInstance' 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
10391 |
10392 | private init() {}
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:2848:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2846 | init() {}
2847 |
2848 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_GearChar' has non-sendable type 'Google_Jacquard_Protocol_GearChar._StorageClass'; this is an error in the Swift 6 language mode
2849 | }
2850 |
:
9012 | ]
9013 |
9014 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
9015 | var _id: UInt32? = nil
9016 | var _motor1: Google_Jacquard_Protocol_VibeMotorChar? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4022:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4020 | init() {}
4021 |
4022 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigWriteRequest' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigWriteRequest._StorageClass'; this is an error in the Swift 6 language mode
4023 | }
4024 |
:
10303 | ]
10304 |
10305 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10306 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10307 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/jacquard.pb.swift:4061:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4059 | init() {}
4060 |
4061 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Google_Jacquard_Protocol_UJTConfigResponse' has non-sendable type 'Google_Jacquard_Protocol_UJTConfigResponse._StorageClass'; this is an error in the Swift 6 language mode
4062 | }
4063 |
:
10383 | ]
10384 |
10385 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
10386 | var _imuConfig: Google_Jacquard_Protocol_ImuConfiguration? = nil
10387 | var _bleConfig: Google_Jacquard_Protocol_BleConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Protobuf/publicSdk.pb.swift:163:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 | extension Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability: CaseIterable {
162 | // The compiler won't synthesize support with the UNRECOGNIZED case.
163 | public static var allCases: [Google_Jacquard_Protocol_Public_Sdk_GearMetadata.Capability] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
164 | .led,
165 | .gesture,
Build complete! (35.42s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.16.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
},
{
"identity" : "swift-junit",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/allegro/swift-junit.git"
},
{
"identity" : "swiftcheck",
"requirement" : {
"range" : [
{
"lower_bound" : "0.12.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/typelift/SwiftCheck.git"
}
],
"manifest_display_name" : "JacquardSDK",
"name" : "JacquardSDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "JacquardSDK",
"targets" : [
"JacquardSDK"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "JacquardSDKTests",
"module_type" : "SwiftTarget",
"name" : "JacquardSDKTests",
"path" : "Tests",
"product_dependencies" : [
"SwiftCheck",
"SwiftTestReporter"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/TestResources/imu1.bin",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/TestResources/imu2.bin",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AAA_SwiftTestReporterInit.swift",
"AdvertisedTagModelTests.swift",
"AttachedNotificationTests.swift",
"BatteryStatusTests.swift",
"CacheManagerTests.swift",
"CloudManagerTests.swift",
"ComponentInfoCommandTests.swift",
"ComponentInternalTests.swift",
"ConnectedTagModelTests/ConnectedGearTests.swift",
"ConnectedTagModelTests/ConnectedTagModelTests.swift",
"ContinuousTouchNotificationSubscriptionTests.swift",
"DFUCommandsTests.swift",
"DisconnectTagCommandTests.swift",
"FakeImplementations/FakeCacheManager.swift",
"FakeImplementations/FakeCentralManager.swift",
"FakeImplementations/FakeCloudManager.swift",
"FakeImplementations/FakeComponent.swift",
"FakeImplementations/FakeConnectedTag.swift",
"FakeImplementations/FakeDFUCommands.swift",
"FakeImplementations/FakeFirmwareRetrieverImplementation.swift",
"FakeImplementations/FakePeripheralImplementation.swift",
"FakeImplementations/FakeTransport.swift",
"FakeImplementations/FakeURLProtocol.swift",
"FirmwareUpdate/FirmwareImageWriterStateMachineTests.swift",
"FirmwareUpdate/FirmwareRetrieverTests.swift",
"FirmwareUpdate/FirmwareUpdateManagerTests.swift",
"FirmwareUpdate/FirmwareUpdateStateMachineTests.swift",
"FragmenterTests.swift",
"GearInternalTests.swift",
"GestureNotificationSubscriptionTests.swift",
"GetCustomConfigTests.swift",
"IMUTests/IMUModuleComandsTests.swift",
"IMUTests/IMUModuleProtocolTests.swift",
"IMUTests/IMUParser/IMUParserTests.swift",
"IMUTests/ModuleComandsTests.swift",
"IMUTests/ModuleTests.swift",
"JacquardManagerImplementationTests.swift",
"JacquardTagInternalTests.swift",
"LoggerTests.swift",
"MiscExtensionsTests.swift",
"PlayHapticCommandTests.swift",
"PlayLEDPatternTests.swift",
"SDKVersionTests.swift",
"SetCustomConfigTests.swift",
"ShareReplayTests.swift",
"TagConnectionTests/ProtocolStateMachineTests.swift",
"TagConnectionTests/TagConnectionStateMachineTests.swift",
"TagConnectionTests/TagPairingStateMachineTests.swift",
"TestHelpers.swift",
"TestHelpers/BundleExtensions.swift",
"TouchDataTests.swift",
"TransportTests/TransportV2Tests.swift",
"UJTConfigWriteCommandTests.swift",
"VarIntTests.swift",
"VersionTests.swift"
],
"target_dependencies" : [
"JacquardSDK"
],
"type" : "test"
},
{
"c99name" : "JacquardSDK",
"module_type" : "SwiftTarget",
"name" : "JacquardSDK",
"path" : "JacquardSDK",
"product_dependencies" : [
"SwiftProtobuf"
],
"product_memberships" : [
"JacquardSDK"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/JacquardSDK/Resources/BadFirmwareVersion.json",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/JacquardSDK/Resources/GearMetadata.json",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Classes/API/BatteryStatus.swift",
"Classes/API/ComponentInfoCommand.swift",
"Classes/API/DisconnectTagCommand.swift",
"Classes/API/Gesture.swift",
"Classes/API/GetCustomConfig.swift",
"Classes/API/ModuleStatus.swift",
"Classes/API/PlayHapticCommand.swift",
"Classes/API/PlayLEDPattern.swift",
"Classes/API/SetCustomConfig.swift",
"Classes/API/TouchData.swift",
"Classes/CentralManagerImplementation.swift",
"Classes/CentralManagerProtocol.swift",
"Classes/CommandRequest.swift",
"Classes/ComponentProtocols.swift",
"Classes/FirmwareUpdateAPI/FirmwareUpdateManager.swift",
"Classes/IMUDataCollection/IMUModuleProtocol.swift",
"Classes/IMUDataCollection/IMUSample.swift",
"Classes/IMUDataCollection/Module.swift",
"Classes/Internal/Connection/AdvertisedTagModel.swift",
"Classes/Internal/Connection/PreConnectedTagModel.swift",
"Classes/Internal/Connection/ProtocolInitializationStateMachine.swift",
"Classes/Internal/Connection/TagConnectionStateMachine.swift",
"Classes/Internal/Connection/TagPairingStateMachine.swift",
"Classes/Internal/Extensions.swift",
"Classes/Internal/FirmwareUpdate/CRC16.swift",
"Classes/Internal/FirmwareUpdate/FirmwareImageWriterStateMachine.swift",
"Classes/Internal/FirmwareUpdate/FirmwareUpdateManagerImplementation.swift",
"Classes/Internal/FirmwareUpdate/FirmwareUpdateRequest.swift",
"Classes/Internal/FirmwareUpdate/FirmwareUpdateRetriever.swift",
"Classes/Internal/FirmwareUpdate/FirmwareUpdateRetrieverImplementation.swift",
"Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift",
"Classes/Internal/IMUDataCollectionAPI/IMUModuleComands.swift",
"Classes/Internal/IMUDataCollectionAPI/IMUModuleImplementation.swift",
"Classes/Internal/IMUDataCollectionAPI/IMUSessionDataParser.swift",
"Classes/Internal/IMUDataCollectionAPI/IMUStreamDataParser.swift",
"Classes/Internal/Identifier.swift",
"Classes/Internal/ResourceBundle.swift",
"Classes/Internal/ShareReplay.swift",
"Classes/Internal/TagAPIDetails/AttachedNotification.swift",
"Classes/Internal/TagAPIDetails/BatteryStatusInternal.swift",
"Classes/Internal/TagAPIDetails/ComponentInfoInternal.swift",
"Classes/Internal/TagAPIDetails/DFUCommands.swift",
"Classes/Internal/TagAPIDetails/DisconnectTagInternal.swift",
"Classes/Internal/TagAPIDetails/GesturesInternal.swift",
"Classes/Internal/TagAPIDetails/GetCustomConfigInternal.swift",
"Classes/Internal/TagAPIDetails/IMUConfigCommand.swift",
"Classes/Internal/TagAPIDetails/ModuleCommands.swift",
"Classes/Internal/TagAPIDetails/PlayHapticInternal.swift",
"Classes/Internal/TagAPIDetails/PlayLEDPatternInternal.swift",
"Classes/Internal/TagAPIDetails/SetCustomConfigInternal.swift",
"Classes/Internal/TagAPIDetails/SetTouchMode.swift",
"Classes/Internal/TagAPIDetails/TouchDataInternal.swift",
"Classes/Internal/TagAPIDetails/UJTConfigWrite.swift",
"Classes/Internal/TagAndComponent/ComponentInternal.swift",
"Classes/Internal/TagAndComponent/ConnectedTagModel.swift",
"Classes/Internal/TagAndComponent/GearInternal.swift",
"Classes/Internal/TagAndComponent/JacquardTagInternal.swift",
"Classes/Internal/TagAndComponent/TagPeripheralAccess.swift",
"Classes/Internal/Transport/Fragmenter.swift",
"Classes/Internal/Transport/Peripheral.swift",
"Classes/Internal/Transport/PeripheralImplementation.swift",
"Classes/Internal/Transport/ProtocolConstants.swift",
"Classes/Internal/Transport/Transport.swift",
"Classes/Internal/Transport/TransportV2Implementation.swift",
"Classes/Internal/VarInt.swift",
"Classes/Internal/Version.swift",
"Classes/JacquardManagerImplementation.swift",
"Classes/JacquardManagerProtocol.swift",
"Classes/JacquardSDKVersion.swift",
"Classes/Logger.swift",
"Classes/Model/DFUUpdateInfo.swift",
"Classes/Model/SDKConfig.swift",
"Classes/Model/VidPidMid.swift",
"Classes/Network/CacheManager.swift",
"Classes/Network/CloudManager.swift",
"Classes/Network/CloudManagerImpl.swift",
"Classes/Network/URLRequestBuilder.swift",
"Classes/NotificationProtocol.swift",
"Classes/TagProtocols.swift",
"Protobuf/jacquard.pb.swift",
"Protobuf/publicSdk.pb.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.