The Swift Package Index logo.Swift Package Index

Build Information

Successful build of iOS-BLE-Library, reference main (72d0e1), with Swift 6.1 for macOS (SPM) on 1 Nov 2026 08:47:19 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nordicsemi/IOS-BLE-Library.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nordicsemi/IOS-BLE-Library
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 72d0e1e Merge pull request #72 from nordicsemi/renovate/nordicsemi-ios-corebluetooth-mock-1.x
Cloned https://github.com/nordicsemi/IOS-BLE-Library.git
Revision (git rev-parse @):
72d0e1e8b1046483901c9fbd0ede1f916d23dea7
SUCCESS checkout https://github.com/nordicsemi/IOS-BLE-Library.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nordicsemi/IOS-BLE-Library.git
https://github.com/nordicsemi/IOS-BLE-Library.git
{
  "dependencies" : [
    {
      "identity" : "ios-corebluetooth-mock",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "iOS-BLE-Library",
  "name" : "iOS-BLE-Library",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "iOS-BLE-Library",
      "targets" : [
        "iOS-BLE-Library"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "iOS-BLE-Library-Mock",
      "targets" : [
        "iOS-BLE-Library-Mock"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MockGeneratorTool",
      "targets" : [
        "MockGeneratorTool"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "iOS_BLE_LibraryTests",
      "module_type" : "SwiftTarget",
      "name" : "iOS-BLE-LibraryTests",
      "path" : "Tests/iOS-BLE-LibraryTests",
      "sources" : [
        "CentralManagerStateTest.swift",
        "CentralManagerTests.swift",
        "PeripheralMultitaskingTests.swift",
        "PeripheralReadWriteDescriptorTests.swift"
      ],
      "target_dependencies" : [
        "iOS-BLE-Library-Mock"
      ],
      "type" : "test"
    },
    {
      "c99name" : "iOS_BLE_Library_Mock",
      "module_type" : "SwiftTarget",
      "name" : "iOS-BLE-Library-Mock",
      "path" : "Sources/iOS-BLE-Library-Mock",
      "product_dependencies" : [
        "CoreBluetoothMock"
      ],
      "product_memberships" : [
        "iOS-BLE-Library-Mock"
      ],
      "sources" : [
        "Alias.swift"
      ],
      "target_dependencies" : [
        "MockGenerator"
      ],
      "type" : "library"
    },
    {
      "c99name" : "iOS_BLE_Library",
      "module_type" : "SwiftTarget",
      "name" : "iOS-BLE-Library",
      "path" : "Sources/iOS-BLE-Library",
      "product_memberships" : [
        "iOS-BLE-Library"
      ],
      "sources" : [
        "CentralManager/CentralManager.swift",
        "CentralManager/Model/ScanResult.swift",
        "CentralManager/ReactiveCentralManagerDelegate.swift",
        "Peripheral/Peripheral+Writer.swift",
        "Peripheral/Peripheral.swift",
        "Peripheral/PeripheralError.swift",
        "Peripheral/ReactivePeripheralDelegate.swift",
        "Utilities/AdvertisementData.swift",
        "Utilities/AsyncCharacteristicData.swift",
        "Utilities/CBManagerState.swift",
        "Utilities/Extensions/CBManagerState+Ext.swift",
        "Utilities/Extensions/Data+Ext.swift.swift",
        "Utilities/Extensions/Publishers+Async.swift",
        "Utilities/Logger.swift",
        "Utilities/Publishers/ContinuationSubscriber.swift",
        "Utilities/Publishers/Publishers+Bluetooth.swift",
        "Utilities/Publishers/Publishers+Connectable.swift",
        "Utilities/Publishers/Publishers+FailablePrefix.swift.swift",
        "Utilities/Publishers/Publishers+GuestList.swift",
        "Utilities/Queue.swift",
        "Utilities/RSSI.swift",
        "Utilities/UnimplementedError.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MockGeneratorTool",
      "module_type" : "SwiftTarget",
      "name" : "MockGeneratorTool",
      "path" : "Sources/MockGeneratorTool",
      "product_memberships" : [
        "iOS-BLE-Library-Mock",
        "MockGeneratorTool"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MockGenerator",
      "module_type" : "PluginTarget",
      "name" : "MockGenerator",
      "path" : "Plugins/MockGenerator",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "iOS-BLE-Library-Mock"
      ],
      "sources" : [
        "MockGenerator.swift"
      ],
      "target_dependencies" : [
        "MockGeneratorTool"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[0/6] Write sources
[0/6] Write MockGeneratorTool-tool-entitlement.plist
[2/6] Write swift-version-2F0A5646E1D333AE.txt
[4/8] Emitting module MockGeneratorTool
[5/8] Compiling MockGeneratorTool main.swift
[5/8] Write Objects.LinkFileList
[6/8] Linking MockGeneratorTool-tool
[7/8] Applying MockGeneratorTool-tool
[1/1] Compiling plugin MockGenerator
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/39] Write sources
[4/39] Write MockGeneratorTool-entitlement.plist
[4/39] Write sources
[7/39] Write MockGeneratorTool-tool-entitlement.plist
[9/39] Write swift-version-2F0A5646E1D333AE.txt
[10/41] Write Objects.LinkFileList
[11/89] Linking MockGeneratorTool-tool
[13/89] Emitting module MockGeneratorTool
[14/89] Compiling MockGeneratorTool main.swift
[14/89] MockCopy Peripheral+Writer.swift
[14/89] MockCopy ReactiveCentralManagerDelegate.swift
[14/89] MockCopy PeripheralError.swift
[17/89] MockCopy Queue.swift
[18/89] MockCopy CentralManager.swift
[19/89] MockCopy ScanResult.swift
[20/89] MockCopy UnimplementedError.swift
[21/89] MockCopy RSSI.swift
[22/89] MockCopy Publishers+Connectable.swift
[23/89] MockCopy Publishers+GuestList.swift
[24/89] MockCopy Publishers+Bluetooth.swift
[25/89] MockCopy ContinuationSubscriber.swift
[26/89] MockCopy Publishers+FailablePrefix.swift.swift
[27/89] MockCopy Logger.swift
[28/89] MockCopy Publishers+Async.swift
[29/89] MockCopy Data+Ext.swift.swift
[30/89] Write Objects.LinkFileList
[31/89] MockCopy CBManagerState+Ext.swift
[32/89] MockCopy AsyncCharacteristicData.swift
[33/89] MockCopy CBManagerState.swift
[34/89] Applying MockGeneratorTool-tool
[35/89] MockCopy AdvertisementData.swift
[35/89] MockCopy Peripheral.swift
[37/89] MockCopy ReactivePeripheralDelegate.swift
[38/89] Write sources
[40/89] Emitting module iOS_BLE_Library
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:206:11: warning: check `connect` method
204 |
205 | extension CentralManager {
206 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
207 | 	/// Returns a list of the peripherals connected to the system whose
208 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:238:11: warning: Question: Should we throw an error if the scan is already running?
236 |
237 | extension CentralManager {
238 | 	#warning("Question: Should we throw an error if the scan is already running?")
    |           `- warning: Question: Should we throw an error if the scan is already running?
239 | 	/// Initiates a scan for peripherals with the specified services.
240 | 	///
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Logger.swift:13:16: warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | @available(iOS 14.0, macOS 11, watchOS 7.0, *)
12 | private struct Loggers {
13 |     static var loggers: [UUID : Logger] = [:]
   |                |- warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'loggers' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'loggers' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Publishers/Publishers+FailablePrefix.swift.swift:41:10: warning: Thread safety should be considered
 39 | }
 40 |
 41 | #warning("Thread safety should be considered")
    |          `- warning: Thread safety should be considered
 42 | extension Publishers.PrefixUntilOutputOrCompletion {
 43 | 	private final class Inner<Downstream: Subscriber>: Subscriber, Subscription
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/RSSI.swift:59:20: warning: static property 'outOfRange' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
57 | extension RSSI {
58 |
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
   |                    |- warning: static property 'outOfRange' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'outOfRange' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/RSSI.swift:60:20: warning: static property 'practicalWorst' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
58 |
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
   |                    |- warning: static property 'practicalWorst' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'practicalWorst' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/RSSI.swift:61:20: warning: static property 'bad' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
   |                    |- warning: static property 'bad' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'bad' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
63 | 	public static let good = RSSI(integerLiteral: Const.good)
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/RSSI.swift:62:20: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
   |                    |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | 	public static let good = RSSI(integerLiteral: Const.good)
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/RSSI.swift:63:20: warning: static property 'good' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
63 | 	public static let good = RSSI(integerLiteral: Const.good)
   |                    |- warning: static property 'good' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'good' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | }
65 |
[41/91] Compiling CoreBluetoothMock CBMAttributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:206:11: warning: check `connect` method
204 |
205 | extension CentralManager {
206 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
207 | 	/// Returns a list of the peripherals connected to the system whose
208 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:238:11: warning: Question: Should we throw an error if the scan is already running?
236 |
237 | extension CentralManager {
238 | 	#warning("Question: Should we throw an error if the scan is already running?")
    |           `- warning: Question: Should we throw an error if the scan is already running?
239 | 	/// Initiates a scan for peripherals with the specified services.
240 | 	///
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:54:46: warning: capture of 'self' with non-sendable type 'Observer' in a '@Sendable' closure
 38 | // MARK: - Observer
 39 |
 40 | private class Observer: NSObject {
    |               `- note: class 'Observer' does not conform to the 'Sendable' protocol
 41 | 	@objc dynamic private weak var cm: CBCentralManager?
 42 | 	private weak var publisher: CurrentValueSubject<Bool, Never>?
    :
 52 | 		observation = observe(\.cm?.isScanning, options: [.old, .new],
 53 |                                changeHandler: { _, change in
 54 |             change.newValue?.flatMap { [weak self] new in
    |                                              `- warning: capture of 'self' with non-sendable type 'Observer' in a '@Sendable' closure
 55 |                 self?.publisher?.send(new)
 56 |             }
[42/91] Compiling CoreBluetoothMock CBMDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:206:11: warning: check `connect` method
204 |
205 | extension CentralManager {
206 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
207 | 	/// Returns a list of the peripherals connected to the system whose
208 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:238:11: warning: Question: Should we throw an error if the scan is already running?
236 |
237 | extension CentralManager {
238 | 	#warning("Question: Should we throw an error if the scan is already running?")
    |           `- warning: Question: Should we throw an error if the scan is already running?
239 | 	/// Initiates a scan for peripherals with the specified services.
240 | 	///
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:54:46: warning: capture of 'self' with non-sendable type 'Observer' in a '@Sendable' closure
 38 | // MARK: - Observer
 39 |
 40 | private class Observer: NSObject {
    |               `- note: class 'Observer' does not conform to the 'Sendable' protocol
 41 | 	@objc dynamic private weak var cm: CBCentralManager?
 42 | 	private weak var publisher: CurrentValueSubject<Bool, Never>?
    :
 52 | 		observation = observe(\.cm?.isScanning, options: [.old, .new],
 53 |                                changeHandler: { _, change in
 54 |             change.newValue?.flatMap { [weak self] new in
    |                                              `- warning: capture of 'self' with non-sendable type 'Observer' in a '@Sendable' closure
 55 |                 self?.publisher?.send(new)
 56 |             }
[43/91] Compiling CoreBluetoothMock CBMManagerTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:206:11: warning: check `connect` method
204 |
205 | extension CentralManager {
206 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
207 | 	/// Returns a list of the peripherals connected to the system whose
208 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:238:11: warning: Question: Should we throw an error if the scan is already running?
236 |
237 | extension CentralManager {
238 | 	#warning("Question: Should we throw an error if the scan is already running?")
    |           `- warning: Question: Should we throw an error if the scan is already running?
239 | 	/// Initiates a scan for peripherals with the specified services.
240 | 	///
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:54:46: warning: capture of 'self' with non-sendable type 'Observer' in a '@Sendable' closure
 38 | // MARK: - Observer
 39 |
 40 | private class Observer: NSObject {
    |               `- note: class 'Observer' does not conform to the 'Sendable' protocol
 41 | 	@objc dynamic private weak var cm: CBCentralManager?
 42 | 	private weak var publisher: CurrentValueSubject<Bool, Never>?
    :
 52 | 		observation = observe(\.cm?.isScanning, options: [.old, .new],
 53 |                                changeHandler: { _, change in
 54 |             change.newValue?.flatMap { [weak self] new in
    |                                              `- warning: capture of 'self' with non-sendable type 'Observer' in a '@Sendable' closure
 55 |                 self?.publisher?.send(new)
 56 |             }
[44/91] Compiling CoreBluetoothMock CBMPeripheralPreview.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Publishers/ContinuationSubscriber.swift:52:16: warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
50 | 		}
51 | 		self.state = .terminated
52 | 		continuation.resume(returning: input)
   |                |- warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'input' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
53 |
54 | 		self.subscription?.cancel()
[45/91] Compiling CoreBluetoothMock CBMCentralManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Publishers/ContinuationSubscriber.swift:52:16: warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
50 | 		}
51 | 		self.state = .terminated
52 | 		continuation.resume(returning: input)
   |                |- warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'input' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
53 |
54 | 		self.subscription?.cancel()
[46/91] Compiling CoreBluetoothMock CBMPeer.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Publishers/Publishers+FailablePrefix.swift.swift:41:10: warning: Thread safety should be considered
 39 | }
 40 |
 41 | #warning("Thread safety should be considered")
    |          `- warning: Thread safety should be considered
 42 | extension Publishers.PrefixUntilOutputOrCompletion {
 43 | 	private final class Inner<Downstream: Subscriber>: Subscriber, Subscription
[47/91] Compiling CoreBluetoothMock CBMPeripheral.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Publishers/Publishers+FailablePrefix.swift.swift:41:10: warning: Thread safety should be considered
 39 | }
 40 |
 41 | #warning("Thread safety should be considered")
    |          `- warning: Thread safety should be considered
 42 | extension Publishers.PrefixUntilOutputOrCompletion {
 43 | 	private final class Inner<Downstream: Subscriber>: Subscriber, Subscription
[48/91] Compiling CoreBluetoothMock CBMPeripheralDelegate.swift
[49/91] Compiling CoreBluetoothMock CBMPeripheralDelegateProxy.swift
[50/91] Compiling CoreBluetoothMock CBMCentral.swift
[51/91] Compiling CoreBluetoothMock CBMPeripheralManager.swift
[51/91] Linking MockGeneratorTool
[52/91] Applying MockGeneratorTool
[54/91] Compiling CoreBluetoothMock CBMCentralManagerDelegate.swift
[55/91] Compiling CoreBluetoothMock CBMCentralManagerNative.swift
[56/91] Compiling CoreBluetoothMock CBMCentralManagerMock.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Extensions/Publishers+Async.swift:47:5: warning: capture of 'inner' with non-sendable type 'AsyncPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 45 | 			} onCancel: {
 46 | 				[inner] in
 47 | 				inner.cancel()
    |     `- warning: capture of 'inner' with non-sendable type 'AsyncPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 | 			}
 49 | 		}
    :
 66 |
 67 | extension AsyncPublisher.Iterator {
 68 | 	fileprivate final class Inner: Subscriber, Cancellable {
    |                          `- note: class 'Inner' does not conform to the 'Sendable' protocol
 69 | 		typealias Input = Upstream.Output
 70 | 		typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Extensions/Publishers+Async.swift:180:5: warning: capture of 'inner' with non-sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
178 | 			} onCancel: {
179 | 				[inner] in
180 | 				inner.cancel()
    |     `- warning: capture of 'inner' with non-sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
181 | 			}
182 | 		}
    :
200 | extension AsyncThrowingPublisher.Iterator {
201 |
202 | 	fileprivate final class Inner: Subscriber, Cancellable {
    |                          `- note: class 'Inner' does not conform to the 'Sendable' protocol
203 | 		typealias Input = Upstream.Output
204 | 		typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Logger.swift:13:16: warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | @available(iOS 14.0, macOS 11, watchOS 7.0, *)
12 | private struct Loggers {
13 |     static var loggers: [UUID : Logger] = [:]
   |                |- warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'loggers' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'loggers' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Extensions/Publishers+Async.swift:111:17: warning: sending value of non-Sendable type 'AsyncPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
109 | 			let continuation = pending.removeFirst()
110 | 			lock.unlock()
111 | 			continuation.resume(returning: input)
    |                 |- warning: sending value of non-Sendable type 'AsyncPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type 'AsyncPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
112 | 			return .none
113 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Extensions/Publishers+Async.swift:245:17: warning: sending value of non-Sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
243 | 			let continuation = pending.removeFirst()
244 | 			lock.unlock()
245 | 			continuation.resume(returning: input)
    |                 |- warning: sending value of non-Sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
246 | 			return .none
247 | 		}
[57/91] Compiling CoreBluetoothMock CBMMutableAttributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Extensions/Publishers+Async.swift:47:5: warning: capture of 'inner' with non-sendable type 'AsyncPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 45 | 			} onCancel: {
 46 | 				[inner] in
 47 | 				inner.cancel()
    |     `- warning: capture of 'inner' with non-sendable type 'AsyncPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 | 			}
 49 | 		}
    :
 66 |
 67 | extension AsyncPublisher.Iterator {
 68 | 	fileprivate final class Inner: Subscriber, Cancellable {
    |                          `- note: class 'Inner' does not conform to the 'Sendable' protocol
 69 | 		typealias Input = Upstream.Output
 70 | 		typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Extensions/Publishers+Async.swift:180:5: warning: capture of 'inner' with non-sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
178 | 			} onCancel: {
179 | 				[inner] in
180 | 				inner.cancel()
    |     `- warning: capture of 'inner' with non-sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
181 | 			}
182 | 		}
    :
200 | extension AsyncThrowingPublisher.Iterator {
201 |
202 | 	fileprivate final class Inner: Subscriber, Cancellable {
    |                          `- note: class 'Inner' does not conform to the 'Sendable' protocol
203 | 		typealias Input = Upstream.Output
204 | 		typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Logger.swift:13:16: warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | @available(iOS 14.0, macOS 11, watchOS 7.0, *)
12 | private struct Loggers {
13 |     static var loggers: [UUID : Logger] = [:]
   |                |- warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'loggers' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'loggers' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Extensions/Publishers+Async.swift:111:17: warning: sending value of non-Sendable type 'AsyncPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
109 | 			let continuation = pending.removeFirst()
110 | 			lock.unlock()
111 | 			continuation.resume(returning: input)
    |                 |- warning: sending value of non-Sendable type 'AsyncPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type 'AsyncPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
112 | 			return .none
113 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Extensions/Publishers+Async.swift:245:17: warning: sending value of non-Sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
243 | 			let continuation = pending.removeFirst()
244 | 			lock.unlock()
245 | 			continuation.resume(returning: input)
    |                 |- warning: sending value of non-Sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
246 | 			return .none
247 | 		}
[58/91] Compiling CoreBluetoothMock CBMCentralManagerDelegateProxy.swift
[59/91] Compiling CoreBluetoothMock CBMCentralManagerFactory.swift
[60/91] Compiling iOS_BLE_Library RSSI.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/RSSI.swift:59:20: warning: static property 'outOfRange' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
57 | extension RSSI {
58 |
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
   |                    |- warning: static property 'outOfRange' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'outOfRange' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/RSSI.swift:60:20: warning: static property 'practicalWorst' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
58 |
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
   |                    |- warning: static property 'practicalWorst' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'practicalWorst' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/RSSI.swift:61:20: warning: static property 'bad' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
   |                    |- warning: static property 'bad' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'bad' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
63 | 	public static let good = RSSI(integerLiteral: Const.good)
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/RSSI.swift:62:20: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
   |                    |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | 	public static let good = RSSI(integerLiteral: Const.good)
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/RSSI.swift:63:20: warning: static property 'good' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
63 | 	public static let good = RSSI(integerLiteral: Const.good)
   |                    |- warning: static property 'good' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'good' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | }
65 |
[61/91] Compiling iOS_BLE_Library UnimplementedError.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/RSSI.swift:59:20: warning: static property 'outOfRange' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
57 | extension RSSI {
58 |
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
   |                    |- warning: static property 'outOfRange' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'outOfRange' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/RSSI.swift:60:20: warning: static property 'practicalWorst' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
58 |
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
   |                    |- warning: static property 'practicalWorst' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'practicalWorst' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/RSSI.swift:61:20: warning: static property 'bad' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
   |                    |- warning: static property 'bad' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'bad' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
63 | 	public static let good = RSSI(integerLiteral: Const.good)
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/RSSI.swift:62:20: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
   |                    |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | 	public static let good = RSSI(integerLiteral: Const.good)
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/RSSI.swift:63:20: warning: static property 'good' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
63 | 	public static let good = RSSI(integerLiteral: Const.good)
   |                    |- warning: static property 'good' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'good' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | }
65 |
[62/91] Compiling CoreBluetoothMock CBMPeripheralSpec.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Peripheral/Peripheral.swift:42:23: warning: capture of 'self' with non-sendable type 'NativeObserver?' in a '@Sendable' closure
 19 | }
 20 |
 21 | private class NativeObserver: Observer {
    |               `- note: class 'NativeObserver' does not conform to the 'Sendable' protocol
 22 | 	@objc private var peripheral: CoreBluetooth.CBPeripheral
 23 |
    :
 40 | 			[weak self] _, change in
 41 |             // TODO: Check threads
 42 |             guard let self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'NativeObserver?' in a '@Sendable' closure
 43 |             self.publisher.send(self.peripheral.state)
 44 | 		}
[63/91] Compiling CoreBluetoothMock CBMPeripheralSpecDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Peripheral/Peripheral.swift:42:23: warning: capture of 'self' with non-sendable type 'NativeObserver?' in a '@Sendable' closure
 19 | }
 20 |
 21 | private class NativeObserver: Observer {
    |               `- note: class 'NativeObserver' does not conform to the 'Sendable' protocol
 22 | 	@objc private var peripheral: CoreBluetooth.CBPeripheral
 23 |
    :
 40 | 			[weak self] _, change in
 41 |             // TODO: Check threads
 42 |             guard let self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'NativeObserver?' in a '@Sendable' closure
 43 |             self.publisher.send(self.peripheral.state)
 44 | 		}
[64/91] Compiling CoreBluetoothMock CBMATTRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Peripheral/Peripheral.swift:42:23: warning: capture of 'self' with non-sendable type 'NativeObserver?' in a '@Sendable' closure
 19 | }
 20 |
 21 | private class NativeObserver: Observer {
    |               `- note: class 'NativeObserver' does not conform to the 'Sendable' protocol
 22 | 	@objc private var peripheral: CoreBluetooth.CBPeripheral
 23 |
    :
 40 | 			[weak self] _, change in
 41 |             // TODO: Check threads
 42 |             guard let self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'NativeObserver?' in a '@Sendable' closure
 43 |             self.publisher.send(self.peripheral.state)
 44 | 		}
[65/91] Emitting module CoreBluetoothMock
[66/93] Compiling CoreBluetoothMock Blinky.swift
[67/93] Compiling CoreBluetoothMock UART.swift
[68/93] Compiling CoreBluetoothMock CBMCentralSpec.swift
[69/93] Compiling CoreBluetoothMock CBMCentralSpecDelegate.swift
[80/93] Compiling CoreBluetoothMock CBMPeripheralManagerMock.swift
[81/93] Compiling CoreBluetoothMock CBMPeripheralManagerNative.swift
[94/115] Compiling iOS_BLE_Library_Mock Queue.swift
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Publishers/Publishers+FailablePrefix.swift.swift:41:10: warning: Thread safety should be considered
 39 | }
 40 |
 41 | #warning("Thread safety should be considered")
    |          `- warning: Thread safety should be considered
 42 | extension Publishers.PrefixUntilOutputOrCompletion {
 43 | 	private final class Inner<Downstream: Subscriber>: Subscriber, Subscription
[95/115] Compiling iOS_BLE_Library_Mock Publishers+FailablePrefix.swift.swift
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Publishers/Publishers+FailablePrefix.swift.swift:41:10: warning: Thread safety should be considered
 39 | }
 40 |
 41 | #warning("Thread safety should be considered")
    |          `- warning: Thread safety should be considered
 42 | extension Publishers.PrefixUntilOutputOrCompletion {
 43 | 	private final class Inner<Downstream: Subscriber>: Subscriber, Subscription
[96/117] Emitting module iOS_BLE_Library_Mock
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:59:20: warning: static property 'outOfRange' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
57 | extension RSSI {
58 |
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
   |                    |- warning: static property 'outOfRange' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'outOfRange' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:60:20: warning: static property 'practicalWorst' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
58 |
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
   |                    |- warning: static property 'practicalWorst' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'practicalWorst' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:61:20: warning: static property 'bad' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
   |                    |- warning: static property 'bad' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'bad' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
63 | 	public static let good = RSSI(integerLiteral: Const.good)
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:62:20: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
   |                    |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | 	public static let good = RSSI(integerLiteral: Const.good)
64 | }
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:63:20: warning: static property 'good' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
63 | 	public static let good = RSSI(integerLiteral: Const.good)
   |                    |- warning: static property 'good' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'good' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Logger.swift:13:16: warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | @available(iOS 14.0, macOS 11, watchOS 7.0, *)
12 | private struct Loggers {
13 |     static var loggers: [UUID : Logger] = [:]
   |                |- warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'loggers' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'loggers' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Publishers/Publishers+FailablePrefix.swift.swift:41:10: warning: Thread safety should be considered
 39 | }
 40 |
 41 | #warning("Thread safety should be considered")
    |          `- warning: Thread safety should be considered
 42 | extension Publishers.PrefixUntilOutputOrCompletion {
 43 | 	private final class Inner<Downstream: Subscriber>: Subscriber, Subscription
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/CentralManager/CentralManager.swift:206:11: warning: check `connect` method
204 |
205 | extension CentralManager {
206 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
207 | 	/// Returns a list of the peripherals connected to the system whose
208 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/CentralManager/CentralManager.swift:238:11: warning: Question: Should we throw an error if the scan is already running?
236 |
237 | extension CentralManager {
238 | 	#warning("Question: Should we throw an error if the scan is already running?")
    |           `- warning: Question: Should we throw an error if the scan is already running?
239 | 	/// Initiates a scan for peripherals with the specified services.
240 | 	///
[97/117] Compiling iOS_BLE_Library_Mock ReactiveCentralManagerDelegate.swift
[98/117] Compiling iOS_BLE_Library_Mock ScanResult.swift
[99/117] Compiling iOS_BLE_Library_Mock Peripheral.swift
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Peripheral/Peripheral.swift:42:23: warning: capture of 'self' with non-sendable type 'NativeObserver?' in a '@Sendable' closure
 19 | }
 20 |
 21 | private class NativeObserver: Observer {
    |               `- note: class 'NativeObserver' does not conform to the 'Sendable' protocol
 22 | 	@objc private var peripheral: CoreBluetooth.CBPeripheral
 23 |
    :
 40 | 			[weak self] _, change in
 41 |             // TODO: Check threads
 42 |             guard let self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'NativeObserver?' in a '@Sendable' closure
 43 |             self.publisher.send(self.peripheral.state)
 44 | 		}
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Peripheral/Peripheral.swift:63:22: warning: queue can be not only main
 61 |     override func setup() {
 62 |         observation = peripheral.observe(\.state, options: [.new]) { [weak self] _, change in
 63 |             #warning("queue can be not only main")
    |                      `- warning: queue can be not only main
 64 |             DispatchQueue.main.async {
 65 |                 guard let self else { return }
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Peripheral/Peripheral.swift:65:27: warning: capture of 'self' with non-sendable type 'MockObserver?' in a '@Sendable' closure
 47 |
 48 | #if MOCK_TRANSPORT
 49 | private class MockObserver: Observer {
    |               `- note: class 'MockObserver' does not conform to the 'Sendable' protocol
 50 |     @objc private var peripheral: CBMPeripheralMock
 51 |
    :
 63 |             #warning("queue can be not only main")
 64 |             DispatchQueue.main.async {
 65 |                 guard let self else { return }
    |                           `- warning: capture of 'self' with non-sendable type 'MockObserver?' in a '@Sendable' closure
 66 |                 self.publisher.send(self.peripheral.state)
 67 |             }
[100/117] Compiling iOS_BLE_Library_Mock PeripheralError.swift
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Peripheral/Peripheral.swift:42:23: warning: capture of 'self' with non-sendable type 'NativeObserver?' in a '@Sendable' closure
 19 | }
 20 |
 21 | private class NativeObserver: Observer {
    |               `- note: class 'NativeObserver' does not conform to the 'Sendable' protocol
 22 | 	@objc private var peripheral: CoreBluetooth.CBPeripheral
 23 |
    :
 40 | 			[weak self] _, change in
 41 |             // TODO: Check threads
 42 |             guard let self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'NativeObserver?' in a '@Sendable' closure
 43 |             self.publisher.send(self.peripheral.state)
 44 | 		}
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Peripheral/Peripheral.swift:63:22: warning: queue can be not only main
 61 |     override func setup() {
 62 |         observation = peripheral.observe(\.state, options: [.new]) { [weak self] _, change in
 63 |             #warning("queue can be not only main")
    |                      `- warning: queue can be not only main
 64 |             DispatchQueue.main.async {
 65 |                 guard let self else { return }
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Peripheral/Peripheral.swift:65:27: warning: capture of 'self' with non-sendable type 'MockObserver?' in a '@Sendable' closure
 47 |
 48 | #if MOCK_TRANSPORT
 49 | private class MockObserver: Observer {
    |               `- note: class 'MockObserver' does not conform to the 'Sendable' protocol
 50 |     @objc private var peripheral: CBMPeripheralMock
 51 |
    :
 63 |             #warning("queue can be not only main")
 64 |             DispatchQueue.main.async {
 65 |                 guard let self else { return }
    |                           `- warning: capture of 'self' with non-sendable type 'MockObserver?' in a '@Sendable' closure
 66 |                 self.publisher.send(self.peripheral.state)
 67 |             }
[101/117] Compiling iOS_BLE_Library_Mock AsyncCharacteristicData.swift
[102/117] Compiling iOS_BLE_Library_Mock ReactivePeripheralDelegate.swift
[103/117] Compiling iOS_BLE_Library_Mock Publishers+Connectable.swift
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Publishers/ContinuationSubscriber.swift:52:16: warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
50 | 		}
51 | 		self.state = .terminated
52 | 		continuation.resume(returning: input)
   |                |- warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'input' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
53 |
54 | 		self.subscription?.cancel()
[104/117] Compiling iOS_BLE_Library_Mock ContinuationSubscriber.swift
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Publishers/ContinuationSubscriber.swift:52:16: warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
50 | 		}
51 | 		self.state = .terminated
52 | 		continuation.resume(returning: input)
   |                |- warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
   |                `- note: task-isolated 'input' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
53 |
54 | 		self.subscription?.cancel()
[105/117] Compiling iOS_BLE_Library_Mock Publishers+Bluetooth.swift
[106/117] Compiling iOS_BLE_Library_Mock Publishers+GuestList.swift
[107/117] Compiling iOS_BLE_Library_Mock AdvertisementData.swift
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Extensions/Publishers+Async.swift:47:5: warning: capture of 'inner' with non-sendable type 'AsyncPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 45 | 			} onCancel: {
 46 | 				[inner] in
 47 | 				inner.cancel()
    |     `- warning: capture of 'inner' with non-sendable type 'AsyncPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 | 			}
 49 | 		}
    :
 66 |
 67 | extension AsyncPublisher.Iterator {
 68 | 	fileprivate final class Inner: Subscriber, Cancellable {
    |                          `- note: class 'Inner' does not conform to the 'Sendable' protocol
 69 | 		typealias Input = Upstream.Output
 70 | 		typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Extensions/Publishers+Async.swift:180:5: warning: capture of 'inner' with non-sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
178 | 			} onCancel: {
179 | 				[inner] in
180 | 				inner.cancel()
    |     `- warning: capture of 'inner' with non-sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
181 | 			}
182 | 		}
    :
200 | extension AsyncThrowingPublisher.Iterator {
201 |
202 | 	fileprivate final class Inner: Subscriber, Cancellable {
    |                          `- note: class 'Inner' does not conform to the 'Sendable' protocol
203 | 		typealias Input = Upstream.Output
204 | 		typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Extensions/Publishers+Async.swift:111:17: warning: sending value of non-Sendable type 'AsyncPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
109 | 			let continuation = pending.removeFirst()
110 | 			lock.unlock()
111 | 			continuation.resume(returning: input)
    |                 |- warning: sending value of non-Sendable type 'AsyncPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type 'AsyncPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
112 | 			return .none
113 | 		}
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Extensions/Publishers+Async.swift:245:17: warning: sending value of non-Sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
243 | 			let continuation = pending.removeFirst()
244 | 			lock.unlock()
245 | 			continuation.resume(returning: input)
    |                 |- warning: sending value of non-Sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
246 | 			return .none
247 | 		}
[108/117] Compiling iOS_BLE_Library_Mock CBManagerState.swift
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Extensions/Publishers+Async.swift:47:5: warning: capture of 'inner' with non-sendable type 'AsyncPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 45 | 			} onCancel: {
 46 | 				[inner] in
 47 | 				inner.cancel()
    |     `- warning: capture of 'inner' with non-sendable type 'AsyncPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 | 			}
 49 | 		}
    :
 66 |
 67 | extension AsyncPublisher.Iterator {
 68 | 	fileprivate final class Inner: Subscriber, Cancellable {
    |                          `- note: class 'Inner' does not conform to the 'Sendable' protocol
 69 | 		typealias Input = Upstream.Output
 70 | 		typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Extensions/Publishers+Async.swift:180:5: warning: capture of 'inner' with non-sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
178 | 			} onCancel: {
179 | 				[inner] in
180 | 				inner.cancel()
    |     `- warning: capture of 'inner' with non-sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
181 | 			}
182 | 		}
    :
200 | extension AsyncThrowingPublisher.Iterator {
201 |
202 | 	fileprivate final class Inner: Subscriber, Cancellable {
    |                          `- note: class 'Inner' does not conform to the 'Sendable' protocol
203 | 		typealias Input = Upstream.Output
204 | 		typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Extensions/Publishers+Async.swift:111:17: warning: sending value of non-Sendable type 'AsyncPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
109 | 			let continuation = pending.removeFirst()
110 | 			lock.unlock()
111 | 			continuation.resume(returning: input)
    |                 |- warning: sending value of non-Sendable type 'AsyncPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type 'AsyncPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
112 | 			return .none
113 | 		}
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Extensions/Publishers+Async.swift:245:17: warning: sending value of non-Sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
243 | 			let continuation = pending.removeFirst()
244 | 			lock.unlock()
245 | 			continuation.resume(returning: input)
    |                 |- warning: sending value of non-Sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
246 | 			return .none
247 | 		}
[109/117] Compiling iOS_BLE_Library_Mock Publishers+Async.swift
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Extensions/Publishers+Async.swift:47:5: warning: capture of 'inner' with non-sendable type 'AsyncPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 45 | 			} onCancel: {
 46 | 				[inner] in
 47 | 				inner.cancel()
    |     `- warning: capture of 'inner' with non-sendable type 'AsyncPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 | 			}
 49 | 		}
    :
 66 |
 67 | extension AsyncPublisher.Iterator {
 68 | 	fileprivate final class Inner: Subscriber, Cancellable {
    |                          `- note: class 'Inner' does not conform to the 'Sendable' protocol
 69 | 		typealias Input = Upstream.Output
 70 | 		typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Extensions/Publishers+Async.swift:180:5: warning: capture of 'inner' with non-sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
178 | 			} onCancel: {
179 | 				[inner] in
180 | 				inner.cancel()
    |     `- warning: capture of 'inner' with non-sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner' in a '@Sendable' closure; this is an error in the Swift 6 language mode
181 | 			}
182 | 		}
    :
200 | extension AsyncThrowingPublisher.Iterator {
201 |
202 | 	fileprivate final class Inner: Subscriber, Cancellable {
    |                          `- note: class 'Inner' does not conform to the 'Sendable' protocol
203 | 		typealias Input = Upstream.Output
204 | 		typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Extensions/Publishers+Async.swift:111:17: warning: sending value of non-Sendable type 'AsyncPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
109 | 			let continuation = pending.removeFirst()
110 | 			lock.unlock()
111 | 			continuation.resume(returning: input)
    |                 |- warning: sending value of non-Sendable type 'AsyncPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type 'AsyncPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
112 | 			return .none
113 | 		}
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Extensions/Publishers+Async.swift:245:17: warning: sending value of non-Sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
243 | 			let continuation = pending.removeFirst()
244 | 			lock.unlock()
245 | 			continuation.resume(returning: input)
    |                 |- warning: sending value of non-Sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type 'AsyncThrowingPublisher<Upstream>.Iterator.Inner.Input' (aka 'Upstream.Output') as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
246 | 			return .none
247 | 		}
[110/117] Compiling iOS_BLE_Library_Mock Alias.swift
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:59:20: warning: static property 'outOfRange' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
57 | extension RSSI {
58 |
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
   |                    |- warning: static property 'outOfRange' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'outOfRange' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:60:20: warning: static property 'practicalWorst' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
58 |
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
   |                    |- warning: static property 'practicalWorst' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'practicalWorst' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:61:20: warning: static property 'bad' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
   |                    |- warning: static property 'bad' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'bad' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
63 | 	public static let good = RSSI(integerLiteral: Const.good)
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:62:20: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
   |                    |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | 	public static let good = RSSI(integerLiteral: Const.good)
64 | }
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:63:20: warning: static property 'good' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
63 | 	public static let good = RSSI(integerLiteral: Const.good)
   |                    |- warning: static property 'good' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'good' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Logger.swift:13:16: warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | @available(iOS 14.0, macOS 11, watchOS 7.0, *)
12 | private struct Loggers {
13 |     static var loggers: [UUID : Logger] = [:]
   |                |- warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'loggers' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'loggers' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[111/117] Compiling iOS_BLE_Library_Mock RSSI.swift
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:59:20: warning: static property 'outOfRange' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
57 | extension RSSI {
58 |
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
   |                    |- warning: static property 'outOfRange' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'outOfRange' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:60:20: warning: static property 'practicalWorst' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
58 |
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
   |                    |- warning: static property 'practicalWorst' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'practicalWorst' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:61:20: warning: static property 'bad' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
   |                    |- warning: static property 'bad' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'bad' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
63 | 	public static let good = RSSI(integerLiteral: Const.good)
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:62:20: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
   |                    |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | 	public static let good = RSSI(integerLiteral: Const.good)
64 | }
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:63:20: warning: static property 'good' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
63 | 	public static let good = RSSI(integerLiteral: Const.good)
   |                    |- warning: static property 'good' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'good' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Logger.swift:13:16: warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | @available(iOS 14.0, macOS 11, watchOS 7.0, *)
12 | private struct Loggers {
13 |     static var loggers: [UUID : Logger] = [:]
   |                |- warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'loggers' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'loggers' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[112/117] Compiling iOS_BLE_Library_Mock Logger.swift
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:59:20: warning: static property 'outOfRange' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
57 | extension RSSI {
58 |
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
   |                    |- warning: static property 'outOfRange' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'outOfRange' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:60:20: warning: static property 'practicalWorst' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
58 |
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
   |                    |- warning: static property 'practicalWorst' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'practicalWorst' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:61:20: warning: static property 'bad' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
59 | 	public static let outOfRange = RSSI(integerLiteral: Const.outOfRange)
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
   |                    |- warning: static property 'bad' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'bad' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
63 | 	public static let good = RSSI(integerLiteral: Const.good)
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:62:20: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
60 | 	public static let practicalWorst = RSSI(integerLiteral: Const.practicalWorst)
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
   |                    |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | 	public static let good = RSSI(integerLiteral: Const.good)
64 | }
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/RSSI.swift:63:20: warning: static property 'good' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public struct RSSI: ExpressibleByIntegerLiteral, Equatable, Hashable {
   |               `- note: consider making struct 'RSSI' conform to the 'Sendable' protocol
21 |
22 | 	public enum Signal {
   :
61 | 	public static let bad = RSSI(integerLiteral: Const.bad)
62 | 	public static let ok = RSSI(integerLiteral: Const.ok)
63 | 	public static let good = RSSI(integerLiteral: Const.good)
   |                    |- warning: static property 'good' is not concurrency-safe because non-'Sendable' type 'RSSI' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'good' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Logger.swift:13:16: warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | @available(iOS 14.0, macOS 11, watchOS 7.0, *)
12 | private struct Loggers {
13 |     static var loggers: [UUID : Logger] = [:]
   |                |- warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'loggers' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'loggers' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[113/117] Compiling iOS_BLE_Library_Mock Peripheral+Writer.swift
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/CentralManager/CentralManager.swift:206:11: warning: check `connect` method
204 |
205 | extension CentralManager {
206 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
207 | 	/// Returns a list of the peripherals connected to the system whose
208 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/CentralManager/CentralManager.swift:238:11: warning: Question: Should we throw an error if the scan is already running?
236 |
237 | extension CentralManager {
238 | 	#warning("Question: Should we throw an error if the scan is already running?")
    |           `- warning: Question: Should we throw an error if the scan is already running?
239 | 	/// Initiates a scan for peripherals with the specified services.
240 | 	///
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/CentralManager/CentralManager.swift:54:46: warning: capture of 'self' with non-sendable type 'Observer' in a '@Sendable' closure
 38 | // MARK: - Observer
 39 |
 40 | private class Observer: NSObject {
    |               `- note: class 'Observer' does not conform to the 'Sendable' protocol
 41 | 	@objc dynamic private weak var cm: CBCentralManager?
 42 | 	private weak var publisher: CurrentValueSubject<Bool, Never>?
    :
 52 | 		observation = observe(\.cm?.isScanning, options: [.old, .new],
 53 |                                changeHandler: { _, change in
 54 |             change.newValue?.flatMap { [weak self] new in
    |                                              `- warning: capture of 'self' with non-sendable type 'Observer' in a '@Sendable' closure
 55 |                 self?.publisher?.send(new)
 56 |             }
[114/117] Compiling iOS_BLE_Library_Mock CentralManager.swift
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/CentralManager/CentralManager.swift:206:11: warning: check `connect` method
204 |
205 | extension CentralManager {
206 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
207 | 	/// Returns a list of the peripherals connected to the system whose
208 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/CentralManager/CentralManager.swift:238:11: warning: Question: Should we throw an error if the scan is already running?
236 |
237 | extension CentralManager {
238 | 	#warning("Question: Should we throw an error if the scan is already running?")
    |           `- warning: Question: Should we throw an error if the scan is already running?
239 | 	/// Initiates a scan for peripherals with the specified services.
240 | 	///
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/CentralManager/CentralManager.swift:54:46: warning: capture of 'self' with non-sendable type 'Observer' in a '@Sendable' closure
 38 | // MARK: - Observer
 39 |
 40 | private class Observer: NSObject {
    |               `- note: class 'Observer' does not conform to the 'Sendable' protocol
 41 | 	@objc dynamic private weak var cm: CBCentralManager?
 42 | 	private weak var publisher: CurrentValueSubject<Bool, Never>?
    :
 52 | 		observation = observe(\.cm?.isScanning, options: [.old, .new],
 53 |                                changeHandler: { _, change in
 54 |             change.newValue?.flatMap { [weak self] new in
    |                                              `- warning: capture of 'self' with non-sendable type 'Observer' in a '@Sendable' closure
 55 |                 self?.publisher?.send(new)
 56 |             }
[115/117] Compiling iOS_BLE_Library_Mock CBManagerState+Ext.swift
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Extensions/CBManagerState+Ext.swift:25:9: warning: default will never be executed
23 | 		case .poweredOff, .unauthorized, .unsupported:
24 | 			return false
25 |         default:
   |         `- warning: default will never be executed
26 |             return false
27 | 		}
[116/117] Compiling iOS_BLE_Library_Mock Data+Ext.swift.swift
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Extensions/CBManagerState+Ext.swift:25:9: warning: default will never be executed
23 | 		case .poweredOff, .unauthorized, .unsupported:
24 | 			return false
25 |         default:
   |         `- warning: default will never be executed
26 |             return false
27 | 		}
[117/117] Compiling iOS_BLE_Library_Mock UnimplementedError.swift
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Extensions/CBManagerState+Ext.swift:25:9: warning: default will never be executed
23 | 		case .poweredOff, .unauthorized, .unsupported:
24 | 			return false
25 |         default:
   |         `- warning: default will never be executed
26 |             return false
27 | 		}
Build complete! (26.75s)
Fetching https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
[72/11371] Fetching swift-docc-plugin, ios-corebluetooth-mock
Fetched https://github.com/apple/swift-docc-plugin from cache (2.45s)
Fetched https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git from cache (2.45s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (3.05s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.04s)
Computing version for https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git
Computed https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git at 1.1.0 (1.56s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.60s)
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.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "ios-corebluetooth-mock",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "iOS-BLE-Library",
  "name" : "iOS-BLE-Library",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "iOS-BLE-Library",
      "targets" : [
        "iOS-BLE-Library"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "iOS-BLE-Library-Mock",
      "targets" : [
        "iOS-BLE-Library-Mock"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MockGeneratorTool",
      "targets" : [
        "MockGeneratorTool"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "iOS_BLE_LibraryTests",
      "module_type" : "SwiftTarget",
      "name" : "iOS-BLE-LibraryTests",
      "path" : "Tests/iOS-BLE-LibraryTests",
      "sources" : [
        "CentralManagerStateTest.swift",
        "CentralManagerTests.swift",
        "PeripheralMultitaskingTests.swift",
        "PeripheralReadWriteDescriptorTests.swift"
      ],
      "target_dependencies" : [
        "iOS-BLE-Library-Mock"
      ],
      "type" : "test"
    },
    {
      "c99name" : "iOS_BLE_Library_Mock",
      "module_type" : "SwiftTarget",
      "name" : "iOS-BLE-Library-Mock",
      "path" : "Sources/iOS-BLE-Library-Mock",
      "product_dependencies" : [
        "CoreBluetoothMock"
      ],
      "product_memberships" : [
        "iOS-BLE-Library-Mock"
      ],
      "sources" : [
        "Alias.swift"
      ],
      "target_dependencies" : [
        "MockGenerator"
      ],
      "type" : "library"
    },
    {
      "c99name" : "iOS_BLE_Library",
      "module_type" : "SwiftTarget",
      "name" : "iOS-BLE-Library",
      "path" : "Sources/iOS-BLE-Library",
      "product_memberships" : [
        "iOS-BLE-Library"
      ],
      "sources" : [
        "CentralManager/CentralManager.swift",
        "CentralManager/Model/ScanResult.swift",
        "CentralManager/ReactiveCentralManagerDelegate.swift",
        "Peripheral/Peripheral+Writer.swift",
        "Peripheral/Peripheral.swift",
        "Peripheral/PeripheralError.swift",
        "Peripheral/ReactivePeripheralDelegate.swift",
        "Utilities/AdvertisementData.swift",
        "Utilities/AsyncCharacteristicData.swift",
        "Utilities/CBManagerState.swift",
        "Utilities/Extensions/CBManagerState+Ext.swift",
        "Utilities/Extensions/Data+Ext.swift.swift",
        "Utilities/Extensions/Publishers+Async.swift",
        "Utilities/Logger.swift",
        "Utilities/Publishers/ContinuationSubscriber.swift",
        "Utilities/Publishers/Publishers+Bluetooth.swift",
        "Utilities/Publishers/Publishers+Connectable.swift",
        "Utilities/Publishers/Publishers+FailablePrefix.swift.swift",
        "Utilities/Publishers/Publishers+GuestList.swift",
        "Utilities/Queue.swift",
        "Utilities/RSSI.swift",
        "Utilities/UnimplementedError.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MockGeneratorTool",
      "module_type" : "SwiftTarget",
      "name" : "MockGeneratorTool",
      "path" : "Sources/MockGeneratorTool",
      "product_memberships" : [
        "iOS-BLE-Library-Mock",
        "MockGeneratorTool"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MockGenerator",
      "module_type" : "PluginTarget",
      "name" : "MockGenerator",
      "path" : "Plugins/MockGenerator",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "iOS-BLE-Library-Mock"
      ],
      "sources" : [
        "MockGenerator.swift"
      ],
      "target_dependencies" : [
        "MockGeneratorTool"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.6"
}
Done.