Build Information
Failed to build iOSMcuManagerLibrary, reference main (0394a8), with Swift 6.1 for macOS (SPM) on 30 Apr 2026 13:42:31 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
20 | understand anything.
21 | */
22 | internal final class McuMgrBleROBWriteBuffer {
| `- note: class 'McuMgrBleROBWriteBuffer' does not conform to the 'Sendable' protocol
23 |
24 | /**
:
123 | // If after 15ms we have not received peripheralIsReady(), override.
124 | lock.asyncAfter(deadline: .now() + .milliseconds(Self.CONNECTION_BUFFER_WAIT_TIME_MS)) { [weak self] in
125 | guard let self, pausedWritesWithoutResponse else { return }
| `- warning: capture of 'self' with non-sendable type 'McuMgrBleROBWriteBuffer?' in a '@Sendable' closure
126 | log(msg: "! Override Peripheral Ready For Write Without Response", atLevel: .debug)
127 | overridePeripheralNotReadyForWriteWithoutResponse = true
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:128:51: warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a '@Sendable' closure
126 | log(msg: "! Override Peripheral Ready For Write Without Response", atLevel: .debug)
127 | overridePeripheralNotReadyForWriteWithoutResponse = true
128 | unsafe_writeThroughWindow(to: peripheral)
| `- warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a '@Sendable' closure
129 | }
130 | return
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBPeripheral.h:55:28: note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
53 | */
54 | NS_CLASS_AVAILABLE(10_7, 5_0)
55 | CB_EXTERN_CLASS @interface CBPeripheral : CBPeer
| `- note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
56 |
57 | /*!
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleTransport.swift:252:24: warning: capture of 'self' with non-sendable type 'McuMgrBleTransport?' in a '@Sendable' closure
35 | // MARK: - McuMgrBleTransport
36 |
37 | public class McuMgrBleTransport: NSObject {
| `- note: class 'McuMgrBleTransport' does not conform to the 'Sendable' protocol
38 |
39 | /// The CBCentralManager instance from which the peripheral was obtained.
:
250 | operationQueue.addOperation { [weak self] in
251 | for i in 0..<McuMgrBleTransportConstant.MAX_RETRIES {
252 | switch self?._send(data: data, timeoutInSeconds: timeout) {
| `- warning: capture of 'self' with non-sendable type 'McuMgrBleTransport?' in a '@Sendable' closure
253 | case .failure(McuMgrTransportError.waitAndRetry):
254 | let waitInterval = min(timeout, McuMgrBleTransportConstant.WAIT_AND_RETRY_INTERVAL)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleTransport.swift:278:25: warning: capture of 'callback' with non-sendable type 'McuMgrCallback<T>' (aka '(Optional<T>, Optional<any Error>) -> ()') in a '@Sendable' closure
276 | log(msg: error.localizedDescription, atLevel: .error)
277 | DispatchQueue.main.async {
278 | callback(nil, error)
| |- warning: capture of 'callback' with non-sendable type 'McuMgrCallback<T>' (aka '(Optional<T>, Optional<any Error>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
279 | }
280 | return
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleTransport.swift:88:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
86 | didSet {
87 | DispatchQueue.main.async {
88 | self.notifyPeripheralDelegate()
| |- 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
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleTransport.swift:122:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
120 | didSet {
121 | DispatchQueue.main.async {
122 | self.notifyPeripheralDelegate()
| |- 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
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:86:13: warning: capture of 'self' with non-sendable type 'McuMgrBleROBWriteBuffer' in a '@Sendable' closure
20 | understand anything.
21 | */
22 | internal final class McuMgrBleROBWriteBuffer {
| `- note: class 'McuMgrBleROBWriteBuffer' does not conform to the 'Sendable' protocol
23 |
24 | /**
:
84 | // This lock guarantees parallel writes are not interleaved with each other.
85 | lock.async { [unowned self] in
86 | window.append(contentsOf: Write.split(writeNumber, sequenceNumber: sequenceNumber, chunks: data, peripheral: peripheral, characteristic: characteristic, callback: callback))
| `- warning: capture of 'self' with non-sendable type 'McuMgrBleROBWriteBuffer' in a '@Sendable' closure
87 | window.sort(by: <)
88 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:86:122: warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a '@Sendable' closure
84 | // This lock guarantees parallel writes are not interleaved with each other.
85 | lock.async { [unowned self] in
86 | window.append(contentsOf: Write.split(writeNumber, sequenceNumber: sequenceNumber, chunks: data, peripheral: peripheral, characteristic: characteristic, callback: callback))
| `- warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a '@Sendable' closure
87 | window.sort(by: <)
88 | #if DEBUG
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBPeripheral.h:55:28: note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
53 | */
54 | NS_CLASS_AVAILABLE(10_7, 5_0)
55 | CB_EXTERN_CLASS @interface CBPeripheral : CBPeer
| `- note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
56 |
57 | /*!
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
8 | import Foundation
9 | import Dispatch
10 | import CoreBluetooth
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
11 |
12 | // MARK: - McuMgrBleROBWriteBuffer
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:86:150: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a '@Sendable' closure
84 | // This lock guarantees parallel writes are not interleaved with each other.
85 | lock.async { [unowned self] in
86 | window.append(contentsOf: Write.split(writeNumber, sequenceNumber: sequenceNumber, chunks: data, peripheral: peripheral, characteristic: characteristic, callback: callback))
| `- warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a '@Sendable' closure
87 | window.sort(by: <)
88 | #if DEBUG
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
55 | */
56 | NS_CLASS_AVAILABLE(10_7, 5_0)
57 | CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
| `- note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
58 |
59 | /*!
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:86:176: warning: capture of 'callback' with non-sendable type '(Data?, McuMgrTransportError?) -> Void' in a '@Sendable' closure
84 | // This lock guarantees parallel writes are not interleaved with each other.
85 | lock.async { [unowned self] in
86 | window.append(contentsOf: Write.split(writeNumber, sequenceNumber: sequenceNumber, chunks: data, peripheral: peripheral, characteristic: characteristic, callback: callback))
| |- warning: capture of 'callback' with non-sendable type '(Data?, McuMgrTransportError?) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
87 | window.sort(by: <)
88 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:89:71: warning: implicit capture of 'self' requires that 'McuMgrBleROBWriteBuffer' conforms to 'Sendable'; this is an error in the Swift 6 language mode
20 | understand anything.
21 | */
22 | internal final class McuMgrBleROBWriteBuffer {
| `- note: class 'McuMgrBleROBWriteBuffer' does not conform to the 'Sendable' protocol
23 |
24 | /**
:
87 | window.sort(by: <)
88 | #if DEBUG
89 | log(msg: "↵ Enqueued [Seq. No: \(sequenceNumber)] {WR \(writeNumber)}.", atLevel: .debug)
| `- warning: implicit capture of 'self' requires that 'McuMgrBleROBWriteBuffer' conforms to 'Sendable'; this is an error in the Swift 6 language mode
90 | #endif
91 | writeNumber = writeNumber == .max ? 0 : writeNumber + 1
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:102:19: warning: capture of 'self' with non-sendable type 'McuMgrBleROBWriteBuffer' in a '@Sendable' closure
20 | understand anything.
21 | */
22 | internal final class McuMgrBleROBWriteBuffer {
| `- note: class 'McuMgrBleROBWriteBuffer' does not conform to the 'Sendable' protocol
23 |
24 | /**
:
100 | // We only want to continue past this guard when a write was paused and
101 | // thus added to `pausedWrites`.
102 | guard pausedWritesWithoutResponse else { return }
| `- warning: capture of 'self' with non-sendable type 'McuMgrBleROBWriteBuffer' in a '@Sendable' closure
103 | pausedWritesWithoutResponse = false
104 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:109:43: warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a '@Sendable' closure
107 | let resumeWrite: Write! = window.first
108 | unsafe_logResume(resumeWrite)
109 | unsafe_writeThroughWindow(to: peripheral)
| `- warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a '@Sendable' closure
110 | }
111 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBPeripheral.h:55:28: note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
53 | */
54 | NS_CLASS_AVAILABLE(10_7, 5_0)
55 | CB_EXTERN_CLASS @interface CBPeripheral : CBPeer
| `- note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
56 |
57 | /*!
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:125:31: warning: capture of 'self' with non-sendable type 'McuMgrBleROBWriteBuffer?' in a '@Sendable' closure
20 | understand anything.
21 | */
22 | internal final class McuMgrBleROBWriteBuffer {
| `- note: class 'McuMgrBleROBWriteBuffer' does not conform to the 'Sendable' protocol
23 |
24 | /**
:
123 | // If after 15ms we have not received peripheralIsReady(), override.
124 | lock.asyncAfter(deadline: .now() + .milliseconds(Self.CONNECTION_BUFFER_WAIT_TIME_MS)) { [weak self] in
125 | guard let self, pausedWritesWithoutResponse else { return }
| `- warning: capture of 'self' with non-sendable type 'McuMgrBleROBWriteBuffer?' in a '@Sendable' closure
126 | log(msg: "! Override Peripheral Ready For Write Without Response", atLevel: .debug)
127 | overridePeripheralNotReadyForWriteWithoutResponse = true
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:128:51: warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a '@Sendable' closure
126 | log(msg: "! Override Peripheral Ready For Write Without Response", atLevel: .debug)
127 | overridePeripheralNotReadyForWriteWithoutResponse = true
128 | unsafe_writeThroughWindow(to: peripheral)
| `- warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a '@Sendable' closure
129 | }
130 | return
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBPeripheral.h:55:28: note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
53 | */
54 | NS_CLASS_AVAILABLE(10_7, 5_0)
55 | CB_EXTERN_CLASS @interface CBPeripheral : CBPeer
| `- note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
56 |
57 | /*!
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleTransport.swift:252:24: warning: capture of 'self' with non-sendable type 'McuMgrBleTransport?' in a '@Sendable' closure
35 | // MARK: - McuMgrBleTransport
36 |
37 | public class McuMgrBleTransport: NSObject {
| `- note: class 'McuMgrBleTransport' does not conform to the 'Sendable' protocol
38 |
39 | /// The CBCentralManager instance from which the peripheral was obtained.
:
250 | operationQueue.addOperation { [weak self] in
251 | for i in 0..<McuMgrBleTransportConstant.MAX_RETRIES {
252 | switch self?._send(data: data, timeoutInSeconds: timeout) {
| `- warning: capture of 'self' with non-sendable type 'McuMgrBleTransport?' in a '@Sendable' closure
253 | case .failure(McuMgrTransportError.waitAndRetry):
254 | let waitInterval = min(timeout, McuMgrBleTransportConstant.WAIT_AND_RETRY_INTERVAL)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleTransport.swift:278:25: warning: capture of 'callback' with non-sendable type 'McuMgrCallback<T>' (aka '(Optional<T>, Optional<any Error>) -> ()') in a '@Sendable' closure
276 | log(msg: error.localizedDescription, atLevel: .error)
277 | DispatchQueue.main.async {
278 | callback(nil, error)
| |- warning: capture of 'callback' with non-sendable type 'McuMgrCallback<T>' (aka '(Optional<T>, Optional<any Error>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
279 | }
280 | return
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleTransport.swift:88:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
86 | didSet {
87 | DispatchQueue.main.async {
88 | self.notifyPeripheralDelegate()
| |- 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
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleTransport.swift:122:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
120 | didSet {
121 | DispatchQueue.main.async {
122 | self.notifyPeripheralDelegate()
| |- 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
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:86:13: warning: capture of 'self' with non-sendable type 'McuMgrBleROBWriteBuffer' in a '@Sendable' closure
20 | understand anything.
21 | */
22 | internal final class McuMgrBleROBWriteBuffer {
| `- note: class 'McuMgrBleROBWriteBuffer' does not conform to the 'Sendable' protocol
23 |
24 | /**
:
84 | // This lock guarantees parallel writes are not interleaved with each other.
85 | lock.async { [unowned self] in
86 | window.append(contentsOf: Write.split(writeNumber, sequenceNumber: sequenceNumber, chunks: data, peripheral: peripheral, characteristic: characteristic, callback: callback))
| `- warning: capture of 'self' with non-sendable type 'McuMgrBleROBWriteBuffer' in a '@Sendable' closure
87 | window.sort(by: <)
88 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:86:122: warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a '@Sendable' closure
84 | // This lock guarantees parallel writes are not interleaved with each other.
85 | lock.async { [unowned self] in
86 | window.append(contentsOf: Write.split(writeNumber, sequenceNumber: sequenceNumber, chunks: data, peripheral: peripheral, characteristic: characteristic, callback: callback))
| `- warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a '@Sendable' closure
87 | window.sort(by: <)
88 | #if DEBUG
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBPeripheral.h:55:28: note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
53 | */
54 | NS_CLASS_AVAILABLE(10_7, 5_0)
55 | CB_EXTERN_CLASS @interface CBPeripheral : CBPeer
| `- note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
56 |
57 | /*!
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
8 | import Foundation
9 | import Dispatch
10 | import CoreBluetooth
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
11 |
12 | // MARK: - McuMgrBleROBWriteBuffer
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:86:150: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a '@Sendable' closure
84 | // This lock guarantees parallel writes are not interleaved with each other.
85 | lock.async { [unowned self] in
86 | window.append(contentsOf: Write.split(writeNumber, sequenceNumber: sequenceNumber, chunks: data, peripheral: peripheral, characteristic: characteristic, callback: callback))
| `- warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a '@Sendable' closure
87 | window.sort(by: <)
88 | #if DEBUG
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
55 | */
56 | NS_CLASS_AVAILABLE(10_7, 5_0)
57 | CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
| `- note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
58 |
59 | /*!
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:86:176: warning: capture of 'callback' with non-sendable type '(Data?, McuMgrTransportError?) -> Void' in a '@Sendable' closure
84 | // This lock guarantees parallel writes are not interleaved with each other.
85 | lock.async { [unowned self] in
86 | window.append(contentsOf: Write.split(writeNumber, sequenceNumber: sequenceNumber, chunks: data, peripheral: peripheral, characteristic: characteristic, callback: callback))
| |- warning: capture of 'callback' with non-sendable type '(Data?, McuMgrTransportError?) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
87 | window.sort(by: <)
88 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:89:71: warning: implicit capture of 'self' requires that 'McuMgrBleROBWriteBuffer' conforms to 'Sendable'; this is an error in the Swift 6 language mode
20 | understand anything.
21 | */
22 | internal final class McuMgrBleROBWriteBuffer {
| `- note: class 'McuMgrBleROBWriteBuffer' does not conform to the 'Sendable' protocol
23 |
24 | /**
:
87 | window.sort(by: <)
88 | #if DEBUG
89 | log(msg: "↵ Enqueued [Seq. No: \(sequenceNumber)] {WR \(writeNumber)}.", atLevel: .debug)
| `- warning: implicit capture of 'self' requires that 'McuMgrBleROBWriteBuffer' conforms to 'Sendable'; this is an error in the Swift 6 language mode
90 | #endif
91 | writeNumber = writeNumber == .max ? 0 : writeNumber + 1
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:102:19: warning: capture of 'self' with non-sendable type 'McuMgrBleROBWriteBuffer' in a '@Sendable' closure
20 | understand anything.
21 | */
22 | internal final class McuMgrBleROBWriteBuffer {
| `- note: class 'McuMgrBleROBWriteBuffer' does not conform to the 'Sendable' protocol
23 |
24 | /**
:
100 | // We only want to continue past this guard when a write was paused and
101 | // thus added to `pausedWrites`.
102 | guard pausedWritesWithoutResponse else { return }
| `- warning: capture of 'self' with non-sendable type 'McuMgrBleROBWriteBuffer' in a '@Sendable' closure
103 | pausedWritesWithoutResponse = false
104 |
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:109:43: warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a '@Sendable' closure
107 | let resumeWrite: Write! = window.first
108 | unsafe_logResume(resumeWrite)
109 | unsafe_writeThroughWindow(to: peripheral)
| `- warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a '@Sendable' closure
110 | }
111 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBPeripheral.h:55:28: note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
53 | */
54 | NS_CLASS_AVAILABLE(10_7, 5_0)
55 | CB_EXTERN_CLASS @interface CBPeripheral : CBPeer
| `- note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
56 |
57 | /*!
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:125:31: warning: capture of 'self' with non-sendable type 'McuMgrBleROBWriteBuffer?' in a '@Sendable' closure
20 | understand anything.
21 | */
22 | internal final class McuMgrBleROBWriteBuffer {
| `- note: class 'McuMgrBleROBWriteBuffer' does not conform to the 'Sendable' protocol
23 |
24 | /**
:
123 | // If after 15ms we have not received peripheralIsReady(), override.
124 | lock.asyncAfter(deadline: .now() + .milliseconds(Self.CONNECTION_BUFFER_WAIT_TIME_MS)) { [weak self] in
125 | guard let self, pausedWritesWithoutResponse else { return }
| `- warning: capture of 'self' with non-sendable type 'McuMgrBleROBWriteBuffer?' in a '@Sendable' closure
126 | log(msg: "! Override Peripheral Ready For Write Without Response", atLevel: .debug)
127 | overridePeripheralNotReadyForWriteWithoutResponse = true
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleROBWriteBuffer.swift:128:51: warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a '@Sendable' closure
126 | log(msg: "! Override Peripheral Ready For Write Without Response", atLevel: .debug)
127 | overridePeripheralNotReadyForWriteWithoutResponse = true
128 | unsafe_writeThroughWindow(to: peripheral)
| `- warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a '@Sendable' closure
129 | }
130 | return
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBPeripheral.h:55:28: note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
53 | */
54 | NS_CLASS_AVAILABLE(10_7, 5_0)
55 | CB_EXTERN_CLASS @interface CBPeripheral : CBPeer
| `- note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
56 |
57 | /*!
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleTransport.swift:252:24: warning: capture of 'self' with non-sendable type 'McuMgrBleTransport?' in a '@Sendable' closure
35 | // MARK: - McuMgrBleTransport
36 |
37 | public class McuMgrBleTransport: NSObject {
| `- note: class 'McuMgrBleTransport' does not conform to the 'Sendable' protocol
38 |
39 | /// The CBCentralManager instance from which the peripheral was obtained.
:
250 | operationQueue.addOperation { [weak self] in
251 | for i in 0..<McuMgrBleTransportConstant.MAX_RETRIES {
252 | switch self?._send(data: data, timeoutInSeconds: timeout) {
| `- warning: capture of 'self' with non-sendable type 'McuMgrBleTransport?' in a '@Sendable' closure
253 | case .failure(McuMgrTransportError.waitAndRetry):
254 | let waitInterval = min(timeout, McuMgrBleTransportConstant.WAIT_AND_RETRY_INTERVAL)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleTransport.swift:278:25: warning: capture of 'callback' with non-sendable type 'McuMgrCallback<T>' (aka '(Optional<T>, Optional<any Error>) -> ()') in a '@Sendable' closure
276 | log(msg: error.localizedDescription, atLevel: .error)
277 | DispatchQueue.main.async {
278 | callback(nil, error)
| |- warning: capture of 'callback' with non-sendable type 'McuMgrCallback<T>' (aka '(Optional<T>, Optional<any Error>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
279 | }
280 | return
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleTransport.swift:88:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
86 | didSet {
87 | DispatchQueue.main.async {
88 | self.notifyPeripheralDelegate()
| |- 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
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Bluetooth/McuMgrBleTransport.swift:122:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
120 | didSet {
121 | DispatchQueue.main.async {
122 | self.notifyPeripheralDelegate()
| |- 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
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:650: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
648 |
649 | public enum SuitManagerError: Error, LocalizedError {
650 | 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
651 | case listRoleResponseMismatch(roleCount: Int, responseCount: Int)
652 |
/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/McuManager.swift:437: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
435 | public enum McuMgrError: Error, LocalizedError {
436 | case returnCode(_ rc: McuMgrReturnCode)
437 | 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
438 |
439 | public var errorDescription: String? {
:
449 | // MARK: - McuMgrGroupReturnCode
450 |
451 | public class McuMgrGroupReturnCode: CBORMappable {
| `- note: class 'McuMgrGroupReturnCode' does not conform to the 'Sendable' protocol
452 |
453 | // 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 | 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/Managers/SuitManager.swift:531:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
529 | let waitTime: DispatchTimeInterval = .milliseconds(Self.POLLING_INTERVAL_MS)
530 | DispatchQueue.main.asyncAfter(deadline: .now() + waitTime) { [unowned self] in
531 | 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
532 | self.poll(callback: self.pollingCallback)
533 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:156:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
154 | } catch let robBufferError {
155 | DispatchQueue.main.async {
156 | 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
157 | }
158 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:156:30: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
154 | } catch let robBufferError {
155 | DispatchQueue.main.async {
156 | 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
157 | }
158 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:122:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
120 |
121 | DispatchQueue.main.async {
122 | callback(key, 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
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:122:30: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
120 |
121 | DispatchQueue.main.async {
122 | callback(key, value)
| |- warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'key' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:122:35: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
120 |
121 | DispatchQueue.main.async {
122 | callback(key, 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
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:650: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
648 |
649 | public enum SuitManagerError: Error, LocalizedError {
650 | 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
651 | case listRoleResponseMismatch(roleCount: Int, responseCount: Int)
652 |
/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/McuManager.swift:437: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
435 | public enum McuMgrError: Error, LocalizedError {
436 | case returnCode(_ rc: McuMgrReturnCode)
437 | 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
438 |
439 | public var errorDescription: String? {
:
449 | // MARK: - McuMgrGroupReturnCode
450 |
451 | public class McuMgrGroupReturnCode: CBORMappable {
| `- note: class 'McuMgrGroupReturnCode' does not conform to the 'Sendable' protocol
452 |
453 | // 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 | 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/Managers/SuitManager.swift:531:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
529 | let waitTime: DispatchTimeInterval = .milliseconds(Self.POLLING_INTERVAL_MS)
530 | DispatchQueue.main.asyncAfter(deadline: .now() + waitTime) { [unowned self] in
531 | 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
532 | self.poll(callback: self.pollingCallback)
533 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:156:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
154 | } catch let robBufferError {
155 | DispatchQueue.main.async {
156 | 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
157 | }
158 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:156:30: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
154 | } catch let robBufferError {
155 | DispatchQueue.main.async {
156 | 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
157 | }
158 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:122:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
120 |
121 | DispatchQueue.main.async {
122 | callback(key, 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
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:122:30: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
120 |
121 | DispatchQueue.main.async {
122 | callback(key, value)
| |- warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'key' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:122:35: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
120 |
121 | DispatchQueue.main.async {
122 | callback(key, 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
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:650: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
648 |
649 | public enum SuitManagerError: Error, LocalizedError {
650 | 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
651 | case listRoleResponseMismatch(roleCount: Int, responseCount: Int)
652 |
/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/McuManager.swift:437: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
435 | public enum McuMgrError: Error, LocalizedError {
436 | case returnCode(_ rc: McuMgrReturnCode)
437 | 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
438 |
439 | public var errorDescription: String? {
:
449 | // MARK: - McuMgrGroupReturnCode
450 |
451 | public class McuMgrGroupReturnCode: CBORMappable {
| `- note: class 'McuMgrGroupReturnCode' does not conform to the 'Sendable' protocol
452 |
453 | // 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 | 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/Managers/SuitManager.swift:531:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
529 | let waitTime: DispatchTimeInterval = .milliseconds(Self.POLLING_INTERVAL_MS)
530 | DispatchQueue.main.asyncAfter(deadline: .now() + waitTime) { [unowned self] in
531 | 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
532 | self.poll(callback: self.pollingCallback)
533 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:156:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
154 | } catch let robBufferError {
155 | DispatchQueue.main.async {
156 | 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
157 | }
158 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:156:30: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
154 | } catch let robBufferError {
155 | DispatchQueue.main.async {
156 | 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
157 | }
158 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:122:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
120 |
121 | DispatchQueue.main.async {
122 | callback(key, 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
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:122:30: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
120 |
121 | DispatchQueue.main.async {
122 | callback(key, value)
| |- warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'key' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:122:35: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
120 |
121 | DispatchQueue.main.async {
122 | callback(key, 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
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:650: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
648 |
649 | public enum SuitManagerError: Error, LocalizedError {
650 | 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
651 | case listRoleResponseMismatch(roleCount: Int, responseCount: Int)
652 |
/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/McuManager.swift:437: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
435 | public enum McuMgrError: Error, LocalizedError {
436 | case returnCode(_ rc: McuMgrReturnCode)
437 | 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
438 |
439 | public var errorDescription: String? {
:
449 | // MARK: - McuMgrGroupReturnCode
450 |
451 | public class McuMgrGroupReturnCode: CBORMappable {
| `- note: class 'McuMgrGroupReturnCode' does not conform to the 'Sendable' protocol
452 |
453 | // 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 | 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/Managers/SuitManager.swift:531:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
529 | let waitTime: DispatchTimeInterval = .milliseconds(Self.POLLING_INTERVAL_MS)
530 | DispatchQueue.main.asyncAfter(deadline: .now() + waitTime) { [unowned self] in
531 | 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
532 | self.poll(callback: self.pollingCallback)
533 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:156:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
154 | } catch let robBufferError {
155 | DispatchQueue.main.async {
156 | 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
157 | }
158 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuManager.swift:156:30: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
154 | } catch let robBufferError {
155 | DispatchQueue.main.async {
156 | 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
157 | }
158 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:122:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
120 |
121 | DispatchQueue.main.async {
122 | callback(key, 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
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:122:30: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
120 |
121 | DispatchQueue.main.async {
122 | callback(key, value)
| |- warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'key' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrCallbackOoOBuffer.swift:122:35: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
120 |
121 | DispatchQueue.main.async {
122 | callback(key, 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
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager.swift:557:17: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
555 |
556 | private func onUploadResponseError(_ error: any LocalizedError, for response: McuMgrUploadResponse) {
557 | if case let McuMgrError.returnCode(.busy) = error {
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
558 | log(msg: "Received 'busy' Error from Device. Will try again after a short day.", atLevel: .debug)
559 | if let offset = response.off {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager.swift:561:21: warning: capture of 'self' with non-sendable type 'ImageManager?' in a '@Sendable' closure
11 | // MARK: - ImageManager
12 |
13 | public class ImageManager: McuManager {
| `- note: class 'ImageManager' does not conform to the 'Sendable' protocol
14 |
15 | // MARK: Image
:
559 | if let offset = response.off {
560 | Timer.scheduledTimer(withTimeInterval: McuManager.BUSY_WAIT_DELAY_MS, repeats: false) { [weak self] timer in
561 | self?.sendNext(from: offset)
| `- warning: capture of 'self' with non-sendable type 'ImageManager?' in a '@Sendable' closure
562 | }
563 | return // prevent Upload Cancellation.
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager.swift:557:17: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
555 |
556 | private func onUploadResponseError(_ error: any LocalizedError, for response: McuMgrUploadResponse) {
557 | if case let McuMgrError.returnCode(.busy) = error {
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
558 | log(msg: "Received 'busy' Error from Device. Will try again after a short day.", atLevel: .debug)
559 | if let offset = response.off {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager.swift:561:21: warning: capture of 'self' with non-sendable type 'ImageManager?' in a '@Sendable' closure
11 | // MARK: - ImageManager
12 |
13 | public class ImageManager: McuManager {
| `- note: class 'ImageManager' does not conform to the 'Sendable' protocol
14 |
15 | // MARK: Image
:
559 | if let offset = response.off {
560 | Timer.scheduledTimer(withTimeInterval: McuManager.BUSY_WAIT_DELAY_MS, repeats: false) { [weak self] timer in
561 | self?.sendNext(from: offset)
| `- warning: capture of 'self' with non-sendable type 'ImageManager?' in a '@Sendable' closure
562 | }
563 | return // prevent Upload Cancellation.
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager.swift:557:17: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
555 |
556 | private func onUploadResponseError(_ error: any LocalizedError, for response: McuMgrUploadResponse) {
557 | if case let McuMgrError.returnCode(.busy) = error {
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
558 | log(msg: "Received 'busy' Error from Device. Will try again after a short day.", atLevel: .debug)
559 | if let offset = response.off {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager.swift:561:21: warning: capture of 'self' with non-sendable type 'ImageManager?' in a '@Sendable' closure
11 | // MARK: - ImageManager
12 |
13 | public class ImageManager: McuManager {
| `- note: class 'ImageManager' does not conform to the 'Sendable' protocol
14 |
15 | // MARK: Image
:
559 | if let offset = response.off {
560 | Timer.scheduledTimer(withTimeInterval: McuManager.BUSY_WAIT_DELAY_MS, repeats: false) { [weak self] timer in
561 | self?.sendNext(from: offset)
| `- warning: capture of 'self' with non-sendable type 'ImageManager?' in a '@Sendable' closure
562 | }
563 | return // prevent Upload Cancellation.
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager.swift:557:17: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
555 |
556 | private func onUploadResponseError(_ error: any LocalizedError, for response: McuMgrUploadResponse) {
557 | if case let McuMgrError.returnCode(.busy) = error {
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
558 | log(msg: "Received 'busy' Error from Device. Will try again after a short day.", atLevel: .debug)
559 | if let offset = response.off {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager.swift:561:21: warning: capture of 'self' with non-sendable type 'ImageManager?' in a '@Sendable' closure
11 | // MARK: - ImageManager
12 |
13 | public class ImageManager: McuManager {
| `- note: class 'ImageManager' does not conform to the 'Sendable' protocol
14 |
15 | // MARK: Image
:
559 | if let offset = response.off {
560 | Timer.scheduledTimer(withTimeInterval: McuManager.BUSY_WAIT_DELAY_MS, repeats: false) { [weak self] timer in
561 | self?.sendNext(from: offset)
| `- warning: capture of 'self' with non-sendable type 'ImageManager?' in a '@Sendable' closure
562 | }
563 | return // prevent Upload Cancellation.
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:10:8: warning: file 'DefaultManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
8 |
9 | import Foundation
10 | import iOSMcuManagerLibrary
| `- warning: file 'DefaultManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
11 |
12 | // MARK: - DefaultManager+Async
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1144:40: warning: variable 'images' was never mutated; consider changing to 'let' constant
1142 |
1143 | public func uploadProgressDidChange(bytesSent: Int, imageSize: Int, timestamp: Date) {
1144 | if bytesSent == imageSize, var images {
| `- warning: variable 'images' was never mutated; consider changing to 'let' constant
1145 | // An Image was sent. Mark as uploaded.
1146 | if let image = images.first(where: { !$0.uploaded && $0.data.count == imageSize }) {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 | // MARK: async params()
18 |
19 | public func params() async throws -> McuMgrParametersResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrParametersResponse, Error>) in
21 | params { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:38:5: warning: 'public' modifier is redundant for instance method declared in a public extension
36 | // MARK: async applicationInfo(format:)
37 |
38 | public func applicationInfo(format: Set<ApplicationInfoFormat>) async throws -> AppInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
39 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<AppInfoResponse, Error>) in
40 | applicationInfo(format: format) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:57:5: warning: 'public' modifier is redundant for instance method declared in a public extension
55 | // MARK: bootloaderInfo()
56 |
57 | public func bootloaderInfo() async throws -> (bootloader: BootloaderInfoResponse.Bootloader?, mode: BootloaderInfoResponse.Mode?, slot: UInt64?) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
58 | let bootloader = try await bootloaderQuery(.name).bootloader
59 | guard bootloader == .mcuboot else { return (bootloader: bootloader, mode: nil, slot: nil) }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:68:5: warning: 'public' modifier is redundant for instance method declared in a public extension
66 | // MARK: bootloaderQuery(:)
67 |
68 | public func bootloaderQuery(_ query: BootloaderInfoQuery) async throws -> BootloaderInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
69 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<BootloaderInfoResponse, Error>) in
70 | bootloaderInfo(query: query) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:76:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
74 | if state != previousState {
75 | DispatchQueue.main.async { [weak self] in
76 | 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
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:76:61: warning: sending 'previousState' risks causing data races; this is an error in the Swift 6 language mode
74 | if state != previousState {
75 | DispatchQueue.main.async { [weak self] in
76 | 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
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:76:80: warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
74 | if state != previousState {
75 | DispatchQueue.main.async { [weak self] in
76 | 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
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:286:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
284 | paused = false
285 | DispatchQueue.main.async { [weak self] in
286 | 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
287 | // Release cyclic reference.
288 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:128:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
126 | // Allow Library Apps to show 100% Progress in this case.
127 | DispatchQueue.main.async { [weak self] in
128 | 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
129 | timestamp: Date())
130 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:320:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
318 | paused = false
319 | DispatchQueue.main.async { [weak self] in
320 | 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
321 | // Release cyclic reference.
322 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:320:53: warning: sending 'tmp' risks causing data races; this is an error in the Swift 6 language mode
318 | paused = false
319 | DispatchQueue.main.async { [weak self] in
320 | 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
321 | // Release cyclic reference.
322 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:630:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
628 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { [weak self] in
629 | // Validation successful, begin with image upload.
630 | 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
631 | }
632 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1053:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1051 | log(msg: "Waiting \(Int(configuration.estimatedSwapTime)) seconds before reconnect attempt...", atLevel: .info)
1052 | DispatchQueue.main.asyncAfter(deadline: .now() + remainingTime) { [weak self] in
1053 | 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
1054 | self?.reconnect()
1055 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1152:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1150 |
1151 | DispatchQueue.main.async { [weak self] in
1152 | 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
1153 | }
1154 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1163:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1161 | public func uploadDidCancel() {
1162 | DispatchQueue.main.async { [weak self] in
1163 | self?.delegate?.upgradeDidCancel(state: .none)
| |- 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
1164 | }
1165 | state = .none
/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/DefaultManager+Async.swift:28:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
26 |
27 | if let response {
28 | 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
29 | } else {
30 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:47:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
45 |
46 | if let response {
47 | 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
48 | } else {
49 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:77:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
75 |
76 | if let response {
77 | 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
78 | } else {
79 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:10:8: warning: file 'DefaultManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
8 |
9 | import Foundation
10 | import iOSMcuManagerLibrary
| `- warning: file 'DefaultManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
11 |
12 | // MARK: - DefaultManager+Async
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1144:40: warning: variable 'images' was never mutated; consider changing to 'let' constant
1142 |
1143 | public func uploadProgressDidChange(bytesSent: Int, imageSize: Int, timestamp: Date) {
1144 | if bytesSent == imageSize, var images {
| `- warning: variable 'images' was never mutated; consider changing to 'let' constant
1145 | // An Image was sent. Mark as uploaded.
1146 | if let image = images.first(where: { !$0.uploaded && $0.data.count == imageSize }) {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 | // MARK: async params()
18 |
19 | public func params() async throws -> McuMgrParametersResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrParametersResponse, Error>) in
21 | params { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:38:5: warning: 'public' modifier is redundant for instance method declared in a public extension
36 | // MARK: async applicationInfo(format:)
37 |
38 | public func applicationInfo(format: Set<ApplicationInfoFormat>) async throws -> AppInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
39 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<AppInfoResponse, Error>) in
40 | applicationInfo(format: format) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:57:5: warning: 'public' modifier is redundant for instance method declared in a public extension
55 | // MARK: bootloaderInfo()
56 |
57 | public func bootloaderInfo() async throws -> (bootloader: BootloaderInfoResponse.Bootloader?, mode: BootloaderInfoResponse.Mode?, slot: UInt64?) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
58 | let bootloader = try await bootloaderQuery(.name).bootloader
59 | guard bootloader == .mcuboot else { return (bootloader: bootloader, mode: nil, slot: nil) }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:68:5: warning: 'public' modifier is redundant for instance method declared in a public extension
66 | // MARK: bootloaderQuery(:)
67 |
68 | public func bootloaderQuery(_ query: BootloaderInfoQuery) async throws -> BootloaderInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
69 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<BootloaderInfoResponse, Error>) in
70 | bootloaderInfo(query: query) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:76:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
74 | if state != previousState {
75 | DispatchQueue.main.async { [weak self] in
76 | 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
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:76:61: warning: sending 'previousState' risks causing data races; this is an error in the Swift 6 language mode
74 | if state != previousState {
75 | DispatchQueue.main.async { [weak self] in
76 | 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
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:76:80: warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
74 | if state != previousState {
75 | DispatchQueue.main.async { [weak self] in
76 | 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
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:286:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
284 | paused = false
285 | DispatchQueue.main.async { [weak self] in
286 | 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
287 | // Release cyclic reference.
288 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:128:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
126 | // Allow Library Apps to show 100% Progress in this case.
127 | DispatchQueue.main.async { [weak self] in
128 | 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
129 | timestamp: Date())
130 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:320:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
318 | paused = false
319 | DispatchQueue.main.async { [weak self] in
320 | 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
321 | // Release cyclic reference.
322 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:320:53: warning: sending 'tmp' risks causing data races; this is an error in the Swift 6 language mode
318 | paused = false
319 | DispatchQueue.main.async { [weak self] in
320 | 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
321 | // Release cyclic reference.
322 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:630:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
628 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { [weak self] in
629 | // Validation successful, begin with image upload.
630 | 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
631 | }
632 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1053:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1051 | log(msg: "Waiting \(Int(configuration.estimatedSwapTime)) seconds before reconnect attempt...", atLevel: .info)
1052 | DispatchQueue.main.asyncAfter(deadline: .now() + remainingTime) { [weak self] in
1053 | 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
1054 | self?.reconnect()
1055 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1152:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1150 |
1151 | DispatchQueue.main.async { [weak self] in
1152 | 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
1153 | }
1154 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1163:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1161 | public func uploadDidCancel() {
1162 | DispatchQueue.main.async { [weak self] in
1163 | self?.delegate?.upgradeDidCancel(state: .none)
| |- 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
1164 | }
1165 | state = .none
/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/DefaultManager+Async.swift:28:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
26 |
27 | if let response {
28 | 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
29 | } else {
30 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:47:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
45 |
46 | if let response {
47 | 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
48 | } else {
49 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:77:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
75 |
76 | if let response {
77 | 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
78 | } else {
79 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:10:8: warning: file 'DefaultManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
8 |
9 | import Foundation
10 | import iOSMcuManagerLibrary
| `- warning: file 'DefaultManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
11 |
12 | // MARK: - DefaultManager+Async
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1144:40: warning: variable 'images' was never mutated; consider changing to 'let' constant
1142 |
1143 | public func uploadProgressDidChange(bytesSent: Int, imageSize: Int, timestamp: Date) {
1144 | if bytesSent == imageSize, var images {
| `- warning: variable 'images' was never mutated; consider changing to 'let' constant
1145 | // An Image was sent. Mark as uploaded.
1146 | if let image = images.first(where: { !$0.uploaded && $0.data.count == imageSize }) {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 | // MARK: async params()
18 |
19 | public func params() async throws -> McuMgrParametersResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrParametersResponse, Error>) in
21 | params { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:38:5: warning: 'public' modifier is redundant for instance method declared in a public extension
36 | // MARK: async applicationInfo(format:)
37 |
38 | public func applicationInfo(format: Set<ApplicationInfoFormat>) async throws -> AppInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
39 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<AppInfoResponse, Error>) in
40 | applicationInfo(format: format) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:57:5: warning: 'public' modifier is redundant for instance method declared in a public extension
55 | // MARK: bootloaderInfo()
56 |
57 | public func bootloaderInfo() async throws -> (bootloader: BootloaderInfoResponse.Bootloader?, mode: BootloaderInfoResponse.Mode?, slot: UInt64?) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
58 | let bootloader = try await bootloaderQuery(.name).bootloader
59 | guard bootloader == .mcuboot else { return (bootloader: bootloader, mode: nil, slot: nil) }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:68:5: warning: 'public' modifier is redundant for instance method declared in a public extension
66 | // MARK: bootloaderQuery(:)
67 |
68 | public func bootloaderQuery(_ query: BootloaderInfoQuery) async throws -> BootloaderInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
69 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<BootloaderInfoResponse, Error>) in
70 | bootloaderInfo(query: query) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:76:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
74 | if state != previousState {
75 | DispatchQueue.main.async { [weak self] in
76 | 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
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:76:61: warning: sending 'previousState' risks causing data races; this is an error in the Swift 6 language mode
74 | if state != previousState {
75 | DispatchQueue.main.async { [weak self] in
76 | 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
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:76:80: warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
74 | if state != previousState {
75 | DispatchQueue.main.async { [weak self] in
76 | 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
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:286:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
284 | paused = false
285 | DispatchQueue.main.async { [weak self] in
286 | 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
287 | // Release cyclic reference.
288 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:128:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
126 | // Allow Library Apps to show 100% Progress in this case.
127 | DispatchQueue.main.async { [weak self] in
128 | 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
129 | timestamp: Date())
130 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:320:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
318 | paused = false
319 | DispatchQueue.main.async { [weak self] in
320 | 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
321 | // Release cyclic reference.
322 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:320:53: warning: sending 'tmp' risks causing data races; this is an error in the Swift 6 language mode
318 | paused = false
319 | DispatchQueue.main.async { [weak self] in
320 | 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
321 | // Release cyclic reference.
322 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:630:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
628 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { [weak self] in
629 | // Validation successful, begin with image upload.
630 | 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
631 | }
632 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1053:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1051 | log(msg: "Waiting \(Int(configuration.estimatedSwapTime)) seconds before reconnect attempt...", atLevel: .info)
1052 | DispatchQueue.main.asyncAfter(deadline: .now() + remainingTime) { [weak self] in
1053 | 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
1054 | self?.reconnect()
1055 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1152:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1150 |
1151 | DispatchQueue.main.async { [weak self] in
1152 | 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
1153 | }
1154 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1163:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1161 | public func uploadDidCancel() {
1162 | DispatchQueue.main.async { [weak self] in
1163 | self?.delegate?.upgradeDidCancel(state: .none)
| |- 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
1164 | }
1165 | state = .none
/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/DefaultManager+Async.swift:28:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
26 |
27 | if let response {
28 | 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
29 | } else {
30 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:47:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
45 |
46 | if let response {
47 | 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
48 | } else {
49 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:77:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
75 |
76 | if let response {
77 | 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
78 | } else {
79 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:10:8: warning: file 'DefaultManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
8 |
9 | import Foundation
10 | import iOSMcuManagerLibrary
| `- warning: file 'DefaultManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
11 |
12 | // MARK: - DefaultManager+Async
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1144:40: warning: variable 'images' was never mutated; consider changing to 'let' constant
1142 |
1143 | public func uploadProgressDidChange(bytesSent: Int, imageSize: Int, timestamp: Date) {
1144 | if bytesSent == imageSize, var images {
| `- warning: variable 'images' was never mutated; consider changing to 'let' constant
1145 | // An Image was sent. Mark as uploaded.
1146 | if let image = images.first(where: { !$0.uploaded && $0.data.count == imageSize }) {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 | // MARK: async params()
18 |
19 | public func params() async throws -> McuMgrParametersResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrParametersResponse, Error>) in
21 | params { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:38:5: warning: 'public' modifier is redundant for instance method declared in a public extension
36 | // MARK: async applicationInfo(format:)
37 |
38 | public func applicationInfo(format: Set<ApplicationInfoFormat>) async throws -> AppInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
39 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<AppInfoResponse, Error>) in
40 | applicationInfo(format: format) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:57:5: warning: 'public' modifier is redundant for instance method declared in a public extension
55 | // MARK: bootloaderInfo()
56 |
57 | public func bootloaderInfo() async throws -> (bootloader: BootloaderInfoResponse.Bootloader?, mode: BootloaderInfoResponse.Mode?, slot: UInt64?) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
58 | let bootloader = try await bootloaderQuery(.name).bootloader
59 | guard bootloader == .mcuboot else { return (bootloader: bootloader, mode: nil, slot: nil) }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:68:5: warning: 'public' modifier is redundant for instance method declared in a public extension
66 | // MARK: bootloaderQuery(:)
67 |
68 | public func bootloaderQuery(_ query: BootloaderInfoQuery) async throws -> BootloaderInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
69 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<BootloaderInfoResponse, Error>) in
70 | bootloaderInfo(query: query) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:76:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
74 | if state != previousState {
75 | DispatchQueue.main.async { [weak self] in
76 | 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
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:76:61: warning: sending 'previousState' risks causing data races; this is an error in the Swift 6 language mode
74 | if state != previousState {
75 | DispatchQueue.main.async { [weak self] in
76 | 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
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:76:80: warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
74 | if state != previousState {
75 | DispatchQueue.main.async { [weak self] in
76 | 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
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:286:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
284 | paused = false
285 | DispatchQueue.main.async { [weak self] in
286 | 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
287 | // Release cyclic reference.
288 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:128:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
126 | // Allow Library Apps to show 100% Progress in this case.
127 | DispatchQueue.main.async { [weak self] in
128 | 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
129 | timestamp: Date())
130 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:320:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
318 | paused = false
319 | DispatchQueue.main.async { [weak self] in
320 | 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
321 | // Release cyclic reference.
322 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:320:53: warning: sending 'tmp' risks causing data races; this is an error in the Swift 6 language mode
318 | paused = false
319 | DispatchQueue.main.async { [weak self] in
320 | 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
321 | // Release cyclic reference.
322 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:630:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
628 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { [weak self] in
629 | // Validation successful, begin with image upload.
630 | 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
631 | }
632 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1053:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1051 | log(msg: "Waiting \(Int(configuration.estimatedSwapTime)) seconds before reconnect attempt...", atLevel: .info)
1052 | DispatchQueue.main.asyncAfter(deadline: .now() + remainingTime) { [weak self] in
1053 | 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
1054 | self?.reconnect()
1055 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1152:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1150 |
1151 | DispatchQueue.main.async { [weak self] in
1152 | 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
1153 | }
1154 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1163:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1161 | public func uploadDidCancel() {
1162 | DispatchQueue.main.async { [weak self] in
1163 | self?.delegate?.upgradeDidCancel(state: .none)
| |- 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
1164 | }
1165 | state = .none
/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/DefaultManager+Async.swift:28:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
26 |
27 | if let response {
28 | 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
29 | } else {
30 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:47:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
45 |
46 | if let response {
47 | 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
48 | } else {
49 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:77:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
75 |
76 | if let response {
77 | 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
78 | } else {
79 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:10:8: warning: file 'DefaultManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
8 |
9 | import Foundation
10 | import iOSMcuManagerLibrary
| `- warning: file 'DefaultManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
11 |
12 | // MARK: - DefaultManager+Async
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1144:40: warning: variable 'images' was never mutated; consider changing to 'let' constant
1142 |
1143 | public func uploadProgressDidChange(bytesSent: Int, imageSize: Int, timestamp: Date) {
1144 | if bytesSent == imageSize, var images {
| `- warning: variable 'images' was never mutated; consider changing to 'let' constant
1145 | // An Image was sent. Mark as uploaded.
1146 | if let image = images.first(where: { !$0.uploaded && $0.data.count == imageSize }) {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 | // MARK: async params()
18 |
19 | public func params() async throws -> McuMgrParametersResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrParametersResponse, Error>) in
21 | params { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:38:5: warning: 'public' modifier is redundant for instance method declared in a public extension
36 | // MARK: async applicationInfo(format:)
37 |
38 | public func applicationInfo(format: Set<ApplicationInfoFormat>) async throws -> AppInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
39 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<AppInfoResponse, Error>) in
40 | applicationInfo(format: format) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:57:5: warning: 'public' modifier is redundant for instance method declared in a public extension
55 | // MARK: bootloaderInfo()
56 |
57 | public func bootloaderInfo() async throws -> (bootloader: BootloaderInfoResponse.Bootloader?, mode: BootloaderInfoResponse.Mode?, slot: UInt64?) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
58 | let bootloader = try await bootloaderQuery(.name).bootloader
59 | guard bootloader == .mcuboot else { return (bootloader: bootloader, mode: nil, slot: nil) }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:68:5: warning: 'public' modifier is redundant for instance method declared in a public extension
66 | // MARK: bootloaderQuery(:)
67 |
68 | public func bootloaderQuery(_ query: BootloaderInfoQuery) async throws -> BootloaderInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
69 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<BootloaderInfoResponse, Error>) in
70 | bootloaderInfo(query: query) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:76:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
74 | if state != previousState {
75 | DispatchQueue.main.async { [weak self] in
76 | 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
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:76:61: warning: sending 'previousState' risks causing data races; this is an error in the Swift 6 language mode
74 | if state != previousState {
75 | DispatchQueue.main.async { [weak self] in
76 | 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
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:76:80: warning: sending 'state' risks causing data races; this is an error in the Swift 6 language mode
74 | if state != previousState {
75 | DispatchQueue.main.async { [weak self] in
76 | 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
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:286:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
284 | paused = false
285 | DispatchQueue.main.async { [weak self] in
286 | 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
287 | // Release cyclic reference.
288 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:128:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
126 | // Allow Library Apps to show 100% Progress in this case.
127 | DispatchQueue.main.async { [weak self] in
128 | 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
129 | timestamp: Date())
130 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:320:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
318 | paused = false
319 | DispatchQueue.main.async { [weak self] in
320 | 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
321 | // Release cyclic reference.
322 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:320:53: warning: sending 'tmp' risks causing data races; this is an error in the Swift 6 language mode
318 | paused = false
319 | DispatchQueue.main.async { [weak self] in
320 | 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
321 | // Release cyclic reference.
322 | self?.cyclicReferenceHolder = nil
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:630:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
628 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { [weak self] in
629 | // Validation successful, begin with image upload.
630 | 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
631 | }
632 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1053:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1051 | log(msg: "Waiting \(Int(configuration.estimatedSwapTime)) seconds before reconnect attempt...", atLevel: .info)
1052 | DispatchQueue.main.asyncAfter(deadline: .now() + remainingTime) { [weak self] in
1053 | 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
1054 | self?.reconnect()
1055 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1152:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1150 |
1151 | DispatchQueue.main.async { [weak self] in
1152 | 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
1153 | }
1154 | }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1163:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1161 | public func uploadDidCancel() {
1162 | DispatchQueue.main.async { [weak self] in
1163 | self?.delegate?.upgradeDidCancel(state: .none)
| |- 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
1164 | }
1165 | state = .none
/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/DefaultManager+Async.swift:28:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
26 |
27 | if let response {
28 | 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
29 | } else {
30 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:47:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
45 |
46 | if let response {
47 | 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
48 | } else {
49 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:77:34: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
75 |
76 | if let response {
77 | 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
78 | } else {
79 | continuation.resume(throwing: McuMgrResponseParseError.invalidPayload)
[183/245] Compiling iOSMcuManagerLibrary McuMgrUploadPipeline.swift
[184/245] Compiling iOSMcuManagerLibrary CBOR+String.swift
[185/245] Compiling iOSMcuManagerLibrary ResultLock.swift
[186/245] Compiling iOSMcuManagerLibrary UTI.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[187/245] Emitting module iOS_Common_Libraries
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[188/245] Compiling iOS_Common_Libraries LabelStyle.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[189/245] Compiling iOS_Common_Libraries LabeledContentStyle.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[190/245] Compiling iOS_Common_Libraries TextFieldAlertModifier.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[191/245] Compiling iOS_Common_Libraries Task.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[192/245] Compiling iOS_Common_Libraries AppIconView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[193/245] Compiling iOS_Common_Libraries BadgeView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[194/245] Compiling iOS_Common_Libraries BlinkingCursorView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[195/245] Compiling iOS_Common_Libraries CancellableTextField.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[196/245] Compiling iOS_Common_Libraries ErrorEvent.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[197/245] Compiling iOS_Common_Libraries Float.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[198/245] Compiling iOS_Common_Libraries Haptic.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[199/245] Compiling iOS_Common_Libraries Option.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[200/245] Compiling iOS_Common_Libraries Preview.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[201/245] Compiling iOS_Common_Libraries RSSI.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[202/245] Compiling iOS_Common_Libraries Sequence.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[203/245] Compiling iOS_Common_Libraries String.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[204/245] Compiling iOS_Common_Libraries PasswordField.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[205/245] Compiling iOS_Common_Libraries PipelineManager.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[206/245] Compiling iOS_Common_Libraries PipelineStage.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[207/245] Compiling iOS_Common_Libraries PipelineView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[208/245] Compiling iOS_Common_Libraries ProgressView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[209/245] Compiling iOS_Common_Libraries RSSIShape.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[210/245] Compiling iOS_Common_Libraries RSSIView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[211/245] Compiling iOS_Common_Libraries SourceCodeLinkView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[213/245] Compiling iOS_Common_Libraries BitField.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[214/245] Compiling iOS_Common_Libraries Cache.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[215/245] Compiling iOS_Common_Libraries Collection.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[216/245] Compiling iOS_Common_Libraries Constant.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[217/245] Compiling iOS_Common_Libraries Data.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[218/245] Compiling iOS_Common_Libraries Date.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[219/245] Compiling iOS_Common_Libraries Double.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[220/245] Compiling iOS_Common_Libraries DevZoneLinkView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[221/245] Compiling iOS_Common_Libraries DotView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[222/245] Compiling iOS_Common_Libraries FPSCounter.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[223/245] Compiling iOS_Common_Libraries IndeterminateProgressView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[224/245] Compiling iOS_Common_Libraries InlinePicker.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[225/245] Compiling iOS_Common_Libraries InlineSegmentedControlPicker.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[226/245] Compiling iOS_Common_Libraries NoContentView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[227/245] Compiling iOS_Common_Libraries NordicDataField.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
Fetching https://github.com/NordicSemiconductor/IOS-BLE-Library
Fetching https://github.com/valpackett/SwiftCBOR.git
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/nordicsemi/IOS-Common-Libraries
[1/1491] Fetching swiftcbor
[76/6242] Fetching swiftcbor, ios-ble-library
[77/8157] Fetching swiftcbor, ios-ble-library, ios-common-libraries
[307/14120] Fetching swiftcbor, ios-ble-library, ios-common-libraries, zipfoundation
Fetched https://github.com/NordicSemiconductor/IOS-BLE-Library from cache (1.35s)
Fetched https://github.com/valpackett/SwiftCBOR.git from cache (1.35s)
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (1.35s)
Fetched https://github.com/nordicsemi/IOS-Common-Libraries from cache (1.35s)
Computing version for https://github.com/nordicsemi/IOS-Common-Libraries
Computed https://github.com/nordicsemi/IOS-Common-Libraries at 0.2.3 (1.97s)
Computing version for https://github.com/NordicSemiconductor/IOS-BLE-Library
Computed https://github.com/NordicSemiconductor/IOS-BLE-Library at 0.4.4 (0.57s)
Fetching https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
[1/7168] Fetching ios-corebluetooth-mock
Fetched https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git from cache (2.02s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.20 (2.50s)
Computing version for https://github.com/valpackett/SwiftCBOR.git
Computed https://github.com/valpackett/SwiftCBOR.git at 0.6.0 (0.55s)
Computing version for https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Computed https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git at 1.0.4 (0.44s)
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.20
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/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Working copy of https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git resolved at 1.0.4
Creating working copy for https://github.com/NordicSemiconductor/IOS-BLE-Library
Working copy of https://github.com/NordicSemiconductor/IOS-BLE-Library resolved at 0.4.4
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.3
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/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/152] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[3/153] Compiling ZIPFoundation Archive+WritingDeprecated.swift
[4/153] Compiling iOS_Common_Libraries LogRecord.swift
[7/156] Compiling iOS_Common_Libraries NordicLog.swift
[8/156] Compiling iOS_Common_Libraries Optional.swift
[9/156] Compiling iOS_Common_Libraries View.swift
[10/156] Compiling iOS_Common_Libraries HTTPRequest.swift
[11/156] Compiling iOS_Common_Libraries Publisher.swift
[12/156] Compiling iOS_Common_Libraries UIView.swift
[13/156] Emitting module iOS_BLE_Library
[14/156] Compiling iOS_Common_Libraries URLSession.swift
[15/156] Compiling iOS_Common_Libraries CommonDataParser.swift
[16/156] Compiling ZIPFoundation Entry+ZIP64.swift
[17/156] Compiling iOS_Common_Libraries NetworkResponse.swift
[18/156] Compiling CoreBluetoothMock CBMPeripheralDelegateProxy.swift
[19/156] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
[24/156] Compiling iOS_Common_Libraries NSColor.swift
[25/156] Compiling iOS_Common_Libraries RGB.swift
[26/156] Compiling iOS_Common_Libraries CGSize.swift
[27/156] Compiling iOS_Common_Libraries Color.swift
[28/156] Compiling iOS_Common_Libraries BlinkingModifier.swift
[29/156] Compiling iOS_Common_Libraries GlowingModifier.swift
[30/156] Compiling iOS_Common_Libraries UInt32Parser.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[31/156] Compiling iOS_Common_Libraries UInt8Parser.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[32/156] Compiling iOS_Common_Libraries RecordOpcode.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[33/156] Compiling iOS_Common_Libraries RecordOperator.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[34/156] Compiling iOS_Common_Libraries RecordResponseStatus.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[35/156] Compiling iOS_Common_Libraries SensorLocation.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[36/156] Compiling iOS_Common_Libraries SensorType.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[37/156] Compiling iOS_Common_Libraries Status.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[38/164] Compiling CoreBluetoothMock CBMPeripheralSpec.swift
[39/164] Compiling CoreBluetoothMock CBMPeripheralPreview.swift
[40/164] Compiling iOS_BLE_Library RSSI.swift
[41/164] Compiling iOS_BLE_Library UnimplementedError.swift
[42/164] Emitting module CoreBluetoothMock
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[47/164] Compiling iOS_Common_Libraries DataReader.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[48/164] Compiling iOS_Common_Libraries DateParser.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[49/164] Compiling iOS_Common_Libraries DoubleParser.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[50/164] Compiling iOS_Common_Libraries SFloatParser.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[51/164] Compiling iOS_Common_Libraries UInt16Parser.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[56/164] Compiling SwiftCBOR Util.swift
[57/164] Compiling CoreBluetoothMock CBMPeripheralSpecDelegate.swift
[58/164] Compiling iOS_Common_Libraries ErrorEvent.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[59/164] Compiling iOS_Common_Libraries Float.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[60/164] Compiling iOS_Common_Libraries Haptic.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[61/164] Compiling iOS_Common_Libraries Option.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[62/164] Compiling iOS_Common_Libraries Preview.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[63/164] Compiling iOS_Common_Libraries RSSI.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[64/164] Compiling iOS_Common_Libraries Sequence.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[65/164] Compiling iOS_Common_Libraries String.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[66/164] Compiling iOS_Common_Libraries RGBA.swift
[67/164] Compiling iOS_Common_Libraries UIColor.swift
[71/164] Emitting module ZIPFoundation
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[92/166] Emitting module SwiftCBOR
error: emit-module command failed with exit code 1 (use -v to see invocation)
[95/166] Emitting module iOS_Common_Libraries
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[101/166] Compiling iOS_Common_Libraries DevZoneLinkView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[102/166] Compiling iOS_Common_Libraries DotView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[103/166] Compiling iOS_Common_Libraries FPSCounter.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[104/166] Compiling iOS_Common_Libraries IndeterminateProgressView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[105/166] Compiling iOS_Common_Libraries InlinePicker.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[106/166] Compiling iOS_Common_Libraries InlineSegmentedControlPicker.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[107/166] Compiling iOS_Common_Libraries NoContentView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[108/166] Compiling iOS_Common_Libraries NordicDataField.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[109/166] Compiling iOS_Common_Libraries LabelStyle.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[110/166] Compiling iOS_Common_Libraries LabeledContentStyle.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[111/166] Compiling iOS_Common_Libraries TextFieldAlertModifier.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[112/166] Compiling iOS_Common_Libraries Task.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[113/166] Compiling iOS_Common_Libraries AppIconView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[114/166] Compiling iOS_Common_Libraries BadgeView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[115/166] Compiling iOS_Common_Libraries BlinkingCursorView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[116/166] Compiling iOS_Common_Libraries CancellableTextField.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[121/166] Compiling iOS_Common_Libraries Array.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[122/166] Compiling iOS_Common_Libraries BitField.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[123/166] Compiling iOS_Common_Libraries Cache.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[124/166] Compiling iOS_Common_Libraries Collection.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[125/166] Compiling iOS_Common_Libraries Constant.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[126/166] Compiling iOS_Common_Libraries Data.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[127/166] Compiling iOS_Common_Libraries Date.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[128/166] Compiling iOS_Common_Libraries Double.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[129/166] Compiling iOS_Common_Libraries GlucoseMeasurement.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[130/166] Compiling iOS_Common_Libraries HeartRateMeasurement.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[131/166] Compiling iOS_Common_Libraries HeartRateSensorContact.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[132/166] Compiling iOS_Common_Libraries HeartRateSensorLocation.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[133/166] Compiling iOS_Common_Libraries NordicDataParser.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[134/166] Compiling iOS_Common_Libraries ParsingError.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[135/166] Compiling iOS_Common_Libraries TemperatureFlag.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[136/166] Compiling iOS_Common_Libraries TemperatureMeasurement.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[153/166] Compiling ZIPFoundation URL+ZIP.swift
[154/166] Compiling ZIPFoundation resource_bundle_accessor.swift
[155/166] Compiling iOS_Common_Libraries PasswordField.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[156/166] Compiling iOS_Common_Libraries PipelineManager.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[157/166] Compiling iOS_Common_Libraries PipelineStage.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[158/166] Compiling iOS_Common_Libraries PipelineView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[159/166] Compiling iOS_Common_Libraries ProgressView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[160/166] Compiling iOS_Common_Libraries RSSIShape.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[161/166] Compiling iOS_Common_Libraries RSSIView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
[162/166] Compiling iOS_Common_Libraries SourceCodeLinkView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/IOS-Common-Libraries/Sources/iOS-Common-Libraries/Utilities/Haptic.swift:11:8: error: no such module 'UIKit'
9 | //
10 |
11 | import UIKit
| `- error: no such module 'UIKit'
12 |
13 | // MARK: - Haptic
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