Build Information
Successful build of SwiftBluetooth, reference master (82395b
), with Swift 6.1 for watchOS using Xcode 16.3 on 28 Apr 2025 15:39:50 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftBluetooth -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Build Log
guard let queue = self.items[key] else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueueMap.swift:3:22: note: generic class 'AsyncSubscriptionQueueMap' does not conform to the 'Sendable' protocol
internal final class AsyncSubscriptionQueueMap<Key, Value> where Key: Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueueMap.swift:38:42: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure
guard let queue = self.items[key] else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueueMap.swift:3:48: note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
internal final class AsyncSubscriptionQueueMap<Key, Value> where Key: Hashable {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueueMap.swift:40:27: warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure
queue.recieve(value)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueueMap.swift:3:53: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
internal final class AsyncSubscriptionQueueMap<Key, Value> where Key: Hashable {
^
: Sendable
SwiftDriverJobDiscovery normal arm64_32 Compiling CancellableTask.swift, CBCentralManagerFactory.swift, CentralManager+async.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64 Compiling\ Peripheral+DiscoveryInfo.swift,\ Peripheral+async.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+DiscoveryInfo.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+DiscoveryInfo.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:79:17: warning: capture of 'cancelBoth' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
cancelBoth()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:79:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
cancelBoth()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:25:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:25:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:133:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:133:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:142:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:142:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:151:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:151:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:160:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:160:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:208:26: warning: sending 'channel' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(returning: channel)
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:208:26: note: task-isolated 'channel' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(returning: channel)
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:79:17: warning: capture of 'cancelBoth' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
cancelBoth()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:79:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
cancelBoth()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:25:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:25:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:133:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:133:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:142:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:142:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:151:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:151:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:160:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:160:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:208:26: warning: sending 'channel' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(returning: channel)
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:208:26: note: task-isolated 'channel' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(returning: channel)
^
SwiftCompile normal arm64_32 Compiling\ CentralManager+callback.swift,\ CentralManager.swift,\ CentralManagerDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegate.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:7:19: warning: capture of 'self' with non-sendable type 'CentralManager' in a '@Sendable' closure
guard state != .poweredOn else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift:4:14: note: class 'CentralManager' does not conform to the 'Sendable' protocol
public class CentralManager: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:8:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.success(Void()))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:8:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.success(Void()))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:27:21: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.success(Void()))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:27:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.success(Void()))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:43:19: warning: capture of 'peripheral' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard peripheral.state != .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:44:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Peripheral, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.success(peripheral))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:44:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.success(peripheral))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:49:24: warning: capture of 'self' with non-sendable type 'CentralManager' in a '@Sendable' closure
let task = eventSubscriptions.queue { event, done in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift:4:14: note: class 'CentralManager' does not conform to the 'Sendable' protocol
public class CentralManager: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:77:42: warning: capture of 'options' with non-sendable type '[String : Any]?' in a '@Sendable' closure
connect(peripheral, options: options)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:52:40: warning: capture of 'peripheral' with non-sendable type 'Peripheral' in an isolated closure; this is an error in the Swift 6 language mode
guard connected == peripheral else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:53:21: warning: capture of 'completionHandler' with non-sendable type '(Result<Peripheral, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.success(peripheral))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:53:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.success(peripheral))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:70:21: warning: capture of 'task' with non-sendable type 'AsyncSubscription<CentralManagerEvent>' in a '@Sendable' closure
task.cancel()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:3:17: note: consider making generic struct 'AsyncSubscription' conform to the 'Sendable' protocol
internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:71:21: warning: capture of 'completionHandler' with non-sendable type '(Result<Peripheral, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.connectionTimeout)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:71:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.connectionTimeout)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:102:25: warning: capture of 'subscription' with non-sendable type 'AsyncSubscription<CentralManagerEvent>' in a '@Sendable' closure
subscription.cancel()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:3:17: note: consider making generic struct 'AsyncSubscription' conform to the 'Sendable' protocol
internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:117:19: warning: capture of 'self' with non-sendable type 'CentralManager' in a '@Sendable' closure
guard connectedPeripherals.contains(peripheral) else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift:4:14: note: class 'CentralManager' does not conform to the 'Sendable' protocol
public class CentralManager: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:117:49: warning: capture of 'peripheral' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard connectedPeripherals.contains(peripheral) else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:118:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.success(Void()))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:118:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.success(Void()))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:124:39: warning: capture of 'peripheral' with non-sendable type 'Peripheral' in an isolated closure; this is an error in the Swift 6 language mode
disconnected == peripheral else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:127:21: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:127:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error))
^
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift:19:71: warning: 'authorization' was deprecated in watchOS 6.0
public var authorization: CBManagerAuthorization { centralManager.authorization }
^
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegate.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal armv7k Compiling Characteristic.swift, NotifyingTracker.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftDriverJobDiscovery normal armv7k Compiling AsyncStream+first.swift, CBUUID+Sendable.swift, DispatchQueue+safeSync.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftDriverJobDiscovery normal armv7k Compiling PeripheralDelegate.swift, PeripheralDelegateWrapper.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64_32 Compiling\ Peripheral+DiscoveryInfo.swift,\ Peripheral+async.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+DiscoveryInfo.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+DiscoveryInfo.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:79:17: warning: capture of 'cancelBoth' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
cancelBoth()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:79:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
cancelBoth()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:25:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:25:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:133:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:133:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:142:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:142:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:151:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:151:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:160:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:160:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:208:26: warning: sending 'channel' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(returning: channel)
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:208:26: note: task-isolated 'channel' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(returning: channel)
^
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:79:17: warning: capture of 'cancelBoth' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
cancelBoth()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:79:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
cancelBoth()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:25:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:25:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:133:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:133:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:142:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:142:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:151:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:151:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:160:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:160:22: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:208:26: warning: sending 'channel' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(returning: channel)
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+async.swift:208:26: note: task-isolated 'channel' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(returning: channel)
^
SwiftDriverJobDiscovery normal arm64 Emitting module for SwiftBluetooth (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftDriver\ Compilation\ Requirements SwiftBluetooth normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SwiftBluetooth -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64-apple-watchos7.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64_32 Compiling CentralManagerDelegateWrapper.swift, CentralManagerError.swift, CentralManagerEvent.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64_32 Compiling\ AsyncStream+first.swift,\ CBUUID+Sendable.swift,\ DispatchQueue+safeSync.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Extensions/AsyncStream+first.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Extensions/CBUUID+Sendable.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Extensions/DispatchQueue+safeSync.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Extensions/AsyncStream+first.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Extensions/CBUUID+Sendable.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Extensions/CBUUID+Sendable.swift:4:1: warning: extension declares a conformance of imported type 'CBUUID' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'CoreBluetooth' introduce this conformance in the future
extension CBUUID: @unchecked Sendable { }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Extensions/CBUUID+Sendable.swift:4:1: note: add '@retroactive' to silence this warning
extension CBUUID: @unchecked Sendable { }
^ ~~~~~~~~
@retroactive Sendable
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Extensions/DispatchQueue+safeSync.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/SwiftBluetooth-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/SwiftBluetooth-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/SwiftBluetooth-Swift.h (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth-Swift.h -arch arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/SwiftBluetooth-Swift.h -arch armv7k /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/SwiftBluetooth-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/SwiftBluetooth-Swift.h
SwiftDriverJobDiscovery normal arm64_32 Compiling PeripheralDelegate.swift, PeripheralDelegateWrapper.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SwiftBluetooth.swiftmodule/arm64-apple-watchos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth.swiftmodule (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SwiftBluetooth.swiftmodule/arm64-apple-watchos.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SwiftBluetooth.swiftmodule/arm64-apple-watchos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth.swiftdoc (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SwiftBluetooth.swiftmodule/arm64-apple-watchos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SwiftBluetooth.swiftmodule/arm64-apple-watchos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth.abi.json (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SwiftBluetooth.swiftmodule/arm64-apple-watchos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SwiftBluetooth.swiftmodule/Project/arm64-apple-watchos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth.swiftsourceinfo (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SwiftBluetooth.swiftmodule/Project/arm64-apple-watchos.swiftsourceinfo
SwiftCompile normal arm64 Compiling\ AsyncSubscription.swift,\ AsyncSubscriptionQueue.swift,\ AsyncSubscriptionQueueMap.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueue.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueueMap.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueue.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueue.swift:22:13: warning: capture of 'self' with non-sendable type 'AsyncSubscriptionQueue<Value>' in a '@Sendable' closure
self.items.append(item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueue.swift:3:22: note: generic class 'AsyncSubscriptionQueue' does not conform to the 'Sendable' protocol
internal final class AsyncSubscriptionQueue<Value> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueue.swift:22:31: warning: capture of 'item' with non-sendable type 'AsyncSubscription<Value>' in a '@Sendable' closure
self.items.append(item)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:3:17: note: consider making generic struct 'AsyncSubscription' conform to the 'Sendable' protocol
internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueue.swift:30:25: warning: capture of 'self' with non-sendable type 'AsyncSubscriptionQueue<Value>' in a '@Sendable' closure
for item in self.items.reversed() {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueue.swift:3:22: note: generic class 'AsyncSubscriptionQueue' does not conform to the 'Sendable' protocol
internal final class AsyncSubscriptionQueue<Value> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueue.swift:31:28: warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure
item.block(value, item.cancel)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueue.swift:3:45: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
internal final class AsyncSubscriptionQueue<Value> {
^
: Sendable
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueueMap.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueueMap.swift:38:31: warning: capture of 'self' with non-sendable type 'AsyncSubscriptionQueueMap<Key, Value>' in a '@Sendable' closure
guard let queue = self.items[key] else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueueMap.swift:3:22: note: generic class 'AsyncSubscriptionQueueMap' does not conform to the 'Sendable' protocol
internal final class AsyncSubscriptionQueueMap<Key, Value> where Key: Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueueMap.swift:38:42: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure
guard let queue = self.items[key] else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueueMap.swift:3:48: note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
internal final class AsyncSubscriptionQueueMap<Key, Value> where Key: Hashable {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueueMap.swift:40:27: warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure
queue.recieve(value)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscriptionQueueMap.swift:3:53: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
internal final class AsyncSubscriptionQueueMap<Key, Value> where Key: Hashable {
^
: Sendable
SwiftCompile normal arm64 Compiling\ Peripheral+callback.swift,\ Peripheral.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:7:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:8:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:8:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:15:44: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a '@Sendable' closure
task1 = responseMap.queue(key: characteristic.uuid) { result, done in
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
import CoreBluetooth
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:16:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:16:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:24:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:24:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:41:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:42:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Any?, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:42:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:49:46: warning: capture of 'descriptor' with non-sendable type 'CBDescriptor' in a '@Sendable' closure
task1 = descriptorMap.queue(key: descriptor.uuid) { result, done in
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBDescriptor.h:24:28: note: class 'CBDescriptor' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBDescriptor : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:50:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Any?, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:50:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:58:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Any?, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:58:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:114:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:115:17: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
completionHandler(CBError(.peripheralDisconnected))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:115:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(CBError(.peripheralDisconnected))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:123:45: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a '@Sendable' closure
task1 = writeMap.queue(key: characteristic.uuid) { error, done in
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:124:21: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:124:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:132:21: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(error ?? CBError(.peripheralDisconnected))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:132:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(error ?? CBError(.peripheralDisconnected))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:148:13: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
writeMap.queue(key: descriptor.uuid) { error, done in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:148:33: warning: capture of 'descriptor' with non-sendable type 'CBDescriptor' in a '@Sendable' closure
writeMap.queue(key: descriptor.uuid) { error, done in
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBDescriptor.h:24:28: note: class 'CBDescriptor' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBDescriptor : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:149:17: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:149:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:149:17: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:149:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:159:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:160:17: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBService], any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:160:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:166:21: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBService], any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:166:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:188:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:189:17: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBCharacteristic], any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:189:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:201:42: warning: capture of 'service' with non-sendable type 'CBService' in a '@Sendable' closure
forService.uuid == service.uuid else { return }
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBService.h:27:28: note: class 'CBService' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBService : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:195:21: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBCharacteristic], any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:195:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:201:42: warning: capture of 'service' with non-sendable type 'CBService' in an isolated closure; this is an error in the Swift 6 language mode
forService.uuid == service.uuid else { return }
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBService.h:27:28: note: class 'CBService' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBService : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:218:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:219:17: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBDescriptor], any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:219:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:231:49: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a '@Sendable' closure
forCharacteristic.uuid == characteristic.uuid else { return }
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:225:21: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBDescriptor], any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:225:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:231:49: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in an isolated closure; this is an error in the Swift 6 language mode
forCharacteristic.uuid == characteristic.uuid else { return }
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:258:32: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
let shouldNotify = notifyingState.setExternal(value, forKey: characteristic.uuid)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:258:74: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a '@Sendable' closure
let shouldNotify = notifyingState.setExternal(value, forKey: characteristic.uuid)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:261:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Bool, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:261:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:272:21: warning: capture of 'completionHandler' with non-sendable type '(Result<Bool, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:272:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:278:49: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in an isolated closure; this is an error in the Swift 6 language mode
forCharacteristic.uuid == characteristic.uuid else { return }
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:313:13: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
eventSubscriptions.queue { event, done in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:318:21: warning: capture of 'completionHandler' with non-sendable type '(Result<NSNumber, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:318:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:318:21: warning: capture of 'completionHandler' with non-sendable type '(Result<NSNumber, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:318:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:332:13: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
eventSubscriptions.queue { event, done in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:337:21: warning: capture of 'completionHandler' with non-sendable type '(Result<CBL2CAPChannel, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:337:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:337:21: warning: capture of 'completionHandler' with non-sendable type '(Result<CBL2CAPChannel, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:337:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error))
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64_32 Compiling AsyncSubscription.swift, AsyncSubscriptionQueue.swift, AsyncSubscriptionQueueMap.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64_32 Compiling\ PeripheralError.swift,\ PeripheralEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/PeripheralError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/PeripheralEvent.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/PeripheralError.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/PeripheralEvent.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64_32 Compiling AsyncStream+first.swift, CBUUID+Sendable.swift, DispatchQueue+safeSync.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64 Compiling\ PeripheralDelegate.swift,\ PeripheralDelegateWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/PeripheralDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/PeripheralDelegateWrapper.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/PeripheralDelegate.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/PeripheralDelegateWrapper.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64_32 Compiling CentralManager+callback.swift, CentralManager.swift, CentralManagerDelegate.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64_32 Compiling\ Characteristic.swift,\ NotifyingTracker.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Characteristic.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/NotifyingTracker.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Characteristic.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/NotifyingTracker.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64_32 Compiling Peripheral+DiscoveryInfo.swift, Peripheral+async.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal armv7k Compiling\ CancellableTask.swift,\ CBCentralManagerFactory.swift,\ CentralManager+async.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/CancellableTask.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/CancellableTask.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:41:13: warning: capture of 'cancel' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
cancel()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:41:13: note: a function type must be marked '@Sendable' to conform to 'Sendable'
cancel()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:68:21: warning: capture of 'subscription' with non-sendable type 'AsyncSubscription<CentralManagerEvent>' in a '@Sendable' closure
subscription.cancel()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:3:17: note: consider making generic struct 'AsyncSubscription' conform to the 'Sendable' protocol
internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:76:17: warning: capture of 'subscription' with non-sendable type 'AsyncSubscription<CentralManagerEvent>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
subscription.cancel()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:3:17: note: consider making generic struct 'AsyncSubscription' conform to the 'Sendable' protocol
internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:37:26: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:37:26: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:53:26: warning: sending 'peripheral' risks causing data races; this is an error in the Swift 6 language mode
cont.yield(peripheral)
~~~~~^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:53:26: note: task-isolated 'peripheral' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.yield(peripheral)
^
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:41:13: warning: capture of 'cancel' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
cancel()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:41:13: note: a function type must be marked '@Sendable' to conform to 'Sendable'
cancel()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:68:21: warning: capture of 'subscription' with non-sendable type 'AsyncSubscription<CentralManagerEvent>' in a '@Sendable' closure
subscription.cancel()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:3:17: note: consider making generic struct 'AsyncSubscription' conform to the 'Sendable' protocol
internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:76:17: warning: capture of 'subscription' with non-sendable type 'AsyncSubscription<CentralManagerEvent>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
subscription.cancel()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:3:17: note: consider making generic struct 'AsyncSubscription' conform to the 'Sendable' protocol
internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:37:26: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:37:26: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:53:26: warning: sending 'peripheral' risks causing data races; this is an error in the Swift 6 language mode
cont.yield(peripheral)
~~~~~^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:53:26: note: task-isolated 'peripheral' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.yield(peripheral)
^
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:41:13: warning: capture of 'cancel' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
cancel()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:41:13: note: a function type must be marked '@Sendable' to conform to 'Sendable'
cancel()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:68:21: warning: capture of 'subscription' with non-sendable type 'AsyncSubscription<CentralManagerEvent>' in a '@Sendable' closure
subscription.cancel()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:3:17: note: consider making generic struct 'AsyncSubscription' conform to the 'Sendable' protocol
internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:76:17: warning: capture of 'subscription' with non-sendable type 'AsyncSubscription<CentralManagerEvent>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
subscription.cancel()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:3:17: note: consider making generic struct 'AsyncSubscription' conform to the 'Sendable' protocol
internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:37:26: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
cont.resume(with: result)
~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:37:26: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:53:26: warning: sending 'peripheral' risks causing data races; this is an error in the Swift 6 language mode
cont.yield(peripheral)
~~~~~^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+async.swift:53:26: note: task-isolated 'peripheral' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
cont.yield(peripheral)
^
SwiftDriverJobDiscovery normal arm64_32 Compiling PeripheralError.swift, PeripheralEvent.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64 Compiling\ CentralManagerDelegateWrapper.swift,\ CentralManagerError.swift,\ CentralManagerEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegateWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerEvent.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegateWrapper.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegateWrapper.swift:18:13: warning: capture of 'parent' with non-sendable type 'CentralManager' in a '@Sendable' closure
parent.eventSubscriptions.recieve(.stateUpdated(parent.state))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift:4:14: note: class 'CentralManager' does not conform to the 'Sendable' protocol
public class CentralManager: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegateWrapper.swift:30:13: warning: capture of 'parent' with non-sendable type 'CentralManager' in a '@Sendable' closure
parent.eventSubscriptions.recieve(.connected(peripheral))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift:4:14: note: class 'CentralManager' does not conform to the 'Sendable' protocol
public class CentralManager: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegateWrapper.swift:30:58: warning: capture of 'peripheral' with non-sendable type 'Peripheral' in a '@Sendable' closure
parent.eventSubscriptions.recieve(.connected(peripheral))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegateWrapper.swift:48:13: warning: capture of 'parent' with non-sendable type 'CentralManager' in a '@Sendable' closure
parent.eventSubscriptions.recieve(.disconnected(peripheral, error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift:4:14: note: class 'CentralManager' does not conform to the 'Sendable' protocol
public class CentralManager: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegateWrapper.swift:48:61: warning: capture of 'peripheral' with non-sendable type 'Peripheral' in a '@Sendable' closure
parent.eventSubscriptions.recieve(.disconnected(peripheral, error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegateWrapper.swift:60:13: warning: capture of 'parent' with non-sendable type 'CentralManager' in a '@Sendable' closure
parent.eventSubscriptions.recieve(.failToConnect(peripheral, error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift:4:14: note: class 'CentralManager' does not conform to the 'Sendable' protocol
public class CentralManager: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegateWrapper.swift:60:62: warning: capture of 'peripheral' with non-sendable type 'Peripheral' in a '@Sendable' closure
parent.eventSubscriptions.recieve(.failToConnect(peripheral, error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegateWrapper.swift:72:13: warning: capture of 'parent' with non-sendable type 'CentralManager' in a '@Sendable' closure
parent.eventSubscriptions.recieve(.discovered(peripheral, advertisementData, RSSI))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift:4:14: note: class 'CentralManager' does not conform to the 'Sendable' protocol
public class CentralManager: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegateWrapper.swift:72:59: warning: capture of 'peripheral' with non-sendable type 'Peripheral' in a '@Sendable' closure
parent.eventSubscriptions.recieve(.discovered(peripheral, advertisementData, RSSI))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegateWrapper.swift:72:71: warning: capture of 'advertisementData' with non-sendable type '[String : Any]' in a '@Sendable' closure
parent.eventSubscriptions.recieve(.discovered(peripheral, advertisementData, RSSI))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegateWrapper.swift:82:13: warning: capture of 'parent' with non-sendable type 'CentralManager' in a '@Sendable' closure
parent.eventSubscriptions.recieve(.restoreState(dict))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift:4:14: note: class 'CentralManager' does not conform to the 'Sendable' protocol
public class CentralManager: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegateWrapper.swift:82:61: warning: capture of 'dict' with non-sendable type '[String : Any]' in a '@Sendable' closure
parent.eventSubscriptions.recieve(.restoreState(dict))
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerError.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerEvent.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64_32 Compiling Characteristic.swift, NotifyingTracker.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64_32 Compiling\ Peripheral+callback.swift,\ Peripheral.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:7:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:8:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:8:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:15:44: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a '@Sendable' closure
task1 = responseMap.queue(key: characteristic.uuid) { result, done in
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
import CoreBluetooth
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:16:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:16:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:24:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:24:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:41:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:42:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Any?, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:42:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:49:46: warning: capture of 'descriptor' with non-sendable type 'CBDescriptor' in a '@Sendable' closure
task1 = descriptorMap.queue(key: descriptor.uuid) { result, done in
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBDescriptor.h:24:28: note: class 'CBDescriptor' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBDescriptor : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:50:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Any?, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:50:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:58:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Any?, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:58:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:114:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:115:17: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
completionHandler(CBError(.peripheralDisconnected))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:115:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(CBError(.peripheralDisconnected))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:123:45: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a '@Sendable' closure
task1 = writeMap.queue(key: characteristic.uuid) { error, done in
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:124:21: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:124:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:132:21: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(error ?? CBError(.peripheralDisconnected))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:132:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(error ?? CBError(.peripheralDisconnected))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:148:13: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
writeMap.queue(key: descriptor.uuid) { error, done in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:148:33: warning: capture of 'descriptor' with non-sendable type 'CBDescriptor' in a '@Sendable' closure
writeMap.queue(key: descriptor.uuid) { error, done in
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBDescriptor.h:24:28: note: class 'CBDescriptor' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBDescriptor : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:149:17: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:149:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:149:17: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:149:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:159:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:160:17: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBService], any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:160:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:166:21: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBService], any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:166:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:188:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:189:17: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBCharacteristic], any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:189:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:201:42: warning: capture of 'service' with non-sendable type 'CBService' in a '@Sendable' closure
forService.uuid == service.uuid else { return }
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBService.h:27:28: note: class 'CBService' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBService : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:195:21: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBCharacteristic], any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:195:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:201:42: warning: capture of 'service' with non-sendable type 'CBService' in an isolated closure; this is an error in the Swift 6 language mode
forService.uuid == service.uuid else { return }
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBService.h:27:28: note: class 'CBService' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBService : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:218:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:219:17: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBDescriptor], any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:219:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:231:49: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a '@Sendable' closure
forCharacteristic.uuid == characteristic.uuid else { return }
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:225:21: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBDescriptor], any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:225:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:231:49: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in an isolated closure; this is an error in the Swift 6 language mode
forCharacteristic.uuid == characteristic.uuid else { return }
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:258:32: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
let shouldNotify = notifyingState.setExternal(value, forKey: characteristic.uuid)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:258:74: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a '@Sendable' closure
let shouldNotify = notifyingState.setExternal(value, forKey: characteristic.uuid)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:261:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Bool, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:261:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:272:21: warning: capture of 'completionHandler' with non-sendable type '(Result<Bool, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:272:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:278:49: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in an isolated closure; this is an error in the Swift 6 language mode
forCharacteristic.uuid == characteristic.uuid else { return }
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:313:13: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
eventSubscriptions.queue { event, done in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:318:21: warning: capture of 'completionHandler' with non-sendable type '(Result<NSNumber, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:318:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:318:21: warning: capture of 'completionHandler' with non-sendable type '(Result<NSNumber, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:318:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:332:13: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
eventSubscriptions.queue { event, done in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:337:21: warning: capture of 'completionHandler' with non-sendable type '(Result<CBL2CAPChannel, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:337:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:337:21: warning: capture of 'completionHandler' with non-sendable type '(Result<CBL2CAPChannel, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:337:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error))
^
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal armv7k Compiling CancellableTask.swift, CBCentralManagerFactory.swift, CentralManager+async.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal armv7k Compiling\ Peripheral+callback.swift,\ Peripheral.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:7:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:8:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:8:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:15:44: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a '@Sendable' closure
task1 = responseMap.queue(key: characteristic.uuid) { result, done in
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
import CoreBluetooth
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:16:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:16:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:24:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:24:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:41:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:42:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Any?, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:42:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:49:46: warning: capture of 'descriptor' with non-sendable type 'CBDescriptor' in a '@Sendable' closure
task1 = descriptorMap.queue(key: descriptor.uuid) { result, done in
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBDescriptor.h:24:28: note: class 'CBDescriptor' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBDescriptor : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:50:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Any?, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:50:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(result)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:58:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Any?, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:58:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:114:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:115:17: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
completionHandler(CBError(.peripheralDisconnected))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:115:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(CBError(.peripheralDisconnected))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:123:45: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a '@Sendable' closure
task1 = writeMap.queue(key: characteristic.uuid) { error, done in
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:124:21: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:124:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:132:21: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(error ?? CBError(.peripheralDisconnected))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:132:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(error ?? CBError(.peripheralDisconnected))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:148:13: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
writeMap.queue(key: descriptor.uuid) { error, done in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:148:33: warning: capture of 'descriptor' with non-sendable type 'CBDescriptor' in a '@Sendable' closure
writeMap.queue(key: descriptor.uuid) { error, done in
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBDescriptor.h:24:28: note: class 'CBDescriptor' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBDescriptor : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:149:17: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:149:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:149:17: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:149:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(error)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:159:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:160:17: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBService], any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:160:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:166:21: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBService], any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:166:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:188:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:189:17: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBCharacteristic], any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:189:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:201:42: warning: capture of 'service' with non-sendable type 'CBService' in a '@Sendable' closure
forService.uuid == service.uuid else { return }
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBService.h:27:28: note: class 'CBService' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBService : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:195:21: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBCharacteristic], any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:195:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:201:42: warning: capture of 'service' with non-sendable type 'CBService' in an isolated closure; this is an error in the Swift 6 language mode
forService.uuid == service.uuid else { return }
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBService.h:27:28: note: class 'CBService' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBService : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:218:19: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard state == .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:219:17: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBDescriptor], any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:219:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:231:49: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a '@Sendable' closure
forCharacteristic.uuid == characteristic.uuid else { return }
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:225:21: warning: capture of 'completionHandler' with non-sendable type '(Result<[CBDescriptor], any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:225:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:231:49: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in an isolated closure; this is an error in the Swift 6 language mode
forCharacteristic.uuid == characteristic.uuid else { return }
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:258:32: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
let shouldNotify = notifyingState.setExternal(value, forKey: characteristic.uuid)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:258:74: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a '@Sendable' closure
let shouldNotify = notifyingState.setExternal(value, forKey: characteristic.uuid)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:261:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Bool, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:261:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:272:21: warning: capture of 'completionHandler' with non-sendable type '(Result<Bool, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:272:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error ?? CBError(.peripheralDisconnected)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:278:49: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in an isolated closure; this is an error in the Swift 6 language mode
forCharacteristic.uuid == characteristic.uuid else { return }
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h:57:28: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBCharacteristic : CBAttribute
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:313:13: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
eventSubscriptions.queue { event, done in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:318:21: warning: capture of 'completionHandler' with non-sendable type '(Result<NSNumber, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:318:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:318:21: warning: capture of 'completionHandler' with non-sendable type '(Result<NSNumber, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:318:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:332:13: warning: capture of 'self' with non-sendable type 'Peripheral' in a '@Sendable' closure
eventSubscriptions.queue { event, done in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:337:21: warning: capture of 'completionHandler' with non-sendable type '(Result<CBL2CAPChannel, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:337:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:337:21: warning: capture of 'completionHandler' with non-sendable type '(Result<CBL2CAPChannel, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral+callback.swift:337:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error))
^
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling PeripheralDelegate.swift, PeripheralDelegateWrapper.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal armv7k Compiling\ CentralManager+callback.swift,\ CentralManager.swift,\ CentralManagerDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegate.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:7:19: warning: capture of 'self' with non-sendable type 'CentralManager' in a '@Sendable' closure
guard state != .poweredOn else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift:4:14: note: class 'CentralManager' does not conform to the 'Sendable' protocol
public class CentralManager: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:8:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.success(Void()))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:8:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.success(Void()))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:27:21: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.success(Void()))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:27:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.success(Void()))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:43:19: warning: capture of 'peripheral' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard peripheral.state != .connected else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:44:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Peripheral, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.success(peripheral))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:44:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.success(peripheral))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:49:24: warning: capture of 'self' with non-sendable type 'CentralManager' in a '@Sendable' closure
let task = eventSubscriptions.queue { event, done in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift:4:14: note: class 'CentralManager' does not conform to the 'Sendable' protocol
public class CentralManager: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:77:42: warning: capture of 'options' with non-sendable type '[String : Any]?' in a '@Sendable' closure
connect(peripheral, options: options)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:52:40: warning: capture of 'peripheral' with non-sendable type 'Peripheral' in an isolated closure; this is an error in the Swift 6 language mode
guard connected == peripheral else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:53:21: warning: capture of 'completionHandler' with non-sendable type '(Result<Peripheral, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.success(peripheral))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:53:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.success(peripheral))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:70:21: warning: capture of 'task' with non-sendable type 'AsyncSubscription<CentralManagerEvent>' in a '@Sendable' closure
task.cancel()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:3:17: note: consider making generic struct 'AsyncSubscription' conform to the 'Sendable' protocol
internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:71:21: warning: capture of 'completionHandler' with non-sendable type '(Result<Peripheral, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.failure(CBError(.connectionTimeout)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:71:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(CBError(.connectionTimeout)))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:102:25: warning: capture of 'subscription' with non-sendable type 'AsyncSubscription<CentralManagerEvent>' in a '@Sendable' closure
subscription.cancel()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:3:17: note: consider making generic struct 'AsyncSubscription' conform to the 'Sendable' protocol
internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:117:19: warning: capture of 'self' with non-sendable type 'CentralManager' in a '@Sendable' closure
guard connectedPeripherals.contains(peripheral) else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift:4:14: note: class 'CentralManager' does not conform to the 'Sendable' protocol
public class CentralManager: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:117:49: warning: capture of 'peripheral' with non-sendable type 'Peripheral' in a '@Sendable' closure
guard connectedPeripherals.contains(peripheral) else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:118:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
completionHandler(.success(Void()))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:118:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.success(Void()))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:124:39: warning: capture of 'peripheral' with non-sendable type 'Peripheral' in an isolated closure; this is an error in the Swift 6 language mode
disconnected == peripheral else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Peripheral.swift:4:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
public class Peripheral: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:127:21: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
completionHandler(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager+callback.swift:127:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler(.failure(error))
^
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManager.swift:19:71: warning: 'authorization' was deprecated in watchOS 6.0
public var authorization: CBManagerAuthorization { centralManager.authorization }
^
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CentralManagerDelegate.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling PeripheralError.swift, PeripheralEvent.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64 Compiling\ Characteristic.swift,\ NotifyingTracker.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Characteristic.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/NotifyingTracker.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/Characteristic.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftBluetooth/Peripheral/NotifyingTracker.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling Peripheral+DiscoveryInfo.swift, Peripheral+async.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftDriverJobDiscovery normal arm64_32 Compiling Peripheral+callback.swift, Peripheral.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftDriverJobDiscovery normal arm64 Compiling CentralManagerDelegateWrapper.swift, CentralManagerError.swift, CentralManagerEvent.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftDriver\ Compilation SwiftBluetooth normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SwiftBluetooth -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/SwiftBluetooth.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64_32-apple-watchos7.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/SwiftBluetooth-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/SwiftBluetooth.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/SwiftBluetooth_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/SwiftBluetooth-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Compiling Peripheral+callback.swift, Peripheral.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftDriverJobDiscovery normal arm64 Compiling AsyncStream+first.swift, CBUUID+Sendable.swift, DispatchQueue+safeSync.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftDriverJobDiscovery normal arm64 Compiling CancellableTask.swift, CBCentralManagerFactory.swift, CentralManager+async.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftDriverJobDiscovery normal arm64 Compiling CentralManager+callback.swift, CentralManager.swift, CentralManagerDelegate.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/Binary/SwiftBluetooth.o normal arm64_32 (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64_32-apple-watchos7.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/SwiftBluetooth.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/SwiftBluetooth_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/SwiftBluetooth_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/watchos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/SwiftBluetooth.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/Binary/SwiftBluetooth.o
SwiftDriverJobDiscovery normal arm64 Compiling AsyncSubscription.swift, AsyncSubscriptionQueue.swift, AsyncSubscriptionQueueMap.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftDriverJobDiscovery normal arm64 Compiling Characteristic.swift, NotifyingTracker.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftDriver\ Compilation SwiftBluetooth normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SwiftBluetooth -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64-apple-watchos7.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/Binary/SwiftBluetooth.o normal arm64 (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-watchos7.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/watchos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/Binary/SwiftBluetooth.o
SwiftDriverJobDiscovery normal armv7k Compiling CentralManager+callback.swift, CentralManager.swift, CentralManagerDelegate.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftDriverJobDiscovery normal armv7k Compiling Peripheral+callback.swift, Peripheral.swift (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
SwiftDriver\ Compilation SwiftBluetooth normal armv7k com.apple.xcode.tools.swift.compiler (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SwiftBluetooth -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/SwiftBluetooth.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target armv7k-apple-watchos7.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/SwiftBluetooth-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/SwiftBluetooth.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/SwiftBluetooth_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/SwiftBluetooth-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/Binary/SwiftBluetooth.o normal armv7k (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target armv7k-apple-watchos7.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/SwiftBluetooth.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/SwiftBluetooth_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/SwiftBluetooth_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/watchos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/SwiftBluetooth.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/Binary/SwiftBluetooth.o
CreateUniversalBinary /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SwiftBluetooth.o normal arm64\ armv7k\ arm64_32 (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo -create /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/Binary/SwiftBluetooth.o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/Binary/SwiftBluetooth.o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/Binary/SwiftBluetooth.o -output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SwiftBluetooth.o
ExtractAppIntentsMetadata (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --module-name SwiftBluetooth --sdk-root /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk --xcode-version 16E140 --platform-family watchOS --deployment-target 7.0 --bundle-identifier spi-builder-workspace.SwiftBluetooth --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SwiftBluetooth.appintents --target-triple arm64-apple-watchos7.0 --target-triple armv7k-apple-watchos7.0 --target-triple arm64_32-apple-watchos7.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SwiftBluetooth.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth_dependency_info.dat --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/SwiftBluetooth_dependency_info.dat --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/SwiftBluetooth_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/ExtractedAppShortcutsMetadata.stringsdata --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth.SwiftFileList --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/SwiftBluetooth.SwiftFileList --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/SwiftBluetooth.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/SwiftBluetooth.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/SwiftBluetooth.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64/SwiftBluetooth.SwiftConstValuesFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/armv7k/SwiftBluetooth.SwiftConstValuesFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftBluetooth.build/Debug-watchos/SwiftBluetooth.build/Objects-normal/arm64_32/SwiftBluetooth.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --validate-assistant-intents --no-app-shortcuts-localization
2025-04-28 08:39:49.377 appintentsmetadataprocessor[785:4445] Starting appintentsmetadataprocessor export
2025-04-28 08:39:49.417 appintentsmetadataprocessor[785:4445] Extracted no relevant App Intents symbols, skipping writing output
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SwiftBluetooth.o (in target 'SwiftBluetooth' from project 'SwiftBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SwiftBluetooth.o
** BUILD SUCCEEDED **
Build complete.
{
"dependencies" : [
{
"identity" : "ios-corebluetooth-mock",
"requirement" : {
"range" : [
{
"lower_bound" : "0.17.0",
"upper_bound" : "0.18.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git"
}
],
"manifest_display_name" : "SwiftBluetooth",
"name" : "SwiftBluetooth",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "SwiftBluetooth",
"targets" : [
"SwiftBluetooth"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftBluetoothTests",
"module_type" : "SwiftTarget",
"name" : "SwiftBluetoothTests",
"path" : "Tests/SwiftBluetoothTests",
"sources" : [
"CentralPeripheralTestCase.swift",
"DisconnectedPeripheralTests.swift",
"Extensions/XCTestCase+withTimeout.swift",
"LostConnectionPeripheralTests.swift",
"MockPeripheral.swift",
"SwiftBluetoothTests.swift"
],
"target_dependencies" : [
"SwiftBluetoothMock"
],
"type" : "test"
},
{
"c99name" : "SwiftBluetoothMock",
"module_type" : "SwiftTarget",
"name" : "SwiftBluetoothMock",
"path" : "Sources/SwiftBluetoothMock",
"product_dependencies" : [
"CoreBluetoothMock"
],
"sources" : [
"CoreBluetoothMock.swift",
"SwiftBluetooth/Async/AsyncSubscription.swift",
"SwiftBluetooth/Async/AsyncSubscriptionQueue.swift",
"SwiftBluetooth/Async/AsyncSubscriptionQueueMap.swift",
"SwiftBluetooth/Async/CancellableTask.swift",
"SwiftBluetooth/CentralManager/CentralManager+async.swift",
"SwiftBluetooth/CentralManager/CentralManager+callback.swift",
"SwiftBluetooth/CentralManager/CentralManager.swift",
"SwiftBluetooth/CentralManager/CentralManagerDelegate.swift",
"SwiftBluetooth/CentralManager/CentralManagerDelegateWrapper.swift",
"SwiftBluetooth/CentralManager/CentralManagerError.swift",
"SwiftBluetooth/CentralManager/CentralManagerEvent.swift",
"SwiftBluetooth/Extensions/AsyncStream+first.swift",
"SwiftBluetooth/Extensions/CBUUID+Sendable.swift",
"SwiftBluetooth/Extensions/DispatchQueue+safeSync.swift",
"SwiftBluetooth/Peripheral/Characteristic.swift",
"SwiftBluetooth/Peripheral/NotifyingTracker.swift",
"SwiftBluetooth/Peripheral/Peripheral+DiscoveryInfo.swift",
"SwiftBluetooth/Peripheral/Peripheral+async.swift",
"SwiftBluetooth/Peripheral/Peripheral+callback.swift",
"SwiftBluetooth/Peripheral/Peripheral.swift",
"SwiftBluetooth/Peripheral/PeripheralDelegate.swift",
"SwiftBluetooth/Peripheral/PeripheralDelegateWrapper.swift",
"SwiftBluetooth/Peripheral/PeripheralError.swift",
"SwiftBluetooth/Peripheral/PeripheralEvent.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftBluetooth",
"module_type" : "SwiftTarget",
"name" : "SwiftBluetooth",
"path" : "Sources/SwiftBluetooth",
"product_memberships" : [
"SwiftBluetooth"
],
"sources" : [
"Async/AsyncSubscription.swift",
"Async/AsyncSubscriptionQueue.swift",
"Async/AsyncSubscriptionQueueMap.swift",
"Async/CancellableTask.swift",
"CentralManager/CBCentralManagerFactory.swift",
"CentralManager/CentralManager+async.swift",
"CentralManager/CentralManager+callback.swift",
"CentralManager/CentralManager.swift",
"CentralManager/CentralManagerDelegate.swift",
"CentralManager/CentralManagerDelegateWrapper.swift",
"CentralManager/CentralManagerError.swift",
"CentralManager/CentralManagerEvent.swift",
"Extensions/AsyncStream+first.swift",
"Extensions/CBUUID+Sendable.swift",
"Extensions/DispatchQueue+safeSync.swift",
"Peripheral/Characteristic.swift",
"Peripheral/NotifyingTracker.swift",
"Peripheral/Peripheral+DiscoveryInfo.swift",
"Peripheral/Peripheral+async.swift",
"Peripheral/Peripheral+callback.swift",
"Peripheral/Peripheral.swift",
"Peripheral/PeripheralDelegate.swift",
"Peripheral/PeripheralDelegateWrapper.swift",
"Peripheral/PeripheralError.swift",
"Peripheral/PeripheralEvent.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.