Build Information
Successful build of JacquardSDK, reference v1.0.0 (7db0fe
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 01:45:38 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
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 |
[174/185] Compiling JacquardSDK IMUModuleComands.swift
/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/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/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/FirmwareUpdate/FirmwareUpdateStateMachine.swift:167:13: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
165 | if !self.context.isTagUpdateInProgress {
166 | self.marshalQueue.async {
167 | self.handleEvent(.tagDisconnected)
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:175:13: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
173 | if self.context.isTagUpdateInProgress {
174 | self.marshalQueue.async {
175 | self.invalidateExecutionTimer()
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
176 | self.handleEvent(.completed)
177 | self.context.isTagUpdateInProgress = false
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:327:11: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
325 |
326 | case .writing(let bytesWritten):
327 | self.handleEvent(.transferring(bytesWritten))
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
328 |
329 | case .complete:
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:330:41: warning: capture of 'writer' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
328 |
329 | case .complete:
330 | self.handleEvent(.transferred(writer.totalBytesWritten))
| `- warning: capture of 'writer' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
331 |
332 | case .stopped:
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareImageWriterStateMachine.swift:24:7: note: class 'FirmwareImageWriterStateMachine' does not conform to the 'Sendable' protocol
22 | }
23 |
24 | class FirmwareImageWriterStateMachine {
| `- note: class 'FirmwareImageWriterStateMachine' does not conform to the 'Sendable' protocol
25 |
26 | static let initialState: State = .idle
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:398:11: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
396 | break
397 | case .failure(let error):
398 | self.handleEvent(.didReceiveExecutionError(error))
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
399 | }
400 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:441:11: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
439 | guard let self = self else { return }
440 | self.marshalQueue.async {
441 | self.invalidateExecutionTimer()
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
442 |
443 | switch notification.status {
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:469:7: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
467 | "Connection timeout: could not re-connect to the component after flashing firmware."
468 | )
469 | self.handleEvent(.didReceiveExecutionError(firmwareUpdateError))
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
470 | }
471 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:490:30: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
488 | marshalQueue.async {
489 | do {
490 | guard let writer = self.context.writerStateMachines.first else {
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
491 | throw FirmwareUpdateError.internalError("No DFU transfer is in progress.")
492 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:508:24: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
506 |
507 | marshalQueue.async { [weak self] in
508 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
509 |
510 | // Verify tag is connected before apply updates.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:520:15: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
518 | if case .failure = completion {
519 | self.marshalQueue.async {
520 | self.handleEvent(.internalError("Battery status request failed."))
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
521 | }
522 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:526:30: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
524 | self.batteryLevel = Int(batteryLevel)
525 | self.marshalQueue.async { [weak self] in
526 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
527 |
528 | // Check if update info has any module updates.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:581:24: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
579 | func executeUpdates() {
580 | marshalQueue.async { [weak self] in
581 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
582 |
583 | if self.validatePreconditionsForExecuteImages() {
/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 |
[175/185] Compiling JacquardSDK IMUModuleImplementation.swift
/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/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/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/FirmwareUpdate/FirmwareUpdateStateMachine.swift:167:13: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
165 | if !self.context.isTagUpdateInProgress {
166 | self.marshalQueue.async {
167 | self.handleEvent(.tagDisconnected)
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:175:13: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
173 | if self.context.isTagUpdateInProgress {
174 | self.marshalQueue.async {
175 | self.invalidateExecutionTimer()
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
176 | self.handleEvent(.completed)
177 | self.context.isTagUpdateInProgress = false
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:327:11: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
325 |
326 | case .writing(let bytesWritten):
327 | self.handleEvent(.transferring(bytesWritten))
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
328 |
329 | case .complete:
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:330:41: warning: capture of 'writer' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
328 |
329 | case .complete:
330 | self.handleEvent(.transferred(writer.totalBytesWritten))
| `- warning: capture of 'writer' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
331 |
332 | case .stopped:
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareImageWriterStateMachine.swift:24:7: note: class 'FirmwareImageWriterStateMachine' does not conform to the 'Sendable' protocol
22 | }
23 |
24 | class FirmwareImageWriterStateMachine {
| `- note: class 'FirmwareImageWriterStateMachine' does not conform to the 'Sendable' protocol
25 |
26 | static let initialState: State = .idle
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:398:11: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
396 | break
397 | case .failure(let error):
398 | self.handleEvent(.didReceiveExecutionError(error))
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
399 | }
400 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:441:11: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
439 | guard let self = self else { return }
440 | self.marshalQueue.async {
441 | self.invalidateExecutionTimer()
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
442 |
443 | switch notification.status {
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:469:7: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
467 | "Connection timeout: could not re-connect to the component after flashing firmware."
468 | )
469 | self.handleEvent(.didReceiveExecutionError(firmwareUpdateError))
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
470 | }
471 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:490:30: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
488 | marshalQueue.async {
489 | do {
490 | guard let writer = self.context.writerStateMachines.first else {
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
491 | throw FirmwareUpdateError.internalError("No DFU transfer is in progress.")
492 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:508:24: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
506 |
507 | marshalQueue.async { [weak self] in
508 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
509 |
510 | // Verify tag is connected before apply updates.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:520:15: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
518 | if case .failure = completion {
519 | self.marshalQueue.async {
520 | self.handleEvent(.internalError("Battery status request failed."))
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
521 | }
522 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:526:30: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
524 | self.batteryLevel = Int(batteryLevel)
525 | self.marshalQueue.async { [weak self] in
526 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
527 |
528 | // Check if update info has any module updates.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:581:24: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
579 | func executeUpdates() {
580 | marshalQueue.async { [weak self] in
581 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
582 |
583 | if self.validatePreconditionsForExecuteImages() {
/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 |
[176/185] Compiling JacquardSDK IMUSessionDataParser.swift
/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/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/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/FirmwareUpdate/FirmwareUpdateStateMachine.swift:167:13: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
165 | if !self.context.isTagUpdateInProgress {
166 | self.marshalQueue.async {
167 | self.handleEvent(.tagDisconnected)
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:175:13: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
173 | if self.context.isTagUpdateInProgress {
174 | self.marshalQueue.async {
175 | self.invalidateExecutionTimer()
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
176 | self.handleEvent(.completed)
177 | self.context.isTagUpdateInProgress = false
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:327:11: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
325 |
326 | case .writing(let bytesWritten):
327 | self.handleEvent(.transferring(bytesWritten))
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
328 |
329 | case .complete:
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:330:41: warning: capture of 'writer' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
328 |
329 | case .complete:
330 | self.handleEvent(.transferred(writer.totalBytesWritten))
| `- warning: capture of 'writer' with non-sendable type 'FirmwareImageWriterStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
331 |
332 | case .stopped:
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareImageWriterStateMachine.swift:24:7: note: class 'FirmwareImageWriterStateMachine' does not conform to the 'Sendable' protocol
22 | }
23 |
24 | class FirmwareImageWriterStateMachine {
| `- note: class 'FirmwareImageWriterStateMachine' does not conform to the 'Sendable' protocol
25 |
26 | static let initialState: State = .idle
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:398:11: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
396 | break
397 | case .failure(let error):
398 | self.handleEvent(.didReceiveExecutionError(error))
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
399 | }
400 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:441:11: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
439 | guard let self = self else { return }
440 | self.marshalQueue.async {
441 | self.invalidateExecutionTimer()
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
442 |
443 | switch notification.status {
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:469:7: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
467 | "Connection timeout: could not re-connect to the component after flashing firmware."
468 | )
469 | self.handleEvent(.didReceiveExecutionError(firmwareUpdateError))
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
470 | }
471 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:490:30: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
488 | marshalQueue.async {
489 | do {
490 | guard let writer = self.context.writerStateMachines.first else {
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
491 | throw FirmwareUpdateError.internalError("No DFU transfer is in progress.")
492 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:508:24: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
506 |
507 | marshalQueue.async { [weak self] in
508 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
509 |
510 | // Verify tag is connected before apply updates.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:520:15: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
518 | if case .failure = completion {
519 | self.marshalQueue.async {
520 | self.handleEvent(.internalError("Battery status request failed."))
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
521 | }
522 | }
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:526:30: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
524 | self.batteryLevel = Int(batteryLevel)
525 | self.marshalQueue.async { [weak self] in
526 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
527 |
528 | // Check if update info has any module updates.
/Users/admin/builder/spi-builder-workspace/JacquardSDK/Classes/Internal/FirmwareUpdate/FirmwareUpdateStateMachine.swift:581:24: warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import Foundation
17 |
18 | final class FirmwareUpdateStateMachine {
| `- note: class 'FirmwareUpdateStateMachine' does not conform to the 'Sendable' protocol
19 |
20 | private enum Constants {
:
579 | func executeUpdates() {
580 | marshalQueue.async { [weak self] in
581 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'FirmwareUpdateStateMachine?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
582 |
583 | if self.validatePreconditionsForExecuteImages() {
/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 |
[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! (36.96s)
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.