Build Information
Successful build of AsyncBluetooth, reference 6.2.1 (cef759), with Swift 6.1 for watchOS using Xcode 16.3 on 25 Jan 2026 20:39:20 UTC.
Swift 6 data race errors: 63
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme AsyncBluetooth -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 InferSendableFromCapturesBuild Log
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:47:5: warning: non-sendable parameter type 'Self.ArrayLiteralElement...' cannot be sent from caller of protocol requirement 'init(arrayLiteral:)' into nonisolated implementation; this is an error in the Swift 6 language mode
init(arrayLiteral elements: Element...) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:35:50: warning: non-sendable type '[Element]' of property 'array' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
iterator = await threadSafeArray.array.makeIterator()
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:5:23: note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
actor ThreadSafeArray<Element> {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:14:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:15:31: note: closure captures 'element' which is accessible to code in the current task
await self.append(element)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:15:24: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
await self.append(element)
~~~~~^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:15:24: note: sending task-isolated 'element' to actor-isolated instance method 'append' risks causing data races between actor-isolated and task-isolated uses
await self.append(element)
^
SwiftCompile normal arm64 Compiling\ CentralManagerContext.swift,\ CentralManagerEvent.swift,\ ScanData.swift /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/ScanData.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:33:5: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'PassthroughSubject<CentralManagerEvent, Never>'; this is an error in the Swift 6 language mode
nonisolated let eventSubject = PassthroughSubject<CentralManagerEvent, Never>()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:35:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var waitUntilReadyExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:41:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var scanForPeripheralsExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:47:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var connectToPeripheralExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:53:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var cancelPeripheralConnectionExecutor = {
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerEvent.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/ScanData.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ PeripheralContext.swift,\ PeripheralDelegate.swift,\ Service.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Service.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:9:5: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'PassthroughSubject<CharacteristicValueUpdateEventData, Never>'; this is an error in the Swift 6 language mode
nonisolated let characteristicValueUpdatedSubject = PassthroughSubject<CharacteristicValueUpdateEventData, Never>()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:10:5: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'PassthroughSubject<[Service], Never>'; this is an error in the Swift 6 language mode
nonisolated let invalidatedServicesSubject = PassthroughSubject<[Service], Never>()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:20:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverServiceExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:26:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverIncludedServicesExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:32:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverCharacteristicsExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:38:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var readCharacteristicValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:44:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var writeCharacteristicValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:50:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var setNotifyValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:56:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverDescriptorsExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:62:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var readDescriptorValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:68:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var writeDescriptorValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:74:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var openL2CAPChannelExecutor = {
^
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:69:25: warning: non-sendable type 'PassthroughSubject<CharacteristicValueUpdateEventData, Never>' of property 'characteristicValueUpdatedSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.characteristicValueUpdatedSubject.send(eventData)
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:170:22: warning: non-sendable type 'PassthroughSubject<[Service], Never>' of property 'invalidatedServicesSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.invalidatedServicesSubject.send(invalidatedServices.map { Service($0) })
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:40:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:44:21: note: closure captures 'service' which is accessible to code in the current task
service.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:53:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:57:21: note: closure captures 'service' which is accessible to code in the current task
service.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:72:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:76:21: note: closure captures 'characteristic' which is accessible to code in the current task
characteristic.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:86:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:90:21: note: closure captures 'characteristic' which is accessible to code in the current task
characteristic.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:103:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:107:21: note: closure captures 'characteristic' which is accessible to code in the current task
characteristic.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:120:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:124:21: note: closure captures 'characteristic' which is accessible to code in the current task
characteristic.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:133:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:137:21: note: closure captures 'descriptor' which is accessible to code in the current task
descriptor.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:146:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:150:21: note: closure captures 'descriptor' which is accessible to code in the current task
descriptor.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:159:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:161:56: note: closure captures 'channel' which is accessible to code in the current task
let result = CallbackUtils.result(for: channel, error: error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:162:65: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
try await self.context.openL2CAPChannelExecutor.setWorkCompletedWithResult(result)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:162:65: note: sending task-isolated 'result' to actor-isolated instance method 'setWorkCompletedWithResult' risks causing data races between actor-isolated and task-isolated uses
try await self.context.openL2CAPChannelExecutor.setWorkCompletedWithResult(result)
^
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Service.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ AsyncBluetooth (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
EmitSwiftModule normal arm64 (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:236:24: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var logger: Logger = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:236:24: note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
private static var logger: Logger = {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:236:24: note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
private static var logger: Logger = {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:236:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var logger: Logger = {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:33:5: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'PassthroughSubject<CentralManagerEvent, Never>'; this is an error in the Swift 6 language mode
nonisolated let eventSubject = PassthroughSubject<CentralManagerEvent, Never>()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:35:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var waitUntilReadyExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:41:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var scanForPeripheralsExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:47:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var connectToPeripheralExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:53:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var cancelPeripheralConnectionExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/BluetoothError.swift:13:10: warning: associated value 'bluetoothUnavailable' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'BluetoothUnavailableReason'; this is an error in the Swift 6 language mode
case bluetoothUnavailable(BluetoothUnavailableReason)
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/BluetoothError.swift:5:13: note: consider making enum 'BluetoothUnavailableReason' conform to the 'Sendable' protocol
public enum BluetoothUnavailableReason {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:9:5: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'PassthroughSubject<CharacteristicValueUpdateEventData, Never>'; this is an error in the Swift 6 language mode
nonisolated let characteristicValueUpdatedSubject = PassthroughSubject<CharacteristicValueUpdateEventData, Never>()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:10:5: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'PassthroughSubject<[Service], Never>'; this is an error in the Swift 6 language mode
nonisolated let invalidatedServicesSubject = PassthroughSubject<[Service], Never>()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:20:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverServiceExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:26:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverIncludedServicesExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:32:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverCharacteristicsExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:38:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var readCharacteristicValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:44:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var writeCharacteristicValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:50:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var setNotifyValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:56:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverDescriptorsExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:62:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var readDescriptorValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:68:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var writeDescriptorValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:74:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var openL2CAPChannelExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private(set) static var isEnabled = true
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
private(set) static var isEnabled = true
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
private(set) static var isEnabled = true
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private(set) static var isEnabled = true
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:47:5: warning: non-sendable parameter type 'Self.ArrayLiteralElement...' cannot be sent from caller of protocol requirement 'init(arrayLiteral:)' into nonisolated implementation; this is an error in the Swift 6 language mode
init(arrayLiteral elements: Element...) {
^
SwiftDriverJobDiscovery normal arm64_32 Emitting module for AsyncBluetooth (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriver\ Compilation\ Requirements AsyncBluetooth normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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 AsyncBluetooth -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth.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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth-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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth_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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal armv7k Emitting module for AsyncBluetooth (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriver\ Compilation\ Requirements AsyncBluetooth normal armv7k com.apple.xcode.tools.swift.compiler (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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 AsyncBluetooth -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth.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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth-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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth_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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/arm64_32-apple-watchos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth.swiftmodule (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/arm64_32-apple-watchos.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/armv7k-apple-watchos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth.swiftmodule (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/armv7k-apple-watchos.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/armv7k-apple-watchos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth.swiftdoc (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/armv7k-apple-watchos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/armv7k-apple-watchos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth.abi.json (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/armv7k-apple-watchos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/arm64_32-apple-watchos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth.swiftdoc (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/arm64_32-apple-watchos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/arm64_32-apple-watchos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth.abi.json (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/arm64_32-apple-watchos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/Project/armv7k-apple-watchos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth.swiftsourceinfo (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/Project/armv7k-apple-watchos.swiftsourceinfo
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/Project/arm64_32-apple-watchos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth.swiftsourceinfo (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/Project/arm64_32-apple-watchos.swiftsourceinfo
SwiftCompile normal arm64 Compiling\ AsyncBluetoothLogging.swift,\ AsyncExecutorMap.swift,\ AsyncSerialExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private(set) static var isEnabled = true
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
private(set) static var isEnabled = true
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
private(set) static var isEnabled = true
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private(set) static var isEnabled = true
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:33:35: warning: non-sendable result type 'Value' cannot be sent from actor-isolated context in call to instance method 'enqueue'; this is an error in the Swift 6 language mode
return try await executor.enqueue(block)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:11:29: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
actor AsyncExecutorMap<Key, Value> where Key: Hashable {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:29:28: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
self.executors[key] = executor
^~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:29:28: note: 'self'-isolated 'key' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
self.executors[key] = executor
^~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:33:35: note: access can happen concurrently
return try await executor.enqueue(block)
~~~~~~~~~^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:33:35: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
return try await executor.enqueue(block)
~~~~~~~~~^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:33:35: note: sending 'self'-isolated 'block' to actor-isolated instance method 'enqueue' risks causing data races between actor-isolated and 'self'-isolated uses
return try await executor.enqueue(block)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:42:28: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
try await executor.setWorkCompletedWithResult(result)
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:42:28: note: sending 'self'-isolated 'result' to actor-isolated instance method 'setWorkCompletedWithResult' risks causing data races between actor-isolated and 'self'-isolated uses
try await executor.setWorkCompletedWithResult(result)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:55:24: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
await executor.flush(result)
~~~~~~~~~^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:55:24: note: sending 'self'-isolated 'result' to actor-isolated instance method 'flush' risks causing data races between actor-isolated and 'self'-isolated uses
await executor.flush(result)
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:54:71: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
self.queue.append(QueuedWork(id: queuedWorkID, block: block, continuation: continuation))
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:54:71: note: 'self'-isolated 'block' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
self.queue.append(QueuedWork(id: queuedWorkID, block: block, continuation: continuation))
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:52:26: note: access can happen concurrently
return try await withTaskCancellationHandler {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:74:34: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
currentWork.continuation.resume(with: result)
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:74:34: note: 'self'-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
currentWork.continuation.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:84:40: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
self.currentWork?.continuation.resume(with: result)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:84:40: note: 'self'-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
self.currentWork?.continuation.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:87:41: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
queue.forEach { $0.continuation.resume(with: result) }
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:87:41: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
queue.forEach { $0.continuation.resume(with: result) }
^
SwiftCompile normal arm64 Compiling\ PeripheralContext.swift,\ PeripheralDelegate.swift,\ Service.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Service.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:9:5: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'PassthroughSubject<CharacteristicValueUpdateEventData, Never>'; this is an error in the Swift 6 language mode
nonisolated let characteristicValueUpdatedSubject = PassthroughSubject<CharacteristicValueUpdateEventData, Never>()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:10:5: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'PassthroughSubject<[Service], Never>'; this is an error in the Swift 6 language mode
nonisolated let invalidatedServicesSubject = PassthroughSubject<[Service], Never>()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:20:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverServiceExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:26:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverIncludedServicesExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:32:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverCharacteristicsExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:38:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var readCharacteristicValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:44:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var writeCharacteristicValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:50:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var setNotifyValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:56:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverDescriptorsExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:62:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var readDescriptorValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:68:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var writeDescriptorValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:74:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var openL2CAPChannelExecutor = {
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:69:25: warning: non-sendable type 'PassthroughSubject<CharacteristicValueUpdateEventData, Never>' of property 'characteristicValueUpdatedSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.characteristicValueUpdatedSubject.send(eventData)
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:170:22: warning: non-sendable type 'PassthroughSubject<[Service], Never>' of property 'invalidatedServicesSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.invalidatedServicesSubject.send(invalidatedServices.map { Service($0) })
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:40:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:44:21: note: closure captures 'service' which is accessible to code in the current task
service.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:53:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:57:21: note: closure captures 'service' which is accessible to code in the current task
service.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:72:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:76:21: note: closure captures 'characteristic' which is accessible to code in the current task
characteristic.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:86:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:90:21: note: closure captures 'characteristic' which is accessible to code in the current task
characteristic.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:103:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:107:21: note: closure captures 'characteristic' which is accessible to code in the current task
characteristic.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:120:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:124:21: note: closure captures 'characteristic' which is accessible to code in the current task
characteristic.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:133:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:137:21: note: closure captures 'descriptor' which is accessible to code in the current task
descriptor.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:146:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:150:21: note: closure captures 'descriptor' which is accessible to code in the current task
descriptor.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:159:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:161:56: note: closure captures 'channel' which is accessible to code in the current task
let result = CallbackUtils.result(for: channel, error: error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:162:65: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
try await self.context.openL2CAPChannelExecutor.setWorkCompletedWithResult(result)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:162:65: note: sending task-isolated 'result' to actor-isolated instance method 'setWorkCompletedWithResult' risks causing data races between actor-isolated and task-isolated uses
try await self.context.openL2CAPChannelExecutor.setWorkCompletedWithResult(result)
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Service.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Emitting module for AsyncBluetooth (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriver\ Compilation\ Requirements AsyncBluetooth normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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 AsyncBluetooth -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth-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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth_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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal armv7k Compiling FlushableExecutor.swift, ThreadSafeArray.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 Compiling\ resource_bundle_accessor.swift,\ AsyncBluetooth.swift,\ CentralManager.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncBluetooth.swift /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources/resource_bundle_accessor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AsyncBluetooth.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:236:24: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var logger: Logger = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:236:24: note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
private static var logger: Logger = {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:236:24: note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
private static var logger: Logger = {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:236:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var logger: Logger = {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:35:26: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.eraseToAnyPublisher()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:241:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(.didUpdateState(state: central.state))
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:251:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(.willRestoreState(state: dict))
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:262:32: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
advertisementData: advertisementData,
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:291:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:313:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:362:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:384:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:220:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:223:95: note: closure captures 'options' which is accessible to code in the current task
self.cbCentralManager.scanForPeripherals(withServices: serviceUUIDs, options: options)
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:243:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:246:19: note: closure captures 'self' which is accessible to code in the current task
await self.context.waitUntilReadyExecutor.flush(isBluetoothReadyResult)
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:266:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:267:44: note: closure captures 'self' which is accessible to code in the current task
guard let continuation = await self.context.scanForPeripheralsContext.continuation else {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:279:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:283:27: note: closure captures 'self' which is accessible to code in the current task
try await self.context.connectToPeripheralExecutor.setWorkCompletedForKey(
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:324:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:330:27: note: closure captures 'self' which is accessible to code in the current task
try await self.context.connectToPeripheralExecutor.setWorkCompletedForKey(
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:348:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:353:27: note: closure captures 'self' which is accessible to code in the current task
try await self.context.cancelPeripheralConnectionExecutor.setWorkCompletedForKey(
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:372:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:375:27: note: closure captures 'self' which is accessible to code in the current task
try await self.context.cancelPeripheralConnectionExecutor.setWorkCompletedForKey(
^
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/AsyncBluetooth-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth-Swift.h (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth-Swift.h -arch arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth-Swift.h -arch armv7k /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/AsyncBluetooth-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/arm64-apple-watchos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftmodule (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/arm64-apple-watchos.swiftmodule
SwiftDriverJobDiscovery normal arm64 Compiling CentralManagerContext.swift, CentralManagerEvent.swift, ScanData.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/arm64-apple-watchos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftdoc (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/arm64-apple-watchos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/arm64-apple-watchos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.abi.json (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/arm64-apple-watchos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/Project/arm64-apple-watchos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftsourceinfo (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.swiftmodule/Project/arm64-apple-watchos.swiftsourceinfo
SwiftCompile normal arm64_32 Compiling\ AsyncExecutor+Flushable.swift,\ CBUUID+Sendable.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/Extensions/AsyncExecutor+Flushable.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/Extensions/CBUUID+Sendable.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Utils/Extensions/AsyncExecutor+Flushable.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Utils/Extensions/CBUUID+Sendable.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ CharacteristicValueUpdateEventData.swift,\ Descriptor.swift,\ Characteristic+DataConversion.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/CharacteristicValueUpdateEventData.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Descriptor.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/Characteristic+DataConversion.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/CharacteristicValueUpdateEventData.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Descriptor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/Characteristic+DataConversion.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal armv7k Compiling CentralManagerContext.swift, CentralManagerEvent.swift, ScanData.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 Compiling\ CentralManagerContext.swift,\ CentralManagerEvent.swift,\ ScanData.swift /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/ScanData.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:33:5: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'PassthroughSubject<CentralManagerEvent, Never>'; this is an error in the Swift 6 language mode
nonisolated let eventSubject = PassthroughSubject<CentralManagerEvent, Never>()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:35:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var waitUntilReadyExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:41:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var scanForPeripheralsExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:47:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var connectToPeripheralExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:53:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var cancelPeripheralConnectionExecutor = {
^
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerEvent.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/ScanData.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ FlushableExecutor.swift,\ ThreadSafeArray.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/FlushableExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/FlushableExecutor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:47:5: warning: non-sendable parameter type 'Self.ArrayLiteralElement...' cannot be sent from caller of protocol requirement 'init(arrayLiteral:)' into nonisolated implementation; this is an error in the Swift 6 language mode
init(arrayLiteral elements: Element...) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:35:50: warning: non-sendable type '[Element]' of property 'array' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
iterator = await threadSafeArray.array.makeIterator()
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:5:23: note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
actor ThreadSafeArray<Element> {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:14:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:15:31: note: closure captures 'element' which is accessible to code in the current task
await self.append(element)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:15:24: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
await self.append(element)
~~~~~^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:15:24: note: sending task-isolated 'element' to actor-isolated instance method 'append' risks causing data races between actor-isolated and task-isolated uses
await self.append(element)
^
SwiftDriverJobDiscovery normal armv7k Compiling PeripheralDataConvertible.swift, BluetoothError.swift, Characteristic.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal arm64 Compiling PeripheralDataConvertible.swift, BluetoothError.swift, Characteristic.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 Compiling\ CharacteristicValueUpdateData+DataConversion.swift,\ Peripheral+ReadWrite.swift,\ Peripheral.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/CharacteristicValueUpdateData+DataConversion.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/Peripheral+ReadWrite.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Peripheral.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/CharacteristicValueUpdateData+DataConversion.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/Peripheral+ReadWrite.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Peripheral.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Peripheral.swift:17:26: warning: non-sendable type 'PassthroughSubject<CharacteristicValueUpdateEventData, Never>' of property 'characteristicValueUpdatedSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.characteristicValueUpdatedSubject.eraseToAnyPublisher()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Peripheral.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Peripheral.swift:24:26: warning: non-sendable type 'PassthroughSubject<[Service], Never>' of property 'invalidatedServicesSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.invalidatedServicesSubject.eraseToAnyPublisher()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift,\ AsyncBluetooth.swift,\ CentralManager.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncBluetooth.swift /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources/resource_bundle_accessor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncBluetooth.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:236:24: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var logger: Logger = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:236:24: note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
private static var logger: Logger = {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:236:24: note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
private static var logger: Logger = {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:236:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var logger: Logger = {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:35:26: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.eraseToAnyPublisher()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:241:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(.didUpdateState(state: central.state))
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:251:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(.willRestoreState(state: dict))
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:262:32: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
advertisementData: advertisementData,
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:291:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:313:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:362:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:384:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:220:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:223:95: note: closure captures 'options' which is accessible to code in the current task
self.cbCentralManager.scanForPeripherals(withServices: serviceUUIDs, options: options)
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:243:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:246:19: note: closure captures 'self' which is accessible to code in the current task
await self.context.waitUntilReadyExecutor.flush(isBluetoothReadyResult)
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:266:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:267:44: note: closure captures 'self' which is accessible to code in the current task
guard let continuation = await self.context.scanForPeripheralsContext.continuation else {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:279:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:283:27: note: closure captures 'self' which is accessible to code in the current task
try await self.context.connectToPeripheralExecutor.setWorkCompletedForKey(
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:324:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:330:27: note: closure captures 'self' which is accessible to code in the current task
try await self.context.connectToPeripheralExecutor.setWorkCompletedForKey(
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:348:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:353:27: note: closure captures 'self' which is accessible to code in the current task
try await self.context.cancelPeripheralConnectionExecutor.setWorkCompletedForKey(
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:372:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:375:27: note: closure captures 'self' which is accessible to code in the current task
try await self.context.cancelPeripheralConnectionExecutor.setWorkCompletedForKey(
^
SwiftDriverJobDiscovery normal arm64 Compiling PeripheralContext.swift, PeripheralDelegate.swift, Service.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal arm64 Compiling AsyncBluetoothLogging.swift, AsyncExecutorMap.swift, AsyncSerialExecutor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 Compiling\ PeripheralDataConvertible.swift,\ BluetoothError.swift,\ Characteristic.swift /Users/admin/builder/spi-builder-workspace/Sources/DataConversion/PeripheralDataConvertible.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/BluetoothError.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Characteristic.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/DataConversion/PeripheralDataConvertible.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/BluetoothError.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/BluetoothError.swift:13:10: warning: associated value 'bluetoothUnavailable' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'BluetoothUnavailableReason'; this is an error in the Swift 6 language mode
case bluetoothUnavailable(BluetoothUnavailableReason)
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/BluetoothError.swift:5:13: note: consider making enum 'BluetoothUnavailableReason' conform to the 'Sendable' protocol
public enum BluetoothUnavailableReason {
^
: Sendable
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Characteristic.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal armv7k Compiling CharacteristicValueUpdateData+DataConversion.swift, Peripheral+ReadWrite.swift, Peripheral.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal armv7k Compiling\ AsyncExecutor+Flushable.swift,\ CBUUID+Sendable.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/Extensions/AsyncExecutor+Flushable.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/Extensions/CBUUID+Sendable.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Utils/Extensions/AsyncExecutor+Flushable.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Utils/Extensions/CBUUID+Sendable.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ CharacteristicValueUpdateData+DataConversion.swift,\ Peripheral+ReadWrite.swift,\ Peripheral.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/CharacteristicValueUpdateData+DataConversion.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/Peripheral+ReadWrite.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Peripheral.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/CharacteristicValueUpdateData+DataConversion.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/Peripheral+ReadWrite.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Peripheral.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Peripheral.swift:17:26: warning: non-sendable type 'PassthroughSubject<CharacteristicValueUpdateEventData, Never>' of property 'characteristicValueUpdatedSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.characteristicValueUpdatedSubject.eraseToAnyPublisher()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Peripheral.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Peripheral.swift:24:26: warning: non-sendable type 'PassthroughSubject<[Service], Never>' of property 'invalidatedServicesSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.invalidatedServicesSubject.eraseToAnyPublisher()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
SwiftDriverJobDiscovery normal armv7k Compiling AsyncSerialExecutorConstants.swift, CallbackUtils.swift, CentralManagerUtils.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal armv7k Compiling PeripheralContext.swift, PeripheralDelegate.swift, Service.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 Compiling\ AsyncSerialExecutorConstants.swift,\ CallbackUtils.swift,\ CentralManagerUtils.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutorConstants.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/CallbackUtils.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/CentralManagerUtils.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutorConstants.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Utils/CallbackUtils.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Utils/CentralManagerUtils.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal armv7k Compiling AsyncExecutor+Flushable.swift, CBUUID+Sendable.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal armv7k Compiling\ AsyncBluetoothLogging.swift,\ AsyncExecutorMap.swift,\ AsyncSerialExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private(set) static var isEnabled = true
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
private(set) static var isEnabled = true
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
private(set) static var isEnabled = true
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private(set) static var isEnabled = true
^
nonisolated(unsafe)
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:33:35: warning: non-sendable result type 'Value' cannot be sent from actor-isolated context in call to instance method 'enqueue'; this is an error in the Swift 6 language mode
return try await executor.enqueue(block)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:11:29: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
actor AsyncExecutorMap<Key, Value> where Key: Hashable {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:29:28: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
self.executors[key] = executor
^~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:29:28: note: 'self'-isolated 'key' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
self.executors[key] = executor
^~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:33:35: note: access can happen concurrently
return try await executor.enqueue(block)
~~~~~~~~~^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:33:35: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
return try await executor.enqueue(block)
~~~~~~~~~^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:33:35: note: sending 'self'-isolated 'block' to actor-isolated instance method 'enqueue' risks causing data races between actor-isolated and 'self'-isolated uses
return try await executor.enqueue(block)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:42:28: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
try await executor.setWorkCompletedWithResult(result)
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:42:28: note: sending 'self'-isolated 'result' to actor-isolated instance method 'setWorkCompletedWithResult' risks causing data races between actor-isolated and 'self'-isolated uses
try await executor.setWorkCompletedWithResult(result)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:55:24: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
await executor.flush(result)
~~~~~~~~~^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:55:24: note: sending 'self'-isolated 'result' to actor-isolated instance method 'flush' risks causing data races between actor-isolated and 'self'-isolated uses
await executor.flush(result)
^
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:54:71: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
self.queue.append(QueuedWork(id: queuedWorkID, block: block, continuation: continuation))
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:54:71: note: 'self'-isolated 'block' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
self.queue.append(QueuedWork(id: queuedWorkID, block: block, continuation: continuation))
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:52:26: note: access can happen concurrently
return try await withTaskCancellationHandler {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:74:34: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
currentWork.continuation.resume(with: result)
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:74:34: note: 'self'-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
currentWork.continuation.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:84:40: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
self.currentWork?.continuation.resume(with: result)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:84:40: note: 'self'-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
self.currentWork?.continuation.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:87:41: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
queue.forEach { $0.continuation.resume(with: result) }
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:87:41: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
queue.forEach { $0.continuation.resume(with: result) }
^
SwiftDriverJobDiscovery normal arm64 Compiling FlushableExecutor.swift, ThreadSafeArray.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 Compiling\ AsyncExecutor+Flushable.swift,\ CBUUID+Sendable.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/Extensions/AsyncExecutor+Flushable.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/Extensions/CBUUID+Sendable.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/Extensions/AsyncExecutor+Flushable.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/Extensions/CBUUID+Sendable.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling CharacteristicValueUpdateData+DataConversion.swift, Peripheral+ReadWrite.swift, Peripheral.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal armv7k Compiling\ resource_bundle_accessor.swift,\ AsyncBluetooth.swift,\ CentralManager.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncBluetooth.swift /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources/resource_bundle_accessor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/AsyncBluetooth.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:236:24: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var logger: Logger = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:236:24: note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
private static var logger: Logger = {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:236:24: note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
private static var logger: Logger = {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:236:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var logger: Logger = {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:35:26: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.eraseToAnyPublisher()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:241:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(.didUpdateState(state: central.state))
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:251:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(.willRestoreState(state: dict))
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:262:32: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
advertisementData: advertisementData,
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:291:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:313:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:362:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:384:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:220:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:223:95: note: closure captures 'options' which is accessible to code in the current task
self.cbCentralManager.scanForPeripherals(withServices: serviceUUIDs, options: options)
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:243:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:246:19: note: closure captures 'self' which is accessible to code in the current task
await self.context.waitUntilReadyExecutor.flush(isBluetoothReadyResult)
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:266:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:267:44: note: closure captures 'self' which is accessible to code in the current task
guard let continuation = await self.context.scanForPeripheralsContext.continuation else {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:279:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:283:27: note: closure captures 'self' which is accessible to code in the current task
try await self.context.connectToPeripheralExecutor.setWorkCompletedForKey(
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:324:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:330:27: note: closure captures 'self' which is accessible to code in the current task
try await self.context.connectToPeripheralExecutor.setWorkCompletedForKey(
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:348:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:353:27: note: closure captures 'self' which is accessible to code in the current task
try await self.context.cancelPeripheralConnectionExecutor.setWorkCompletedForKey(
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:372:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:375:27: note: closure captures 'self' which is accessible to code in the current task
try await self.context.cancelPeripheralConnectionExecutor.setWorkCompletedForKey(
^
SwiftDriverJobDiscovery normal arm64 Compiling AsyncExecutor+Flushable.swift, CBUUID+Sendable.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 Compiling\ AsyncBluetoothLogging.swift,\ AsyncExecutorMap.swift,\ AsyncSerialExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private(set) static var isEnabled = true
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
private(set) static var isEnabled = true
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
private(set) static var isEnabled = true
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private(set) static var isEnabled = true
^
nonisolated(unsafe)
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:33:35: warning: non-sendable result type 'Value' cannot be sent from actor-isolated context in call to instance method 'enqueue'; this is an error in the Swift 6 language mode
return try await executor.enqueue(block)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:11:29: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
actor AsyncExecutorMap<Key, Value> where Key: Hashable {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:29:28: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
self.executors[key] = executor
^~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:29:28: note: 'self'-isolated 'key' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
self.executors[key] = executor
^~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:33:35: note: access can happen concurrently
return try await executor.enqueue(block)
~~~~~~~~~^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:33:35: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
return try await executor.enqueue(block)
~~~~~~~~~^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:33:35: note: sending 'self'-isolated 'block' to actor-isolated instance method 'enqueue' risks causing data races between actor-isolated and 'self'-isolated uses
return try await executor.enqueue(block)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:42:28: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
try await executor.setWorkCompletedWithResult(result)
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:42:28: note: sending 'self'-isolated 'result' to actor-isolated instance method 'setWorkCompletedWithResult' risks causing data races between actor-isolated and 'self'-isolated uses
try await executor.setWorkCompletedWithResult(result)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:55:24: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
await executor.flush(result)
~~~~~~~~~^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:55:24: note: sending 'self'-isolated 'result' to actor-isolated instance method 'flush' risks causing data races between actor-isolated and 'self'-isolated uses
await executor.flush(result)
^
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:54:71: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
self.queue.append(QueuedWork(id: queuedWorkID, block: block, continuation: continuation))
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:54:71: note: 'self'-isolated 'block' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
self.queue.append(QueuedWork(id: queuedWorkID, block: block, continuation: continuation))
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:52:26: note: access can happen concurrently
return try await withTaskCancellationHandler {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:74:34: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
currentWork.continuation.resume(with: result)
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:74:34: note: 'self'-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
currentWork.continuation.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:84:40: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
self.currentWork?.continuation.resume(with: result)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:84:40: note: 'self'-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
self.currentWork?.continuation.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:87:41: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
queue.forEach { $0.continuation.resume(with: result) }
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:87:41: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
queue.forEach { $0.continuation.resume(with: result) }
^
SwiftDriverJobDiscovery normal armv7k Compiling AsyncBluetoothLogging.swift, AsyncExecutorMap.swift, AsyncSerialExecutor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 Compiling\ PeripheralContext.swift,\ PeripheralDelegate.swift,\ Service.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Service.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:9:5: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'PassthroughSubject<CharacteristicValueUpdateEventData, Never>'; this is an error in the Swift 6 language mode
nonisolated let characteristicValueUpdatedSubject = PassthroughSubject<CharacteristicValueUpdateEventData, Never>()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:10:5: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'PassthroughSubject<[Service], Never>'; this is an error in the Swift 6 language mode
nonisolated let invalidatedServicesSubject = PassthroughSubject<[Service], Never>()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:20:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverServiceExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:26:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverIncludedServicesExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:32:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverCharacteristicsExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:38:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var readCharacteristicValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:44:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var writeCharacteristicValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:50:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var setNotifyValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:56:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverDescriptorsExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:62:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var readDescriptorValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:68:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var writeDescriptorValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:74:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var openL2CAPChannelExecutor = {
^
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:69:25: warning: non-sendable type 'PassthroughSubject<CharacteristicValueUpdateEventData, Never>' of property 'characteristicValueUpdatedSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.characteristicValueUpdatedSubject.send(eventData)
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:170:22: warning: non-sendable type 'PassthroughSubject<[Service], Never>' of property 'invalidatedServicesSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.invalidatedServicesSubject.send(invalidatedServices.map { Service($0) })
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:40:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:44:21: note: closure captures 'service' which is accessible to code in the current task
service.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:53:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:57:21: note: closure captures 'service' which is accessible to code in the current task
service.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:72:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:76:21: note: closure captures 'characteristic' which is accessible to code in the current task
characteristic.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:86:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:90:21: note: closure captures 'characteristic' which is accessible to code in the current task
characteristic.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:103:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:107:21: note: closure captures 'characteristic' which is accessible to code in the current task
characteristic.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:120:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:124:21: note: closure captures 'characteristic' which is accessible to code in the current task
characteristic.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:133:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:137:21: note: closure captures 'descriptor' which is accessible to code in the current task
descriptor.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:146:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:150:21: note: closure captures 'descriptor' which is accessible to code in the current task
descriptor.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:159:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:161:56: note: closure captures 'channel' which is accessible to code in the current task
let result = CallbackUtils.result(for: channel, error: error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:162:65: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
try await self.context.openL2CAPChannelExecutor.setWorkCompletedWithResult(result)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:162:65: note: sending task-isolated 'result' to actor-isolated instance method 'setWorkCompletedWithResult' risks causing data races between actor-isolated and task-isolated uses
try await self.context.openL2CAPChannelExecutor.setWorkCompletedWithResult(result)
^
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Service.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling resource_bundle_accessor.swift, AsyncBluetooth.swift, CentralManager.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 Compiling\ AsyncSerialExecutorConstants.swift,\ CallbackUtils.swift,\ CentralManagerUtils.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutorConstants.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/CallbackUtils.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/CentralManagerUtils.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutorConstants.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/CallbackUtils.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/CentralManagerUtils.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64_32 Compiling AsyncExecutor+Flushable.swift, CBUUID+Sendable.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 Compiling\ CharacteristicValueUpdateEventData.swift,\ Descriptor.swift,\ Characteristic+DataConversion.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/CharacteristicValueUpdateEventData.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Descriptor.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/Characteristic+DataConversion.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/CharacteristicValueUpdateEventData.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Descriptor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/Characteristic+DataConversion.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ CharacteristicValueUpdateEventData.swift,\ Descriptor.swift,\ Characteristic+DataConversion.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/CharacteristicValueUpdateEventData.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Descriptor.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/Characteristic+DataConversion.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/CharacteristicValueUpdateEventData.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Descriptor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/Characteristic+DataConversion.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64_32 Compiling CentralManagerContext.swift, CentralManagerEvent.swift, ScanData.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal armv7k Compiling resource_bundle_accessor.swift, AsyncBluetooth.swift, CentralManager.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 Compiling\ FlushableExecutor.swift,\ ThreadSafeArray.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/FlushableExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Utils/FlushableExecutor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:47:5: warning: non-sendable parameter type 'Self.ArrayLiteralElement...' cannot be sent from caller of protocol requirement 'init(arrayLiteral:)' into nonisolated implementation; this is an error in the Swift 6 language mode
init(arrayLiteral elements: Element...) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:35:50: warning: non-sendable type '[Element]' of property 'array' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
iterator = await threadSafeArray.array.makeIterator()
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:5:23: note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
actor ThreadSafeArray<Element> {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:14:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:15:31: note: closure captures 'element' which is accessible to code in the current task
await self.append(element)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:15:24: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
await self.append(element)
~~~~~^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:15:24: note: sending task-isolated 'element' to actor-isolated instance method 'append' risks causing data races between actor-isolated and task-isolated uses
await self.append(element)
^
SwiftDriverJobDiscovery normal arm64_32 Compiling PeripheralDataConvertible.swift, BluetoothError.swift, Characteristic.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal arm64_32 Compiling CharacteristicValueUpdateEventData.swift, Descriptor.swift, Characteristic+DataConversion.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal arm64_32 Compiling resource_bundle_accessor.swift, AsyncBluetooth.swift, CentralManager.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal arm64_32 Compiling AsyncSerialExecutorConstants.swift, CallbackUtils.swift, CentralManagerUtils.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal arm64_32 Compiling CharacteristicValueUpdateData+DataConversion.swift, Peripheral+ReadWrite.swift, Peripheral.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal arm64_32 Compiling AsyncBluetoothLogging.swift, AsyncExecutorMap.swift, AsyncSerialExecutor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal arm64_32 Compiling PeripheralContext.swift, PeripheralDelegate.swift, Service.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal arm64 Compiling CharacteristicValueUpdateEventData.swift, Descriptor.swift, Characteristic+DataConversion.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal armv7k Compiling CharacteristicValueUpdateEventData.swift, Descriptor.swift, Characteristic+DataConversion.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriver\ Compilation AsyncBluetooth normal armv7k com.apple.xcode.tools.swift.compiler (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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 AsyncBluetooth -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth.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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth-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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth_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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth-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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/Binary/AsyncBluetooth.o normal armv7k (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth_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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/Binary/AsyncBluetooth.o
SwiftDriverJobDiscovery normal arm64_32 Compiling FlushableExecutor.swift, ThreadSafeArray.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriver\ Compilation AsyncBluetooth normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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 AsyncBluetooth -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth.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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth-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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth_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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth-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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/Binary/AsyncBluetooth.o normal arm64_32 (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth_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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/Binary/AsyncBluetooth.o
SwiftDriverJobDiscovery normal arm64 Compiling AsyncSerialExecutorConstants.swift, CallbackUtils.swift, CentralManagerUtils.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriver\ Compilation AsyncBluetooth normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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 AsyncBluetooth -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth-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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth_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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth-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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/Binary/AsyncBluetooth.o normal arm64 (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth_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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/Binary/AsyncBluetooth.o
CreateUniversalBinary /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.o normal arm64\ armv7k\ arm64_32 (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/Binary/AsyncBluetooth.o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/Binary/AsyncBluetooth.o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/Binary/AsyncBluetooth.o -output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.o
ExtractAppIntentsMetadata (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
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 AsyncBluetooth --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.AsyncBluetooth --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.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/AsyncBluetooth.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth_dependency_info.dat --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth_dependency_info.dat --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/ExtractedAppShortcutsMetadata.stringsdata --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.SwiftFileList --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth.SwiftFileList --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/AsyncBluetooth.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/AsyncBluetooth.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.SwiftConstValuesFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/armv7k/AsyncBluetooth.SwiftConstValuesFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-watchos/AsyncBluetooth.build/Objects-normal/arm64_32/AsyncBluetooth.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --validate-assistant-intents --no-app-shortcuts-localization
2026-01-25 12:39:19.207 appintentsmetadataprocessor[777:4624] Starting appintentsmetadataprocessor export
2026-01-25 12:39:19.253 appintentsmetadataprocessor[777:4624] Extracted no relevant App Intents symbols, skipping writing output
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.o (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncBluetooth.o
** BUILD SUCCEEDED **
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AsyncBluetooth",
"name" : "AsyncBluetooth",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "AsyncBluetooth",
"targets" : [
"AsyncBluetooth"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "AsyncBluetoothTests",
"module_type" : "SwiftTarget",
"name" : "AsyncBluetoothTests",
"path" : "Tests",
"sources" : [
"AsyncExecutorMapTests.swift",
"AsyncSerailExecutorTests.swift",
"CentralManagerUtilsTests.swift",
"PeripheralDataConversionTests.swift"
],
"target_dependencies" : [
"AsyncBluetooth"
],
"type" : "test"
},
{
"c99name" : "AsyncBluetooth",
"module_type" : "SwiftTarget",
"name" : "AsyncBluetooth",
"path" : "Sources",
"product_memberships" : [
"AsyncBluetooth"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AsyncBluetooth.swift",
"CentralManager/CentralManager.swift",
"CentralManager/CentralManagerContext.swift",
"CentralManager/CentralManagerEvent.swift",
"CentralManager/ScanData.swift",
"DataConversion/PeripheralDataConvertible.swift",
"Peripheral/BluetoothError.swift",
"Peripheral/Characteristic.swift",
"Peripheral/CharacteristicValueUpdateEventData.swift",
"Peripheral/Descriptor.swift",
"Peripheral/Extensions/Characteristic+DataConversion.swift",
"Peripheral/Extensions/CharacteristicValueUpdateData+DataConversion.swift",
"Peripheral/Extensions/Peripheral+ReadWrite.swift",
"Peripheral/Peripheral.swift",
"Peripheral/PeripheralContext.swift",
"Peripheral/PeripheralDelegate.swift",
"Peripheral/Service.swift",
"Utils/AsyncBluetoothLogging.swift",
"Utils/AsyncExecutorMap.swift",
"Utils/AsyncSerialExecutor.swift",
"Utils/AsyncSerialExecutorConstants.swift",
"Utils/CallbackUtils.swift",
"Utils/CentralManagerUtils.swift",
"Utils/Extensions/AsyncExecutor+Flushable.swift",
"Utils/Extensions/CBUUID+Sendable.swift",
"Utils/FlushableExecutor.swift",
"Utils/ThreadSafeArray.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.