Build Information
Failed to build iOSMcuManagerLibrary, reference main (3d6ee1), with Swift 6.1 for macOS (SPM) on 20 Nov 2026 04:38:59 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
83 | */
84 | NS_CLASS_AVAILABLE(10_7, 5_0)
85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
86 |
87 | /*!
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/CBUUID+MDS.swift:19:16: warning: static property 'MDSDataURICharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let MDS = CBUUID(string: "54220000-F6A5-4007-A371-722F4EBD8436")
18 | static let MDSDeviceIdentifierCharacteristic = CBUUID(string: "54220002-f6a5-4007-a371-722f4ebd8436")
19 | static let MDSDataURICharacteristic = CBUUID(string: "54220003-f6a5-4007-a371-722f4ebd8436")
| |- warning: static property 'MDSDataURICharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'MDSDataURICharacteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let MDSAuthCharacteristic = CBUUID(string: "54220004-f6a5-4007-a371-722f4ebd8436")
21 | static let MDSDataExportCharacteristic = CBUUID(string: "54220005-f6a5-4007-a371-722f4ebd8436")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
83 | */
84 | NS_CLASS_AVAILABLE(10_7, 5_0)
85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
86 |
87 | /*!
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/CBUUID+MDS.swift:20:16: warning: static property 'MDSAuthCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let MDSDeviceIdentifierCharacteristic = CBUUID(string: "54220002-f6a5-4007-a371-722f4ebd8436")
19 | static let MDSDataURICharacteristic = CBUUID(string: "54220003-f6a5-4007-a371-722f4ebd8436")
20 | static let MDSAuthCharacteristic = CBUUID(string: "54220004-f6a5-4007-a371-722f4ebd8436")
| |- warning: static property 'MDSAuthCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'MDSAuthCharacteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let MDSDataExportCharacteristic = CBUUID(string: "54220005-f6a5-4007-a371-722f4ebd8436")
22 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
83 | */
84 | NS_CLASS_AVAILABLE(10_7, 5_0)
85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
86 |
87 | /*!
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/CBUUID+MDS.swift:21:16: warning: static property 'MDSDataExportCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let MDSDataURICharacteristic = CBUUID(string: "54220003-f6a5-4007-a371-722f4ebd8436")
20 | static let MDSAuthCharacteristic = CBUUID(string: "54220004-f6a5-4007-a371-722f4ebd8436")
21 | static let MDSDataExportCharacteristic = CBUUID(string: "54220005-f6a5-4007-a371-722f4ebd8436")
| |- warning: static property 'MDSDataExportCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'MDSDataExportCharacteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
83 | */
84 | NS_CLASS_AVAILABLE(10_7, 5_0)
85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
86 |
87 | /*!
[275/284] Compiling iOSOtaLibrary ObservabilityChunk.swift
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/CBUUID+MDS.swift:17:16: warning: static property 'MDS' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public extension CBUUID {
16 |
17 | static let MDS = CBUUID(string: "54220000-F6A5-4007-A371-722F4EBD8436")
| `- warning: static property 'MDS' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let MDSDeviceIdentifierCharacteristic = CBUUID(string: "54220002-f6a5-4007-a371-722f4ebd8436")
19 | static let MDSDataURICharacteristic = CBUUID(string: "54220003-f6a5-4007-a371-722f4ebd8436")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
83 | */
84 | NS_CLASS_AVAILABLE(10_7, 5_0)
85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
86 |
87 | /*!
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/CBUUID+MDS.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
8 |
9 | import Foundation
10 | import CoreBluetooth
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
11 | internal import iOS_BLE_Library_Mock
12 |
:
15 | public extension CBUUID {
16 |
17 | static let MDS = CBUUID(string: "54220000-F6A5-4007-A371-722F4EBD8436")
| |- note: add '@MainActor' to make static property 'MDS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let MDSDeviceIdentifierCharacteristic = CBUUID(string: "54220002-f6a5-4007-a371-722f4ebd8436")
19 | static let MDSDataURICharacteristic = CBUUID(string: "54220003-f6a5-4007-a371-722f4ebd8436")
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/CBUUID+MDS.swift:18:16: warning: static property 'MDSDeviceIdentifierCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | static let MDS = CBUUID(string: "54220000-F6A5-4007-A371-722F4EBD8436")
18 | static let MDSDeviceIdentifierCharacteristic = CBUUID(string: "54220002-f6a5-4007-a371-722f4ebd8436")
| |- warning: static property 'MDSDeviceIdentifierCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'MDSDeviceIdentifierCharacteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let MDSDataURICharacteristic = CBUUID(string: "54220003-f6a5-4007-a371-722f4ebd8436")
20 | static let MDSAuthCharacteristic = CBUUID(string: "54220004-f6a5-4007-a371-722f4ebd8436")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
83 | */
84 | NS_CLASS_AVAILABLE(10_7, 5_0)
85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
86 |
87 | /*!
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/CBUUID+MDS.swift:19:16: warning: static property 'MDSDataURICharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let MDS = CBUUID(string: "54220000-F6A5-4007-A371-722F4EBD8436")
18 | static let MDSDeviceIdentifierCharacteristic = CBUUID(string: "54220002-f6a5-4007-a371-722f4ebd8436")
19 | static let MDSDataURICharacteristic = CBUUID(string: "54220003-f6a5-4007-a371-722f4ebd8436")
| |- warning: static property 'MDSDataURICharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'MDSDataURICharacteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let MDSAuthCharacteristic = CBUUID(string: "54220004-f6a5-4007-a371-722f4ebd8436")
21 | static let MDSDataExportCharacteristic = CBUUID(string: "54220005-f6a5-4007-a371-722f4ebd8436")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
83 | */
84 | NS_CLASS_AVAILABLE(10_7, 5_0)
85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
86 |
87 | /*!
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/CBUUID+MDS.swift:20:16: warning: static property 'MDSAuthCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let MDSDeviceIdentifierCharacteristic = CBUUID(string: "54220002-f6a5-4007-a371-722f4ebd8436")
19 | static let MDSDataURICharacteristic = CBUUID(string: "54220003-f6a5-4007-a371-722f4ebd8436")
20 | static let MDSAuthCharacteristic = CBUUID(string: "54220004-f6a5-4007-a371-722f4ebd8436")
| |- warning: static property 'MDSAuthCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'MDSAuthCharacteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let MDSDataExportCharacteristic = CBUUID(string: "54220005-f6a5-4007-a371-722f4ebd8436")
22 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
83 | */
84 | NS_CLASS_AVAILABLE(10_7, 5_0)
85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
86 |
87 | /*!
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/CBUUID+MDS.swift:21:16: warning: static property 'MDSDataExportCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let MDSDataURICharacteristic = CBUUID(string: "54220003-f6a5-4007-a371-722f4ebd8436")
20 | static let MDSAuthCharacteristic = CBUUID(string: "54220004-f6a5-4007-a371-722f4ebd8436")
21 | static let MDSDataExportCharacteristic = CBUUID(string: "54220005-f6a5-4007-a371-722f4ebd8436")
| |- warning: static property 'MDSDataExportCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'MDSDataExportCharacteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
83 | */
84 | NS_CLASS_AVAILABLE(10_7, 5_0)
85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
86 |
87 | /*!
[276/284] Compiling iOSOtaLibrary GetLatestReleaseInfoRequest.swift
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/MemfaultManager.swift:80:30: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
78 | return
79 | }
80 | 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
81 | }
82 | send(op: .read, commandId: command, payload: nil, callback: callback)
[277/284] Compiling iOSOtaLibrary MemfaultManager.swift
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/MemfaultManager.swift:80:30: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
78 | return
79 | }
80 | 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
81 | }
82 | send(op: .read, commandId: command, payload: nil, callback: callback)
[278/284] Emitting module iOSOtaLibrary
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/Tokens/DeviceInfoToken.swift:83:45: warning: non-breaking space (U+00A0) used instead of regular space
81 | public var failureReason: String? { errorDescription }
82 |
83 | public var recoverySuggestion: String? { errorDescription }
| `- warning: non-breaking space (U+00A0) used instead of regular space
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:216:10: warning: associated value 'invalidProjectKey' of 'Sendable'-conforming enum 'OTAManagerError' has non-sendable type 'DeviceInfoToken'; this is an error in the Swift 6 language mode
214 | case unableToParseResponse
215 | case networkError
216 | case invalidProjectKey(_ deviceInfo: DeviceInfoToken)
| `- warning: associated value 'invalidProjectKey' of 'Sendable'-conforming enum 'OTAManagerError' has non-sendable type 'DeviceInfoToken'; this is an error in the Swift 6 language mode
217 | case deviceIsUpToDate
218 | case invalidArtifactURL
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/Tokens/DeviceInfoToken.swift:13:15: note: consider making struct 'DeviceInfoToken' conform to the 'Sendable' protocol
11 | // MARK: - DeviceInfoToken
12 |
13 | public struct DeviceInfoToken {
| `- note: consider making struct 'DeviceInfoToken' conform to the 'Sendable' protocol
14 |
15 | // MARK: Properties
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/CBUUID+MDS.swift:17:16: warning: static property 'MDS' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public extension CBUUID {
16 |
17 | static let MDS = CBUUID(string: "54220000-F6A5-4007-A371-722F4EBD8436")
| `- warning: static property 'MDS' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let MDSDeviceIdentifierCharacteristic = CBUUID(string: "54220002-f6a5-4007-a371-722f4ebd8436")
19 | static let MDSDataURICharacteristic = CBUUID(string: "54220003-f6a5-4007-a371-722f4ebd8436")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
83 | */
84 | NS_CLASS_AVAILABLE(10_7, 5_0)
85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
86 |
87 | /*!
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/CBUUID+MDS.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
8 |
9 | import Foundation
10 | import CoreBluetooth
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
11 | internal import iOS_BLE_Library_Mock
12 |
:
15 | public extension CBUUID {
16 |
17 | static let MDS = CBUUID(string: "54220000-F6A5-4007-A371-722F4EBD8436")
| |- note: add '@MainActor' to make static property 'MDS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let MDSDeviceIdentifierCharacteristic = CBUUID(string: "54220002-f6a5-4007-a371-722f4ebd8436")
19 | static let MDSDataURICharacteristic = CBUUID(string: "54220003-f6a5-4007-a371-722f4ebd8436")
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/CBUUID+MDS.swift:18:16: warning: static property 'MDSDeviceIdentifierCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | static let MDS = CBUUID(string: "54220000-F6A5-4007-A371-722F4EBD8436")
18 | static let MDSDeviceIdentifierCharacteristic = CBUUID(string: "54220002-f6a5-4007-a371-722f4ebd8436")
| |- warning: static property 'MDSDeviceIdentifierCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'MDSDeviceIdentifierCharacteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let MDSDataURICharacteristic = CBUUID(string: "54220003-f6a5-4007-a371-722f4ebd8436")
20 | static let MDSAuthCharacteristic = CBUUID(string: "54220004-f6a5-4007-a371-722f4ebd8436")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
83 | */
84 | NS_CLASS_AVAILABLE(10_7, 5_0)
85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
86 |
87 | /*!
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/CBUUID+MDS.swift:19:16: warning: static property 'MDSDataURICharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let MDS = CBUUID(string: "54220000-F6A5-4007-A371-722F4EBD8436")
18 | static let MDSDeviceIdentifierCharacteristic = CBUUID(string: "54220002-f6a5-4007-a371-722f4ebd8436")
19 | static let MDSDataURICharacteristic = CBUUID(string: "54220003-f6a5-4007-a371-722f4ebd8436")
| |- warning: static property 'MDSDataURICharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'MDSDataURICharacteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let MDSAuthCharacteristic = CBUUID(string: "54220004-f6a5-4007-a371-722f4ebd8436")
21 | static let MDSDataExportCharacteristic = CBUUID(string: "54220005-f6a5-4007-a371-722f4ebd8436")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
83 | */
84 | NS_CLASS_AVAILABLE(10_7, 5_0)
85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
86 |
87 | /*!
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/CBUUID+MDS.swift:20:16: warning: static property 'MDSAuthCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let MDSDeviceIdentifierCharacteristic = CBUUID(string: "54220002-f6a5-4007-a371-722f4ebd8436")
19 | static let MDSDataURICharacteristic = CBUUID(string: "54220003-f6a5-4007-a371-722f4ebd8436")
20 | static let MDSAuthCharacteristic = CBUUID(string: "54220004-f6a5-4007-a371-722f4ebd8436")
| |- warning: static property 'MDSAuthCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'MDSAuthCharacteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let MDSDataExportCharacteristic = CBUUID(string: "54220005-f6a5-4007-a371-722f4ebd8436")
22 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
83 | */
84 | NS_CLASS_AVAILABLE(10_7, 5_0)
85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
86 |
87 | /*!
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/CBUUID+MDS.swift:21:16: warning: static property 'MDSDataExportCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let MDSDataURICharacteristic = CBUUID(string: "54220003-f6a5-4007-a371-722f4ebd8436")
20 | static let MDSAuthCharacteristic = CBUUID(string: "54220004-f6a5-4007-a371-722f4ebd8436")
21 | static let MDSDataExportCharacteristic = CBUUID(string: "54220005-f6a5-4007-a371-722f4ebd8436")
| |- warning: static property 'MDSDataExportCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBUUID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'MDSDataExportCharacteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
83 | */
84 | NS_CLASS_AVAILABLE(10_7, 5_0)
85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
86 |
87 | /*!
[279/284] Compiling iOSOtaLibrary OTAManager+Logs.swift
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:216:10: warning: associated value 'invalidProjectKey' of 'Sendable'-conforming enum 'OTAManagerError' has non-sendable type 'DeviceInfoToken'; this is an error in the Swift 6 language mode
214 | case unableToParseResponse
215 | case networkError
216 | case invalidProjectKey(_ deviceInfo: DeviceInfoToken)
| `- warning: associated value 'invalidProjectKey' of 'Sendable'-conforming enum 'OTAManagerError' has non-sendable type 'DeviceInfoToken'; this is an error in the Swift 6 language mode
217 | case deviceIsUpToDate
218 | case invalidArtifactURL
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/Tokens/DeviceInfoToken.swift:13:15: note: consider making struct 'DeviceInfoToken' conform to the 'Sendable' protocol
11 | // MARK: - DeviceInfoToken
12 |
13 | public struct DeviceInfoToken {
| `- note: consider making struct 'DeviceInfoToken' conform to the 'Sendable' protocol
14 |
15 | // MARK: Properties
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:88:45: warning: non-sendable result type 'LatestReleaseInfo' cannot be sent from nonisolated context in call to instance method 'getLatestReleaseInfo(deviceInfo:projectKey:)'; this is an error in the Swift 6 language mode
86 | Task { @MainActor in
87 | do {
88 | let releaseInfo = try await getLatestReleaseInfo(deviceInfo: deviceInfo,
| `- warning: non-sendable result type 'LatestReleaseInfo' cannot be sent from nonisolated context in call to instance method 'getLatestReleaseInfo(deviceInfo:projectKey:)'; this is an error in the Swift 6 language mode
89 | projectKey: projectKey)
90 | callback(.success(releaseInfo))
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/GetLatestReleaseInfoRequest.swift:42:15: note: consider making struct 'LatestReleaseInfo' conform to the 'Sendable' protocol
40 | // MARK: - LatestReleaseInfo
41 |
42 | public struct LatestReleaseInfo: Codable {
| `- note: consider making struct 'LatestReleaseInfo' conform to the 'Sendable' protocol
43 |
44 | // MARK: Properties
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:88:45: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
86 | Task { @MainActor in
87 | do {
88 | let releaseInfo = try await getLatestReleaseInfo(deviceInfo: deviceInfo,
| |- 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 | projectKey: projectKey)
90 | callback(.success(releaseInfo))
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:88:78: warning: sending 'deviceInfo' risks causing data races; this is an error in the Swift 6 language mode
86 | Task { @MainActor in
87 | do {
88 | let releaseInfo = try await getLatestReleaseInfo(deviceInfo: deviceInfo,
| |- warning: sending 'deviceInfo' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'deviceInfo' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
89 | projectKey: projectKey)
90 | callback(.success(releaseInfo))
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:89:78: warning: sending 'projectKey' risks causing data races; this is an error in the Swift 6 language mode
87 | do {
88 | let releaseInfo = try await getLatestReleaseInfo(deviceInfo: deviceInfo,
89 | projectKey: projectKey)
| |- warning: sending 'projectKey' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'projectKey' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
90 | callback(.success(releaseInfo))
91 | } catch {
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:90:17: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
88 | let releaseInfo = try await getLatestReleaseInfo(deviceInfo: deviceInfo,
89 | projectKey: projectKey)
90 | callback(.success(releaseInfo))
| |- 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
91 | } catch {
92 | guard let otaError = error as? OTAManagerError else {
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:152:60: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
150 | Task { @MainActor in
151 | do {
152 | let temporaryDownloadedFileURL = try await download(artifact: artifact)
| |- 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
153 | callback(.success(temporaryDownloadedFileURL))
154 | } catch {
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:152:79: warning: sending 'artifact' risks causing data races; this is an error in the Swift 6 language mode
150 | Task { @MainActor in
151 | do {
152 | let temporaryDownloadedFileURL = try await download(artifact: artifact)
| |- warning: sending 'artifact' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'artifact' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
153 | callback(.success(temporaryDownloadedFileURL))
154 | } catch {
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:153:17: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
151 | do {
152 | let temporaryDownloadedFileURL = try await download(artifact: artifact)
153 | callback(.success(temporaryDownloadedFileURL))
| |- 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
154 | } catch {
155 | guard let otaError = error as? OTAManagerError else {
[280/284] Compiling iOSOtaLibrary OTAManager.swift
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:216:10: warning: associated value 'invalidProjectKey' of 'Sendable'-conforming enum 'OTAManagerError' has non-sendable type 'DeviceInfoToken'; this is an error in the Swift 6 language mode
214 | case unableToParseResponse
215 | case networkError
216 | case invalidProjectKey(_ deviceInfo: DeviceInfoToken)
| `- warning: associated value 'invalidProjectKey' of 'Sendable'-conforming enum 'OTAManagerError' has non-sendable type 'DeviceInfoToken'; this is an error in the Swift 6 language mode
217 | case deviceIsUpToDate
218 | case invalidArtifactURL
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/Tokens/DeviceInfoToken.swift:13:15: note: consider making struct 'DeviceInfoToken' conform to the 'Sendable' protocol
11 | // MARK: - DeviceInfoToken
12 |
13 | public struct DeviceInfoToken {
| `- note: consider making struct 'DeviceInfoToken' conform to the 'Sendable' protocol
14 |
15 | // MARK: Properties
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:88:45: warning: non-sendable result type 'LatestReleaseInfo' cannot be sent from nonisolated context in call to instance method 'getLatestReleaseInfo(deviceInfo:projectKey:)'; this is an error in the Swift 6 language mode
86 | Task { @MainActor in
87 | do {
88 | let releaseInfo = try await getLatestReleaseInfo(deviceInfo: deviceInfo,
| `- warning: non-sendable result type 'LatestReleaseInfo' cannot be sent from nonisolated context in call to instance method 'getLatestReleaseInfo(deviceInfo:projectKey:)'; this is an error in the Swift 6 language mode
89 | projectKey: projectKey)
90 | callback(.success(releaseInfo))
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/GetLatestReleaseInfoRequest.swift:42:15: note: consider making struct 'LatestReleaseInfo' conform to the 'Sendable' protocol
40 | // MARK: - LatestReleaseInfo
41 |
42 | public struct LatestReleaseInfo: Codable {
| `- note: consider making struct 'LatestReleaseInfo' conform to the 'Sendable' protocol
43 |
44 | // MARK: Properties
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:88:45: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
86 | Task { @MainActor in
87 | do {
88 | let releaseInfo = try await getLatestReleaseInfo(deviceInfo: deviceInfo,
| |- 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 | projectKey: projectKey)
90 | callback(.success(releaseInfo))
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:88:78: warning: sending 'deviceInfo' risks causing data races; this is an error in the Swift 6 language mode
86 | Task { @MainActor in
87 | do {
88 | let releaseInfo = try await getLatestReleaseInfo(deviceInfo: deviceInfo,
| |- warning: sending 'deviceInfo' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'deviceInfo' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
89 | projectKey: projectKey)
90 | callback(.success(releaseInfo))
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:89:78: warning: sending 'projectKey' risks causing data races; this is an error in the Swift 6 language mode
87 | do {
88 | let releaseInfo = try await getLatestReleaseInfo(deviceInfo: deviceInfo,
89 | projectKey: projectKey)
| |- warning: sending 'projectKey' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'projectKey' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
90 | callback(.success(releaseInfo))
91 | } catch {
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:90:17: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
88 | let releaseInfo = try await getLatestReleaseInfo(deviceInfo: deviceInfo,
89 | projectKey: projectKey)
90 | callback(.success(releaseInfo))
| |- 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
91 | } catch {
92 | guard let otaError = error as? OTAManagerError else {
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:152:60: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
150 | Task { @MainActor in
151 | do {
152 | let temporaryDownloadedFileURL = try await download(artifact: artifact)
| |- 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
153 | callback(.success(temporaryDownloadedFileURL))
154 | } catch {
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:152:79: warning: sending 'artifact' risks causing data races; this is an error in the Swift 6 language mode
150 | Task { @MainActor in
151 | do {
152 | let temporaryDownloadedFileURL = try await download(artifact: artifact)
| |- warning: sending 'artifact' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'artifact' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
153 | callback(.success(temporaryDownloadedFileURL))
154 | } catch {
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/OTAManager.swift:153:17: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
151 | do {
152 | let temporaryDownloadedFileURL = try await download(artifact: artifact)
153 | callback(.success(temporaryDownloadedFileURL))
| |- 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
154 | } catch {
155 | guard let otaError = error as? OTAManagerError else {
[281/284] Compiling iOSOtaLibrary DeviceInfoToken.swift
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/Tokens/DeviceInfoToken.swift:83:45: warning: non-breaking space (U+00A0) used instead of regular space
81 | public var failureReason: String? { errorDescription }
82 |
83 | public var recoverySuggestion: String? { errorDescription }
| `- warning: non-breaking space (U+00A0) used instead of regular space
84 | }
85 |
[282/284] Compiling iOSOtaLibrary ProjectKey.swift
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/Tokens/DeviceInfoToken.swift:83:45: warning: non-breaking space (U+00A0) used instead of regular space
81 | public var failureReason: String? { errorDescription }
82 |
83 | public var recoverySuggestion: String? { errorDescription }
| `- warning: non-breaking space (U+00A0) used instead of regular space
84 | }
85 |
[283/284] Compiling iOSOtaLibrary ObservabilityError.swift
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:154:26: warning: variable 'self' was written to, but never read
152 | peripheral
153 | .listenValues(for: dataExportCharacteristic)
154 | .map { [weak self] data in
| `- warning: variable 'self' was written to, but never read
155 | ObservabilityChunk(data)
156 | }
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:198:13: warning: capture of 'self' with non-sendable type 'ObservabilityManager?' in a '@Sendable' closure
196 | retryTimer = Timer.scheduledTimer(withTimeInterval: Self.AutoUploadRetryDelay, repeats: false) { [weak self] timer in
197 | timer.invalidate()
198 | self?.retryTimer = nil
| `- warning: capture of 'self' with non-sendable type 'ObservabilityManager?' in a '@Sendable' closure
199 | self?.resumeUploadsIfNotBusy(for: identifier, with: auth)
200 | }
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager.swift:16:20: note: class 'ObservabilityManager' does not conform to the 'Sendable' protocol
14 | // MARK: - ObservabilityManager
15 |
16 | public final class ObservabilityManager {
| `- note: class 'ObservabilityManager' does not conform to the 'Sendable' protocol
17 |
18 | // MARK: Private Constants
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:199:65: warning: capture of 'auth' with non-sendable type 'ObservabilityAuth' in a '@Sendable' closure
197 | timer.invalidate()
198 | self?.retryTimer = nil
199 | self?.resumeUploadsIfNotBusy(for: identifier, with: auth)
| `- warning: capture of 'auth' with non-sendable type 'ObservabilityAuth' in a '@Sendable' closure
200 | }
201 | }
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/PostChunkRequest.swift:75:15: note: consider making struct 'ObservabilityAuth' conform to the 'Sendable' protocol
73 | // MARK: - ObservabilityAuth
74 |
75 | public struct ObservabilityAuth {
| `- note: consider making struct 'ObservabilityAuth' conform to the 'Sendable' protocol
76 |
77 | let url: URL
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:141:42: warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
139 | log("Restored \(pendingChunks.count) Pending Chunks from \(identifier)")
140 | let pendingUploads = state.update(pendingChunks, from: identifier, to: .pendingUpload)
141 | deviceContinuations[identifier]?.yield((identifier, .updatedChunks(pendingUploads)))
| |- warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
| `- note: Passing task-isolated value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:222:42: warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
220 |
221 | let uploadingChunks: [ObservabilityChunk] = state.update(chunks, from: identifier, to: .uploading)
222 | deviceContinuations[identifier]?.yield((identifier, .updatedChunks(uploadingChunks)))
| |- warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
| `- note: Passing task-isolated value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
223 | logChunksUpdate("Uploading Chunks with", on: uploadingChunks)
224 |
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:75:46: warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
73 | authValue: String(authString[1]))
74 | devices[identifier]?.auth = auth
75 | deviceContinuations[identifier]?.yield((identifier, .authenticated(auth)))
| |- warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
| `- note: Passing task-isolated value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
76 |
77 | let setNotifyResult = try await peripheral.setNotifyValue(true, for: mdsData)
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:213:42: warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
211 | state.add(chunks, for: identifier)
212 | logChunksUpdate("Received Chunks with", on: chunks)
213 | deviceContinuations[identifier]?.yield((identifier, .updatedChunks(chunks)))
| |- warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
| `- note: Passing task-isolated value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
214 | }
215 |
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:256:42: warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
254 | func handleError(_ error: some Error, for uploadingChunks: [ObservabilityChunk], from identifier: UUID, with auth: ObservabilityAuth) {
255 | let errorChunks = state.update(uploadingChunks, from: identifier, to: .uploadError)
256 | deviceContinuations[identifier]?.yield((identifier, .updatedChunks(errorChunks)))
| |- warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
| `- note: Passing task-isolated value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
257 | networkBusy = false
258 | if let urlError = error as? URLError,
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:240:50: warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
238 | let uploadedChunks = state.update(uploadingChunks, from: identifier, to: .success)
239 | logChunksUpdate("Uploaded Chunks with", on: uploadingChunks)
240 | deviceContinuations[identifier]?.yield((identifier, .updatedChunks(uploadedChunks)))
| |- warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
| `- note: Passing task-isolated value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
241 | state.clear(uploadedChunks, from: identifier)
242 |
[284/284] Compiling iOSOtaLibrary ObservabilityManager+Internal.swift
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:154:26: warning: variable 'self' was written to, but never read
152 | peripheral
153 | .listenValues(for: dataExportCharacteristic)
154 | .map { [weak self] data in
| `- warning: variable 'self' was written to, but never read
155 | ObservabilityChunk(data)
156 | }
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:198:13: warning: capture of 'self' with non-sendable type 'ObservabilityManager?' in a '@Sendable' closure
196 | retryTimer = Timer.scheduledTimer(withTimeInterval: Self.AutoUploadRetryDelay, repeats: false) { [weak self] timer in
197 | timer.invalidate()
198 | self?.retryTimer = nil
| `- warning: capture of 'self' with non-sendable type 'ObservabilityManager?' in a '@Sendable' closure
199 | self?.resumeUploadsIfNotBusy(for: identifier, with: auth)
200 | }
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager.swift:16:20: note: class 'ObservabilityManager' does not conform to the 'Sendable' protocol
14 | // MARK: - ObservabilityManager
15 |
16 | public final class ObservabilityManager {
| `- note: class 'ObservabilityManager' does not conform to the 'Sendable' protocol
17 |
18 | // MARK: Private Constants
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:199:65: warning: capture of 'auth' with non-sendable type 'ObservabilityAuth' in a '@Sendable' closure
197 | timer.invalidate()
198 | self?.retryTimer = nil
199 | self?.resumeUploadsIfNotBusy(for: identifier, with: auth)
| `- warning: capture of 'auth' with non-sendable type 'ObservabilityAuth' in a '@Sendable' closure
200 | }
201 | }
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/PostChunkRequest.swift:75:15: note: consider making struct 'ObservabilityAuth' conform to the 'Sendable' protocol
73 | // MARK: - ObservabilityAuth
74 |
75 | public struct ObservabilityAuth {
| `- note: consider making struct 'ObservabilityAuth' conform to the 'Sendable' protocol
76 |
77 | let url: URL
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:141:42: warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
139 | log("Restored \(pendingChunks.count) Pending Chunks from \(identifier)")
140 | let pendingUploads = state.update(pendingChunks, from: identifier, to: .pendingUpload)
141 | deviceContinuations[identifier]?.yield((identifier, .updatedChunks(pendingUploads)))
| |- warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
| `- note: Passing task-isolated value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:222:42: warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
220 |
221 | let uploadingChunks: [ObservabilityChunk] = state.update(chunks, from: identifier, to: .uploading)
222 | deviceContinuations[identifier]?.yield((identifier, .updatedChunks(uploadingChunks)))
| |- warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
| `- note: Passing task-isolated value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
223 | logChunksUpdate("Uploading Chunks with", on: uploadingChunks)
224 |
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:75:46: warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
73 | authValue: String(authString[1]))
74 | devices[identifier]?.auth = auth
75 | deviceContinuations[identifier]?.yield((identifier, .authenticated(auth)))
| |- warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
| `- note: Passing task-isolated value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
76 |
77 | let setNotifyResult = try await peripheral.setNotifyValue(true, for: mdsData)
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:213:42: warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
211 | state.add(chunks, for: identifier)
212 | logChunksUpdate("Received Chunks with", on: chunks)
213 | deviceContinuations[identifier]?.yield((identifier, .updatedChunks(chunks)))
| |- warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
| `- note: Passing task-isolated value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
214 | }
215 |
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:256:42: warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
254 | func handleError(_ error: some Error, for uploadingChunks: [ObservabilityChunk], from identifier: UUID, with auth: ObservabilityAuth) {
255 | let errorChunks = state.update(uploadingChunks, from: identifier, to: .uploadError)
256 | deviceContinuations[identifier]?.yield((identifier, .updatedChunks(errorChunks)))
| |- warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
| `- note: Passing task-isolated value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
257 | networkBusy = false
258 | if let urlError = error as? URLError,
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:240:50: warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
238 | let uploadedChunks = state.update(uploadingChunks, from: identifier, to: .success)
239 | logChunksUpdate("Uploaded Chunks with", on: uploadingChunks)
240 | deviceContinuations[identifier]?.yield((identifier, .updatedChunks(uploadedChunks)))
| |- warning: sending value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' risks causing data races; this is an error in the Swift 6 language mode
| `- note: Passing task-isolated value of non-Sendable type '(deviceUUID: UUID, event: ObservabilityDeviceEvent)' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
241 | state.clear(uploadedChunks, from: identifier)
242 |
Fetching https://github.com/valpackett/SwiftCBOR.git
Fetching https://github.com/nordicsemi/IOS-Common-Libraries
Fetching https://github.com/nordicsemi/IOS-BLE-Library
Fetching https://github.com/weichsel/ZIPFoundation.git
[1/5085] Fetching ios-ble-library
[2/6661] Fetching ios-ble-library, swiftcbor
[97/8741] Fetching ios-ble-library, swiftcbor, ios-common-libraries
[816/16372] Fetching ios-ble-library, swiftcbor, ios-common-libraries, zipfoundation
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (1.66s)
[8640/8741] Fetching ios-ble-library, swiftcbor, ios-common-libraries
Fetched https://github.com/nordicsemi/IOS-Common-Libraries from cache (1.89s)
Fetched https://github.com/nordicsemi/IOS-BLE-Library from cache (1.89s)
Fetched https://github.com/valpackett/SwiftCBOR.git from cache (1.89s)
Computing version for https://github.com/nordicsemi/IOS-Common-Libraries
Computed https://github.com/nordicsemi/IOS-Common-Libraries at 0.2.6 (2.52s)
Computing version for https://github.com/nordicsemi/IOS-BLE-Library
Computed https://github.com/nordicsemi/IOS-BLE-Library at 0.4.5 (0.60s)
Fetching https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git
[1/9051] Fetching ios-corebluetooth-mock
Fetched https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git from cache (1.93s)
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.62s)
Computing version for https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git
Computed https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git at 1.1.1 (0.49s)
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.6
Creating working copy for https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git
Working copy of https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git resolved at 1.1.1
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.20
Creating working copy for https://github.com/nordicsemi/IOS-BLE-Library
Working copy of https://github.com/nordicsemi/IOS-BLE-Library resolved at 0.4.5
Creating working copy for https://github.com/valpackett/SwiftCBOR.git
Working copy of https://github.com/valpackett/SwiftCBOR.git resolved at 0.6.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/PrivacyInfo.xcprivacy
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/4] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling MockGeneratorTool main.swift
[3/6] Emitting module MockGeneratorTool
[3/5] Linking MockGeneratorTool-tool
[4/5] Applying MockGeneratorTool-tool
[0/1] Planning build
[1/1] Compiling plugin MockGenerator
Building for debugging...
[1/27] Write swift-version-2F0A5646E1D333AE.txt
[2/169] Linking MockGeneratorTool-tool
[3/169] MockCopy Publishers+GuestList.swift
[4/169] MockCopy UnimplementedError.swift
[4/169] MockCopy RSSI.swift
[4/169] MockCopy Publishers+FailablePrefix.swift.swift
[7/169] MockCopy Queue.swift
[7/169] MockCopy Publishers+Connectable.swift
[9/169] MockCopy Publishers+Bluetooth.swift
[10/169] MockCopy ContinuationSubscriber.swift
[11/169] MockCopy Data+Ext.swift.swift
[11/169] MockCopy Publishers+Async.swift
[13/169] MockCopy Logger.swift
[13/169] MockCopy CBManagerState+Ext.swift
[15/169] MockCopy CBManagerState.swift
[16/169] MockCopy AsyncCharacteristicData.swift
[17/169] MockCopy AdvertisementData.swift
[18/169] MockCopy ReactivePeripheralDelegate.swift
[19/169] MockCopy Peripheral.swift
[20/169] MockCopy PeripheralError.swift
[21/169] MockCopy Peripheral+Writer.swift
[22/169] MockCopy ReactiveCentralManagerDelegate.swift
[22/169] MockCopy ScanResult.swift
[24/169] MockCopy CentralManager.swift
[26/168] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
[27/168] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[28/169] Compiling iOS_Common_Libraries CGSize.swift
[29/169] Compiling iOS_Common_Libraries Collection.swift
[30/169] Compiling iOS_Common_Libraries RSSI.swift
[31/169] Compiling iOS_Common_Libraries LabelStyle.swift
[32/169] Compiling iOS_Common_Libraries LabeledContentStyle.swift
[33/171] Compiling iOS_Common_Libraries BlinkingCursorView.swift
[34/171] Compiling iOS_Common_Libraries CancellableTextField.swift
[35/171] Compiling iOS_Common_Libraries Array.swift
[36/171] Compiling iOS_Common_Libraries AutoLayout.swift
[37/171] Compiling iOS_Common_Libraries BlinkingModifier.swift
[38/171] Compiling iOS_Common_Libraries GlowingModifier.swift
[40/171] Compiling iOS_Common_Libraries TextFieldAlertModifier.swift
[43/171] Emitting module SwiftCBOR
[44/171] Compiling iOS_Common_Libraries AppIconView.swift
[45/171] Compiling iOS_Common_Libraries BadgeView.swift
[46/171] Compiling SwiftCBOR Util.swift
[47/171] Compiling iOS_Common_Libraries NSColor.swift
[48/171] Compiling iOS_Common_Libraries RGB.swift
[49/171] Compiling iOS_Common_Libraries Cache.swift
[53/171] Emitting module ZIPFoundation
[54/173] Emitting module CoreBluetoothMock
[60/173] Compiling iOS_Common_Libraries Preview.swift
[61/173] Compiling iOS_Common_Libraries RGBA.swift
[67/173] Compiling iOS_Common_Libraries Constant.swift
[68/173] Compiling iOS_Common_Libraries ErrorEvent.swift
[75/173] Compiling iOS_Common_Libraries Color.swift
[76/173] Compiling ZIPFoundation URL+ZIP.swift
[77/173] Compiling ZIPFoundation resource_bundle_accessor.swift
[99/173] Emitting module iOS_Common_Libraries
[100/181] Compiling iOS_Common_Libraries UInt32Parser.swift
[101/181] Compiling iOS_Common_Libraries UInt8Parser.swift
[102/181] Compiling iOS_Common_Libraries RecordOpcode.swift
[103/181] Compiling iOS_Common_Libraries RecordOperator.swift
[104/181] Compiling iOS_Common_Libraries RecordResponseStatus.swift
[105/181] Compiling iOS_Common_Libraries SensorLocation.swift
[106/181] Compiling iOS_Common_Libraries SensorType.swift
[107/181] Compiling iOS_Common_Libraries Status.swift
[108/181] Compiling iOS_Common_Libraries GlucoseMeasurement.swift
[109/181] Compiling iOS_Common_Libraries URLSession.swift
[110/181] Compiling iOS_Common_Libraries CommonDataParser.swift
[111/181] Compiling iOS_Common_Libraries Data+Ext.swift
[112/181] Compiling iOS_Common_Libraries DataParser.swift
[113/181] Compiling iOS_Common_Libraries DataReader.swift
[114/181] Compiling iOS_Common_Libraries DateParser.swift
[115/181] Compiling iOS_Common_Libraries DoubleParser.swift
[116/181] Compiling iOS_Common_Libraries SFloatParser.swift
[117/181] Compiling iOS_Common_Libraries UInt16Parser.swift
[118/181] Compiling iOS_Common_Libraries HeartRateMeasurement.swift
[119/181] Compiling iOS_Common_Libraries HeartRateSensorContact.swift
[120/181] Compiling iOS_Common_Libraries HeartRateSensorLocation.swift
[121/181] Compiling iOS_Common_Libraries NordicDataParser.swift
[122/181] Compiling iOS_Common_Libraries ParsingError.swift
[123/181] Compiling iOS_Common_Libraries TemperatureFlag.swift
[124/181] Compiling iOS_Common_Libraries TemperatureMeasurement.swift
[125/181] Compiling iOS_Common_Libraries BitField.swift
[126/181] Compiling iOS_Common_Libraries Sequence.swift
[127/181] Compiling iOS_Common_Libraries String.swift
[128/181] Compiling iOS_Common_Libraries Task.swift
[129/181] Compiling iOS_Common_Libraries UIStackView.swift
[130/181] Compiling iOS_Common_Libraries UIView.swift
[131/181] Compiling iOS_Common_Libraries View.swift
[132/181] Compiling iOS_Common_Libraries HTTPRequest.swift
[133/181] Compiling iOS_Common_Libraries Network.swift
[134/181] Compiling iOS_Common_Libraries NetworkResponse.swift
[135/181] Compiling CoreBluetoothMock Blinky.swift
[136/181] Compiling CoreBluetoothMock UART.swift
[142/181] Compiling iOS_Common_Libraries LogRecord.swift
[143/181] Compiling iOS_Common_Libraries Option.swift
[145/212] Compiling iOSMcuManagerLibrary ShellManager.swift
[146/212] Compiling iOSMcuManagerLibrary StatsManager+Async.swift
[147/212] Compiling iOSMcuManagerLibrary StatsManager.swift
[148/212] Compiling iOSMcuManagerLibrary SuitManager+Async.swift
[149/212] Compiling iOSMcuManagerLibrary SuitManager.swift
[150/212] Compiling iOS_Common_Libraries Float.swift
[151/212] Compiling iOS_Common_Libraries NordicLog.swift
[152/212] Compiling iOS_Common_Libraries Optional.swift
[153/212] Compiling iOS_Common_Libraries Publisher.swift
[154/212] Compiling iOS_Common_Libraries DevZoneLinkView.swift
[155/212] Compiling iOS_Common_Libraries DotView.swift
[156/212] Compiling iOS_Common_Libraries FPSCounter.swift
[157/212] Compiling iOS_Common_Libraries IndeterminateProgressView.swift
[158/212] Compiling iOS_Common_Libraries InlinePicker.swift
[159/212] Compiling iOS_Common_Libraries InlineSegmentedControlPicker.swift
[160/212] Compiling iOS_Common_Libraries NoContentView.swift
[161/212] Compiling iOS_Common_Libraries NordicDataField.swift
[162/227] Compiling iOSMcuManagerLibrary CBOR+McuManager.swift
[163/227] Compiling iOSMcuManagerLibrary Data+McuManager.swift
[164/227] Compiling iOSMcuManagerLibrary String+McuManager.swift
[165/227] Compiling iOSMcuManagerLibrary SettingsManager+Async.swift
[166/227] Compiling iOSMcuManagerLibrary SettingsManager.swift
[167/227] Compiling iOSMcuManagerLibrary McuMgrBleTransportWriteState.swift
[168/227] Compiling iOS_Common_Libraries PasswordField.swift
[169/227] Compiling iOS_Common_Libraries PipelineManager.swift
[170/227] Compiling iOS_Common_Libraries PipelineStage.swift
[171/227] Compiling iOS_Common_Libraries PipelineView.swift
[172/227] Compiling iOS_Common_Libraries ProgressView.swift
[173/227] Compiling iOS_Common_Libraries RSSIShape.swift
[174/227] Compiling iOS_Common_Libraries RSSIView.swift
[175/227] Compiling iOS_Common_Libraries SourceCodeLinkView.swift
[176/227] Compiling iOSMcuManagerLibrary FirmwareUpgradePeripheralFinder.swift
[177/227] Compiling iOSMcuManagerLibrary DefaultManager+Async.swift
[178/227] Compiling iOSMcuManagerLibrary DefaultManager.swift
[179/227] Compiling iOSMcuManagerLibrary FirmwareUpgradeManager+Public.swift
[180/227] Compiling iOSMcuManagerLibrary FirmwareUpgradeManager.swift
[181/227] Compiling iOSMcuManagerLibrary FirmwareUpgradeMode.swift
[182/249] Emitting module iOS_BLE_Library_Mock
[183/251] Compiling iOS_BLE_Library_Mock Alias.swift
[184/251] Compiling iOS_BLE_Library_Mock RSSI.swift
[185/251] Compiling iOS_BLE_Library_Mock Logger.swift
[186/251] Compiling iOS_BLE_Library_Mock AdvertisementData.swift
[187/251] Compiling iOS_BLE_Library_Mock CBManagerState.swift
[188/251] Compiling iOS_BLE_Library_Mock Publishers+Async.swift
[189/251] Compiling iOS_BLE_Library_Mock ReactiveCentralManagerDelegate.swift
[190/251] Compiling iOS_BLE_Library_Mock ScanResult.swift
[191/251] Compiling iOS_BLE_Library_Mock AsyncCharacteristicData.swift
[192/251] Compiling iOS_BLE_Library_Mock ReactivePeripheralDelegate.swift
[193/251] Compiling iOS_BLE_Library_Mock CBManagerState+Ext.swift
[194/251] Compiling iOS_BLE_Library_Mock Data+Ext.swift.swift
[195/251] Compiling iOS_BLE_Library_Mock UnimplementedError.swift
[196/251] Compiling iOS_BLE_Library_Mock Publishers+Connectable.swift
[197/251] Compiling iOS_BLE_Library_Mock ContinuationSubscriber.swift
[198/251] Compiling iOS_BLE_Library_Mock Peripheral+Writer.swift
[199/251] Compiling iOS_BLE_Library_Mock CentralManager.swift
[200/251] Compiling iOS_BLE_Library_Mock Queue.swift
[201/251] Compiling iOS_BLE_Library_Mock Publishers+FailablePrefix.swift.swift
[202/251] Compiling iOS_BLE_Library_Mock Publishers+Bluetooth.swift
[203/251] Compiling iOS_BLE_Library_Mock Publishers+GuestList.swift
[204/251] Compiling iOS_BLE_Library_Mock Peripheral.swift
[205/251] Compiling iOS_BLE_Library_Mock PeripheralError.swift
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager.swift:573:17: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
571 |
572 | private func onUploadResponseError(_ error: any LocalizedError, for response: McuMgrUploadResponse) {
573 | if case let McuMgrError.returnCode(.busy) = error {
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
574 | log(msg: "Received 'busy' Error from Device. Will try again after a short day.", atLevel: .debug)
575 | if let offset = response.off {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:18:5: warning: 'public' modifier is redundant for instance method declared in a public extension
16 | // MARK: async write()
17 |
18 | public func write(name: String, value: [UInt8]) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
19 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
20 | write(name: name, value: value) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 | // MARK: async save()
33 |
34 | public func save() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
36 | send(op: .write, commandId: ConfigID.three, payload: nil) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:50:5: warning: 'public' modifier is redundant for instance method declared in a public extension
48 | // MARK: async setFirmwareLoaderAdvertisingName(_:)
49 |
50 | public func setFirmwareLoaderAdvertisingName(_ name: String) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
51 | do {
52 | let nameBlob: [UInt8] = Array(name.utf8)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:53:23: warning: result of call to 'write(name:value:)' is unused
51 | do {
52 | let nameBlob: [UInt8] = Array(name.utf8)
53 | try await write(name: "fw_loader/adv_name", value: nameBlob)
| `- warning: result of call to 'write(name:value:)' is unused
54 | return try await save()
55 | } catch {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager.swift:573:17: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
571 |
572 | private func onUploadResponseError(_ error: any LocalizedError, for response: McuMgrUploadResponse) {
573 | if case let McuMgrError.returnCode(.busy) = error {
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
574 | log(msg: "Received 'busy' Error from Device. Will try again after a short day.", atLevel: .debug)
575 | if let offset = response.off {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:18:5: warning: 'public' modifier is redundant for instance method declared in a public extension
16 | // MARK: async write()
17 |
18 | public func write(name: String, value: [UInt8]) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
19 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
20 | write(name: name, value: value) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 | // MARK: async save()
33 |
34 | public func save() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
36 | send(op: .write, commandId: ConfigID.three, payload: nil) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:50:5: warning: 'public' modifier is redundant for instance method declared in a public extension
48 | // MARK: async setFirmwareLoaderAdvertisingName(_:)
49 |
50 | public func setFirmwareLoaderAdvertisingName(_ name: String) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
51 | do {
52 | let nameBlob: [UInt8] = Array(name.utf8)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:53:23: warning: result of call to 'write(name:value:)' is unused
51 | do {
52 | let nameBlob: [UInt8] = Array(name.utf8)
53 | try await write(name: "fw_loader/adv_name", value: nameBlob)
| `- warning: result of call to 'write(name:value:)' is unused
54 | return try await save()
55 | } catch {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager.swift:573:17: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
571 |
572 | private func onUploadResponseError(_ error: any LocalizedError, for response: McuMgrUploadResponse) {
573 | if case let McuMgrError.returnCode(.busy) = error {
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
574 | log(msg: "Received 'busy' Error from Device. Will try again after a short day.", atLevel: .debug)
575 | if let offset = response.off {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:18:5: warning: 'public' modifier is redundant for instance method declared in a public extension
16 | // MARK: async write()
17 |
18 | public func write(name: String, value: [UInt8]) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
19 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
20 | write(name: name, value: value) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 | // MARK: async save()
33 |
34 | public func save() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
36 | send(op: .write, commandId: ConfigID.three, payload: nil) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:50:5: warning: 'public' modifier is redundant for instance method declared in a public extension
48 | // MARK: async setFirmwareLoaderAdvertisingName(_:)
49 |
50 | public func setFirmwareLoaderAdvertisingName(_ name: String) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
51 | do {
52 | let nameBlob: [UInt8] = Array(name.utf8)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:53:23: warning: result of call to 'write(name:value:)' is unused
51 | do {
52 | let nameBlob: [UInt8] = Array(name.utf8)
53 | try await write(name: "fw_loader/adv_name", value: nameBlob)
| `- warning: result of call to 'write(name:value:)' is unused
54 | return try await save()
55 | } catch {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager.swift:573:17: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
571 |
572 | private func onUploadResponseError(_ error: any LocalizedError, for response: McuMgrUploadResponse) {
573 | if case let McuMgrError.returnCode(.busy) = error {
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
574 | log(msg: "Received 'busy' Error from Device. Will try again after a short day.", atLevel: .debug)
575 | if let offset = response.off {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:18:5: warning: 'public' modifier is redundant for instance method declared in a public extension
16 | // MARK: async write()
17 |
18 | public func write(name: String, value: [UInt8]) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
19 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
20 | write(name: name, value: value) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 | // MARK: async save()
33 |
34 | public func save() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
36 | send(op: .write, commandId: ConfigID.three, payload: nil) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:50:5: warning: 'public' modifier is redundant for instance method declared in a public extension
48 | // MARK: async setFirmwareLoaderAdvertisingName(_:)
49 |
50 | public func setFirmwareLoaderAdvertisingName(_ name: String) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
51 | do {
52 | let nameBlob: [UInt8] = Array(name.utf8)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:53:23: warning: result of call to 'write(name:value:)' is unused
51 | do {
52 | let nameBlob: [UInt8] = Array(name.utf8)
53 | try await write(name: "fw_loader/adv_name", value: nameBlob)
| `- warning: result of call to 'write(name:value:)' is unused
54 | return try await save()
55 | } catch {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager.swift:573:17: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
571 |
572 | private func onUploadResponseError(_ error: any LocalizedError, for response: McuMgrUploadResponse) {
573 | if case let McuMgrError.returnCode(.busy) = error {
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
574 | log(msg: "Received 'busy' Error from Device. Will try again after a short day.", atLevel: .debug)
575 | if let offset = response.off {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:18:5: warning: 'public' modifier is redundant for instance method declared in a public extension
16 | // MARK: async write()
17 |
18 | public func write(name: String, value: [UInt8]) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
19 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
20 | write(name: name, value: value) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 | // MARK: async save()
33 |
34 | public func save() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
36 | send(op: .write, commandId: ConfigID.three, payload: nil) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:50:5: warning: 'public' modifier is redundant for instance method declared in a public extension
48 | // MARK: async setFirmwareLoaderAdvertisingName(_:)
49 |
50 | public func setFirmwareLoaderAdvertisingName(_ name: String) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
51 | do {
52 | let nameBlob: [UInt8] = Array(name.utf8)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:53:23: warning: result of call to 'write(name:value:)' is unused
51 | do {
52 | let nameBlob: [UInt8] = Array(name.utf8)
53 | try await write(name: "fw_loader/adv_name", value: nameBlob)
| `- warning: result of call to 'write(name:value:)' is unused
54 | return try await save()
55 | } catch {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/BasicManager+Async.swift:9:8: warning: file 'BasicManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
7 |
8 | import Foundation
9 | import iOSMcuManagerLibrary
| `- warning: file 'BasicManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
10 |
11 | // MARK: - DefaultManager+Async
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/BasicManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 |
18 | /// Async variant of ``eraseAppSettings()``
19 | public func eraseAppSettings() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
21 | eraseAppSettings() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/BasicManager+Async.swift:9:8: warning: file 'BasicManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
7 |
8 | import Foundation
9 | import iOSMcuManagerLibrary
| `- warning: file 'BasicManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
10 |
11 | // MARK: - DefaultManager+Async
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/BasicManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 |
18 | /// Async variant of ``eraseAppSettings()``
19 | public func eraseAppSettings() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
21 | eraseAppSettings() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/BasicManager+Async.swift:9:8: warning: file 'BasicManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
7 |
8 | import Foundation
9 | import iOSMcuManagerLibrary
| `- warning: file 'BasicManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
10 |
11 | // MARK: - DefaultManager+Async
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/BasicManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 |
18 | /// Async variant of ``eraseAppSettings()``
19 | public func eraseAppSettings() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
21 | eraseAppSettings() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/BasicManager+Async.swift:9:8: warning: file 'BasicManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
7 |
8 | import Foundation
9 | import iOSMcuManagerLibrary
| `- warning: file 'BasicManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
10 |
11 | // MARK: - DefaultManager+Async
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/BasicManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 |
18 | /// Async variant of ``eraseAppSettings()``
19 | public func eraseAppSettings() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
21 | eraseAppSettings() { response, error in
[215/256] Compiling iOSMcuManagerLibrary BasicManager+Async.swift
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/BasicManager+Async.swift:9:8: warning: file 'BasicManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
7 |
8 | import Foundation
9 | import iOSMcuManagerLibrary
| `- warning: file 'BasicManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
10 |
11 | // MARK: - DefaultManager+Async
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/BasicManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 |
18 | /// Async variant of ``eraseAppSettings()``
19 | public func eraseAppSettings() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
21 | eraseAppSettings() { response, error in
[221/256] Emitting module iOSMcuManagerLibrary
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/BasicManager+Async.swift:9:8: warning: file 'BasicManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
7 |
8 | import Foundation
9 | import iOSMcuManagerLibrary
| `- warning: file 'BasicManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
10 |
11 | // MARK: - DefaultManager+Async
/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/FileSystemManager.swift:132:37: warning: non-breaking space (U+00A0) used instead of regular space
130 | objc_sync_enter(self)
131 | // If upload is already in progress or paused, do not continue.
132 | if transferState == .none || transferState == .cancelled {
| `- warning: non-breaking space (U+00A0) used instead of regular space
133 | // Set downloading flag to true.
134 | transferState = .downloading
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/BasicManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 |
18 | /// Async variant of ``eraseAppSettings()``
19 | public func eraseAppSettings() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
21 | eraseAppSettings() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:20:5: warning: 'public' modifier is redundant for instance method declared in a public extension
18 |
19 | /// Async variant of ``reset(bootMode:force:callback:)``
20 | public func reset(bootMode: ResetBootMode = .normal, force: Bool = false) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
21 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
22 | reset(bootMode: bootMode, force: force) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:37:5: warning: 'public' modifier is redundant for instance method declared in a public extension
35 |
36 | /// Async variant of ``params(callback:)``
37 | public func params() async throws -> McuMgrParametersResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
38 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrParametersResponse, Error>) in
39 | params { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:54:5: warning: 'public' modifier is redundant for instance method declared in a public extension
52 |
53 | /// Async variant of ``applicationInfo(format:callback:)``
54 | public func applicationInfo(format: Set<ApplicationInfoFormat>) async throws -> AppInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
55 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<AppInfoResponse, Error>) in
56 | applicationInfo(format: format) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | // MARK: bootloaderInfo()
69 |
70 | 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
71 | let bootloader = try await bootloaderQuery(.name).bootloader
72 | guard bootloader == .mcuboot else { return (bootloader: bootloader, mode: nil, slot: nil) }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:82:5: warning: 'public' modifier is redundant for instance method declared in a public extension
80 |
81 | /// Async variant of ``bootloaderInfo(query:callback:)``
82 | public func bootloaderQuery(_ query: BootloaderInfoQuery) async throws -> BootloaderInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
83 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<BootloaderInfoResponse, Error>) in
84 | bootloaderInfo(query: query) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:99:5: warning: 'public' modifier is redundant for instance method declared in a public extension
97 |
98 | /// Async variant of ``memoryPoolStats(callback:)``
99 | public func memoryPoolStats() async throws -> McuMgrMemoryPoolStatsResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
100 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrMemoryPoolStatsResponse, Error>) in
101 | memoryPoolStats() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 |
16 | @MainActor
17 | public func upload(_ name: String, data: Data, using configuration: FirmwareUpgradeConfiguration = FirmwareUpgradeConfiguration()) -> AsyncStream<AsyncFileSystemEvent> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | let asyncDelegate = AsyncFileSystemDelegate(name: name, data: data)
19 | self.asyncDelegate = asyncDelegate
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 |
33 | @MainActor
34 | public func download(_ path: String) -> AsyncStream<AsyncFileSystemEvent> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | let asyncDelegate = AsyncFileSystemDelegate(name: path)
36 | self.asyncDelegate = asyncDelegate
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 | // MARK: list() async
16 |
17 | public func list() async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
19 | list() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:33:5: warning: 'public' modifier is redundant for instance method declared in a public extension
31 | // MARK: test() async
32 |
33 | public func test(hash: [UInt8]) async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
34 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
35 | test(hash: hash) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:49:5: warning: 'public' modifier is redundant for instance method declared in a public extension
47 | // MARK: confirm() async
48 |
49 | public func confirm(hash: [UInt8]) async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
50 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
51 | confirm(hash: hash) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:65:5: warning: 'public' modifier is redundant for instance method declared in a public extension
63 | // MARK: erase() async throws
64 |
65 | public func erase(image: Int? = nil, slot: Int? = nil) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
67 | erase(image: image, slot: slot) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:18:5: warning: 'public' modifier is redundant for instance method declared in a public extension
16 | // MARK: async write()
17 |
18 | public func write(name: String, value: [UInt8]) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
19 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
20 | write(name: name, value: value) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 | // MARK: async save()
33 |
34 | public func save() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
36 | send(op: .write, commandId: ConfigID.three, payload: nil) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SettingsManager+Async.swift:50:5: warning: 'public' modifier is redundant for instance method declared in a public extension
48 | // MARK: async setFirmwareLoaderAdvertisingName(_:)
49 |
50 | public func setFirmwareLoaderAdvertisingName(_ name: String) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
51 | do {
52 | let nameBlob: [UInt8] = Array(name.utf8)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 |
18 | /// Async variant of ``list(callback:)``
19 | public func list() async throws -> McuMgrStatsListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsListResponse, Error>) in
21 | list { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:36:5: warning: 'public' modifier is redundant for instance method declared in a public extension
34 |
35 | /// Async variant of ``read(module:callback:)``
36 | public func read(module: String) async throws -> McuMgrStatsResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
37 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsResponse, Error>) in
38 | read(module: module) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 | // MARK: listManifest()
16 |
17 | public func listManifest() async throws -> SuitListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<SuitListResponse, Error>) in
19 | listManifest { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:33:5: warning: 'public' modifier is redundant for instance method declared in a public extension
31 | // MARK: processRecentlyUploadedEnvelope()
32 |
33 | public func processRecentlyUploadedEnvelope() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
34 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
35 | processRecentlyUploadedEnvelope() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:49:5: warning: 'public' modifier is redundant for instance method declared in a public extension
47 | // MARK: cleanup()
48 |
49 | public func cleanup() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
50 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
51 | cleanup { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1026:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1024 |
1025 | // Disregard connected state.
1026 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1027 |
1028 | switch self.state { // FirmwareUpgradeState, not McuMgrTransportState
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1167:40: warning: variable 'images' was never mutated; consider changing to 'let' constant
1165 |
1166 | public func uploadProgressDidChange(bytesSent: Int, imageSize: Int, timestamp: Date) {
1167 | if bytesSent == imageSize, var images {
| `- warning: variable 'images' was never mutated; consider changing to 'let' constant
1168 | // An Image was sent. Mark as uploaded.
1169 | if let image = images.first(where: { !$0.uploaded && $0.data.count == imageSize }) {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1026:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1024 |
1025 | // Disregard connected state.
1026 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1027 |
1028 | switch self.state { // FirmwareUpgradeState, not McuMgrTransportState
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1167:40: warning: variable 'images' was never mutated; consider changing to 'let' constant
1165 |
1166 | public func uploadProgressDidChange(bytesSent: Int, imageSize: Int, timestamp: Date) {
1167 | if bytesSent == imageSize, var images {
| `- warning: variable 'images' was never mutated; consider changing to 'let' constant
1168 | // An Image was sent. Mark as uploaded.
1169 | if let image = images.first(where: { !$0.uploaded && $0.data.count == imageSize }) {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1026:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1024 |
1025 | // Disregard connected state.
1026 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1027 |
1028 | switch self.state { // FirmwareUpgradeState, not McuMgrTransportState
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1167:40: warning: variable 'images' was never mutated; consider changing to 'let' constant
1165 |
1166 | public func uploadProgressDidChange(bytesSent: Int, imageSize: Int, timestamp: Date) {
1167 | if bytesSent == imageSize, var images {
| `- warning: variable 'images' was never mutated; consider changing to 'let' constant
1168 | // An Image was sent. Mark as uploaded.
1169 | if let image = images.first(where: { !$0.uploaded && $0.data.count == imageSize }) {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1026:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1024 |
1025 | // Disregard connected state.
1026 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1027 |
1028 | switch self.state { // FirmwareUpgradeState, not McuMgrTransportState
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1167:40: warning: variable 'images' was never mutated; consider changing to 'let' constant
1165 |
1166 | public func uploadProgressDidChange(bytesSent: Int, imageSize: Int, timestamp: Date) {
1167 | if bytesSent == imageSize, var images {
| `- warning: variable 'images' was never mutated; consider changing to 'let' constant
1168 | // An Image was sent. Mark as uploaded.
1169 | if let image = images.first(where: { !$0.uploaded && $0.data.count == imageSize }) {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1026:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1024 |
1025 | // Disregard connected state.
1026 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
1027 |
1028 | switch self.state { // FirmwareUpgradeState, not McuMgrTransportState
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DFU/FirmwareUpgradeManager.swift:1167:40: warning: variable 'images' was never mutated; consider changing to 'let' constant
1165 |
1166 | public func uploadProgressDidChange(bytesSent: Int, imageSize: Int, timestamp: Date) {
1167 | if bytesSent == imageSize, var images {
| `- warning: variable 'images' was never mutated; consider changing to 'let' constant
1168 | // An Image was sent. Mark as uploaded.
1169 | if let image = images.first(where: { !$0.uploaded && $0.data.count == imageSize }) {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/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/FileSystemManager.swift:132:37: warning: non-breaking space (U+00A0) used instead of regular space
130 | objc_sync_enter(self)
131 | // If upload is already in progress or paused, do not continue.
132 | if transferState == .none || transferState == .cancelled {
| `- warning: non-breaking space (U+00A0) used instead of regular space
133 | // Set downloading flag to true.
134 | transferState = .downloading
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:20:5: warning: 'public' modifier is redundant for instance method declared in a public extension
18 |
19 | /// Async variant of ``reset(bootMode:force:callback:)``
20 | public func reset(bootMode: ResetBootMode = .normal, force: Bool = false) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
21 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
22 | reset(bootMode: bootMode, force: force) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:37:5: warning: 'public' modifier is redundant for instance method declared in a public extension
35 |
36 | /// Async variant of ``params(callback:)``
37 | public func params() async throws -> McuMgrParametersResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
38 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrParametersResponse, Error>) in
39 | params { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:54:5: warning: 'public' modifier is redundant for instance method declared in a public extension
52 |
53 | /// Async variant of ``applicationInfo(format:callback:)``
54 | public func applicationInfo(format: Set<ApplicationInfoFormat>) async throws -> AppInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
55 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<AppInfoResponse, Error>) in
56 | applicationInfo(format: format) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | // MARK: bootloaderInfo()
69 |
70 | 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
71 | let bootloader = try await bootloaderQuery(.name).bootloader
72 | guard bootloader == .mcuboot else { return (bootloader: bootloader, mode: nil, slot: nil) }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:82:5: warning: 'public' modifier is redundant for instance method declared in a public extension
80 |
81 | /// Async variant of ``bootloaderInfo(query:callback:)``
82 | public func bootloaderQuery(_ query: BootloaderInfoQuery) async throws -> BootloaderInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
83 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<BootloaderInfoResponse, Error>) in
84 | bootloaderInfo(query: query) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:99:5: warning: 'public' modifier is redundant for instance method declared in a public extension
97 |
98 | /// Async variant of ``memoryPoolStats(callback:)``
99 | public func memoryPoolStats() async throws -> McuMgrMemoryPoolStatsResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
100 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrMemoryPoolStatsResponse, Error>) in
101 | memoryPoolStats() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 |
16 | @MainActor
17 | public func upload(_ name: String, data: Data, using configuration: FirmwareUpgradeConfiguration = FirmwareUpgradeConfiguration()) -> AsyncStream<AsyncFileSystemEvent> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | let asyncDelegate = AsyncFileSystemDelegate(name: name, data: data)
19 | self.asyncDelegate = asyncDelegate
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 |
33 | @MainActor
34 | public func download(_ path: String) -> AsyncStream<AsyncFileSystemEvent> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | let asyncDelegate = AsyncFileSystemDelegate(name: path)
36 | self.asyncDelegate = asyncDelegate
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:23:13: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
21 | let result = upload(name: name, data: data, using: configuration, delegate: asyncDelegate)
22 | if !result {
23 | defer {
| `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
24 | // deferred so stream listener can get it.
25 | asyncDelegate.send(.operationDidFail(FileSystemManagerError.operationAlreadyInProgress))
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:39:13: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
37 | let result = download(name: path, delegate: asyncDelegate)
38 | if !result {
39 | defer {
| `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
40 | // deferred so stream listener can get it.
41 | asyncDelegate.send(.operationDidFail(FileSystemManagerError.operationAlreadyInProgress))
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 | // MARK: list() async
16 |
17 | public func list() async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
19 | list() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:33:5: warning: 'public' modifier is redundant for instance method declared in a public extension
31 | // MARK: test() async
32 |
33 | public func test(hash: [UInt8]) async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
34 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
35 | test(hash: hash) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:49:5: warning: 'public' modifier is redundant for instance method declared in a public extension
47 | // MARK: confirm() async
48 |
49 | public func confirm(hash: [UInt8]) async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
50 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
51 | confirm(hash: hash) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:65:5: warning: 'public' modifier is redundant for instance method declared in a public extension
63 | // MARK: erase() async throws
64 |
65 | public func erase(image: Int? = nil, slot: Int? = nil) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
67 | erase(image: image, slot: slot) { response, error in
/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/FileSystemManager.swift:132:37: warning: non-breaking space (U+00A0) used instead of regular space
130 | objc_sync_enter(self)
131 | // If upload is already in progress or paused, do not continue.
132 | if transferState == .none || transferState == .cancelled {
| `- warning: non-breaking space (U+00A0) used instead of regular space
133 | // Set downloading flag to true.
134 | transferState = .downloading
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:20:5: warning: 'public' modifier is redundant for instance method declared in a public extension
18 |
19 | /// Async variant of ``reset(bootMode:force:callback:)``
20 | public func reset(bootMode: ResetBootMode = .normal, force: Bool = false) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
21 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
22 | reset(bootMode: bootMode, force: force) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:37:5: warning: 'public' modifier is redundant for instance method declared in a public extension
35 |
36 | /// Async variant of ``params(callback:)``
37 | public func params() async throws -> McuMgrParametersResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
38 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrParametersResponse, Error>) in
39 | params { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:54:5: warning: 'public' modifier is redundant for instance method declared in a public extension
52 |
53 | /// Async variant of ``applicationInfo(format:callback:)``
54 | public func applicationInfo(format: Set<ApplicationInfoFormat>) async throws -> AppInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
55 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<AppInfoResponse, Error>) in
56 | applicationInfo(format: format) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | // MARK: bootloaderInfo()
69 |
70 | 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
71 | let bootloader = try await bootloaderQuery(.name).bootloader
72 | guard bootloader == .mcuboot else { return (bootloader: bootloader, mode: nil, slot: nil) }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:82:5: warning: 'public' modifier is redundant for instance method declared in a public extension
80 |
81 | /// Async variant of ``bootloaderInfo(query:callback:)``
82 | public func bootloaderQuery(_ query: BootloaderInfoQuery) async throws -> BootloaderInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
83 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<BootloaderInfoResponse, Error>) in
84 | bootloaderInfo(query: query) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:99:5: warning: 'public' modifier is redundant for instance method declared in a public extension
97 |
98 | /// Async variant of ``memoryPoolStats(callback:)``
99 | public func memoryPoolStats() async throws -> McuMgrMemoryPoolStatsResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
100 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrMemoryPoolStatsResponse, Error>) in
101 | memoryPoolStats() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 |
16 | @MainActor
17 | public func upload(_ name: String, data: Data, using configuration: FirmwareUpgradeConfiguration = FirmwareUpgradeConfiguration()) -> AsyncStream<AsyncFileSystemEvent> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | let asyncDelegate = AsyncFileSystemDelegate(name: name, data: data)
19 | self.asyncDelegate = asyncDelegate
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 |
33 | @MainActor
34 | public func download(_ path: String) -> AsyncStream<AsyncFileSystemEvent> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | let asyncDelegate = AsyncFileSystemDelegate(name: path)
36 | self.asyncDelegate = asyncDelegate
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:23:13: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
21 | let result = upload(name: name, data: data, using: configuration, delegate: asyncDelegate)
22 | if !result {
23 | defer {
| `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
24 | // deferred so stream listener can get it.
25 | asyncDelegate.send(.operationDidFail(FileSystemManagerError.operationAlreadyInProgress))
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:39:13: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
37 | let result = download(name: path, delegate: asyncDelegate)
38 | if !result {
39 | defer {
| `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
40 | // deferred so stream listener can get it.
41 | asyncDelegate.send(.operationDidFail(FileSystemManagerError.operationAlreadyInProgress))
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 | // MARK: list() async
16 |
17 | public func list() async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
19 | list() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:33:5: warning: 'public' modifier is redundant for instance method declared in a public extension
31 | // MARK: test() async
32 |
33 | public func test(hash: [UInt8]) async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
34 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
35 | test(hash: hash) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:49:5: warning: 'public' modifier is redundant for instance method declared in a public extension
47 | // MARK: confirm() async
48 |
49 | public func confirm(hash: [UInt8]) async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
50 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
51 | confirm(hash: hash) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:65:5: warning: 'public' modifier is redundant for instance method declared in a public extension
63 | // MARK: erase() async throws
64 |
65 | public func erase(image: Int? = nil, slot: Int? = nil) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
67 | erase(image: image, slot: slot) { response, error in
/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/FileSystemManager.swift:132:37: warning: non-breaking space (U+00A0) used instead of regular space
130 | objc_sync_enter(self)
131 | // If upload is already in progress or paused, do not continue.
132 | if transferState == .none || transferState == .cancelled {
| `- warning: non-breaking space (U+00A0) used instead of regular space
133 | // Set downloading flag to true.
134 | transferState = .downloading
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:20:5: warning: 'public' modifier is redundant for instance method declared in a public extension
18 |
19 | /// Async variant of ``reset(bootMode:force:callback:)``
20 | public func reset(bootMode: ResetBootMode = .normal, force: Bool = false) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
21 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
22 | reset(bootMode: bootMode, force: force) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:37:5: warning: 'public' modifier is redundant for instance method declared in a public extension
35 |
36 | /// Async variant of ``params(callback:)``
37 | public func params() async throws -> McuMgrParametersResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
38 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrParametersResponse, Error>) in
39 | params { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:54:5: warning: 'public' modifier is redundant for instance method declared in a public extension
52 |
53 | /// Async variant of ``applicationInfo(format:callback:)``
54 | public func applicationInfo(format: Set<ApplicationInfoFormat>) async throws -> AppInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
55 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<AppInfoResponse, Error>) in
56 | applicationInfo(format: format) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | // MARK: bootloaderInfo()
69 |
70 | 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
71 | let bootloader = try await bootloaderQuery(.name).bootloader
72 | guard bootloader == .mcuboot else { return (bootloader: bootloader, mode: nil, slot: nil) }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:82:5: warning: 'public' modifier is redundant for instance method declared in a public extension
80 |
81 | /// Async variant of ``bootloaderInfo(query:callback:)``
82 | public func bootloaderQuery(_ query: BootloaderInfoQuery) async throws -> BootloaderInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
83 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<BootloaderInfoResponse, Error>) in
84 | bootloaderInfo(query: query) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:99:5: warning: 'public' modifier is redundant for instance method declared in a public extension
97 |
98 | /// Async variant of ``memoryPoolStats(callback:)``
99 | public func memoryPoolStats() async throws -> McuMgrMemoryPoolStatsResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
100 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrMemoryPoolStatsResponse, Error>) in
101 | memoryPoolStats() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 |
16 | @MainActor
17 | public func upload(_ name: String, data: Data, using configuration: FirmwareUpgradeConfiguration = FirmwareUpgradeConfiguration()) -> AsyncStream<AsyncFileSystemEvent> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | let asyncDelegate = AsyncFileSystemDelegate(name: name, data: data)
19 | self.asyncDelegate = asyncDelegate
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 |
33 | @MainActor
34 | public func download(_ path: String) -> AsyncStream<AsyncFileSystemEvent> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | let asyncDelegate = AsyncFileSystemDelegate(name: path)
36 | self.asyncDelegate = asyncDelegate
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:23:13: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
21 | let result = upload(name: name, data: data, using: configuration, delegate: asyncDelegate)
22 | if !result {
23 | defer {
| `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
24 | // deferred so stream listener can get it.
25 | asyncDelegate.send(.operationDidFail(FileSystemManagerError.operationAlreadyInProgress))
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:39:13: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
37 | let result = download(name: path, delegate: asyncDelegate)
38 | if !result {
39 | defer {
| `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
40 | // deferred so stream listener can get it.
41 | asyncDelegate.send(.operationDidFail(FileSystemManagerError.operationAlreadyInProgress))
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 | // MARK: list() async
16 |
17 | public func list() async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
19 | list() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:33:5: warning: 'public' modifier is redundant for instance method declared in a public extension
31 | // MARK: test() async
32 |
33 | public func test(hash: [UInt8]) async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
34 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
35 | test(hash: hash) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:49:5: warning: 'public' modifier is redundant for instance method declared in a public extension
47 | // MARK: confirm() async
48 |
49 | public func confirm(hash: [UInt8]) async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
50 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
51 | confirm(hash: hash) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:65:5: warning: 'public' modifier is redundant for instance method declared in a public extension
63 | // MARK: erase() async throws
64 |
65 | public func erase(image: Int? = nil, slot: Int? = nil) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
67 | erase(image: image, slot: slot) { response, error in
/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/FileSystemManager.swift:132:37: warning: non-breaking space (U+00A0) used instead of regular space
130 | objc_sync_enter(self)
131 | // If upload is already in progress or paused, do not continue.
132 | if transferState == .none || transferState == .cancelled {
| `- warning: non-breaking space (U+00A0) used instead of regular space
133 | // Set downloading flag to true.
134 | transferState = .downloading
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:20:5: warning: 'public' modifier is redundant for instance method declared in a public extension
18 |
19 | /// Async variant of ``reset(bootMode:force:callback:)``
20 | public func reset(bootMode: ResetBootMode = .normal, force: Bool = false) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
21 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
22 | reset(bootMode: bootMode, force: force) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:37:5: warning: 'public' modifier is redundant for instance method declared in a public extension
35 |
36 | /// Async variant of ``params(callback:)``
37 | public func params() async throws -> McuMgrParametersResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
38 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrParametersResponse, Error>) in
39 | params { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:54:5: warning: 'public' modifier is redundant for instance method declared in a public extension
52 |
53 | /// Async variant of ``applicationInfo(format:callback:)``
54 | public func applicationInfo(format: Set<ApplicationInfoFormat>) async throws -> AppInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
55 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<AppInfoResponse, Error>) in
56 | applicationInfo(format: format) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | // MARK: bootloaderInfo()
69 |
70 | 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
71 | let bootloader = try await bootloaderQuery(.name).bootloader
72 | guard bootloader == .mcuboot else { return (bootloader: bootloader, mode: nil, slot: nil) }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:82:5: warning: 'public' modifier is redundant for instance method declared in a public extension
80 |
81 | /// Async variant of ``bootloaderInfo(query:callback:)``
82 | public func bootloaderQuery(_ query: BootloaderInfoQuery) async throws -> BootloaderInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
83 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<BootloaderInfoResponse, Error>) in
84 | bootloaderInfo(query: query) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:99:5: warning: 'public' modifier is redundant for instance method declared in a public extension
97 |
98 | /// Async variant of ``memoryPoolStats(callback:)``
99 | public func memoryPoolStats() async throws -> McuMgrMemoryPoolStatsResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
100 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrMemoryPoolStatsResponse, Error>) in
101 | memoryPoolStats() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 |
16 | @MainActor
17 | public func upload(_ name: String, data: Data, using configuration: FirmwareUpgradeConfiguration = FirmwareUpgradeConfiguration()) -> AsyncStream<AsyncFileSystemEvent> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | let asyncDelegate = AsyncFileSystemDelegate(name: name, data: data)
19 | self.asyncDelegate = asyncDelegate
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 |
33 | @MainActor
34 | public func download(_ path: String) -> AsyncStream<AsyncFileSystemEvent> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | let asyncDelegate = AsyncFileSystemDelegate(name: path)
36 | self.asyncDelegate = asyncDelegate
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:23:13: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
21 | let result = upload(name: name, data: data, using: configuration, delegate: asyncDelegate)
22 | if !result {
23 | defer {
| `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
24 | // deferred so stream listener can get it.
25 | asyncDelegate.send(.operationDidFail(FileSystemManagerError.operationAlreadyInProgress))
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:39:13: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
37 | let result = download(name: path, delegate: asyncDelegate)
38 | if !result {
39 | defer {
| `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
40 | // deferred so stream listener can get it.
41 | asyncDelegate.send(.operationDidFail(FileSystemManagerError.operationAlreadyInProgress))
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 | // MARK: list() async
16 |
17 | public func list() async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
19 | list() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:33:5: warning: 'public' modifier is redundant for instance method declared in a public extension
31 | // MARK: test() async
32 |
33 | public func test(hash: [UInt8]) async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
34 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
35 | test(hash: hash) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:49:5: warning: 'public' modifier is redundant for instance method declared in a public extension
47 | // MARK: confirm() async
48 |
49 | public func confirm(hash: [UInt8]) async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
50 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
51 | confirm(hash: hash) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:65:5: warning: 'public' modifier is redundant for instance method declared in a public extension
63 | // MARK: erase() async throws
64 |
65 | public func erase(image: Int? = nil, slot: Int? = nil) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
67 | erase(image: image, slot: slot) { response, error in
/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/FileSystemManager.swift:132:37: warning: non-breaking space (U+00A0) used instead of regular space
130 | objc_sync_enter(self)
131 | // If upload is already in progress or paused, do not continue.
132 | if transferState == .none || transferState == .cancelled {
| `- warning: non-breaking space (U+00A0) used instead of regular space
133 | // Set downloading flag to true.
134 | transferState = .downloading
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:20:5: warning: 'public' modifier is redundant for instance method declared in a public extension
18 |
19 | /// Async variant of ``reset(bootMode:force:callback:)``
20 | public func reset(bootMode: ResetBootMode = .normal, force: Bool = false) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
21 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
22 | reset(bootMode: bootMode, force: force) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:37:5: warning: 'public' modifier is redundant for instance method declared in a public extension
35 |
36 | /// Async variant of ``params(callback:)``
37 | public func params() async throws -> McuMgrParametersResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
38 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrParametersResponse, Error>) in
39 | params { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:54:5: warning: 'public' modifier is redundant for instance method declared in a public extension
52 |
53 | /// Async variant of ``applicationInfo(format:callback:)``
54 | public func applicationInfo(format: Set<ApplicationInfoFormat>) async throws -> AppInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
55 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<AppInfoResponse, Error>) in
56 | applicationInfo(format: format) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | // MARK: bootloaderInfo()
69 |
70 | 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
71 | let bootloader = try await bootloaderQuery(.name).bootloader
72 | guard bootloader == .mcuboot else { return (bootloader: bootloader, mode: nil, slot: nil) }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:82:5: warning: 'public' modifier is redundant for instance method declared in a public extension
80 |
81 | /// Async variant of ``bootloaderInfo(query:callback:)``
82 | public func bootloaderQuery(_ query: BootloaderInfoQuery) async throws -> BootloaderInfoResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
83 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<BootloaderInfoResponse, Error>) in
84 | bootloaderInfo(query: query) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:99:5: warning: 'public' modifier is redundant for instance method declared in a public extension
97 |
98 | /// Async variant of ``memoryPoolStats(callback:)``
99 | public func memoryPoolStats() async throws -> McuMgrMemoryPoolStatsResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
100 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrMemoryPoolStatsResponse, Error>) in
101 | memoryPoolStats() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 |
16 | @MainActor
17 | public func upload(_ name: String, data: Data, using configuration: FirmwareUpgradeConfiguration = FirmwareUpgradeConfiguration()) -> AsyncStream<AsyncFileSystemEvent> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | let asyncDelegate = AsyncFileSystemDelegate(name: name, data: data)
19 | self.asyncDelegate = asyncDelegate
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 |
33 | @MainActor
34 | public func download(_ path: String) -> AsyncStream<AsyncFileSystemEvent> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | let asyncDelegate = AsyncFileSystemDelegate(name: path)
36 | self.asyncDelegate = asyncDelegate
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:23:13: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
21 | let result = upload(name: name, data: data, using: configuration, delegate: asyncDelegate)
22 | if !result {
23 | defer {
| `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
24 | // deferred so stream listener can get it.
25 | asyncDelegate.send(.operationDidFail(FileSystemManagerError.operationAlreadyInProgress))
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager+Async.swift:39:13: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
37 | let result = download(name: path, delegate: asyncDelegate)
38 | if !result {
39 | defer {
| `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
40 | // deferred so stream listener can get it.
41 | asyncDelegate.send(.operationDidFail(FileSystemManagerError.operationAlreadyInProgress))
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 | // MARK: list() async
16 |
17 | public func list() async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
19 | list() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:33:5: warning: 'public' modifier is redundant for instance method declared in a public extension
31 | // MARK: test() async
32 |
33 | public func test(hash: [UInt8]) async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
34 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
35 | test(hash: hash) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:49:5: warning: 'public' modifier is redundant for instance method declared in a public extension
47 | // MARK: confirm() async
48 |
49 | public func confirm(hash: [UInt8]) async throws -> McuMgrImageStateResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
50 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrImageStateResponse, Error>) in
51 | confirm(hash: hash) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/ImageManager+Async.swift:65:5: warning: 'public' modifier is redundant for instance method declared in a public extension
63 | // MARK: erase() async throws
64 |
65 | public func erase(image: Int? = nil, slot: Int? = nil) async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
67 | erase(image: image, slot: slot) { response, error in
[232/256] Compiling iOSMcuManagerLibrary BasicManager.swift
[233/256] Compiling iOSMcuManagerLibrary CrashManager.swift
[234/256] Compiling iOSMcuManagerLibrary FirmwareUpgradeConfiguration.swift
[235/256] Compiling iOSMcuManagerLibrary FirmwareUpgradeController.swift
[236/256] Compiling iOSMcuManagerLibrary FirmwareUpgradeError.swift
[237/256] Compiling iOSMcuManagerLibrary McuManager.swift
[238/256] Compiling iOSMcuManagerLibrary McuMgrCallbackOoOBuffer.swift
[239/256] Compiling iOSMcuManagerLibrary McuMgrHeader.swift
[240/256] Compiling iOSMcuManagerLibrary McuMgrImage.swift
[241/256] Compiling iOSMcuManagerLibrary McuMgrLogDelegate.swift
[242/256] Compiling iOSMcuManagerLibrary McuMgrManifest.swift
[243/256] Compiling iOSMcuManagerLibrary McuMgrPackage.swift
[244/256] Compiling iOSMcuManagerLibrary McuMgrResponse.swift
[245/256] Compiling iOSMcuManagerLibrary McuMgrSuitEnvelope.swift
[246/256] Compiling iOSMcuManagerLibrary McuMgrSuitManifest.swift
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 |
18 | /// Async variant of ``list(callback:)``
19 | public func list() async throws -> McuMgrStatsListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsListResponse, Error>) in
21 | list { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:36:5: warning: 'public' modifier is redundant for instance method declared in a public extension
34 |
35 | /// Async variant of ``read(module:callback:)``
36 | public func read(module: String) async throws -> McuMgrStatsResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
37 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsResponse, Error>) in
38 | read(module: module) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 | // MARK: listManifest()
16 |
17 | public func listManifest() async throws -> SuitListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<SuitListResponse, Error>) in
19 | listManifest { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:33:5: warning: 'public' modifier is redundant for instance method declared in a public extension
31 | // MARK: processRecentlyUploadedEnvelope()
32 |
33 | public func processRecentlyUploadedEnvelope() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
34 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
35 | processRecentlyUploadedEnvelope() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:49:5: warning: 'public' modifier is redundant for instance method declared in a public extension
47 | // MARK: cleanup()
48 |
49 | public func cleanup() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
50 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
51 | cleanup { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:619:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
617 | public func transport(_ transport: McuMgrTransport, didChangeStateTo state: McuMgrTransportState) {
618 | // Disregard other states.
619 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
620 |
621 | log(msg: "Device has disconnected.", atLevel: .info)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 |
18 | /// Async variant of ``list(callback:)``
19 | public func list() async throws -> McuMgrStatsListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsListResponse, Error>) in
21 | list { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:36:5: warning: 'public' modifier is redundant for instance method declared in a public extension
34 |
35 | /// Async variant of ``read(module:callback:)``
36 | public func read(module: String) async throws -> McuMgrStatsResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
37 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsResponse, Error>) in
38 | read(module: module) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 | // MARK: listManifest()
16 |
17 | public func listManifest() async throws -> SuitListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<SuitListResponse, Error>) in
19 | listManifest { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:33:5: warning: 'public' modifier is redundant for instance method declared in a public extension
31 | // MARK: processRecentlyUploadedEnvelope()
32 |
33 | public func processRecentlyUploadedEnvelope() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
34 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
35 | processRecentlyUploadedEnvelope() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:49:5: warning: 'public' modifier is redundant for instance method declared in a public extension
47 | // MARK: cleanup()
48 |
49 | public func cleanup() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
50 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
51 | cleanup { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:619:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
617 | public func transport(_ transport: McuMgrTransport, didChangeStateTo state: McuMgrTransportState) {
618 | // Disregard other states.
619 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
620 |
621 | log(msg: "Device has disconnected.", atLevel: .info)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 |
18 | /// Async variant of ``list(callback:)``
19 | public func list() async throws -> McuMgrStatsListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsListResponse, Error>) in
21 | list { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:36:5: warning: 'public' modifier is redundant for instance method declared in a public extension
34 |
35 | /// Async variant of ``read(module:callback:)``
36 | public func read(module: String) async throws -> McuMgrStatsResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
37 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsResponse, Error>) in
38 | read(module: module) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 | // MARK: listManifest()
16 |
17 | public func listManifest() async throws -> SuitListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<SuitListResponse, Error>) in
19 | listManifest { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:33:5: warning: 'public' modifier is redundant for instance method declared in a public extension
31 | // MARK: processRecentlyUploadedEnvelope()
32 |
33 | public func processRecentlyUploadedEnvelope() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
34 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
35 | processRecentlyUploadedEnvelope() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:49:5: warning: 'public' modifier is redundant for instance method declared in a public extension
47 | // MARK: cleanup()
48 |
49 | public func cleanup() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
50 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
51 | cleanup { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:619:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
617 | public func transport(_ transport: McuMgrTransport, didChangeStateTo state: McuMgrTransportState) {
618 | // Disregard other states.
619 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
620 |
621 | log(msg: "Device has disconnected.", atLevel: .info)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 |
18 | /// Async variant of ``list(callback:)``
19 | public func list() async throws -> McuMgrStatsListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsListResponse, Error>) in
21 | list { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:36:5: warning: 'public' modifier is redundant for instance method declared in a public extension
34 |
35 | /// Async variant of ``read(module:callback:)``
36 | public func read(module: String) async throws -> McuMgrStatsResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
37 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsResponse, Error>) in
38 | read(module: module) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 | // MARK: listManifest()
16 |
17 | public func listManifest() async throws -> SuitListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<SuitListResponse, Error>) in
19 | listManifest { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:33:5: warning: 'public' modifier is redundant for instance method declared in a public extension
31 | // MARK: processRecentlyUploadedEnvelope()
32 |
33 | public func processRecentlyUploadedEnvelope() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
34 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
35 | processRecentlyUploadedEnvelope() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:49:5: warning: 'public' modifier is redundant for instance method declared in a public extension
47 | // MARK: cleanup()
48 |
49 | public func cleanup() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
50 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
51 | cleanup { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:619:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
617 | public func transport(_ transport: McuMgrTransport, didChangeStateTo state: McuMgrTransportState) {
618 | // Disregard other states.
619 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
620 |
621 | log(msg: "Device has disconnected.", atLevel: .info)
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
17 |
18 | /// Async variant of ``list(callback:)``
19 | public func list() async throws -> McuMgrStatsListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsListResponse, Error>) in
21 | list { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/StatsManager+Async.swift:36:5: warning: 'public' modifier is redundant for instance method declared in a public extension
34 |
35 | /// Async variant of ``read(module:callback:)``
36 | public func read(module: String) async throws -> McuMgrStatsResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
37 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrStatsResponse, Error>) in
38 | read(module: module) { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 | // MARK: listManifest()
16 |
17 | public func listManifest() async throws -> SuitListResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<SuitListResponse, Error>) in
19 | listManifest { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:33:5: warning: 'public' modifier is redundant for instance method declared in a public extension
31 | // MARK: processRecentlyUploadedEnvelope()
32 |
33 | public func processRecentlyUploadedEnvelope() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
34 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
35 | processRecentlyUploadedEnvelope() { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager+Async.swift:49:5: warning: 'public' modifier is redundant for instance method declared in a public extension
47 | // MARK: cleanup()
48 |
49 | public func cleanup() async throws -> McuMgrResponse {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
50 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<McuMgrResponse, Error>) in
51 | cleanup { response, error in
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/SuitManager.swift:619:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
617 | public func transport(_ transport: McuMgrTransport, didChangeStateTo state: McuMgrTransportState) {
618 | // Disregard other states.
619 | guard case let .disconnected = state else { return }
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
620 |
621 | log(msg: "Device has disconnected.", atLevel: .info)
[252/256] Compiling iOSMcuManagerLibrary McuMgrTransport.swift
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrUploadPipeline.swift:85:13: warning: immutable value 'i' was never used; consider replacing with '_' or removing it
83 |
84 | mutating public func pipelinedSend(ofSize imageSize: Int, using sendFrom: @escaping (_ offset: UInt64) -> UInt64) {
85 | for i in 0..<availablePipelineSlots {
| `- warning: immutable value 'i' was never used; consider replacing with '_' or removing it
86 | let maxUnflushedCallbacks = 0 // constant
87 | guard pendingUnflushedCallbacks <= maxUnflushedCallbacks else {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrUploadPipeline.swift:122:30: warning: immutable value 'depth' was never used; consider replacing with '_' or removing it
120 | // If throttled, DON'T ramp up again. Stability / Reliability > Speed.
121 | phaseChangeTo(.stable(depth))
122 | case .stable(let depth):
| `- warning: immutable value 'depth' was never used; consider replacing with '_' or removing it
123 | break // Nothing to do here.
124 | }
[253/256] Compiling iOSMcuManagerLibrary McuMgrUploadPipeline.swift
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrUploadPipeline.swift:85:13: warning: immutable value 'i' was never used; consider replacing with '_' or removing it
83 |
84 | mutating public func pipelinedSend(ofSize imageSize: Int, using sendFrom: @escaping (_ offset: UInt64) -> UInt64) {
85 | for i in 0..<availablePipelineSlots {
| `- warning: immutable value 'i' was never used; consider replacing with '_' or removing it
86 | let maxUnflushedCallbacks = 0 // constant
87 | guard pendingUnflushedCallbacks <= maxUnflushedCallbacks else {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrUploadPipeline.swift:122:30: warning: immutable value 'depth' was never used; consider replacing with '_' or removing it
120 | // If throttled, DON'T ramp up again. Stability / Reliability > Speed.
121 | phaseChangeTo(.stable(depth))
122 | case .stable(let depth):
| `- warning: immutable value 'depth' was never used; consider replacing with '_' or removing it
123 | break // Nothing to do here.
124 | }
[254/256] Compiling iOSMcuManagerLibrary CBOR+String.swift
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrUploadPipeline.swift:85:13: warning: immutable value 'i' was never used; consider replacing with '_' or removing it
83 |
84 | mutating public func pipelinedSend(ofSize imageSize: Int, using sendFrom: @escaping (_ offset: UInt64) -> UInt64) {
85 | for i in 0..<availablePipelineSlots {
| `- warning: immutable value 'i' was never used; consider replacing with '_' or removing it
86 | let maxUnflushedCallbacks = 0 // constant
87 | guard pendingUnflushedCallbacks <= maxUnflushedCallbacks else {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrUploadPipeline.swift:122:30: warning: immutable value 'depth' was never used; consider replacing with '_' or removing it
120 | // If throttled, DON'T ramp up again. Stability / Reliability > Speed.
121 | phaseChangeTo(.stable(depth))
122 | case .stable(let depth):
| `- warning: immutable value 'depth' was never used; consider replacing with '_' or removing it
123 | break // Nothing to do here.
124 | }
[255/256] Compiling iOSMcuManagerLibrary ResultLock.swift
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrUploadPipeline.swift:85:13: warning: immutable value 'i' was never used; consider replacing with '_' or removing it
83 |
84 | mutating public func pipelinedSend(ofSize imageSize: Int, using sendFrom: @escaping (_ offset: UInt64) -> UInt64) {
85 | for i in 0..<availablePipelineSlots {
| `- warning: immutable value 'i' was never used; consider replacing with '_' or removing it
86 | let maxUnflushedCallbacks = 0 // constant
87 | guard pendingUnflushedCallbacks <= maxUnflushedCallbacks else {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrUploadPipeline.swift:122:30: warning: immutable value 'depth' was never used; consider replacing with '_' or removing it
120 | // If throttled, DON'T ramp up again. Stability / Reliability > Speed.
121 | phaseChangeTo(.stable(depth))
122 | case .stable(let depth):
| `- warning: immutable value 'depth' was never used; consider replacing with '_' or removing it
123 | break // Nothing to do here.
124 | }
[256/256] Compiling iOSMcuManagerLibrary UTI.swift
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrUploadPipeline.swift:85:13: warning: immutable value 'i' was never used; consider replacing with '_' or removing it
83 |
84 | mutating public func pipelinedSend(ofSize imageSize: Int, using sendFrom: @escaping (_ offset: UInt64) -> UInt64) {
85 | for i in 0..<availablePipelineSlots {
| `- warning: immutable value 'i' was never used; consider replacing with '_' or removing it
86 | let maxUnflushedCallbacks = 0 // constant
87 | guard pendingUnflushedCallbacks <= maxUnflushedCallbacks else {
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/McuMgrUploadPipeline.swift:122:30: warning: immutable value 'depth' was never used; consider replacing with '_' or removing it
120 | // If throttled, DON'T ramp up again. Stability / Reliability > Speed.
121 | phaseChangeTo(.stable(depth))
122 | case .stable(let depth):
| `- warning: immutable value 'depth' was never used; consider replacing with '_' or removing it
123 | break // Nothing to do here.
124 | }
[257/273] Compiling iOSOtaLibrary ObservabilityManager+Logs.swift
[258/273] Compiling iOSOtaLibrary ObservabilityManager.swift
[259/274] Compiling iOSOtaLibrary ObservabilityDevice.swift
[260/274] Compiling iOSOtaLibrary ObservabilityDeviceEvent.swift
[261/274] Compiling iOSOtaLibrary DeviceInfoToken.swift
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/Tokens/DeviceInfoToken.swift:83:45: warning: non-breaking space (U+00A0) used instead of regular space
81 | public var failureReason: String? { errorDescription }
82 |
83 | public var recoverySuggestion: String? { errorDescription }
| `- warning: non-breaking space (U+00A0) used instead of regular space
84 | }
85 |
[262/274] Compiling iOSOtaLibrary ProjectKey.swift
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/Tokens/DeviceInfoToken.swift:83:45: warning: non-breaking space (U+00A0) used instead of regular space
81 | public var failureReason: String? { errorDescription }
82 |
83 | public var recoverySuggestion: String? { errorDescription }
| `- warning: non-breaking space (U+00A0) used instead of regular space
84 | }
85 |
[263/274] Compiling iOSOtaLibrary CBUUID+MDS.swift
[264/274] Compiling iOSOtaLibrary ObservabilityChunk.swift
[265/274] Compiling iOSOtaLibrary OTAManager+Logs.swift
[266/274] Compiling iOSOtaLibrary OTAManager.swift
[267/274] Compiling iOSOtaLibrary GetLatestReleaseInfoRequest.swift
[268/274] Compiling iOSOtaLibrary MemfaultManager.swift
[269/274] Emitting module iOSOtaLibrary
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/Tokens/DeviceInfoToken.swift:83:45: warning: non-breaking space (U+00A0) used instead of regular space
81 | public var failureReason: String? { errorDescription }
82 |
83 | public var recoverySuggestion: String? { errorDescription }
| `- warning: non-breaking space (U+00A0) used instead of regular space
84 | }
85 |
[270/274] Compiling iOSOtaLibrary ObservabilityError.swift
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:154:26: warning: variable 'self' was written to, but never read
152 | peripheral
153 | .listenValues(for: dataExportCharacteristic)
154 | .map { [weak self] data in
| `- warning: variable 'self' was written to, but never read
155 | ObservabilityChunk(data)
156 | }
[271/274] Compiling iOSOtaLibrary ObservabilityManager+Internal.swift
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/ObservabilityManager+Internal.swift:154:26: warning: variable 'self' was written to, but never read
152 | peripheral
153 | .listenValues(for: dataExportCharacteristic)
154 | .map { [weak self] data in
| `- warning: variable 'self' was written to, but never read
155 | ObservabilityChunk(data)
156 | }
[272/274] Compiling iOSOtaLibrary ObservabilityState.swift
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/ObservabilityState.swift:37:37: warning: result of call to 'sorted(by:)' is unused
35 |
36 | pendingUploads[identifier]?.append(contentsOf: chunks)
37 | pendingUploads[identifier]?.sorted(by: <)
| `- warning: result of call to 'sorted(by:)' is unused
38 | enqueueWriteToDisk()
39 | }
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/ObservabilityState.swift:96:44: error: 'decompress(as:)' is only available in macOS 11.0 or newer
87 | // MARK: Save / Restore
88 |
89 | extension ObservabilityState {
| `- note: add @available attribute to enclosing extension
90 |
91 | mutating func restoreFromDisk() {
| `- note: add @available attribute to enclosing instance method
92 | guard let url = Self.stateURL(),
93 | let data = try? Data(contentsOf: url) else { return }
94 |
95 | if #available(iOS 14.0, *) {
96 | guard let restored = try? data.decompress(as: Self.self) else { return }
| |- error: 'decompress(as:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
97 | self = restored
98 | } else {
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/ObservabilityState.swift:96:34: warning: no calls to throwing functions occur within 'try' expression
94 |
95 | if #available(iOS 14.0, *) {
96 | guard let restored = try? data.decompress(as: Self.self) else { return }
| `- warning: no calls to throwing functions occur within 'try' expression
97 | self = restored
98 | } else {
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/ObservabilityState.swift:136:14: error: no exact matches in call to static method 'detached'
134 |
135 | static func writeToDisk(url: URL, copy: Self) {
136 | Task.detached(name: "writeToDisk", priority: .utility) {
| |- error: no exact matches in call to static method 'detached'
| |- note: candidate has partially matching parameter list (executorPreference: (any TaskExecutor)?, priority: TaskPriority?, operation: sending @escaping () async -> ())
| `- note: candidate has partially matching parameter list (executorPreference: (any TaskExecutor)?, priority: TaskPriority?, operation: sending @escaping () async throws -> ())
137 | guard let data = try? JSONEncoder().encode(copy) else { return }
138 | do {
[273/274] Compiling iOSOtaLibrary Observability+HTTPRequest.swift
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/ObservabilityState.swift:37:37: warning: result of call to 'sorted(by:)' is unused
35 |
36 | pendingUploads[identifier]?.append(contentsOf: chunks)
37 | pendingUploads[identifier]?.sorted(by: <)
| `- warning: result of call to 'sorted(by:)' is unused
38 | enqueueWriteToDisk()
39 | }
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/ObservabilityState.swift:96:44: error: 'decompress(as:)' is only available in macOS 11.0 or newer
87 | // MARK: Save / Restore
88 |
89 | extension ObservabilityState {
| `- note: add @available attribute to enclosing extension
90 |
91 | mutating func restoreFromDisk() {
| `- note: add @available attribute to enclosing instance method
92 | guard let url = Self.stateURL(),
93 | let data = try? Data(contentsOf: url) else { return }
94 |
95 | if #available(iOS 14.0, *) {
96 | guard let restored = try? data.decompress(as: Self.self) else { return }
| |- error: 'decompress(as:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
97 | self = restored
98 | } else {
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/ObservabilityState.swift:96:34: warning: no calls to throwing functions occur within 'try' expression
94 |
95 | if #available(iOS 14.0, *) {
96 | guard let restored = try? data.decompress(as: Self.self) else { return }
| `- warning: no calls to throwing functions occur within 'try' expression
97 | self = restored
98 | } else {
/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/Observability/Data Structures/ObservabilityState.swift:136:14: error: no exact matches in call to static method 'detached'
134 |
135 | static func writeToDisk(url: URL, copy: Self) {
136 | Task.detached(name: "writeToDisk", priority: .utility) {
| |- error: no exact matches in call to static method 'detached'
| |- note: candidate has partially matching parameter list (executorPreference: (any TaskExecutor)?, priority: TaskPriority?, operation: sending @escaping () async -> ())
| `- note: candidate has partially matching parameter list (executorPreference: (any TaskExecutor)?, priority: TaskPriority?, operation: sending @escaping () async throws -> ())
137 | guard let data = try? JSONEncoder().encode(copy) else { return }
138 | do {
[274/274] Compiling iOSOtaLibrary PostChunkRequest.swift
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