Build Information
Failed to build iOSMcuManagerLibrary, reference 1.15.1 (650c16), with Swift 6.1 for macOS (SPM) on 11 Nov 2026 02:12:53 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:55:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
53 | continuation.resume(throwing: error)
54 | } else if let response {
55 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
56 | } else {
57 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:530:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
528 | let waitTime: DispatchTimeInterval = .milliseconds(Self.POLLING_INTERVAL_MS)
529 | DispatchQueue.main.asyncAfter(deadline: .now() + waitTime) { [unowned self] in
530 | self.pollAttempts += 1
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
531 | self.poll(callback: self.pollingCallback)
532 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 |
18 | /// Async variant of ``list(callback:)``
19 | public func list() async throws -> McuMgrStatsListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsListResponse, Error>) in
21 | list { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:36:5: warning: 'public' modifier is redundant for instance method declared in a public extension
34 |
35 | /// Async variant of ``read(module:callback:)``
36 | public func read(module: String) async throws -> McuMgrStatsResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
37 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsResponse, Error>) in
38 | read(module: module) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 | // MARK: listManifest()
16 |
17 | public func listManifest() async throws -> SuitListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<SuitListResponse, Error>) in
19 | listManifest { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:33:5: warning: 'public' modifier is redundant for instance method declared in a public extension
31 | // MARK: processRecentlyUploadedEnvelope()
32 |
33 | public func processRecentlyUploadedEnvelope() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
34 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
35 | processRecentlyUploadedEnvelope() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:49:5: warning: 'public' modifier is redundant for instance method declared in a public extension
47 | // MARK: cleanup()
48 |
49 | public func cleanup() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
50 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
51 | cleanup { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:649:10: warning: associated value 'suitDelegateRequiredForResource' of 'Sendable'-conforming enum 'SuitManagerError' has non-sendable type 'FirmwareUpgradeResource'; this is an error in the Swift 6 language mode
647 |
648 | public enum SuitManagerError: Error, LocalizedError {
649 | case suitDelegateRequiredForResource(_ resource: FirmwareUpgradeResource)
| `- warning: associated value 'suitDelegateRequiredForResource' of 'Sendable'-conforming enum 'SuitManagerError' has non-sendable type 'FirmwareUpgradeResource'; this is an error in the Swift 6 language mode
650 | case listRoleResponseMismatch(roleCount: Int, responseCount: Int)
651 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeController.swift:38:13: note: consider making enum 'FirmwareUpgradeResource' conform to the 'Sendable' protocol
36 | // MARK: FirmwareUpgradeResource
37 |
38 | public enum FirmwareUpgradeResource: CustomStringConvertible {
| `- note: consider making enum 'FirmwareUpgradeResource' conform to the 'Sendable' protocol
39 | case file(name: String)
40 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:619:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
617 | public func transport(_ transport: McuMgrTransport, didChangeStateTo state: McuMgrTransportState) {
618 | // Disregard other states.
619 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
620 |
621 | log(msg: "Device has disconnected.", atLevel: .info)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:25:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
23 | continuation.resume(throwing: error)
24 | } else if let response {
25 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | } else {
27 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:42:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
40 | continuation.resume(throwing: error)
41 | } else if let response {
42 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
43 | } else {
44 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:23:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
21 | continuation.resume(throwing: error)
22 | } else if let response {
23 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
24 | } else {
25 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:39:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
37 | continuation.resume(throwing: error)
38 | } else if let response {
39 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
40 | } else {
41 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:55:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
53 | continuation.resume(throwing: error)
54 | } else if let response {
55 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
56 | } else {
57 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:530:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
528 | let waitTime: DispatchTimeInterval = .milliseconds(Self.POLLING_INTERVAL_MS)
529 | DispatchQueue.main.asyncAfter(deadline: .now() + waitTime) { [unowned self] in
530 | self.pollAttempts += 1
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
531 | self.poll(callback: self.pollingCallback)
532 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 |
18 | /// Async variant of ``list(callback:)``
19 | public func list() async throws -> McuMgrStatsListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsListResponse, Error>) in
21 | list { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:36:5: warning: 'public' modifier is redundant for instance method declared in a public extension
34 |
35 | /// Async variant of ``read(module:callback:)``
36 | public func read(module: String) async throws -> McuMgrStatsResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
37 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsResponse, Error>) in
38 | read(module: module) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 | // MARK: listManifest()
16 |
17 | public func listManifest() async throws -> SuitListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<SuitListResponse, Error>) in
19 | listManifest { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:33:5: warning: 'public' modifier is redundant for instance method declared in a public extension
31 | // MARK: processRecentlyUploadedEnvelope()
32 |
33 | public func processRecentlyUploadedEnvelope() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
34 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
35 | processRecentlyUploadedEnvelope() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:49:5: warning: 'public' modifier is redundant for instance method declared in a public extension
47 | // MARK: cleanup()
48 |
49 | public func cleanup() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
50 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
51 | cleanup { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:649:10: warning: associated value 'suitDelegateRequiredForResource' of 'Sendable'-conforming enum 'SuitManagerError' has non-sendable type 'FirmwareUpgradeResource'; this is an error in the Swift 6 language mode
647 |
648 | public enum SuitManagerError: Error, LocalizedError {
649 | case suitDelegateRequiredForResource(_ resource: FirmwareUpgradeResource)
| `- warning: associated value 'suitDelegateRequiredForResource' of 'Sendable'-conforming enum 'SuitManagerError' has non-sendable type 'FirmwareUpgradeResource'; this is an error in the Swift 6 language mode
650 | case listRoleResponseMismatch(roleCount: Int, responseCount: Int)
651 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeController.swift:38:13: note: consider making enum 'FirmwareUpgradeResource' conform to the 'Sendable' protocol
36 | // MARK: FirmwareUpgradeResource
37 |
38 | public enum FirmwareUpgradeResource: CustomStringConvertible {
| `- note: consider making enum 'FirmwareUpgradeResource' conform to the 'Sendable' protocol
39 | case file(name: String)
40 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:619:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
617 | public func transport(_ transport: McuMgrTransport, didChangeStateTo state: McuMgrTransportState) {
618 | // Disregard other states.
619 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
620 |
621 | log(msg: "Device has disconnected.", atLevel: .info)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:25:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
23 | continuation.resume(throwing: error)
24 | } else if let response {
25 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | } else {
27 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:42:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
40 | continuation.resume(throwing: error)
41 | } else if let response {
42 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
43 | } else {
44 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:23:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
21 | continuation.resume(throwing: error)
22 | } else if let response {
23 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
24 | } else {
25 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:39:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
37 | continuation.resume(throwing: error)
38 | } else if let response {
39 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
40 | } else {
41 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:55:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
53 | continuation.resume(throwing: error)
54 | } else if let response {
55 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
56 | } else {
57 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:530:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
528 | let waitTime: DispatchTimeInterval = .milliseconds(Self.POLLING_INTERVAL_MS)
529 | DispatchQueue.main.asyncAfter(deadline: .now() + waitTime) { [unowned self] in
530 | self.pollAttempts += 1
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
531 | self.poll(callback: self.pollingCallback)
532 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 |
18 | /// Async variant of ``list(callback:)``
19 | public func list() async throws -> McuMgrStatsListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsListResponse, Error>) in
21 | list { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:36:5: warning: 'public' modifier is redundant for instance method declared in a public extension
34 |
35 | /// Async variant of ``read(module:callback:)``
36 | public func read(module: String) async throws -> McuMgrStatsResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
37 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsResponse, Error>) in
38 | read(module: module) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 | // MARK: listManifest()
16 |
17 | public func listManifest() async throws -> SuitListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<SuitListResponse, Error>) in
19 | listManifest { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:33:5: warning: 'public' modifier is redundant for instance method declared in a public extension
31 | // MARK: processRecentlyUploadedEnvelope()
32 |
33 | public func processRecentlyUploadedEnvelope() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
34 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
35 | processRecentlyUploadedEnvelope() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:49:5: warning: 'public' modifier is redundant for instance method declared in a public extension
47 | // MARK: cleanup()
48 |
49 | public func cleanup() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
50 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
51 | cleanup { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:649:10: warning: associated value 'suitDelegateRequiredForResource' of 'Sendable'-conforming enum 'SuitManagerError' has non-sendable type 'FirmwareUpgradeResource'; this is an error in the Swift 6 language mode
647 |
648 | public enum SuitManagerError: Error, LocalizedError {
649 | case suitDelegateRequiredForResource(_ resource: FirmwareUpgradeResource)
| `- warning: associated value 'suitDelegateRequiredForResource' of 'Sendable'-conforming enum 'SuitManagerError' has non-sendable type 'FirmwareUpgradeResource'; this is an error in the Swift 6 language mode
650 | case listRoleResponseMismatch(roleCount: Int, responseCount: Int)
651 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeController.swift:38:13: note: consider making enum 'FirmwareUpgradeResource' conform to the 'Sendable' protocol
36 | // MARK: FirmwareUpgradeResource
37 |
38 | public enum FirmwareUpgradeResource: CustomStringConvertible {
| `- note: consider making enum 'FirmwareUpgradeResource' conform to the 'Sendable' protocol
39 | case file(name: String)
40 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:619:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
617 | public func transport(_ transport: McuMgrTransport, didChangeStateTo state: McuMgrTransportState) {
618 | // Disregard other states.
619 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
620 |
621 | log(msg: "Device has disconnected.", atLevel: .info)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:25:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
23 | continuation.resume(throwing: error)
24 | } else if let response {
25 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | } else {
27 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:42:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
40 | continuation.resume(throwing: error)
41 | } else if let response {
42 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
43 | } else {
44 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:23:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
21 | continuation.resume(throwing: error)
22 | } else if let response {
23 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
24 | } else {
25 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:39:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
37 | continuation.resume(throwing: error)
38 | } else if let response {
39 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
40 | } else {
41 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:55:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
53 | continuation.resume(throwing: error)
54 | } else if let response {
55 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
56 | } else {
57 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:530:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
528 | let waitTime: DispatchTimeInterval = .milliseconds(Self.POLLING_INTERVAL_MS)
529 | DispatchQueue.main.asyncAfter(deadline: .now() + waitTime) { [unowned self] in
530 | self.pollAttempts += 1
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
531 | self.poll(callback: self.pollingCallback)
532 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeError.swift:16:10: warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'FirmwareUpgradeError' has non-sendable type 'McuMgrResponse'; this is an error in the Swift 6 language mode
14 | public enum FirmwareUpgradeError: Error, LocalizedError {
15 | case unknown(String)
16 | case invalidResponse(McuMgrResponse)
| `- warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'FirmwareUpgradeError' has non-sendable type 'McuMgrResponse'; this is an error in the Swift 6 language mode
17 | case connectionFailedAfterReset
18 | case uploadedImageNotFound(image: Int, slot: Int)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrResponse.swift:10:12: note: class 'McuMgrResponse' does not conform to the 'Sendable' protocol
8 | import SwiftCBOR
9 |
10 | open class McuMgrResponse: CBORMappable {
| `- note: class 'McuMgrResponse' does not conform to the 'Sendable' protocol
11 |
12 | //**************************************************************************
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeError.swift:16:10: warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'FirmwareUpgradeError' has non-sendable type 'McuMgrResponse'; this is an error in the Swift 6 language mode
14 | public enum FirmwareUpgradeError: Error, LocalizedError {
15 | case unknown(String)
16 | case invalidResponse(McuMgrResponse)
| `- warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'FirmwareUpgradeError' has non-sendable type 'McuMgrResponse'; this is an error in the Swift 6 language mode
17 | case connectionFailedAfterReset
18 | case uploadedImageNotFound(image: Int, slot: Int)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrResponse.swift:10:12: note: class 'McuMgrResponse' does not conform to the 'Sendable' protocol
8 | import SwiftCBOR
9 |
10 | open class McuMgrResponse: CBORMappable {
| `- note: class 'McuMgrResponse' does not conform to the 'Sendable' protocol
11 |
12 | //**************************************************************************
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeError.swift:16:10: warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'FirmwareUpgradeError' has non-sendable type 'McuMgrResponse'; this is an error in the Swift 6 language mode
14 | public enum FirmwareUpgradeError: Error, LocalizedError {
15 | case unknown(String)
16 | case invalidResponse(McuMgrResponse)
| `- warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'FirmwareUpgradeError' has non-sendable type 'McuMgrResponse'; this is an error in the Swift 6 language mode
17 | case connectionFailedAfterReset
18 | case uploadedImageNotFound(image: Int, slot: Int)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrResponse.swift:10:12: note: class 'McuMgrResponse' does not conform to the 'Sendable' protocol
8 | import SwiftCBOR
9 |
10 | open class McuMgrResponse: CBORMappable {
| `- note: class 'McuMgrResponse' does not conform to the 'Sendable' protocol
11 |
12 | //**************************************************************************
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeError.swift:16:10: warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'FirmwareUpgradeError' has non-sendable type 'McuMgrResponse'; this is an error in the Swift 6 language mode
14 | public enum FirmwareUpgradeError: Error, LocalizedError {
15 | case unknown(String)
16 | case invalidResponse(McuMgrResponse)
| `- warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'FirmwareUpgradeError' has non-sendable type 'McuMgrResponse'; this is an error in the Swift 6 language mode
17 | case connectionFailedAfterReset
18 | case uploadedImageNotFound(image: Int, slot: Int)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrResponse.swift:10:12: note: class 'McuMgrResponse' does not conform to the 'Sendable' protocol
8 | import SwiftCBOR
9 |
10 | open class McuMgrResponse: CBORMappable {
| `- note: class 'McuMgrResponse' does not conform to the 'Sendable' protocol
11 |
12 | //**************************************************************************
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeError.swift:16:10: warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'FirmwareUpgradeError' has non-sendable type 'McuMgrResponse'; this is an error in the Swift 6 language mode
14 | public enum FirmwareUpgradeError: Error, LocalizedError {
15 | case unknown(String)
16 | case invalidResponse(McuMgrResponse)
| `- warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'FirmwareUpgradeError' has non-sendable type 'McuMgrResponse'; this is an error in the Swift 6 language mode
17 | case connectionFailedAfterReset
18 | case uploadedImageNotFound(image: Int, slot: Int)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrResponse.swift:10:12: note: class 'McuMgrResponse' does not conform to the 'Sendable' protocol
8 | import SwiftCBOR
9 |
10 | open class McuMgrResponse: CBORMappable {
| `- note: class 'McuMgrResponse' does not conform to the 'Sendable' protocol
11 |
12 | //**************************************************************************
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1026:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1024 |
1025 | // Disregard connected state.
1026 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1027 |
1028 | switch self.state { // FirmwareUpgradeState, not McuMgrTransportState
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1167:40: warning: variable 'images' was never mutated; consider changing to 'let' constant
1165 |
1166 | public func uploadProgressDidChange(bytesSent: Int, imageSize: Int, timestamp: Date) {
1167 | if bytesSent == imageSize, var images {
| `- warning: variable 'images' was never mutated; consider changing to 'let' constant
1168 | // An Image was sent. Mark as uploaded.
1169 | if let image = images.first(where: { !$0.uploaded && $0.data.count == imageSize }) {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:82:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 | if state != previousState {
81 | DispatchQueue.main.async { [weak self] in
82 | self?.delegate?.upgradeStateDidChange(from: previousState, to: state)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:82:61: warning: sending 'previousState' risks causing data races; this is an error in the Swift 6 language mode
80 | if state != previousState {
81 | DispatchQueue.main.async { [weak self] in
82 | self?.delegate?.upgradeStateDidChange(from: previousState, to: state)
| |- warning: sending 'previousState' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'previousState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:82:80: warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
80 | if state != previousState {
81 | DispatchQueue.main.async { [weak self] in
82 | self?.delegate?.upgradeStateDidChange(from: previousState, to: state)
| |- warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'state' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:294:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
292 | paused = false
293 | DispatchQueue.main.async { [weak self] in
294 | self?.delegate?.upgradeDidComplete()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | // Release cyclic reference.
296 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:134:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | // Allow Library Apps to show 100% Progress in this case.
133 | DispatchQueue.main.async { [weak self] in
134 | self?.delegate?.uploadProgressDidChange(bytesSent: 100, imageSize: 100,
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | timestamp: Date())
136 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:328:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
326 | paused = false
327 | DispatchQueue.main.async { [weak self] in
328 | self?.delegate?.upgradeDidFail(inState: tmp, with: error)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
329 | // Release cyclic reference.
330 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:328:53: warning: sending 'tmp' risks causing data races; this is an error in the Swift 6 language mode
326 | paused = false
327 | DispatchQueue.main.async { [weak self] in
328 | self?.delegate?.upgradeDidFail(inState: tmp, with: error)
| |- warning: sending 'tmp' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'tmp' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
329 | // Release cyclic reference.
330 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:637:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
635 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { [weak self] in
636 | // Validation successful, begin with image upload.
637 | self?.upload()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
638 | }
639 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1076:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1074 | log(msg: "Waiting \(Int(configuration.estimatedSwapTime)) seconds before reconnect attempt...", atLevel: .info)
1075 | DispatchQueue.main.asyncAfter(deadline: .now() + remainingTime) { [weak self] in
1076 | self?.log(msg: "Reconnecting...", atLevel: .info)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
1077 | self?.reconnect()
1078 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1175:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1173 |
1174 | DispatchQueue.main.async { [weak self] in
1175 | self?.delegate?.uploadProgressDidChange(bytesSent: bytesSent, imageSize: imageSize, timestamp: timestamp)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
1176 | }
1177 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1190:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1188 |
1189 | DispatchQueue.main.async { [weak self] in
1190 | self?.delegate?.upgradeDidCancel(state: .cancelled)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
1191 | }
1192 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradePeripheralFinder.swift:44:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
42 |
43 | DispatchQueue.main.asyncAfter(deadline: .now() + Self.Timeout) { [weak self] in
44 | guard let self, let centralManager, let safeguardedDelegate,
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
45 | let searchCallback, centralManager.isScanning else { return }
46 | // If we're still alive and Central Manager has not stopped scanning,
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1026:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1024 |
1025 | // Disregard connected state.
1026 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1027 |
1028 | switch self.state { // FirmwareUpgradeState, not McuMgrTransportState
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1167:40: warning: variable 'images' was never mutated; consider changing to 'let' constant
1165 |
1166 | public func uploadProgressDidChange(bytesSent: Int, imageSize: Int, timestamp: Date) {
1167 | if bytesSent == imageSize, var images {
| `- warning: variable 'images' was never mutated; consider changing to 'let' constant
1168 | // An Image was sent. Mark as uploaded.
1169 | if let image = images.first(where: { !$0.uploaded && $0.data.count == imageSize }) {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:82:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 | if state != previousState {
81 | DispatchQueue.main.async { [weak self] in
82 | self?.delegate?.upgradeStateDidChange(from: previousState, to: state)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:82:61: warning: sending 'previousState' risks causing data races; this is an error in the Swift 6 language mode
80 | if state != previousState {
81 | DispatchQueue.main.async { [weak self] in
82 | self?.delegate?.upgradeStateDidChange(from: previousState, to: state)
| |- warning: sending 'previousState' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'previousState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:82:80: warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
80 | if state != previousState {
81 | DispatchQueue.main.async { [weak self] in
82 | self?.delegate?.upgradeStateDidChange(from: previousState, to: state)
| |- warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'state' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:294:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
292 | paused = false
293 | DispatchQueue.main.async { [weak self] in
294 | self?.delegate?.upgradeDidComplete()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | // Release cyclic reference.
296 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:134:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | // Allow Library Apps to show 100% Progress in this case.
133 | DispatchQueue.main.async { [weak self] in
134 | self?.delegate?.uploadProgressDidChange(bytesSent: 100, imageSize: 100,
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | timestamp: Date())
136 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:328:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
326 | paused = false
327 | DispatchQueue.main.async { [weak self] in
328 | self?.delegate?.upgradeDidFail(inState: tmp, with: error)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
329 | // Release cyclic reference.
330 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:328:53: warning: sending 'tmp' risks causing data races; this is an error in the Swift 6 language mode
326 | paused = false
327 | DispatchQueue.main.async { [weak self] in
328 | self?.delegate?.upgradeDidFail(inState: tmp, with: error)
| |- warning: sending 'tmp' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'tmp' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
329 | // Release cyclic reference.
330 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:637:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
635 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { [weak self] in
636 | // Validation successful, begin with image upload.
637 | self?.upload()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
638 | }
639 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1076:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1074 | log(msg: "Waiting \(Int(configuration.estimatedSwapTime)) seconds before reconnect attempt...", atLevel: .info)
1075 | DispatchQueue.main.asyncAfter(deadline: .now() + remainingTime) { [weak self] in
1076 | self?.log(msg: "Reconnecting...", atLevel: .info)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
1077 | self?.reconnect()
1078 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1175:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1173 |
1174 | DispatchQueue.main.async { [weak self] in
1175 | self?.delegate?.uploadProgressDidChange(bytesSent: bytesSent, imageSize: imageSize, timestamp: timestamp)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
1176 | }
1177 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1190:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1188 |
1189 | DispatchQueue.main.async { [weak self] in
1190 | self?.delegate?.upgradeDidCancel(state: .cancelled)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
1191 | }
1192 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradePeripheralFinder.swift:44:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
42 |
43 | DispatchQueue.main.asyncAfter(deadline: .now() + Self.Timeout) { [weak self] in
44 | guard let self, let centralManager, let safeguardedDelegate,
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
45 | let searchCallback, centralManager.isScanning else { return }
46 | // If we're still alive and Central Manager has not stopped scanning,
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1026:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1024 |
1025 | // Disregard connected state.
1026 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1027 |
1028 | switch self.state { // FirmwareUpgradeState, not McuMgrTransportState
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1167:40: warning: variable 'images' was never mutated; consider changing to 'let' constant
1165 |
1166 | public func uploadProgressDidChange(bytesSent: Int, imageSize: Int, timestamp: Date) {
1167 | if bytesSent == imageSize, var images {
| `- warning: variable 'images' was never mutated; consider changing to 'let' constant
1168 | // An Image was sent. Mark as uploaded.
1169 | if let image = images.first(where: { !$0.uploaded && $0.data.count == imageSize }) {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:82:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 | if state != previousState {
81 | DispatchQueue.main.async { [weak self] in
82 | self?.delegate?.upgradeStateDidChange(from: previousState, to: state)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:82:61: warning: sending 'previousState' risks causing data races; this is an error in the Swift 6 language mode
80 | if state != previousState {
81 | DispatchQueue.main.async { [weak self] in
82 | self?.delegate?.upgradeStateDidChange(from: previousState, to: state)
| |- warning: sending 'previousState' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'previousState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:82:80: warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
80 | if state != previousState {
81 | DispatchQueue.main.async { [weak self] in
82 | self?.delegate?.upgradeStateDidChange(from: previousState, to: state)
| |- warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'state' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:294:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
292 | paused = false
293 | DispatchQueue.main.async { [weak self] in
294 | self?.delegate?.upgradeDidComplete()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | // Release cyclic reference.
296 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:134:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | // Allow Library Apps to show 100% Progress in this case.
133 | DispatchQueue.main.async { [weak self] in
134 | self?.delegate?.uploadProgressDidChange(bytesSent: 100, imageSize: 100,
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | timestamp: Date())
136 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:328:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
326 | paused = false
327 | DispatchQueue.main.async { [weak self] in
328 | self?.delegate?.upgradeDidFail(inState: tmp, with: error)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
329 | // Release cyclic reference.
330 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:328:53: warning: sending 'tmp' risks causing data races; this is an error in the Swift 6 language mode
326 | paused = false
327 | DispatchQueue.main.async { [weak self] in
328 | self?.delegate?.upgradeDidFail(inState: tmp, with: error)
| |- warning: sending 'tmp' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'tmp' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
329 | // Release cyclic reference.
330 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:637:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
635 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { [weak self] in
636 | // Validation successful, begin with image upload.
637 | self?.upload()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
638 | }
639 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1076:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1074 | log(msg: "Waiting \(Int(configuration.estimatedSwapTime)) seconds before reconnect attempt...", atLevel: .info)
1075 | DispatchQueue.main.asyncAfter(deadline: .now() + remainingTime) { [weak self] in
1076 | self?.log(msg: "Reconnecting...", atLevel: .info)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
1077 | self?.reconnect()
1078 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1175:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1173 |
1174 | DispatchQueue.main.async { [weak self] in
1175 | self?.delegate?.uploadProgressDidChange(bytesSent: bytesSent, imageSize: imageSize, timestamp: timestamp)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
1176 | }
1177 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1190:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1188 |
1189 | DispatchQueue.main.async { [weak self] in
1190 | self?.delegate?.upgradeDidCancel(state: .cancelled)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
1191 | }
1192 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradePeripheralFinder.swift:44:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
42 |
43 | DispatchQueue.main.asyncAfter(deadline: .now() + Self.Timeout) { [weak self] in
44 | guard let self, let centralManager, let safeguardedDelegate,
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
45 | let searchCallback, centralManager.isScanning else { return }
46 | // If we're still alive and Central Manager has not stopped scanning,
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1026:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1024 |
1025 | // Disregard connected state.
1026 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1027 |
1028 | switch self.state { // FirmwareUpgradeState, not McuMgrTransportState
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1167:40: warning: variable 'images' was never mutated; consider changing to 'let' constant
1165 |
1166 | public func uploadProgressDidChange(bytesSent: Int, imageSize: Int, timestamp: Date) {
1167 | if bytesSent == imageSize, var images {
| `- warning: variable 'images' was never mutated; consider changing to 'let' constant
1168 | // An Image was sent. Mark as uploaded.
1169 | if let image = images.first(where: { !$0.uploaded && $0.data.count == imageSize }) {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:82:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 | if state != previousState {
81 | DispatchQueue.main.async { [weak self] in
82 | self?.delegate?.upgradeStateDidChange(from: previousState, to: state)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:82:61: warning: sending 'previousState' risks causing data races; this is an error in the Swift 6 language mode
80 | if state != previousState {
81 | DispatchQueue.main.async { [weak self] in
82 | self?.delegate?.upgradeStateDidChange(from: previousState, to: state)
| |- warning: sending 'previousState' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'previousState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:82:80: warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
80 | if state != previousState {
81 | DispatchQueue.main.async { [weak self] in
82 | self?.delegate?.upgradeStateDidChange(from: previousState, to: state)
| |- warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'state' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:294:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
292 | paused = false
293 | DispatchQueue.main.async { [weak self] in
294 | self?.delegate?.upgradeDidComplete()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | // Release cyclic reference.
296 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:134:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | // Allow Library Apps to show 100% Progress in this case.
133 | DispatchQueue.main.async { [weak self] in
134 | self?.delegate?.uploadProgressDidChange(bytesSent: 100, imageSize: 100,
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | timestamp: Date())
136 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:328:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
326 | paused = false
327 | DispatchQueue.main.async { [weak self] in
328 | self?.delegate?.upgradeDidFail(inState: tmp, with: error)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
329 | // Release cyclic reference.
330 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:328:53: warning: sending 'tmp' risks causing data races; this is an error in the Swift 6 language mode
326 | paused = false
327 | DispatchQueue.main.async { [weak self] in
328 | self?.delegate?.upgradeDidFail(inState: tmp, with: error)
| |- warning: sending 'tmp' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'tmp' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
329 | // Release cyclic reference.
330 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:637:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
635 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { [weak self] in
636 | // Validation successful, begin with image upload.
637 | self?.upload()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
638 | }
639 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1076:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1074 | log(msg: "Waiting \(Int(configuration.estimatedSwapTime)) seconds before reconnect attempt...", atLevel: .info)
1075 | DispatchQueue.main.asyncAfter(deadline: .now() + remainingTime) { [weak self] in
1076 | self?.log(msg: "Reconnecting...", atLevel: .info)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
1077 | self?.reconnect()
1078 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1175:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1173 |
1174 | DispatchQueue.main.async { [weak self] in
1175 | self?.delegate?.uploadProgressDidChange(bytesSent: bytesSent, imageSize: imageSize, timestamp: timestamp)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
1176 | }
1177 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1190:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1188 |
1189 | DispatchQueue.main.async { [weak self] in
1190 | self?.delegate?.upgradeDidCancel(state: .cancelled)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
1191 | }
1192 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradePeripheralFinder.swift:44:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
42 |
43 | DispatchQueue.main.asyncAfter(deadline: .now() + Self.Timeout) { [weak self] in
44 | guard let self, let centralManager, let safeguardedDelegate,
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
45 | let searchCallback, centralManager.isScanning else { return }
46 | // If we're still alive and Central Manager has not stopped scanning,
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1026:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1024 |
1025 | // Disregard connected state.
1026 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1027 |
1028 | switch self.state { // FirmwareUpgradeState, not McuMgrTransportState
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1167:40: warning: variable 'images' was never mutated; consider changing to 'let' constant
1165 |
1166 | public func uploadProgressDidChange(bytesSent: Int, imageSize: Int, timestamp: Date) {
1167 | if bytesSent == imageSize, var images {
| `- warning: variable 'images' was never mutated; consider changing to 'let' constant
1168 | // An Image was sent. Mark as uploaded.
1169 | if let image = images.first(where: { !$0.uploaded && $0.data.count == imageSize }) {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:82:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 | if state != previousState {
81 | DispatchQueue.main.async { [weak self] in
82 | self?.delegate?.upgradeStateDidChange(from: previousState, to: state)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:82:61: warning: sending 'previousState' risks causing data races; this is an error in the Swift 6 language mode
80 | if state != previousState {
81 | DispatchQueue.main.async { [weak self] in
82 | self?.delegate?.upgradeStateDidChange(from: previousState, to: state)
| |- warning: sending 'previousState' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'previousState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:82:80: warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
80 | if state != previousState {
81 | DispatchQueue.main.async { [weak self] in
82 | self?.delegate?.upgradeStateDidChange(from: previousState, to: state)
| |- warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'state' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:294:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
292 | paused = false
293 | DispatchQueue.main.async { [weak self] in
294 | self?.delegate?.upgradeDidComplete()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
295 | // Release cyclic reference.
296 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:134:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | // Allow Library Apps to show 100% Progress in this case.
133 | DispatchQueue.main.async { [weak self] in
134 | self?.delegate?.uploadProgressDidChange(bytesSent: 100, imageSize: 100,
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | timestamp: Date())
136 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:328:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
326 | paused = false
327 | DispatchQueue.main.async { [weak self] in
328 | self?.delegate?.upgradeDidFail(inState: tmp, with: error)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
329 | // Release cyclic reference.
330 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:328:53: warning: sending 'tmp' risks causing data races; this is an error in the Swift 6 language mode
326 | paused = false
327 | DispatchQueue.main.async { [weak self] in
328 | self?.delegate?.upgradeDidFail(inState: tmp, with: error)
| |- warning: sending 'tmp' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'tmp' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
329 | // Release cyclic reference.
330 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:637:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
635 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { [weak self] in
636 | // Validation successful, begin with image upload.
637 | self?.upload()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
638 | }
639 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1076:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1074 | log(msg: "Waiting \(Int(configuration.estimatedSwapTime)) seconds before reconnect attempt...", atLevel: .info)
1075 | DispatchQueue.main.asyncAfter(deadline: .now() + remainingTime) { [weak self] in
1076 | self?.log(msg: "Reconnecting...", atLevel: .info)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
1077 | self?.reconnect()
1078 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1175:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1173 |
1174 | DispatchQueue.main.async { [weak self] in
1175 | self?.delegate?.uploadProgressDidChange(bytesSent: bytesSent, imageSize: imageSize, timestamp: timestamp)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
1176 | }
1177 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1190:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1188 |
1189 | DispatchQueue.main.async { [weak self] in
1190 | self?.delegate?.upgradeDidCancel(state: .cancelled)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
1191 | }
1192 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradePeripheralFinder.swift:44:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
42 |
43 | DispatchQueue.main.asyncAfter(deadline: .now() + Self.Timeout) { [weak self] in
44 | guard let self, let centralManager, let safeguardedDelegate,
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
45 | let searchCallback, centralManager.isScanning else { return }
46 | // If we're still alive and Central Manager has not stopped scanning,
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:474:10: warning: associated value 'groupCode' of 'Sendable'-conforming enum 'McuMgrError' has non-sendable type 'McuMgrGroupReturnCode'; this is an error in the Swift 6 language mode
472 | public enum McuMgrError: Error, LocalizedError {
473 | case returnCode(_ rc: McuMgrReturnCode)
474 | case groupCode(_ group: McuMgrGroupReturnCode)
| `- warning: associated value 'groupCode' of 'Sendable'-conforming enum 'McuMgrError' has non-sendable type 'McuMgrGroupReturnCode'; this is an error in the Swift 6 language mode
475 |
476 | public var errorDescription: String? {
:
486 | // MARK: - McuMgrGroupReturnCode
487 |
488 | public class McuMgrGroupReturnCode: CBORMappable {
| `- note: class 'McuMgrGroupReturnCode' does not conform to the 'Sendable' protocol
489 |
490 | // MARK: Public Properties
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:23:14: warning: associated value 'invalidKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
15 | <Key, Value> Out-of-Order Buffer.
16 | */
17 | public struct McuMgrCallbackOoOBuffer<Key: Hashable & Comparable, Value> {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
18 |
19 | // MARK: BufferError
:
21 | public enum BufferError: Error {
22 | case empty
23 | case invalidKey(_ key: Key)
| `- warning: associated value 'invalidKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
24 | case noValueForKey(_ key: Key)
25 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:24:14: warning: associated value 'noValueForKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
15 | <Key, Value> Out-of-Order Buffer.
16 | */
17 | public struct McuMgrCallbackOoOBuffer<Key: Hashable & Comparable, Value> {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
18 |
19 | // MARK: BufferError
:
22 | case empty
23 | case invalidKey(_ key: Key)
24 | case noValueForKey(_ key: Key)
| `- warning: associated value 'noValueForKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:68:23: warning: static property 'IMG_HEADER_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | public class McuMgrImageHeader {
67 |
68 | public static var IMG_HEADER_MAGIC: UInt32 = 0x96f3b83d
| |- warning: static property 'IMG_HEADER_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_HEADER_MAGIC' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_HEADER_MAGIC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static var IMG_HEADER_MAGIC_V1: UInt32 = 0x96f3b83c
70 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:69:23: warning: static property 'IMG_HEADER_MAGIC_V1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | public static var IMG_HEADER_MAGIC: UInt32 = 0x96f3b83d
69 | public static var IMG_HEADER_MAGIC_V1: UInt32 = 0x96f3b83c
| |- warning: static property 'IMG_HEADER_MAGIC_V1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_HEADER_MAGIC_V1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_HEADER_MAGIC_V1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | public static let MAGIC_OFFSET = 0
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:145:23: warning: static property 'IMG_TLV_UNPROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | public static let IMG_TLV_DEPENDENCY = 0x40
144 |
145 | public static var IMG_TLV_UNPROTECTED_INFO_MAGIC: UInt16 = 0x6907
| |- warning: static property 'IMG_TLV_UNPROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_TLV_UNPROTECTED_INFO_MAGIC' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_TLV_UNPROTECTED_INFO_MAGIC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public static var IMG_TLV_PROTECTED_INFO_MAGIC: UInt16 = 0x6908
147 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:146:23: warning: static property 'IMG_TLV_PROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 |
145 | public static var IMG_TLV_UNPROTECTED_INFO_MAGIC: UInt16 = 0x6907
146 | public static var IMG_TLV_PROTECTED_INFO_MAGIC: UInt16 = 0x6908
| |- warning: static property 'IMG_TLV_PROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_TLV_PROTECTED_INFO_MAGIC' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_TLV_PROTECTED_INFO_MAGIC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | public var tlvInfo: McuMgrImageTlvInfo?
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:175:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
173 | } catch let robBufferError {
174 | DispatchQueue.main.async {
175 | callback(response, robBufferError)
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
176 | }
177 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:175:30: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
173 | } catch let robBufferError {
174 | DispatchQueue.main.async {
175 | callback(response, robBufferError)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
176 | }
177 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:134:17: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
132 |
133 | DispatchQueue.main.async {
134 | callback(value)
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:134:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
132 |
133 | DispatchQueue.main.async {
134 | callback(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:474:10: warning: associated value 'groupCode' of 'Sendable'-conforming enum 'McuMgrError' has non-sendable type 'McuMgrGroupReturnCode'; this is an error in the Swift 6 language mode
472 | public enum McuMgrError: Error, LocalizedError {
473 | case returnCode(_ rc: McuMgrReturnCode)
474 | case groupCode(_ group: McuMgrGroupReturnCode)
| `- warning: associated value 'groupCode' of 'Sendable'-conforming enum 'McuMgrError' has non-sendable type 'McuMgrGroupReturnCode'; this is an error in the Swift 6 language mode
475 |
476 | public var errorDescription: String? {
:
486 | // MARK: - McuMgrGroupReturnCode
487 |
488 | public class McuMgrGroupReturnCode: CBORMappable {
| `- note: class 'McuMgrGroupReturnCode' does not conform to the 'Sendable' protocol
489 |
490 | // MARK: Public Properties
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:23:14: warning: associated value 'invalidKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
15 | <Key, Value> Out-of-Order Buffer.
16 | */
17 | public struct McuMgrCallbackOoOBuffer<Key: Hashable & Comparable, Value> {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
18 |
19 | // MARK: BufferError
:
21 | public enum BufferError: Error {
22 | case empty
23 | case invalidKey(_ key: Key)
| `- warning: associated value 'invalidKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
24 | case noValueForKey(_ key: Key)
25 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:24:14: warning: associated value 'noValueForKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
15 | <Key, Value> Out-of-Order Buffer.
16 | */
17 | public struct McuMgrCallbackOoOBuffer<Key: Hashable & Comparable, Value> {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
18 |
19 | // MARK: BufferError
:
22 | case empty
23 | case invalidKey(_ key: Key)
24 | case noValueForKey(_ key: Key)
| `- warning: associated value 'noValueForKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:68:23: warning: static property 'IMG_HEADER_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | public class McuMgrImageHeader {
67 |
68 | public static var IMG_HEADER_MAGIC: UInt32 = 0x96f3b83d
| |- warning: static property 'IMG_HEADER_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_HEADER_MAGIC' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_HEADER_MAGIC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static var IMG_HEADER_MAGIC_V1: UInt32 = 0x96f3b83c
70 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:69:23: warning: static property 'IMG_HEADER_MAGIC_V1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | public static var IMG_HEADER_MAGIC: UInt32 = 0x96f3b83d
69 | public static var IMG_HEADER_MAGIC_V1: UInt32 = 0x96f3b83c
| |- warning: static property 'IMG_HEADER_MAGIC_V1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_HEADER_MAGIC_V1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_HEADER_MAGIC_V1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | public static let MAGIC_OFFSET = 0
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:145:23: warning: static property 'IMG_TLV_UNPROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | public static let IMG_TLV_DEPENDENCY = 0x40
144 |
145 | public static var IMG_TLV_UNPROTECTED_INFO_MAGIC: UInt16 = 0x6907
| |- warning: static property 'IMG_TLV_UNPROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_TLV_UNPROTECTED_INFO_MAGIC' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_TLV_UNPROTECTED_INFO_MAGIC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public static var IMG_TLV_PROTECTED_INFO_MAGIC: UInt16 = 0x6908
147 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:146:23: warning: static property 'IMG_TLV_PROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 |
145 | public static var IMG_TLV_UNPROTECTED_INFO_MAGIC: UInt16 = 0x6907
146 | public static var IMG_TLV_PROTECTED_INFO_MAGIC: UInt16 = 0x6908
| |- warning: static property 'IMG_TLV_PROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_TLV_PROTECTED_INFO_MAGIC' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_TLV_PROTECTED_INFO_MAGIC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | public var tlvInfo: McuMgrImageTlvInfo?
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:175:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
173 | } catch let robBufferError {
174 | DispatchQueue.main.async {
175 | callback(response, robBufferError)
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
176 | }
177 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:175:30: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
173 | } catch let robBufferError {
174 | DispatchQueue.main.async {
175 | callback(response, robBufferError)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
176 | }
177 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:134:17: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
132 |
133 | DispatchQueue.main.async {
134 | callback(value)
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:134:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
132 |
133 | DispatchQueue.main.async {
134 | callback(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:474:10: warning: associated value 'groupCode' of 'Sendable'-conforming enum 'McuMgrError' has non-sendable type 'McuMgrGroupReturnCode'; this is an error in the Swift 6 language mode
472 | public enum McuMgrError: Error, LocalizedError {
473 | case returnCode(_ rc: McuMgrReturnCode)
474 | case groupCode(_ group: McuMgrGroupReturnCode)
| `- warning: associated value 'groupCode' of 'Sendable'-conforming enum 'McuMgrError' has non-sendable type 'McuMgrGroupReturnCode'; this is an error in the Swift 6 language mode
475 |
476 | public var errorDescription: String? {
:
486 | // MARK: - McuMgrGroupReturnCode
487 |
488 | public class McuMgrGroupReturnCode: CBORMappable {
| `- note: class 'McuMgrGroupReturnCode' does not conform to the 'Sendable' protocol
489 |
490 | // MARK: Public Properties
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:23:14: warning: associated value 'invalidKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
15 | <Key, Value> Out-of-Order Buffer.
16 | */
17 | public struct McuMgrCallbackOoOBuffer<Key: Hashable & Comparable, Value> {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
18 |
19 | // MARK: BufferError
:
21 | public enum BufferError: Error {
22 | case empty
23 | case invalidKey(_ key: Key)
| `- warning: associated value 'invalidKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
24 | case noValueForKey(_ key: Key)
25 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:24:14: warning: associated value 'noValueForKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
15 | <Key, Value> Out-of-Order Buffer.
16 | */
17 | public struct McuMgrCallbackOoOBuffer<Key: Hashable & Comparable, Value> {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
18 |
19 | // MARK: BufferError
:
22 | case empty
23 | case invalidKey(_ key: Key)
24 | case noValueForKey(_ key: Key)
| `- warning: associated value 'noValueForKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:68:23: warning: static property 'IMG_HEADER_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | public class McuMgrImageHeader {
67 |
68 | public static var IMG_HEADER_MAGIC: UInt32 = 0x96f3b83d
| |- warning: static property 'IMG_HEADER_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_HEADER_MAGIC' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_HEADER_MAGIC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static var IMG_HEADER_MAGIC_V1: UInt32 = 0x96f3b83c
70 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:69:23: warning: static property 'IMG_HEADER_MAGIC_V1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | public static var IMG_HEADER_MAGIC: UInt32 = 0x96f3b83d
69 | public static var IMG_HEADER_MAGIC_V1: UInt32 = 0x96f3b83c
| |- warning: static property 'IMG_HEADER_MAGIC_V1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_HEADER_MAGIC_V1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_HEADER_MAGIC_V1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | public static let MAGIC_OFFSET = 0
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:145:23: warning: static property 'IMG_TLV_UNPROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | public static let IMG_TLV_DEPENDENCY = 0x40
144 |
145 | public static var IMG_TLV_UNPROTECTED_INFO_MAGIC: UInt16 = 0x6907
| |- warning: static property 'IMG_TLV_UNPROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_TLV_UNPROTECTED_INFO_MAGIC' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_TLV_UNPROTECTED_INFO_MAGIC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public static var IMG_TLV_PROTECTED_INFO_MAGIC: UInt16 = 0x6908
147 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:146:23: warning: static property 'IMG_TLV_PROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 |
145 | public static var IMG_TLV_UNPROTECTED_INFO_MAGIC: UInt16 = 0x6907
146 | public static var IMG_TLV_PROTECTED_INFO_MAGIC: UInt16 = 0x6908
| |- warning: static property 'IMG_TLV_PROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_TLV_PROTECTED_INFO_MAGIC' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_TLV_PROTECTED_INFO_MAGIC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | public var tlvInfo: McuMgrImageTlvInfo?
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:175:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
173 | } catch let robBufferError {
174 | DispatchQueue.main.async {
175 | callback(response, robBufferError)
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
176 | }
177 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:175:30: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
173 | } catch let robBufferError {
174 | DispatchQueue.main.async {
175 | callback(response, robBufferError)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
176 | }
177 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:134:17: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
132 |
133 | DispatchQueue.main.async {
134 | callback(value)
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:134:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
132 |
133 | DispatchQueue.main.async {
134 | callback(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:474:10: warning: associated value 'groupCode' of 'Sendable'-conforming enum 'McuMgrError' has non-sendable type 'McuMgrGroupReturnCode'; this is an error in the Swift 6 language mode
472 | public enum McuMgrError: Error, LocalizedError {
473 | case returnCode(_ rc: McuMgrReturnCode)
474 | case groupCode(_ group: McuMgrGroupReturnCode)
| `- warning: associated value 'groupCode' of 'Sendable'-conforming enum 'McuMgrError' has non-sendable type 'McuMgrGroupReturnCode'; this is an error in the Swift 6 language mode
475 |
476 | public var errorDescription: String? {
:
486 | // MARK: - McuMgrGroupReturnCode
487 |
488 | public class McuMgrGroupReturnCode: CBORMappable {
| `- note: class 'McuMgrGroupReturnCode' does not conform to the 'Sendable' protocol
489 |
490 | // MARK: Public Properties
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:23:14: warning: associated value 'invalidKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
15 | <Key, Value> Out-of-Order Buffer.
16 | */
17 | public struct McuMgrCallbackOoOBuffer<Key: Hashable & Comparable, Value> {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
18 |
19 | // MARK: BufferError
:
21 | public enum BufferError: Error {
22 | case empty
23 | case invalidKey(_ key: Key)
| `- warning: associated value 'invalidKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
24 | case noValueForKey(_ key: Key)
25 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:24:14: warning: associated value 'noValueForKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
15 | <Key, Value> Out-of-Order Buffer.
16 | */
17 | public struct McuMgrCallbackOoOBuffer<Key: Hashable & Comparable, Value> {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
18 |
19 | // MARK: BufferError
:
22 | case empty
23 | case invalidKey(_ key: Key)
24 | case noValueForKey(_ key: Key)
| `- warning: associated value 'noValueForKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:68:23: warning: static property 'IMG_HEADER_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | public class McuMgrImageHeader {
67 |
68 | public static var IMG_HEADER_MAGIC: UInt32 = 0x96f3b83d
| |- warning: static property 'IMG_HEADER_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_HEADER_MAGIC' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_HEADER_MAGIC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static var IMG_HEADER_MAGIC_V1: UInt32 = 0x96f3b83c
70 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:69:23: warning: static property 'IMG_HEADER_MAGIC_V1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | public static var IMG_HEADER_MAGIC: UInt32 = 0x96f3b83d
69 | public static var IMG_HEADER_MAGIC_V1: UInt32 = 0x96f3b83c
| |- warning: static property 'IMG_HEADER_MAGIC_V1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_HEADER_MAGIC_V1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_HEADER_MAGIC_V1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | public static let MAGIC_OFFSET = 0
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:145:23: warning: static property 'IMG_TLV_UNPROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | public static let IMG_TLV_DEPENDENCY = 0x40
144 |
145 | public static var IMG_TLV_UNPROTECTED_INFO_MAGIC: UInt16 = 0x6907
| |- warning: static property 'IMG_TLV_UNPROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_TLV_UNPROTECTED_INFO_MAGIC' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_TLV_UNPROTECTED_INFO_MAGIC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public static var IMG_TLV_PROTECTED_INFO_MAGIC: UInt16 = 0x6908
147 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:146:23: warning: static property 'IMG_TLV_PROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 |
145 | public static var IMG_TLV_UNPROTECTED_INFO_MAGIC: UInt16 = 0x6907
146 | public static var IMG_TLV_PROTECTED_INFO_MAGIC: UInt16 = 0x6908
| |- warning: static property 'IMG_TLV_PROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_TLV_PROTECTED_INFO_MAGIC' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_TLV_PROTECTED_INFO_MAGIC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | public var tlvInfo: McuMgrImageTlvInfo?
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:175:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
173 | } catch let robBufferError {
174 | DispatchQueue.main.async {
175 | callback(response, robBufferError)
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
176 | }
177 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:175:30: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
173 | } catch let robBufferError {
174 | DispatchQueue.main.async {
175 | callback(response, robBufferError)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
176 | }
177 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:134:17: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
132 |
133 | DispatchQueue.main.async {
134 | callback(value)
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:134:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
132 |
133 | DispatchQueue.main.async {
134 | callback(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:474:10: warning: associated value 'groupCode' of 'Sendable'-conforming enum 'McuMgrError' has non-sendable type 'McuMgrGroupReturnCode'; this is an error in the Swift 6 language mode
472 | public enum McuMgrError: Error, LocalizedError {
473 | case returnCode(_ rc: McuMgrReturnCode)
474 | case groupCode(_ group: McuMgrGroupReturnCode)
| `- warning: associated value 'groupCode' of 'Sendable'-conforming enum 'McuMgrError' has non-sendable type 'McuMgrGroupReturnCode'; this is an error in the Swift 6 language mode
475 |
476 | public var errorDescription: String? {
:
486 | // MARK: - McuMgrGroupReturnCode
487 |
488 | public class McuMgrGroupReturnCode: CBORMappable {
| `- note: class 'McuMgrGroupReturnCode' does not conform to the 'Sendable' protocol
489 |
490 | // MARK: Public Properties
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:23:14: warning: associated value 'invalidKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
15 | <Key, Value> Out-of-Order Buffer.
16 | */
17 | public struct McuMgrCallbackOoOBuffer<Key: Hashable & Comparable, Value> {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
18 |
19 | // MARK: BufferError
:
21 | public enum BufferError: Error {
22 | case empty
23 | case invalidKey(_ key: Key)
| `- warning: associated value 'invalidKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
24 | case noValueForKey(_ key: Key)
25 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:24:14: warning: associated value 'noValueForKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
15 | <Key, Value> Out-of-Order Buffer.
16 | */
17 | public struct McuMgrCallbackOoOBuffer<Key: Hashable & Comparable, Value> {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
18 |
19 | // MARK: BufferError
:
22 | case empty
23 | case invalidKey(_ key: Key)
24 | case noValueForKey(_ key: Key)
| `- warning: associated value 'noValueForKey' of 'Sendable'-conforming enum 'BufferError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:68:23: warning: static property 'IMG_HEADER_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | public class McuMgrImageHeader {
67 |
68 | public static var IMG_HEADER_MAGIC: UInt32 = 0x96f3b83d
| |- warning: static property 'IMG_HEADER_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_HEADER_MAGIC' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_HEADER_MAGIC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static var IMG_HEADER_MAGIC_V1: UInt32 = 0x96f3b83c
70 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:69:23: warning: static property 'IMG_HEADER_MAGIC_V1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | public static var IMG_HEADER_MAGIC: UInt32 = 0x96f3b83d
69 | public static var IMG_HEADER_MAGIC_V1: UInt32 = 0x96f3b83c
| |- warning: static property 'IMG_HEADER_MAGIC_V1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_HEADER_MAGIC_V1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_HEADER_MAGIC_V1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | public static let MAGIC_OFFSET = 0
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:145:23: warning: static property 'IMG_TLV_UNPROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | public static let IMG_TLV_DEPENDENCY = 0x40
144 |
145 | public static var IMG_TLV_UNPROTECTED_INFO_MAGIC: UInt16 = 0x6907
| |- warning: static property 'IMG_TLV_UNPROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_TLV_UNPROTECTED_INFO_MAGIC' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_TLV_UNPROTECTED_INFO_MAGIC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public static var IMG_TLV_PROTECTED_INFO_MAGIC: UInt16 = 0x6908
147 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrImage.swift:146:23: warning: static property 'IMG_TLV_PROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 |
145 | public static var IMG_TLV_UNPROTECTED_INFO_MAGIC: UInt16 = 0x6907
146 | public static var IMG_TLV_PROTECTED_INFO_MAGIC: UInt16 = 0x6908
| |- warning: static property 'IMG_TLV_PROTECTED_INFO_MAGIC' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'IMG_TLV_PROTECTED_INFO_MAGIC' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'IMG_TLV_PROTECTED_INFO_MAGIC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | public var tlvInfo: McuMgrImageTlvInfo?
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:175:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
173 | } catch let robBufferError {
174 | DispatchQueue.main.async {
175 | callback(response, robBufferError)
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
176 | }
177 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:175:30: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
173 | } catch let robBufferError {
174 | DispatchQueue.main.async {
175 | callback(response, robBufferError)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
176 | }
177 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:134:17: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
132 |
133 | DispatchQueue.main.async {
134 | callback(value)
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:134:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
132 |
133 | DispatchQueue.main.async {
134 | callback(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrPackage.swift:101:14: warning: associated value 'resourceNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'FirmwareUpgradeResource'; this is an error in the Swift 6 language mode
99 | case deniedAccessToScopedResource, notAValidDocument, unableToAccessCacheDirectory
100 | case manifestFileNotFound, manifestImageNotFound
101 | case resourceNotFound(_ resource: FirmwareUpgradeResource)
| `- warning: associated value 'resourceNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'FirmwareUpgradeResource'; this is an error in the Swift 6 language mode
102 |
103 | public var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeController.swift:38:13: note: consider making enum 'FirmwareUpgradeResource' conform to the 'Sendable' protocol
36 | // MARK: FirmwareUpgradeResource
37 |
38 | public enum FirmwareUpgradeResource: CustomStringConvertible {
| `- note: consider making enum 'FirmwareUpgradeResource' conform to the 'Sendable' protocol
39 | case file(name: String)
40 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrPackage.swift:101:14: warning: associated value 'resourceNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'FirmwareUpgradeResource'; this is an error in the Swift 6 language mode
99 | case deniedAccessToScopedResource, notAValidDocument, unableToAccessCacheDirectory
100 | case manifestFileNotFound, manifestImageNotFound
101 | case resourceNotFound(_ resource: FirmwareUpgradeResource)
| `- warning: associated value 'resourceNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'FirmwareUpgradeResource'; this is an error in the Swift 6 language mode
102 |
103 | public var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeController.swift:38:13: note: consider making enum 'FirmwareUpgradeResource' conform to the 'Sendable' protocol
36 | // MARK: FirmwareUpgradeResource
37 |
38 | public enum FirmwareUpgradeResource: CustomStringConvertible {
| `- note: consider making enum 'FirmwareUpgradeResource' conform to the 'Sendable' protocol
39 | case file(name: String)
40 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrPackage.swift:101:14: warning: associated value 'resourceNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'FirmwareUpgradeResource'; this is an error in the Swift 6 language mode
99 | case deniedAccessToScopedResource, notAValidDocument, unableToAccessCacheDirectory
100 | case manifestFileNotFound, manifestImageNotFound
101 | case resourceNotFound(_ resource: FirmwareUpgradeResource)
| `- warning: associated value 'resourceNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'FirmwareUpgradeResource'; this is an error in the Swift 6 language mode
102 |
103 | public var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeController.swift:38:13: note: consider making enum 'FirmwareUpgradeResource' conform to the 'Sendable' protocol
36 | // MARK: FirmwareUpgradeResource
37 |
38 | public enum FirmwareUpgradeResource: CustomStringConvertible {
| `- note: consider making enum 'FirmwareUpgradeResource' conform to the 'Sendable' protocol
39 | case file(name: String)
40 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrPackage.swift:101:14: warning: associated value 'resourceNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'FirmwareUpgradeResource'; this is an error in the Swift 6 language mode
99 | case deniedAccessToScopedResource, notAValidDocument, unableToAccessCacheDirectory
100 | case manifestFileNotFound, manifestImageNotFound
101 | case resourceNotFound(_ resource: FirmwareUpgradeResource)
| `- warning: associated value 'resourceNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'FirmwareUpgradeResource'; this is an error in the Swift 6 language mode
102 |
103 | public var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeController.swift:38:13: note: consider making enum 'FirmwareUpgradeResource' conform to the 'Sendable' protocol
36 | // MARK: FirmwareUpgradeResource
37 |
38 | public enum FirmwareUpgradeResource: CustomStringConvertible {
| `- note: consider making enum 'FirmwareUpgradeResource' conform to the 'Sendable' protocol
39 | case file(name: String)
40 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrPackage.swift:101:14: warning: associated value 'resourceNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'FirmwareUpgradeResource'; this is an error in the Swift 6 language mode
99 | case deniedAccessToScopedResource, notAValidDocument, unableToAccessCacheDirectory
100 | case manifestFileNotFound, manifestImageNotFound
101 | case resourceNotFound(_ resource: FirmwareUpgradeResource)
| `- warning: associated value 'resourceNotFound' of 'Sendable'-conforming enum 'Error' has non-sendable type 'FirmwareUpgradeResource'; this is an error in the Swift 6 language mode
102 |
103 | public var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeController.swift:38:13: note: consider making enum 'FirmwareUpgradeResource' conform to the 'Sendable' protocol
36 | // MARK: FirmwareUpgradeResource
37 |
38 | public enum FirmwareUpgradeResource: CustomStringConvertible {
| `- note: consider making enum 'FirmwareUpgradeResource' conform to the 'Sendable' protocol
39 | case file(name: String)
40 |
[203/266] Compiling iOSMcuManagerLibrary McuMgrTransport.swift
[204/266] Compiling iOSMcuManagerLibrary McuMgrUploadPipeline.swift
[205/266] Compiling iOSMcuManagerLibrary CBOR+String.swift
[206/266] Compiling iOSMcuManagerLibrary ResultLock.swift
[207/266] Compiling iOSMcuManagerLibrary UTI.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[213/266] Compiling iOS_Common_Libraries TemperatureFlag.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[214/266] Compiling iOS_Common_Libraries TemperatureMeasurement.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[215/266] Compiling iOS_Common_Libraries BitField.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[216/266] Compiling iOS_Common_Libraries PasswordField.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[217/266] Compiling iOS_Common_Libraries PipelineManager.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[218/266] Compiling iOS_Common_Libraries PipelineStage.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[219/266] Compiling iOS_Common_Libraries PipelineView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[220/266] Compiling iOS_Common_Libraries ProgressView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[221/266] Compiling iOS_Common_Libraries RSSIShape.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[222/266] Compiling iOS_Common_Libraries RSSIView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[223/266] Compiling iOS_Common_Libraries SourceCodeLinkView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[224/266] Compiling iOS_Common_Libraries DevZoneLinkView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[225/266] Compiling iOS_Common_Libraries DotView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[226/266] Compiling iOS_Common_Libraries FPSCounter.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[227/266] Compiling iOS_Common_Libraries IndeterminateProgressView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[228/266] Compiling iOS_Common_Libraries InlinePicker.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[229/266] Compiling iOS_Common_Libraries InlineSegmentedControlPicker.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[230/266] Compiling iOS_Common_Libraries NoContentView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[231/266] Compiling iOS_Common_Libraries NordicDataField.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[232/266] Emitting module iOS_Common_Libraries
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[233/266] Compiling iOS_Common_Libraries RSSI.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[234/266] Compiling iOS_Common_Libraries LabelStyle.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[235/266] Compiling iOS_Common_Libraries LabeledContentStyle.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[236/266] Compiling iOS_Common_Libraries TextFieldAlertModifier.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[237/266] Compiling iOS_Common_Libraries AppIconView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[238/266] Compiling iOS_Common_Libraries BadgeView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[239/266] Compiling iOS_Common_Libraries BlinkingCursorView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[240/266] Compiling iOS_Common_Libraries CancellableTextField.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[241/266] Compiling iOS_Common_Libraries Cache.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[242/266] Compiling iOS_Common_Libraries Constant.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[243/266] Compiling iOS_Common_Libraries ErrorEvent.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[244/266] Compiling iOS_Common_Libraries Haptic.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[245/266] Compiling iOS_Common_Libraries LogLevel.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[246/266] Compiling iOS_Common_Libraries LogRecord.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[247/266] Compiling iOS_Common_Libraries Option.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[248/266] Compiling iOS_Common_Libraries Preview.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
Fetching https://github.com/valpackett/SwiftCBOR.git
Fetching https://github.com/nordicsemi/IOS-Common-Libraries
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/nordicsemi/IOS-BLE-Library
[1/5085] Fetching ios-ble-library
[2/6660] Fetching ios-ble-library, swiftcbor
[18/8739] Fetching ios-ble-library, swiftcbor, ios-common-libraries
[447/15250] Fetching ios-ble-library, swiftcbor, ios-common-libraries, zipfoundation
Fetched https://github.com/nordicsemi/IOS-BLE-Library from cache (1.19s)
Fetched https://github.com/valpackett/SwiftCBOR.git from cache (1.19s)
[4098/8590] Fetching ios-common-libraries, zipfoundation
Fetched https://github.com/nordicsemi/IOS-Common-Libraries from cache (1.78s)
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (1.78s)
Computing version for https://github.com/nordicsemi/IOS-Common-Libraries
Computed https://github.com/nordicsemi/IOS-Common-Libraries at 0.2.5 (2.40s)
Computing version for https://github.com/nordicsemi/IOS-BLE-Library
Computed https://github.com/nordicsemi/IOS-BLE-Library at 0.4.5 (0.61s)
Fetching https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git
[1/9051] Fetching ios-corebluetooth-mock
Fetched https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git from cache (1.60s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.20 (2.12s)
Computing version for https://github.com/valpackett/SwiftCBOR.git
Computed https://github.com/valpackett/SwiftCBOR.git at 0.6.0 (0.59s)
Computing version for https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git
Computed https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git at 1.1.1 (0.47s)
Creating working copy for https://github.com/valpackett/SwiftCBOR.git
Working copy of https://github.com/valpackett/SwiftCBOR.git resolved at 0.6.0
Creating working copy for https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git
Working copy of https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git resolved at 1.1.1
Creating working copy for https://github.com/nordicsemi/IOS-Common-Libraries
Working copy of https://github.com/nordicsemi/IOS-Common-Libraries resolved at 0.2.5
Creating working copy for https://github.com/nordicsemi/IOS-BLE-Library
Working copy of https://github.com/nordicsemi/IOS-BLE-Library resolved at 0.4.5
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.20
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/PrivacyInfo.xcprivacy
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/4] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Emitting module MockGeneratorTool
[3/6] Compiling MockGeneratorTool main.swift
[3/5] Linking MockGeneratorTool-tool
[4/5] Applying MockGeneratorTool-tool
[0/1] Planning build
[1/1] Compiling plugin MockGenerator
Building for debugging...
[1/27] Write swift-version-2F0A5646E1D333AE.txt
[2/169] Linking MockGeneratorTool-tool
[3/169] MockCopy Publishers+Connectable.swift
[4/169] MockCopy UnimplementedError.swift
[4/169] MockCopy Queue.swift
[4/169] MockCopy Publishers+FailablePrefix.swift.swift
[7/169] MockCopy Publishers+GuestList.swift
[8/169] MockCopy RSSI.swift
[9/169] MockCopy Data+Ext.swift.swift
[10/169] MockCopy ContinuationSubscriber.swift
[10/169] MockCopy Publishers+Bluetooth.swift
[12/169] MockCopy Publishers+Async.swift
[13/169] MockCopy Logger.swift
[14/169] MockCopy CBManagerState+Ext.swift
[15/169] MockCopy CBManagerState.swift
[16/169] MockCopy AdvertisementData.swift
[17/169] MockCopy AsyncCharacteristicData.swift
[17/169] MockCopy ReactivePeripheralDelegate.swift
[19/169] MockCopy PeripheralError.swift
[19/169] MockCopy Peripheral.swift
[21/169] MockCopy Peripheral+Writer.swift
[22/169] MockCopy ReactiveCentralManagerDelegate.swift
[23/169] MockCopy CentralManager.swift
[24/169] MockCopy ScanResult.swift
[26/168] Compiling CoreBluetoothMock CBMAttributes.swift
[27/168] Compiling CoreBluetoothMock CBMDictionary.swift
[28/169] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
[29/169] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[30/169] Compiling CoreBluetoothMock CBMCentralManagerNative.swift
[31/169] Compiling CoreBluetoothMock CBMPeripheralDelegate.swift
[34/171] Emitting module ZIPFoundation
[35/171] Compiling CoreBluetoothMock CBMPeripheralPreview.swift
[36/171] Compiling CoreBluetoothMock CBMCentralManager.swift
[37/171] Compiling CoreBluetoothMock CBMCentralManagerFactory.swift
[38/171] Compiling CoreBluetoothMock CBMCentralManagerMock.swift
[39/171] Compiling CoreBluetoothMock CBMMutableAttributes.swift
[40/171] Compiling CoreBluetoothMock CBMPeer.swift
[41/171] Compiling CoreBluetoothMock CBMPeripheral.swift
[42/173] Compiling iOS_Common_Libraries UInt32Parser.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[43/173] Compiling iOS_Common_Libraries UInt8Parser.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[44/173] Compiling iOS_Common_Libraries RecordOpcode.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[45/173] Compiling iOS_Common_Libraries RecordOperator.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[46/173] Compiling iOS_Common_Libraries RecordResponseStatus.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[47/173] Compiling iOS_Common_Libraries SensorLocation.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[48/173] Compiling iOS_Common_Libraries SensorType.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[49/173] Compiling iOS_Common_Libraries Status.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[50/173] Compiling iOS_Common_Libraries GlucoseMeasurement.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[51/181] Compiling iOS_Common_Libraries HeartRateMeasurement.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[52/181] Compiling iOS_Common_Libraries HeartRateSensorContact.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[53/181] Compiling iOS_Common_Libraries HeartRateSensorLocation.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[54/181] Compiling iOS_Common_Libraries NordicDataParser.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[55/181] Compiling iOS_Common_Libraries ParsingError.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[56/181] Compiling iOS_Common_Libraries TemperatureFlag.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[57/181] Compiling iOS_Common_Libraries TemperatureMeasurement.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[58/181] Compiling iOS_Common_Libraries BitField.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[62/181] Compiling CoreBluetoothMock CBMManagerTypes.swift
[66/181] Compiling CoreBluetoothMock CBMCentralManagerDelegate.swift
[67/181] Compiling CoreBluetoothMock CBMCentralManagerDelegateProxy.swift
[68/181] Emitting module SwiftCBOR
[69/181] Compiling CoreBluetoothMock CBMCentralSpec.swift
[70/181] Compiling CoreBluetoothMock CBMCentralSpecDelegate.swift
[75/181] Compiling iOS_Common_Libraries Cache.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[76/181] Compiling iOS_Common_Libraries Constant.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[77/181] Compiling iOS_Common_Libraries ErrorEvent.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[78/181] Compiling iOS_Common_Libraries Haptic.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[79/181] Compiling iOS_Common_Libraries LogLevel.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[80/181] Compiling iOS_Common_Libraries LogRecord.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[81/181] Compiling iOS_Common_Libraries Option.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[82/181] Compiling iOS_Common_Libraries Preview.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[83/181] Compiling CoreBluetoothMock CBMPeripheralSpec.swift
[84/181] Compiling CoreBluetoothMock CBMPeripheralSpecDelegate.swift
[85/181] Compiling CoreBluetoothMock CBMATTRequest.swift
[86/181] Emitting module CoreBluetoothMock
[90/181] Compiling CoreBluetoothMock UART.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[91/181] Compiling iOS_Common_Libraries String.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[92/181] Compiling iOS_Common_Libraries Task.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[93/181] Compiling iOS_Common_Libraries UIStackView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[94/181] Compiling iOS_Common_Libraries UIView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[95/181] Compiling iOS_Common_Libraries View.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[96/181] Compiling iOS_Common_Libraries HTTPRequest.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[97/181] Compiling iOS_Common_Libraries Network.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[98/181] Compiling iOS_Common_Libraries NetworkResponse.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[99/181] Compiling CoreBluetoothMock CBMCentral.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[100/181] Compiling CoreBluetoothMock CBMPeripheralManager.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[101/181] Compiling ZIPFoundation URL+ZIP.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[102/181] Compiling ZIPFoundation resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[103/181] Compiling CoreBluetoothMock CBMPeripheralManagerMock.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[104/181] Compiling CoreBluetoothMock CBMPeripheralManagerNative.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[107/181] Compiling CoreBluetoothMock Blinky.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[108/181] Compiling iOS_Common_Libraries DevZoneLinkView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[109/181] Compiling iOS_Common_Libraries DotView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[110/181] Compiling iOS_Common_Libraries FPSCounter.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[111/181] Compiling iOS_Common_Libraries IndeterminateProgressView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[112/181] Compiling iOS_Common_Libraries InlinePicker.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[113/181] Compiling iOS_Common_Libraries InlineSegmentedControlPicker.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[114/181] Compiling iOS_Common_Libraries NoContentView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[115/181] Compiling iOS_Common_Libraries NordicDataField.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[116/181] Compiling iOS_Common_Libraries RSSI.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[117/181] Compiling iOS_Common_Libraries LabelStyle.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[118/181] Compiling iOS_Common_Libraries LabeledContentStyle.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[119/181] Compiling iOS_Common_Libraries TextFieldAlertModifier.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[120/181] Compiling iOS_Common_Libraries AppIconView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[121/181] Compiling iOS_Common_Libraries BadgeView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[123/181] Compiling iOS_Common_Libraries BlinkingCursorView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[125/181] Compiling iOS_Common_Libraries CancellableTextField.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[131/181] Compiling SwiftCBOR Util.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[134/181] Emitting module iOS_Common_Libraries
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[140/181] Compiling CoreBluetoothMock CBMPeripheralDelegateProxy.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[160/181] Compiling iOS_Common_Libraries PasswordField.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[161/181] Compiling iOS_Common_Libraries PipelineManager.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[162/181] Compiling iOS_Common_Libraries PipelineStage.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[163/181] Compiling iOS_Common_Libraries PipelineView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[164/181] Compiling iOS_Common_Libraries ProgressView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[165/181] Compiling iOS_Common_Libraries RSSIShape.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[166/181] Compiling iOS_Common_Libraries RSSIView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
[167/181] Compiling iOS_Common_Libraries SourceCodeLinkView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Extensions/AutoLayout.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Safe Anchor(s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/PrivacyInfo.xcprivacy
BUILD FAILURE 6.1 macosSpm