The Swift Package Index logo.Swift Package Index

Build Information

Successful build of iOSMcuManagerLibrary, reference main (3d6ee1), with Swift 6.4 for macOS (SPM) on 20 Nov 2026 04:46:31 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nordicsemi/IOS-nRF-Connect-Device-Manager.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nordicsemi/IOS-nRF-Connect-Device-Manager
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3d6ee1a Merge pull request #702 from nordicsemi/bump
Cloned https://github.com/nordicsemi/IOS-nRF-Connect-Device-Manager.git
Revision (git rev-parse @):
3d6ee1a72fbc6d4d5a1ecc704c229ea1ee3feb24
SUCCESS checkout https://github.com/nordicsemi/IOS-nRF-Connect-Device-Manager.git at main
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/valpackett/SwiftCBOR.git
Fetching https://github.com/NordicPlayground/IOS-Common-Libraries
Fetching https://github.com/NordicSemiconductor/IOS-BLE-Library
Fetching https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
[1/1576] Fetching swiftcbor
[175/6661] Fetching swiftcbor, ios-ble-library
[176/8741] Fetching swiftcbor, ios-ble-library, ios-common-libraries
[715/17792] Fetching swiftcbor, ios-ble-library, ios-common-libraries, ios-corebluetooth-mock
[817/25423] Fetching swiftcbor, ios-ble-library, ios-common-libraries, ios-corebluetooth-mock, zipfoundation
Fetched https://github.com/valpackett/SwiftCBOR.git (0.95s)
[1338/23847] Fetching ios-ble-library, ios-common-libraries, ios-corebluetooth-mock, zipfoundation
Fetched https://github.com/NordicSemiconductor/IOS-BLE-Library (1.31s)
Fetching https://github.com/nordicsemi/IOS-BLE-Library
[5980/18762] Fetching ios-common-libraries, ios-corebluetooth-mock, zipfoundation
[15285/23847] Fetching ios-common-libraries, ios-corebluetooth-mock, zipfoundation, ios-ble-library
Fetched https://github.com/nordicsemi/IOS-BLE-Library (1.18s)
Fetched https://github.com/weichsel/ZIPFoundation.git (2.54s)
Fetched https://github.com/NordicPlayground/IOS-Common-Libraries (2.54s)
Fetched https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git (2.54s)
Fetching https://github.com/nordicsemi/IOS-Common-Libraries
[1/2080] Fetching ios-common-libraries
Fetched https://github.com/nordicsemi/IOS-Common-Libraries (1.00s)
Computing version for https://github.com/nordicsemi/IOS-Common-Libraries
Computed https://github.com/nordicsemi/IOS-Common-Libraries at 0.2.6 (4.30s)
Computing version for https://github.com/nordicsemi/IOS-BLE-Library
Updating https://github.com/nordicsemi/IOS-BLE-Library
Updated https://github.com/nordicsemi/IOS-BLE-Library (0.48s)
Computed https://github.com/nordicsemi/IOS-BLE-Library at 0.4.5 (1.14s)
Fetching https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git
[1/9051] Fetching ios-corebluetooth-mock
Fetched https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git (1.61s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
warning: 'zipfoundation': /Package@swift-5.9.swift:23:61: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
21 |     name: "ZIPFoundation",
22 |     platforms: [
23 |         .macOS(.v10_13), .iOS(.v12), .tvOS(.v12), .watchOS(.v4), .visionOS(.v1)
   |                                                             `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
24 |     ],
25 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.20 (2.25s)
Computing version for https://github.com/valpackett/SwiftCBOR.git
Updating https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git
Updated https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git (0.53s)
Computed https://github.com/valpackett/SwiftCBOR.git at 0.6.0 (0.91s)
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.59s)
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.20
Creating working copy for https://github.com/valpackett/SwiftCBOR.git
Working copy of https://github.com/valpackett/SwiftCBOR.git resolved at 0.6.0
Creating working copy for https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git
Working copy of https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git resolved at 1.1.1
Creating working copy for https://github.com/nordicsemi/IOS-BLE-Library
Working copy of https://github.com/nordicsemi/IOS-BLE-Library resolved at 0.4.5
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
warning: 'zipfoundation': /Users/admin/builder/spi-builder-workspace/.build/checkouts/ZIPFoundation/Package@swift-5.9.swift:23:61: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
21 |     name: "ZIPFoundation",
22 |     platforms: [
23 |         .macOS(.v10_13), .iOS(.v12), .tvOS(.v12), .watchOS(.v4), .visionOS(.v1)
   |                                                             `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
24 |     ],
25 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "ios-nrf-connect-device-manager",
      "name": "iOSMcuManagerLibrary",
      "url": "https://github.com/nordicsemi/IOS-nRF-Connect-Device-Manager.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IOS-nRF-Connect-Device-Manager",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swiftcbor",
          "name": "SwiftCBOR",
          "url": "https://github.com/valpackett/SwiftCBOR.git",
          "version": "0.6.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftCBOR",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "zipfoundation",
          "name": "ZIPFoundation",
          "url": "https://github.com/weichsel/ZIPFoundation.git",
          "version": "0.9.20",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ZIPFoundation",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "ios-ble-library",
          "name": "iOS-BLE-Library",
          "url": "https://github.com/nordicsemi/IOS-BLE-Library",
          "version": "0.4.5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IOS-BLE-Library",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "ios-corebluetooth-mock",
              "name": "CoreBluetoothMock",
              "url": "https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git",
              "version": "1.1.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IOS-CoreBluetooth-Mock",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "ios-common-libraries",
          "name": "iOSCommonLibraries",
          "url": "https://github.com/nordicsemi/IOS-Common-Libraries",
          "version": "0.2.6",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IOS-Common-Libraries",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/nordicsemi/IOS-nRF-Connect-Device-Manager.git
[1/8191] Fetching ios-nrf-connect-device-manager
Fetched https://github.com/nordicsemi/IOS-nRF-Connect-Device-Manager.git (1.50s)
Fetching https://github.com/nordicsemi/IOS-Common-Libraries from cache
Fetching https://github.com/nordicsemi/IOS-BLE-Library from cache
Fetching https://github.com/valpackett/SwiftCBOR.git from cache
Fetching https://github.com/weichsel/ZIPFoundation.git from cache
Fetched https://github.com/valpackett/SwiftCBOR.git from cache (0.51s)
Fetched https://github.com/nordicsemi/IOS-BLE-Library from cache (0.57s)
Fetched https://github.com/nordicsemi/IOS-Common-Libraries from cache (0.57s)
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (0.57s)
Computing version for https://github.com/nordicsemi/IOS-Common-Libraries
Computed https://github.com/nordicsemi/IOS-Common-Libraries at 0.2.6 (0.65s)
Computing version for https://github.com/nordicsemi/IOS-BLE-Library
Computed https://github.com/nordicsemi/IOS-BLE-Library at 0.4.5 (0.03s)
Fetching https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git from cache
Fetched https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git from cache (0.53s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.20 (0.60s)
Computing version for https://github.com/valpackett/SwiftCBOR.git
Computed https://github.com/valpackett/SwiftCBOR.git at 0.6.0 (0.03s)
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.03s)
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-BLE-Library
Working copy of https://github.com/nordicsemi/IOS-BLE-Library resolved at 0.4.5
Creating working copy for https://github.com/nordicsemi/IOS-nRF-Connect-Device-Manager.git
Working copy of https://github.com/nordicsemi/IOS-nRF-Connect-Device-Manager.git resolved at main (3d6ee1a)
Creating working copy for https://github.com/valpackett/SwiftCBOR.git
Working copy of https://github.com/valpackett/SwiftCBOR.git resolved at 0.6.0
Creating working copy for https://github.com/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-CoreBluetooth-Mock.git
Working copy of https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git resolved at 1.1.1
warning: '.resolve-product-dependencies': dependency 'ios-nrf-connect-device-manager' is not used by any target
Found 4 product dependencies
  - SwiftCBOR
  - ZIPFoundation
  - iOS-BLE-Library
  - iOSCommonLibraries
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/nordicsemi/IOS-nRF-Connect-Device-Manager.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 360]
[Planning deferred tasks]
[76 / 161]
[81 / 166] MockGeneratorTool-product
[91 / 238]
[96 / 238]
[104 / 284]
[106 / 284]
[112 / 284]
[115 / 284]
[118 / 284]
[124 / 284]
[128 / 284]
[130 / 284]
[131 / 284]
[144 / 284] MockGeneratorTool-product
[152 / 284] ZIPFoundation
[156 / 284] MockGeneratorTool-product
[159 / 284]
[172 / 284] ZIPFoundation-product
[175 / 284] CoreBluetoothMock
[183 / 284] ZIPFoundation
[184 / 284]
[195 / 284] SwiftCBOR-product
[198 / 284] CoreBluetoothMock
[203 / 284] MockGeneratorTool-product
[207 / 284] CoreBluetoothMock
[210 / 284]
[216 / 284] iOS-Common-Libraries
[220 / 284] iOS-Common-Libraries
[221 / 284] iOS-Common-Libraries
[222 / 284] iOS-Common-Libraries
[224 / 284] ZIPFoundation
[231 / 285]
[233 / 285] CoreBluetoothMock
[238 / 285] iOS-BLE-Library-Mock
[239 / 297]
[249 / 297] iOSMcuManagerLibrary
[250 / 297] iOSMcuManagerLibrary
[251 / 297] iOSMcuManagerLibrary
[252 / 297] iOSMcuManagerLibrary
[259 / 297] iOSMcuManagerLibrary
[267 / 297] iOS-Common-Libraries
[277 / 297] iOS-Common-Libraries
[278 / 298] iOSMcuManagerLibrary
[278 / 298] iOS-BLE-Library-Mock
[286 / 309] iOS-BLE-Library-Mock
[296 / 310] iOSMcuManagerLibrary
[299 / 310] iOS-BLE-Library-Mock
[302 / 322]
[313 / 322] iOSOtaLibrary
[319 / 322] iOSOtaLibrary
Build complete! (15.46 sec)
warning: 'zipfoundation': /Users/admin/builder/spi-builder-workspace/.build/checkouts/ZIPFoundation/Package@swift-5.9.swift:23:61: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
21 |     name: "ZIPFoundation",
22 |     platforms: [
23 |         .macOS(.v10_13), .iOS(.v12), .tvOS(.v12), .watchOS(.v4), .visionOS(.v1)
   |                                                             `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
24 |     ],
25 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
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
warning: /Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/BasicManager+Async.swift:9:8 file 'BasicManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
warning: /Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/DefaultManager+Async.swift:10:8 file 'DefaultManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import
warning: /Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager.swift:132:37 non-breaking space (U+00A0) used instead of regular space: FixIt(sourceRange: XCBuild.SwiftBuildMessage.DiagnosticInfo.SourceRange(path: "/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Managers/FileSystemManager.swift", startLine: 132, startColumn: 37, endLine: 132, endColumn: 39), textToInsert: " ")
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
 7 |
 8 | import Foundation
 9 | import iOSMcuManagerLibrary
   |        `- warning: file 'BasicManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
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;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
  8 |
  9 | import Foundation
 10 | import iOSMcuManagerLibrary
    |        `- warning: file 'DefaultManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
 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
[#ModuleSelfImport]: <https://docs.swift.org/compiler/documentation/diagnostics/module-self-import>
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
1168 |             // An Image was sent. Mark as uploaded.
1169 |             if let image = images.first(where: { !$0.uploaded && $0.data.count == imageSize }) {
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
 7 |
 8 | import Foundation
 9 | import iOSMcuManagerLibrary
   |        `- warning: file 'BasicManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
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
[#ModuleSelfImport]: <https://docs.swift.org/compiler/documentation/diagnostics/module-self-import>
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
123 |                 break // Nothing to do here.
124 |             }
/Users/admin/builder/spi-builder-workspace/iOSMcuManagerLibrary/Source/Utils/UTI.swift:51:40: warning: 'type(ofFile:)' was deprecated in macOS 12.0: Use -[NSURL getResourceValue:forKey:error:] with NSURLContentTypeKey instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
49 |     private static func typeOf(_ url: URL) -> String? {
50 | #if os(macOS)
51 |         return try? NSWorkspace.shared.type(ofFile: url.path)
   |                                        `- warning: 'type(ofFile:)' was deprecated in macOS 12.0: Use -[NSURL getResourceValue:forKey:error:] with NSURLContentTypeKey instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
52 | #else
53 |         let document = UIDocument(fileURL: url)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
54 |             return try await save()
55 |         } catch {
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/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/DefaultManager+Async.swift:10:8: warning: file 'DefaultManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
  8 |
  9 | import Foundation
 10 | import iOSMcuManagerLibrary
    |        `- warning: file 'DefaultManager+Async.swift' is part of module 'iOSMcuManagerLibrary'; ignoring import [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
 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
[#ModuleSelfImport]: <https://docs.swift.org/compiler/documentation/diagnostics/module-self-import>
warning: /Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/Tokens/DeviceInfoToken.swift:83:45 non-breaking space (U+00A0) used instead of regular space: FixIt(sourceRange: XCBuild.SwiftBuildMessage.DiagnosticInfo.SourceRange(path: "/Users/admin/builder/spi-builder-workspace/iOSOtaLibrary/Source/OTA/Tokens/DeviceInfoToken.swift", startLine: 83, startColumn: 45, endLine: 83, endColumn: 47), textToInsert: " ")
/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/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/Observability/Data Structures/ObservabilityState.swift:37:37: warning: result of call to 'sorted(by:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 35 |
 36 |         pendingUploads[identifier]?.append(contentsOf: chunks)
 37 |         pendingUploads[identifier]?.sorted(by: <)
    |                                     `- warning: result of call to 'sorted(by:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 38 |         enqueueWriteToDisk()
 39 |     }
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 97 |             self = restored
 98 |         } else {
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
/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 |             }
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftcbor",
      "requirement" : {
        "exact" : [
          "0.6.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/valpackett/SwiftCBOR.git"
    },
    {
      "identity" : "zipfoundation",
      "requirement" : {
        "exact" : [
          "0.9.20"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/weichsel/ZIPFoundation.git"
    },
    {
      "identity" : "ios-ble-library",
      "requirement" : {
        "exact" : [
          "0.4.5"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nordicsemi/IOS-BLE-Library"
    },
    {
      "identity" : "ios-common-libraries",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.6",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nordicsemi/IOS-Common-Libraries"
    }
  ],
  "manifest_display_name" : "iOSMcuManagerLibrary",
  "name" : "iOSMcuManagerLibrary",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "iOSMcuManagerLibrary",
      "targets" : [
        "iOSMcuManagerLibrary"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "iOSOtaLibrary",
      "targets" : [
        "iOSOtaLibrary"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "iOSOtaLibrary",
      "module_type" : "SwiftTarget",
      "name" : "iOSOtaLibrary",
      "path" : "iOSOtaLibrary/Source",
      "product_dependencies" : [
        "iOS-BLE-Library-Mock",
        "iOSCommonLibraries"
      ],
      "product_memberships" : [
        "iOSOtaLibrary"
      ],
      "sources" : [
        "OTA/GetLatestReleaseInfoRequest.swift",
        "OTA/MemfaultManager.swift",
        "OTA/OTAManager+Logs.swift",
        "OTA/OTAManager.swift",
        "OTA/Tokens/DeviceInfoToken.swift",
        "OTA/Tokens/ProjectKey.swift",
        "Observability/Data Structures/CBUUID+MDS.swift",
        "Observability/Data Structures/ObservabilityChunk.swift",
        "Observability/Data Structures/ObservabilityDevice.swift",
        "Observability/Data Structures/ObservabilityDeviceEvent.swift",
        "Observability/Data Structures/ObservabilityState.swift",
        "Observability/Observability+HTTPRequest.swift",
        "Observability/ObservabilityError.swift",
        "Observability/ObservabilityManager+Internal.swift",
        "Observability/ObservabilityManager+Logs.swift",
        "Observability/ObservabilityManager.swift",
        "Observability/PostChunkRequest.swift"
      ],
      "target_dependencies" : [
        "iOSMcuManagerLibrary"
      ],
      "type" : "library"
    },
    {
      "c99name" : "iOSMcuManagerLibrary",
      "module_type" : "SwiftTarget",
      "name" : "iOSMcuManagerLibrary",
      "path" : "iOSMcuManagerLibrary/Source",
      "product_dependencies" : [
        "SwiftCBOR",
        "ZIPFoundation"
      ],
      "product_memberships" : [
        "iOSMcuManagerLibrary",
        "iOSOtaLibrary"
      ],
      "sources" : [
        "Bluetooth/McuMgrBleROBWriteBuffer.swift",
        "Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift",
        "Bluetooth/McuMgrBleTransport+CBPeripheralDelegate.swift",
        "Bluetooth/McuMgrBleTransport.swift",
        "Bluetooth/McuMgrBleTransportConfguration.swift",
        "Bluetooth/McuMgrBleTransportWriteState.swift",
        "Extensions/CBOR+McuManager.swift",
        "Extensions/Data+McuManager.swift",
        "Extensions/String+McuManager.swift",
        "Managers/BasicManager+Async.swift",
        "Managers/BasicManager.swift",
        "Managers/CrashManager.swift",
        "Managers/DFU/FirmwareUpgradeConfiguration.swift",
        "Managers/DFU/FirmwareUpgradeController.swift",
        "Managers/DFU/FirmwareUpgradeError.swift",
        "Managers/DFU/FirmwareUpgradeImage.swift",
        "Managers/DFU/FirmwareUpgradeManager+Public.swift",
        "Managers/DFU/FirmwareUpgradeManager.swift",
        "Managers/DFU/FirmwareUpgradeMode.swift",
        "Managers/DFU/FirmwareUpgradePeripheralFinder.swift",
        "Managers/DefaultManager+Async.swift",
        "Managers/DefaultManager.swift",
        "Managers/FileSystemManager+Async.swift",
        "Managers/FileSystemManager.swift",
        "Managers/ImageManager+Async.swift",
        "Managers/ImageManager.swift",
        "Managers/LogManager.swift",
        "Managers/RunTestManager.swift",
        "Managers/SettingsManager+Async.swift",
        "Managers/SettingsManager.swift",
        "Managers/ShellManager.swift",
        "Managers/StatsManager+Async.swift",
        "Managers/StatsManager.swift",
        "Managers/SuitManager+Async.swift",
        "Managers/SuitManager.swift",
        "McuManager.swift",
        "McuMgrCallbackOoOBuffer.swift",
        "McuMgrHeader.swift",
        "McuMgrImage.swift",
        "McuMgrLogDelegate.swift",
        "McuMgrManifest.swift",
        "McuMgrPackage.swift",
        "McuMgrResponse.swift",
        "McuMgrSuitEnvelope.swift",
        "McuMgrSuitManifest.swift",
        "McuMgrTransport.swift",
        "McuMgrUploadPipeline.swift",
        "Utils/CBOR+String.swift",
        "Utils/ResultLock.swift",
        "Utils/UTI.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.