Build Information
Successful build of CoreBluetoothMock, reference main (f268f0), with Swift 6.1 for tvOS using Xcode 16.3 on 24 Oct 2026 19:42:06 UTC.
Swift 6 data race errors: 31
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme CoreBluetoothMock -destination generic/platform=tvOS 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
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-appletvos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-appletvos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/CoreBluetoothMock.DependencyMetadataFileList (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/CoreBluetoothMock.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.SwiftConstValuesFileList (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.SwiftFileList (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock_const_extract_protocols.json (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/CoreBluetoothMock.modulemap (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/CoreBluetoothMock.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.LinkFileList (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock-OutputFileMap.json (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/CoreBluetoothMock.DependencyStaticMetadataFileList (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/CoreBluetoothMock.DependencyStaticMetadataFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CoreBluetoothMock.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/CoreBluetoothMock.modulemap (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/CoreBluetoothMock.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos
SwiftDriver CoreBluetoothMock normal arm64 com.apple.xcode.tools.swift.compiler (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name CoreBluetoothMock -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -target arm64-apple-tvos12.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-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock-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/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.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/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.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/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ CBMCentralManagerDelegateProxy.swift,\ CBMCentralManagerFactory.swift,\ CBMCentralManagerMock.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerDelegateProxy.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerFactory.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerDelegateProxy.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerFactory.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:41:24: warning: static property 'managers' 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 managers: [WeakRef<CBMCentralManagerMock>] = []
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:41:24: note: convert 'managers' to a 'let' constant to make 'Sendable' shared state immutable
private static var managers: [WeakRef<CBMCentralManagerMock>] = []
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:41:24: note: add '@MainActor' to make static property 'managers' part of global actor 'MainActor'
private static var managers: [WeakRef<CBMCentralManagerMock>] = []
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:41:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var managers: [WeakRef<CBMCentralManagerMock>] = []
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:43:24: warning: static property 'peripherals' 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 peripherals: [CBMPeripheralSpec] = [] {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:43:24: note: convert 'peripherals' to a 'let' constant to make 'Sendable' shared state immutable
private static var peripherals: [CBMPeripheralSpec] = [] {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:43:24: note: add '@MainActor' to make static property 'peripherals' part of global actor 'MainActor'
private static var peripherals: [CBMPeripheralSpec] = [] {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:43:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var peripherals: [CBMPeripheralSpec] = [] {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:52:24: warning: static property 'previewPeripherals' 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 previewPeripherals: Set<CBMPeripheralPreview> = Set()
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:52:24: note: convert 'previewPeripherals' to a 'let' constant to make 'Sendable' shared state immutable
private static var previewPeripherals: Set<CBMPeripheralPreview> = Set()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:52:24: note: add '@MainActor' to make static property 'previewPeripherals' part of global actor 'MainActor'
private static var previewPeripherals: Set<CBMPeripheralPreview> = Set()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:52:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var previewPeripherals: Set<CBMPeripheralPreview> = Set()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:54:24: warning: static property 'advertisementTimers' 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 advertisementTimers = CBMDictionary<CBMAdvertisementConfig, Timer>()
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:54:24: note: convert 'advertisementTimers' to a 'let' constant to make 'Sendable' shared state immutable
private static var advertisementTimers = CBMDictionary<CBMAdvertisementConfig, Timer>()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:54:24: note: add '@MainActor' to make static property 'advertisementTimers' part of global actor 'MainActor'
private static var advertisementTimers = CBMDictionary<CBMAdvertisementConfig, Timer>()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:54:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var advertisementTimers = CBMDictionary<CBMAdvertisementConfig, Timer>()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:60:24: warning: static property 'pendingAdvertisements' 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 pendingAdvertisements = CBMDictionary<CBMAdvertisementConfig, UUID>()
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:60:24: note: convert 'pendingAdvertisements' to a 'let' constant to make 'Sendable' shared state immutable
private static var pendingAdvertisements = CBMDictionary<CBMAdvertisementConfig, UUID>()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:60:24: note: add '@MainActor' to make static property 'pendingAdvertisements' part of global actor 'MainActor'
private static var pendingAdvertisements = CBMDictionary<CBMAdvertisementConfig, UUID>()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:60:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var pendingAdvertisements = CBMDictionary<CBMAdvertisementConfig, UUID>()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:66:38: warning: static property 'bluetoothAuthorization' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal private(set) static var bluetoothAuthorization: Int? {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:66:38: note: convert 'bluetoothAuthorization' to a 'let' constant to make 'Sendable' shared state immutable
internal private(set) static var bluetoothAuthorization: Int? {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:66:38: note: add '@MainActor' to make static property 'bluetoothAuthorization' part of global actor 'MainActor'
internal private(set) static var bluetoothAuthorization: Int? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:66:38: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal private(set) static var bluetoothAuthorization: Int? {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:78:38: warning: static property 'rssiDeviation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal private(set) static var rssiDeviation: CBMProximity.Deviation = .default
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:78:38: note: convert 'rssiDeviation' to a 'let' constant to make 'Sendable' shared state immutable
internal private(set) static var rssiDeviation: CBMProximity.Deviation = .default
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:78:38: note: add '@MainActor' to make static property 'rssiDeviation' part of global actor 'MainActor'
internal private(set) static var rssiDeviation: CBMProximity.Deviation = .default
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:78:38: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal private(set) static var rssiDeviation: CBMProximity.Deviation = .default
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:84:38: warning: static property 'managerState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal private(set) static var managerState: CBMManagerState = .poweredOff {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:84:38: note: convert 'managerState' to a 'let' constant to make 'Sendable' shared state immutable
internal private(set) static var managerState: CBMManagerState = .poweredOff {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:84:38: note: add '@MainActor' to make static property 'managerState' part of global actor 'MainActor'
internal private(set) static var managerState: CBMManagerState = .poweredOff {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:84:38: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal private(set) static var managerState: CBMManagerState = .poweredOff {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:453:23: warning: static property 'simulateStateRestoration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
public static var simulateStateRestoration: ((_ identifierKey: String) -> [String : Any]?)?
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:453:23: note: convert 'simulateStateRestoration' to a 'let' constant to make 'Sendable' shared state immutable
public static var simulateStateRestoration: ((_ identifierKey: String) -> [String : Any]?)?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:453:23: note: add '@MainActor' to make static property 'simulateStateRestoration' part of global actor 'MainActor'
public static var simulateStateRestoration: ((_ identifierKey: String) -> [String : Any]?)?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:453:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static var simulateStateRestoration: ((_ identifierKey: String) -> [String : Any]?)?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:460:23: warning: static property 'simulateFeaturesSupport' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
public static var simulateFeaturesSupport: ((_ features: CBMCentralManager.Feature) -> Bool)?
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:460:23: note: convert 'simulateFeaturesSupport' to a 'let' constant to make 'Sendable' shared state immutable
public static var simulateFeaturesSupport: ((_ features: CBMCentralManager.Feature) -> Bool)?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:460:23: note: add '@MainActor' to make static property 'simulateFeaturesSupport' part of global actor 'MainActor'
public static var simulateFeaturesSupport: ((_ features: CBMCentralManager.Feature) -> Bool)?
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:460:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static var simulateFeaturesSupport: ((_ features: CBMCentralManager.Feature) -> Bool)?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:108:17: warning: capture of 'manager' with non-sendable type 'CBMCentralManagerMock' in a '@Sendable' closure
manager.delegate?.centralManagerDidUpdateState(manager)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:37:12: note: class 'CBMCentralManagerMock' does not conform to the 'Sendable' protocol
open class CBMCentralManagerMock: CBMCentralManager {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:387:27: warning: capture of 'self' with non-sendable type 'CBMCentralManagerMock?' in a '@Sendable' closure
if let self = self {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:37:12: note: class 'CBMCentralManagerMock' does not conform to the 'Sendable' protocol
open class CBMCentralManagerMock: CBMCentralManager {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1060:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connecting {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1065:21: warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> ()' in a '@Sendable' closure
completion(.success(()))
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1065:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion(.success(()))
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1080:30: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
guard let self = self, self.pendingConnectionRequest == requestId else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1093:17: warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> ()' in a '@Sendable' closure
completion(result)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1093:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion(result)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1108:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .disconnecting {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1110:21: warning: capture of 'completion' with non-sendable type '() -> ()' in a '@Sendable' closure
completion()
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1110:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion()
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1126:27: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .disconnecting,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1138:17: warning: capture of 'completion' with non-sendable type '() -> ()' in a '@Sendable' closure
completion()
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1138:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion()
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1158:27: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, CBMCentralManagerMock.managerState == .poweredOn {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1166:17: warning: capture of 'completion' with non-sendable type '((any Error)?) -> ()' in a '@Sendable' closure
completion(error)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1166:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion(error)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1179:27: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1202:27: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1203:68: warning: capture of 'invalidatedServices' with non-sendable type '[CBMService]' in a '@Sendable' closure
self.delegate?.peripheral(self, didModifyServices: invalidatedServices)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:53:12: note: class 'CBMService' does not conform to the 'Sendable' protocol
open class CBMService: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1225:27: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1226:17: warning: capture of 'characteristic' with non-sendable type 'CBMCharacteristic' in a '@Sendable' closure
characteristic.value = value
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:236:12: note: class 'CBMCharacteristic' does not conform to the 'Sendable' protocol
open class CBMCharacteristic: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1271:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1274:33: warning: capture of 'newServices' with non-sendable type '[CBMService]' in a '@Sendable' closure
let added = newServices.filter { s in
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:53:12: note: class 'CBMService' does not conform to the 'Sendable' protocol
open class CBMService: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1287:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1327:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1329:33: warning: capture of 'service' with non-sendable type 'CBMService' in a '@Sendable' closure
let known = service._includedServices ?? []
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:53:12: note: class 'CBMService' does not conform to the 'Sendable' protocol
open class CBMService: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1330:33: warning: capture of 'newServices' with non-sendable type '[CBMService]' in a '@Sendable' closure
let added = newServices.filter { s in
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:53:12: note: class 'CBMService' does not conform to the 'Sendable' protocol
open class CBMService: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1343:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1345:79: warning: capture of 'service' with non-sendable type 'CBMService' in a '@Sendable' closure
didDiscoverIncludedServicesFor: service,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:53:12: note: class 'CBMService' does not conform to the 'Sendable' protocol
open class CBMService: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1386:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1388:33: warning: capture of 'service' with non-sendable type 'CBMService' in a '@Sendable' closure
let known = service._characteristics ?? []
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:53:12: note: class 'CBMService' does not conform to the 'Sendable' protocol
open class CBMService: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1389:33: warning: capture of 'newCharacteristics' with non-sendable type '[CBMCharacteristic]' in a '@Sendable' closure
let added = newCharacteristics.filter { c in
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:236:12: note: class 'CBMCharacteristic' does not conform to the 'Sendable' protocol
open class CBMCharacteristic: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1402:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1404:78: warning: capture of 'service' with non-sendable type 'CBMService' in a '@Sendable' closure
didDiscoverCharacteristicsFor: service,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:53:12: note: class 'CBMService' does not conform to the 'Sendable' protocol
open class CBMService: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1441:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1443:33: warning: capture of 'characteristic' with non-sendable type 'CBMCharacteristic' in a '@Sendable' closure
let known = characteristic._descriptors ?? []
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:236:12: note: class 'CBMCharacteristic' does not conform to the 'Sendable' protocol
open class CBMCharacteristic: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1444:33: warning: capture of 'newDescriptors' with non-sendable type '[CBMDescriptor]' in a '@Sendable' closure
let added = newDescriptors.filter { d in
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:378:12: note: class 'CBMDescriptor' does not conform to the 'Sendable' protocol
open class CBMDescriptor: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1457:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1459:74: warning: capture of 'characteristic' with non-sendable type 'CBMCharacteristic' in a '@Sendable' closure
didDiscoverDescriptorsFor: characteristic,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:236:12: note: class 'CBMCharacteristic' does not conform to the 'Sendable' protocol
open class CBMCharacteristic: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1486:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1487:21: warning: capture of 'characteristic' with non-sendable type 'CBMCharacteristic' in a '@Sendable' closure
characteristic.value = data
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:236:12: note: class 'CBMCharacteristic' does not conform to the 'Sendable' protocol
open class CBMCharacteristic: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1495:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1497:66: warning: capture of 'characteristic' with non-sendable type 'CBMCharacteristic' in a '@Sendable' closure
didUpdateValueFor: characteristic,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:236:12: note: class 'CBMCharacteristic' does not conform to the 'Sendable' protocol
open class CBMCharacteristic: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1522:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1523:21: warning: capture of 'descriptor' with non-sendable type 'CBMDescriptor' in a '@Sendable' closure
descriptor.value = data
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:378:12: note: class 'CBMDescriptor' does not conform to the 'Sendable' protocol
open class CBMDescriptor: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1531:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1533:66: warning: capture of 'descriptor' with non-sendable type 'CBMDescriptor' in a '@Sendable' closure
didUpdateValueFor: descriptor,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:378:12: note: class 'CBMDescriptor' does not conform to the 'Sendable' protocol
open class CBMDescriptor: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1567:35: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1569:69: warning: capture of 'characteristic' with non-sendable type 'CBMCharacteristic' in a '@Sendable' closure
didWriteValueFor: characteristic,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:236:12: note: class 'CBMCharacteristic' does not conform to the 'Sendable' protocol
open class CBMCharacteristic: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1575:35: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1577:69: warning: capture of 'characteristic' with non-sendable type 'CBMCharacteristic' in a '@Sendable' closure
didWriteValueFor: characteristic,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:236:12: note: class 'CBMCharacteristic' does not conform to the 'Sendable' protocol
open class CBMCharacteristic: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1603:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1636:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1638:65: warning: capture of 'descriptor' with non-sendable type 'CBMDescriptor' in a '@Sendable' closure
didWriteValueFor: descriptor,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:378:12: note: class 'CBMDescriptor' does not conform to the 'Sendable' protocol
open class CBMDescriptor: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1644:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1646:65: warning: capture of 'descriptor' with non-sendable type 'CBMDescriptor' in a '@Sendable' closure
didWriteValueFor: descriptor,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:378:12: note: class 'CBMDescriptor' does not conform to the 'Sendable' protocol
open class CBMDescriptor: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1691:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1692:21: warning: capture of 'characteristic' with non-sendable type 'CBMCharacteristic' in a '@Sendable' closure
characteristic.isNotifying = enabled
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:236:12: note: class 'CBMCharacteristic' does not conform to the 'Sendable' protocol
open class CBMCharacteristic: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1696:21: warning: capture of 'mockCharacteristic' with non-sendable type 'CBMCharacteristicMock' in a '@Sendable' closure
mockCharacteristic.isNotifying = enabled
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:339:12: note: class 'CBMCharacteristicMock' does not conform to the 'Sendable' protocol
open class CBMCharacteristicMock: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1697:21: warning: capture of 'delegate' with non-sendable type 'any CBMPeripheralSpecDelegate' in a '@Sendable' closure
delegate.peripheral(self.mock,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/PeripheralPeer/CBMPeripheralSpecDelegate.swift:34:17: note: protocol 'CBMPeripheralSpecDelegate' does not conform to the 'Sendable' protocol
public protocol CBMPeripheralSpecDelegate {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1704:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1706:78: warning: capture of 'characteristic' with non-sendable type 'CBMCharacteristic' in a '@Sendable' closure
didUpdateNotificationStateFor: characteristic,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:236:12: note: class 'CBMCharacteristic' does not conform to the 'Sendable' protocol
open class CBMCharacteristic: CBMAttribute {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1708:21: warning: capture of 'delegate' with non-sendable type 'any CBMPeripheralSpecDelegate' in a '@Sendable' closure
delegate.peripheral(self.mock,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/PeripheralPeer/CBMPeripheralSpecDelegate.swift:34:17: note: protocol 'CBMPeripheralSpecDelegate' does not conform to the 'Sendable' protocol
public protocol CBMPeripheralSpecDelegate {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1709:72: warning: capture of 'mockCharacteristic' with non-sendable type 'CBMCharacteristicMock' in a '@Sendable' closure
didUpdateNotificationStateFor: mockCharacteristic,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:339:12: note: class 'CBMCharacteristicMock' does not conform to the 'Sendable' protocol
open class CBMCharacteristicMock: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1722:27: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:1742:27: warning: capture of 'self' with non-sendable type 'CBMPeripheralMock?' in a '@Sendable' closure
if let self = self, self.state == .connected {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:926:18: note: class 'CBMPeripheralMock' does not conform to the 'Sendable' protocol
@objc open class CBMPeripheralMock: CBMPeer, CBMPeripheral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:160:45: warning: sending 'config' risks causing data races; this is an error in the Swift 6 language mode
guard pendingAdvertisements[config] == token else {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:160:45: note: task-isolated 'config' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
guard pendingAdvertisements[config] == token else {
^~~~~~
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:176:32: warning: sending 'mock' risks causing data races; this is an error in the Swift 6 language mode
userInfo: (mock, config),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:176:32: note: task-isolated 'mock' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
userInfo: (mock, config),
^~~~
SwiftCompile normal arm64 Compiling\ CBMPeripheralPreview.swift,\ CBMCentralManager.swift,\ CBMCentralManagerDelegate.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMPeripheralPreview.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManager.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerDelegate.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMPeripheralPreview.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManager.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerDelegate.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ CBMAttributes.swift,\ CBMDictionary.swift,\ CBMManagerTypes.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMDictionary.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMManagerTypes.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:513:17: warning: let 'uninitializedPeripheral' is not concurrency-safe because non-'Sendable' type 'CBMPeripheralUninitialized' may have shared mutable state; this is an error in the Swift 6 language mode
fileprivate let uninitializedPeripheral = CBMPeripheralUninitialized()
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:517:19: note: class 'CBMPeripheralUninitialized' does not conform to the 'Sendable' protocol
fileprivate class CBMPeripheralUninitialized: CBMPeripheral, CustomDebugStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:513:17: note: add '@MainActor' to make let 'uninitializedPeripheral' part of global actor 'MainActor'
fileprivate let uninitializedPeripheral = CBMPeripheralUninitialized()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:513:17: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
fileprivate let uninitializedPeripheral = CBMPeripheralUninitialized()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:514:17: warning: let 'uninitializedService' is not concurrency-safe because non-'Sendable' type 'CBMServiceUninitialized' may have shared mutable state; this is an error in the Swift 6 language mode
fileprivate let uninitializedService = CBMServiceUninitialized()
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:588:19: note: class 'CBMServiceUninitialized' does not conform to the 'Sendable' protocol
fileprivate class CBMServiceUninitialized: CBMService {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:514:17: note: add '@MainActor' to make let 'uninitializedService' part of global actor 'MainActor'
fileprivate let uninitializedService = CBMServiceUninitialized()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:514:17: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
fileprivate let uninitializedService = CBMServiceUninitialized()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:515:17: warning: let 'uninitializedCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBMCharacteristicUninitialized' may have shared mutable state; this is an error in the Swift 6 language mode
fileprivate let uninitializedCharacteristic = CBMCharacteristicUninitialized()
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:606:19: note: class 'CBMCharacteristicUninitialized' does not conform to the 'Sendable' protocol
fileprivate class CBMCharacteristicUninitialized: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:515:17: note: add '@MainActor' to make let 'uninitializedCharacteristic' part of global actor 'MainActor'
fileprivate let uninitializedCharacteristic = CBMCharacteristicUninitialized()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:515:17: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
fileprivate let uninitializedCharacteristic = CBMCharacteristicUninitialized()
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMDictionary.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMDictionary.swift:56:17: warning: capture of 'self' with non-sendable type 'CBMDictionary<Key, Value>?' in a '@Sendable' closure
self?.dictStorage[key] = newValue
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMDictionary.swift:37:16: note: generic class 'CBMDictionary' does not conform to the 'Sendable' protocol
internal class CBMDictionary<Key: Hashable, Value> {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMDictionary.swift:56:35: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure
self?.dictStorage[key] = newValue
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMDictionary.swift:37:30: note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
internal class CBMDictionary<Key: Hashable, Value> {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMDictionary.swift:56:42: warning: capture of 'newValue' with non-sendable type 'Value?' in a '@Sendable' closure
self?.dictStorage[key] = newValue
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMDictionary.swift:37:45: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
internal class CBMDictionary<Key: Hashable, Value> {
^
: Sendable
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMManagerTypes.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ CBMCentral.swift,\ CBMPeripheralManager.swift,\ CBMPeripheralManagerDelegate.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMCentral.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManager.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerDelegate.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMCentral.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManager.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerDelegate.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ CBMMutableAttributes.swift,\ CBMPeer.swift,\ CBMPeripheral.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMMutableAttributes.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMPeer.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMPeripheral.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMMutableAttributes.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMPeer.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMPeripheral.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ CBMCentralSpec.swift,\ CBMCentralSpecDelegate.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CentralPeer/CBMCentralSpec.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CentralPeer/CBMCentralSpecDelegate.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CentralPeer/CBMCentralSpec.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CentralPeer/CBMCentralSpecDelegate.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ CoreBluetoothMock (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
EmitSwiftModule normal arm64 (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:513:17: warning: let 'uninitializedPeripheral' is not concurrency-safe because non-'Sendable' type 'CBMPeripheralUninitialized' may have shared mutable state; this is an error in the Swift 6 language mode
fileprivate let uninitializedPeripheral = CBMPeripheralUninitialized()
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:517:19: note: class 'CBMPeripheralUninitialized' does not conform to the 'Sendable' protocol
fileprivate class CBMPeripheralUninitialized: CBMPeripheral, CustomDebugStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:513:17: note: add '@MainActor' to make let 'uninitializedPeripheral' part of global actor 'MainActor'
fileprivate let uninitializedPeripheral = CBMPeripheralUninitialized()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:513:17: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
fileprivate let uninitializedPeripheral = CBMPeripheralUninitialized()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:514:17: warning: let 'uninitializedService' is not concurrency-safe because non-'Sendable' type 'CBMServiceUninitialized' may have shared mutable state; this is an error in the Swift 6 language mode
fileprivate let uninitializedService = CBMServiceUninitialized()
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:588:19: note: class 'CBMServiceUninitialized' does not conform to the 'Sendable' protocol
fileprivate class CBMServiceUninitialized: CBMService {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:514:17: note: add '@MainActor' to make let 'uninitializedService' part of global actor 'MainActor'
fileprivate let uninitializedService = CBMServiceUninitialized()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:514:17: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
fileprivate let uninitializedService = CBMServiceUninitialized()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:515:17: warning: let 'uninitializedCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBMCharacteristicUninitialized' may have shared mutable state; this is an error in the Swift 6 language mode
fileprivate let uninitializedCharacteristic = CBMCharacteristicUninitialized()
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:606:19: note: class 'CBMCharacteristicUninitialized' does not conform to the 'Sendable' protocol
fileprivate class CBMCharacteristicUninitialized: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:515:17: note: add '@MainActor' to make let 'uninitializedCharacteristic' part of global actor 'MainActor'
fileprivate let uninitializedCharacteristic = CBMCharacteristicUninitialized()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:515:17: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
fileprivate let uninitializedCharacteristic = CBMCharacteristicUninitialized()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:41:24: warning: static property 'managers' 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 managers: [WeakRef<CBMCentralManagerMock>] = []
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:41:24: note: convert 'managers' to a 'let' constant to make 'Sendable' shared state immutable
private static var managers: [WeakRef<CBMCentralManagerMock>] = []
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:41:24: note: add '@MainActor' to make static property 'managers' part of global actor 'MainActor'
private static var managers: [WeakRef<CBMCentralManagerMock>] = []
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:41:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var managers: [WeakRef<CBMCentralManagerMock>] = []
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:43:24: warning: static property 'peripherals' 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 peripherals: [CBMPeripheralSpec] = [] {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:43:24: note: convert 'peripherals' to a 'let' constant to make 'Sendable' shared state immutable
private static var peripherals: [CBMPeripheralSpec] = [] {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:43:24: note: add '@MainActor' to make static property 'peripherals' part of global actor 'MainActor'
private static var peripherals: [CBMPeripheralSpec] = [] {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:43:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var peripherals: [CBMPeripheralSpec] = [] {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:52:24: warning: static property 'previewPeripherals' 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 previewPeripherals: Set<CBMPeripheralPreview> = Set()
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:52:24: note: convert 'previewPeripherals' to a 'let' constant to make 'Sendable' shared state immutable
private static var previewPeripherals: Set<CBMPeripheralPreview> = Set()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:52:24: note: add '@MainActor' to make static property 'previewPeripherals' part of global actor 'MainActor'
private static var previewPeripherals: Set<CBMPeripheralPreview> = Set()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:52:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var previewPeripherals: Set<CBMPeripheralPreview> = Set()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:54:24: warning: static property 'advertisementTimers' 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 advertisementTimers = CBMDictionary<CBMAdvertisementConfig, Timer>()
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:54:24: note: convert 'advertisementTimers' to a 'let' constant to make 'Sendable' shared state immutable
private static var advertisementTimers = CBMDictionary<CBMAdvertisementConfig, Timer>()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:54:24: note: add '@MainActor' to make static property 'advertisementTimers' part of global actor 'MainActor'
private static var advertisementTimers = CBMDictionary<CBMAdvertisementConfig, Timer>()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:54:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var advertisementTimers = CBMDictionary<CBMAdvertisementConfig, Timer>()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:60:24: warning: static property 'pendingAdvertisements' 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 pendingAdvertisements = CBMDictionary<CBMAdvertisementConfig, UUID>()
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:60:24: note: convert 'pendingAdvertisements' to a 'let' constant to make 'Sendable' shared state immutable
private static var pendingAdvertisements = CBMDictionary<CBMAdvertisementConfig, UUID>()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:60:24: note: add '@MainActor' to make static property 'pendingAdvertisements' part of global actor 'MainActor'
private static var pendingAdvertisements = CBMDictionary<CBMAdvertisementConfig, UUID>()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:60:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var pendingAdvertisements = CBMDictionary<CBMAdvertisementConfig, UUID>()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:66:38: warning: static property 'bluetoothAuthorization' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal private(set) static var bluetoothAuthorization: Int? {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:66:38: note: convert 'bluetoothAuthorization' to a 'let' constant to make 'Sendable' shared state immutable
internal private(set) static var bluetoothAuthorization: Int? {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:66:38: note: add '@MainActor' to make static property 'bluetoothAuthorization' part of global actor 'MainActor'
internal private(set) static var bluetoothAuthorization: Int? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:66:38: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal private(set) static var bluetoothAuthorization: Int? {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:78:38: warning: static property 'rssiDeviation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal private(set) static var rssiDeviation: CBMProximity.Deviation = .default
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:78:38: note: convert 'rssiDeviation' to a 'let' constant to make 'Sendable' shared state immutable
internal private(set) static var rssiDeviation: CBMProximity.Deviation = .default
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:78:38: note: add '@MainActor' to make static property 'rssiDeviation' part of global actor 'MainActor'
internal private(set) static var rssiDeviation: CBMProximity.Deviation = .default
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:78:38: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal private(set) static var rssiDeviation: CBMProximity.Deviation = .default
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:84:38: warning: static property 'managerState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal private(set) static var managerState: CBMManagerState = .poweredOff {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:84:38: note: convert 'managerState' to a 'let' constant to make 'Sendable' shared state immutable
internal private(set) static var managerState: CBMManagerState = .poweredOff {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:84:38: note: add '@MainActor' to make static property 'managerState' part of global actor 'MainActor'
internal private(set) static var managerState: CBMManagerState = .poweredOff {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:84:38: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal private(set) static var managerState: CBMManagerState = .poweredOff {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:453:23: warning: static property 'simulateStateRestoration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
public static var simulateStateRestoration: ((_ identifierKey: String) -> [String : Any]?)?
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:453:23: note: convert 'simulateStateRestoration' to a 'let' constant to make 'Sendable' shared state immutable
public static var simulateStateRestoration: ((_ identifierKey: String) -> [String : Any]?)?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:453:23: note: add '@MainActor' to make static property 'simulateStateRestoration' part of global actor 'MainActor'
public static var simulateStateRestoration: ((_ identifierKey: String) -> [String : Any]?)?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:453:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static var simulateStateRestoration: ((_ identifierKey: String) -> [String : Any]?)?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:460:23: warning: static property 'simulateFeaturesSupport' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
public static var simulateFeaturesSupport: ((_ features: CBMCentralManager.Feature) -> Bool)?
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:460:23: note: convert 'simulateFeaturesSupport' to a 'let' constant to make 'Sendable' shared state immutable
public static var simulateFeaturesSupport: ((_ features: CBMCentralManager.Feature) -> Bool)?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:460:23: note: add '@MainActor' to make static property 'simulateFeaturesSupport' part of global actor 'MainActor'
public static var simulateFeaturesSupport: ((_ features: CBMCentralManager.Feature) -> Bool)?
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerMock.swift:460:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static var simulateFeaturesSupport: ((_ features: CBMCentralManager.Feature) -> Bool)?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:41:24: warning: static property 'managers' 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 managers: [WeakRef<CBMPeripheralManagerMock>] = []
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:41:24: note: convert 'managers' to a 'let' constant to make 'Sendable' shared state immutable
private static var managers: [WeakRef<CBMPeripheralManagerMock>] = []
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:41:24: note: add '@MainActor' to make static property 'managers' part of global actor 'MainActor'
private static var managers: [WeakRef<CBMPeripheralManagerMock>] = []
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:41:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var managers: [WeakRef<CBMPeripheralManagerMock>] = []
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:42:24: warning: static property 'centrals' 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 centrals: [WeakRef<CBMCentralSpec>] = []
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:42:24: note: convert 'centrals' to a 'let' constant to make 'Sendable' shared state immutable
private static var centrals: [WeakRef<CBMCentralSpec>] = []
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:42:24: note: add '@MainActor' to make static property 'centrals' part of global actor 'MainActor'
private static var centrals: [WeakRef<CBMCentralSpec>] = []
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:42:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var centrals: [WeakRef<CBMCentralSpec>] = []
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:105:23: warning: static property 'simulateStateRestoration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
public static var simulateStateRestoration: ((_ identifierKey: String) -> [String : Any]?)?
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:105:23: note: convert 'simulateStateRestoration' to a 'let' constant to make 'Sendable' shared state immutable
public static var simulateStateRestoration: ((_ identifierKey: String) -> [String : Any]?)?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:105:23: note: add '@MainActor' to make static property 'simulateStateRestoration' part of global actor 'MainActor'
public static var simulateStateRestoration: ((_ identifierKey: String) -> [String : Any]?)?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:105:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static var simulateStateRestoration: ((_ identifierKey: String) -> [String : Any]?)?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:140:23: warning: static property 'serviceUUID' is not concurrency-safe because non-'Sendable' type 'CBMUUID?' (aka 'Optional<CBUUID>') may have shared mutable state; this is an error in the Swift 6 language mode
public static let serviceUUID = CBMUUID.ledButtonService
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:140:23: note: add '@MainActor' to make static property 'serviceUUID' part of global actor 'MainActor'
public static let serviceUUID = CBMUUID.ledButtonService
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:140:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let serviceUUID = CBMUUID.ledButtonService
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:337:16: warning: static property 'ledButtonService' is not concurrency-safe because non-'Sendable' type 'CBMUUID?' (aka 'Optional<CBUUID>') may have shared mutable state; this is an error in the Swift 6 language mode
static let ledButtonService: CBMUUID! = CBMUUID(string: "00001523-1212-EFDE-1523-785FEABCD123")
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:337:16: note: add '@MainActor' to make static property 'ledButtonService' part of global actor 'MainActor'
static let ledButtonService: CBMUUID! = CBMUUID(string: "00001523-1212-EFDE-1523-785FEABCD123")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:337:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let ledButtonService: CBMUUID! = CBMUUID(string: "00001523-1212-EFDE-1523-785FEABCD123")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:339:16: warning: static property 'buttonCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBMUUID?' (aka 'Optional<CBUUID>') may have shared mutable state; this is an error in the Swift 6 language mode
static let buttonCharacteristic: CBMUUID! = CBMUUID(string: "00001524-1212-EFDE-1523-785FEABCD123")
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:339:16: note: add '@MainActor' to make static property 'buttonCharacteristic' part of global actor 'MainActor'
static let buttonCharacteristic: CBMUUID! = CBMUUID(string: "00001524-1212-EFDE-1523-785FEABCD123")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:339:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let buttonCharacteristic: CBMUUID! = CBMUUID(string: "00001524-1212-EFDE-1523-785FEABCD123")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:340:16: warning: static property 'ledCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBMUUID?' (aka 'Optional<CBUUID>') may have shared mutable state; this is an error in the Swift 6 language mode
static let ledCharacteristic: CBMUUID! = CBMUUID(string: "00001525-1212-EFDE-1523-785FEABCD123")
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:340:16: note: add '@MainActor' to make static property 'ledCharacteristic' part of global actor 'MainActor'
static let ledCharacteristic: CBMUUID! = CBMUUID(string: "00001525-1212-EFDE-1523-785FEABCD123")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:340:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let ledCharacteristic: CBMUUID! = CBMUUID(string: "00001525-1212-EFDE-1523-785FEABCD123")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:345:16: warning: static property 'blinkyService' is not concurrency-safe because non-'Sendable' type 'CBMServiceMock' may have shared mutable state; this is an error in the Swift 6 language mode
static let blinkyService = CBMServiceMock(
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:184:12: note: class 'CBMServiceMock' does not conform to the 'Sendable' protocol
open class CBMServiceMock: CBMService {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:345:16: note: add '@MainActor' to make static property 'blinkyService' part of global actor 'MainActor'
static let blinkyService = CBMServiceMock(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:345:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let blinkyService = CBMServiceMock(
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:355:16: warning: static property 'buttonCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBMCharacteristicMock' may have shared mutable state; this is an error in the Swift 6 language mode
static let buttonCharacteristic = CBMCharacteristicMock(
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:339:12: note: class 'CBMCharacteristicMock' does not conform to the 'Sendable' protocol
open class CBMCharacteristicMock: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:355:16: note: add '@MainActor' to make static property 'buttonCharacteristic' part of global actor 'MainActor'
static let buttonCharacteristic = CBMCharacteristicMock(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:355:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let buttonCharacteristic = CBMCharacteristicMock(
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:361:16: warning: static property 'ledCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBMCharacteristicMock' may have shared mutable state; this is an error in the Swift 6 language mode
static let ledCharacteristic = CBMCharacteristicMock(
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:339:12: note: class 'CBMCharacteristicMock' does not conform to the 'Sendable' protocol
open class CBMCharacteristicMock: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:361:16: note: add '@MainActor' to make static property 'ledCharacteristic' part of global actor 'MainActor'
static let ledCharacteristic = CBMCharacteristicMock(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:361:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let ledCharacteristic = CBMCharacteristicMock(
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:116:16: warning: static property 'uart' is not concurrency-safe because non-'Sendable' type 'CBMUUID?' (aka 'Optional<CBUUID>') may have shared mutable state; this is an error in the Swift 6 language mode
static let uart: CBMUUID! = CBMUUID(string: "6E400001-B5A3-F393-E0A9-E50E24DCCA9E")
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:116:16: note: add '@MainActor' to make static property 'uart' part of global actor 'MainActor'
static let uart: CBMUUID! = CBMUUID(string: "6E400001-B5A3-F393-E0A9-E50E24DCCA9E")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:116:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let uart: CBMUUID! = CBMUUID(string: "6E400001-B5A3-F393-E0A9-E50E24DCCA9E")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:117:16: warning: static property 'uartRx' is not concurrency-safe because non-'Sendable' type 'CBMUUID?' (aka 'Optional<CBUUID>') may have shared mutable state; this is an error in the Swift 6 language mode
static let uartRx: CBMUUID! = CBMUUID(string: "6E400002-B5A3-F393-E0A9-E50E24DCCA9E")
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:117:16: note: add '@MainActor' to make static property 'uartRx' part of global actor 'MainActor'
static let uartRx: CBMUUID! = CBMUUID(string: "6E400002-B5A3-F393-E0A9-E50E24DCCA9E")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:117:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let uartRx: CBMUUID! = CBMUUID(string: "6E400002-B5A3-F393-E0A9-E50E24DCCA9E")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:118:16: warning: static property 'uartTx' is not concurrency-safe because non-'Sendable' type 'CBMUUID?' (aka 'Optional<CBUUID>') may have shared mutable state; this is an error in the Swift 6 language mode
static let uartTx: CBMUUID! = CBMUUID(string: "6E400003-B5A3-F393-E0A9-E50E24DCCA9E")
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:118:16: note: add '@MainActor' to make static property 'uartTx' part of global actor 'MainActor'
static let uartTx: CBMUUID! = CBMUUID(string: "6E400003-B5A3-F393-E0A9-E50E24DCCA9E")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:118:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let uartTx: CBMUUID! = CBMUUID(string: "6E400003-B5A3-F393-E0A9-E50E24DCCA9E")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:120:16: warning: static property 'cccd' is not concurrency-safe because non-'Sendable' type 'CBMUUID' (aka 'CBUUID') may have shared mutable state; this is an error in the Swift 6 language mode
static let cccd = CBMUUID(string: "2902")
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:120:16: note: add '@MainActor' to make static property 'cccd' part of global actor 'MainActor'
static let cccd = CBMUUID(string: "2902")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:120:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let cccd = CBMUUID(string: "2902")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:124:16: warning: static property 'cccd' is not concurrency-safe because non-'Sendable' type 'CBMDescriptorMock' may have shared mutable state; this is an error in the Swift 6 language mode
static let cccd = CBMDescriptorMock(type: .cccd)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:448:12: note: class 'CBMDescriptorMock' does not conform to the 'Sendable' protocol
open class CBMDescriptorMock: CBMDescriptor {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:124:16: note: add '@MainActor' to make static property 'cccd' part of global actor 'MainActor'
static let cccd = CBMDescriptorMock(type: .cccd)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:124:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let cccd = CBMDescriptorMock(type: .cccd)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:129:16: warning: static property 'uartTx' is not concurrency-safe because non-'Sendable' type 'CBMCharacteristicMock' may have shared mutable state; this is an error in the Swift 6 language mode
static let uartTx = CBMCharacteristicMock(
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:339:12: note: class 'CBMCharacteristicMock' does not conform to the 'Sendable' protocol
open class CBMCharacteristicMock: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:129:16: note: add '@MainActor' to make static property 'uartTx' part of global actor 'MainActor'
static let uartTx = CBMCharacteristicMock(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:129:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let uartTx = CBMCharacteristicMock(
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:133:16: warning: static property 'uartRx' is not concurrency-safe because non-'Sendable' type 'CBMCharacteristicMock' may have shared mutable state; this is an error in the Swift 6 language mode
static let uartRx = CBMCharacteristicMock(
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:339:12: note: class 'CBMCharacteristicMock' does not conform to the 'Sendable' protocol
open class CBMCharacteristicMock: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:133:16: note: add '@MainActor' to make static property 'uartRx' part of global actor 'MainActor'
static let uartRx = CBMCharacteristicMock(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:133:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let uartRx = CBMCharacteristicMock(
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:140:16: warning: static property 'uart' is not concurrency-safe because non-'Sendable' type 'CBMServiceMock' may have shared mutable state; this is an error in the Swift 6 language mode
static let uart = CBMServiceMock(
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:184:12: note: class 'CBMServiceMock' does not conform to the 'Sendable' protocol
open class CBMServiceMock: CBMService {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:140:16: note: add '@MainActor' to make static property 'uart' part of global actor 'MainActor'
static let uart = CBMServiceMock(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:140:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let uart = CBMServiceMock(
^
nonisolated(unsafe)
SwiftCompile normal arm64 Compiling\ Blinky.swift,\ UART.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:140:23: warning: static property 'serviceUUID' is not concurrency-safe because non-'Sendable' type 'CBMUUID?' (aka 'Optional<CBUUID>') may have shared mutable state; this is an error in the Swift 6 language mode
public static let serviceUUID = CBMUUID.ledButtonService
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:140:23: note: add '@MainActor' to make static property 'serviceUUID' part of global actor 'MainActor'
public static let serviceUUID = CBMUUID.ledButtonService
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:140:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let serviceUUID = CBMUUID.ledButtonService
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:337:16: warning: static property 'ledButtonService' is not concurrency-safe because non-'Sendable' type 'CBMUUID?' (aka 'Optional<CBUUID>') may have shared mutable state; this is an error in the Swift 6 language mode
static let ledButtonService: CBMUUID! = CBMUUID(string: "00001523-1212-EFDE-1523-785FEABCD123")
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:337:16: note: add '@MainActor' to make static property 'ledButtonService' part of global actor 'MainActor'
static let ledButtonService: CBMUUID! = CBMUUID(string: "00001523-1212-EFDE-1523-785FEABCD123")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:337:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let ledButtonService: CBMUUID! = CBMUUID(string: "00001523-1212-EFDE-1523-785FEABCD123")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:339:16: warning: static property 'buttonCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBMUUID?' (aka 'Optional<CBUUID>') may have shared mutable state; this is an error in the Swift 6 language mode
static let buttonCharacteristic: CBMUUID! = CBMUUID(string: "00001524-1212-EFDE-1523-785FEABCD123")
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:339:16: note: add '@MainActor' to make static property 'buttonCharacteristic' part of global actor 'MainActor'
static let buttonCharacteristic: CBMUUID! = CBMUUID(string: "00001524-1212-EFDE-1523-785FEABCD123")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:339:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let buttonCharacteristic: CBMUUID! = CBMUUID(string: "00001524-1212-EFDE-1523-785FEABCD123")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:340:16: warning: static property 'ledCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBMUUID?' (aka 'Optional<CBUUID>') may have shared mutable state; this is an error in the Swift 6 language mode
static let ledCharacteristic: CBMUUID! = CBMUUID(string: "00001525-1212-EFDE-1523-785FEABCD123")
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:340:16: note: add '@MainActor' to make static property 'ledCharacteristic' part of global actor 'MainActor'
static let ledCharacteristic: CBMUUID! = CBMUUID(string: "00001525-1212-EFDE-1523-785FEABCD123")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:340:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let ledCharacteristic: CBMUUID! = CBMUUID(string: "00001525-1212-EFDE-1523-785FEABCD123")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:345:16: warning: static property 'blinkyService' is not concurrency-safe because non-'Sendable' type 'CBMServiceMock' may have shared mutable state; this is an error in the Swift 6 language mode
static let blinkyService = CBMServiceMock(
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:184:12: note: class 'CBMServiceMock' does not conform to the 'Sendable' protocol
open class CBMServiceMock: CBMService {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:345:16: note: add '@MainActor' to make static property 'blinkyService' part of global actor 'MainActor'
static let blinkyService = CBMServiceMock(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:345:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let blinkyService = CBMServiceMock(
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:355:16: warning: static property 'buttonCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBMCharacteristicMock' may have shared mutable state; this is an error in the Swift 6 language mode
static let buttonCharacteristic = CBMCharacteristicMock(
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:339:12: note: class 'CBMCharacteristicMock' does not conform to the 'Sendable' protocol
open class CBMCharacteristicMock: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:355:16: note: add '@MainActor' to make static property 'buttonCharacteristic' part of global actor 'MainActor'
static let buttonCharacteristic = CBMCharacteristicMock(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:355:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let buttonCharacteristic = CBMCharacteristicMock(
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:361:16: warning: static property 'ledCharacteristic' is not concurrency-safe because non-'Sendable' type 'CBMCharacteristicMock' may have shared mutable state; this is an error in the Swift 6 language mode
static let ledCharacteristic = CBMCharacteristicMock(
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:339:12: note: class 'CBMCharacteristicMock' does not conform to the 'Sendable' protocol
open class CBMCharacteristicMock: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:361:16: note: add '@MainActor' to make static property 'ledCharacteristic' part of global actor 'MainActor'
static let ledCharacteristic = CBMCharacteristicMock(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:361:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let ledCharacteristic = CBMCharacteristicMock(
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:84:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
guard let self else { return }
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:84:23: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
guard let self else { return }
^~~~
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:86:38: warning: sending 'blinky' risks causing data races; this is an error in the Swift 6 language mode
self.startTimer(for: blinky)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:86:38: note: task-isolated 'blinky' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.startTimer(for: blinky)
^~~~~~
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:106:27: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
guard let self, let blinky, self.timer != nil else { return }
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:106:27: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
guard let self, let blinky, self.timer != nil else { return }
^~~~
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:106:37: warning: sending 'blinky' risks causing data races; this is an error in the Swift 6 language mode
guard let self, let blinky, self.timer != nil else { return }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:106:37: note: task-isolated 'blinky' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
guard let self, let blinky, self.timer != nil else { return }
^~~~~~
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:228:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
guard let self else { return }
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:228:23: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
guard let self else { return }
^~~~
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:235:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
guard let self else { return }
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/Blinky.swift:235:23: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
guard let self else { return }
^~~~
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:116:16: warning: static property 'uart' is not concurrency-safe because non-'Sendable' type 'CBMUUID?' (aka 'Optional<CBUUID>') may have shared mutable state; this is an error in the Swift 6 language mode
static let uart: CBMUUID! = CBMUUID(string: "6E400001-B5A3-F393-E0A9-E50E24DCCA9E")
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:116:16: note: add '@MainActor' to make static property 'uart' part of global actor 'MainActor'
static let uart: CBMUUID! = CBMUUID(string: "6E400001-B5A3-F393-E0A9-E50E24DCCA9E")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:116:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let uart: CBMUUID! = CBMUUID(string: "6E400001-B5A3-F393-E0A9-E50E24DCCA9E")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:117:16: warning: static property 'uartRx' is not concurrency-safe because non-'Sendable' type 'CBMUUID?' (aka 'Optional<CBUUID>') may have shared mutable state; this is an error in the Swift 6 language mode
static let uartRx: CBMUUID! = CBMUUID(string: "6E400002-B5A3-F393-E0A9-E50E24DCCA9E")
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:117:16: note: add '@MainActor' to make static property 'uartRx' part of global actor 'MainActor'
static let uartRx: CBMUUID! = CBMUUID(string: "6E400002-B5A3-F393-E0A9-E50E24DCCA9E")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:117:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let uartRx: CBMUUID! = CBMUUID(string: "6E400002-B5A3-F393-E0A9-E50E24DCCA9E")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:118:16: warning: static property 'uartTx' is not concurrency-safe because non-'Sendable' type 'CBMUUID?' (aka 'Optional<CBUUID>') may have shared mutable state; this is an error in the Swift 6 language mode
static let uartTx: CBMUUID! = CBMUUID(string: "6E400003-B5A3-F393-E0A9-E50E24DCCA9E")
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:118:16: note: add '@MainActor' to make static property 'uartTx' part of global actor 'MainActor'
static let uartTx: CBMUUID! = CBMUUID(string: "6E400003-B5A3-F393-E0A9-E50E24DCCA9E")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:118:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let uartTx: CBMUUID! = CBMUUID(string: "6E400003-B5A3-F393-E0A9-E50E24DCCA9E")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:120:16: warning: static property 'cccd' is not concurrency-safe because non-'Sendable' type 'CBMUUID' (aka 'CBUUID') may have shared mutable state; this is an error in the Swift 6 language mode
static let cccd = CBMUUID(string: "2902")
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:120:16: note: add '@MainActor' to make static property 'cccd' part of global actor 'MainActor'
static let cccd = CBMUUID(string: "2902")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:120:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let cccd = CBMUUID(string: "2902")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:124:16: warning: static property 'cccd' is not concurrency-safe because non-'Sendable' type 'CBMDescriptorMock' may have shared mutable state; this is an error in the Swift 6 language mode
static let cccd = CBMDescriptorMock(type: .cccd)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:448:12: note: class 'CBMDescriptorMock' does not conform to the 'Sendable' protocol
open class CBMDescriptorMock: CBMDescriptor {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:124:16: note: add '@MainActor' to make static property 'cccd' part of global actor 'MainActor'
static let cccd = CBMDescriptorMock(type: .cccd)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:124:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let cccd = CBMDescriptorMock(type: .cccd)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:129:16: warning: static property 'uartTx' is not concurrency-safe because non-'Sendable' type 'CBMCharacteristicMock' may have shared mutable state; this is an error in the Swift 6 language mode
static let uartTx = CBMCharacteristicMock(
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:339:12: note: class 'CBMCharacteristicMock' does not conform to the 'Sendable' protocol
open class CBMCharacteristicMock: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:129:16: note: add '@MainActor' to make static property 'uartTx' part of global actor 'MainActor'
static let uartTx = CBMCharacteristicMock(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:129:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let uartTx = CBMCharacteristicMock(
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:133:16: warning: static property 'uartRx' is not concurrency-safe because non-'Sendable' type 'CBMCharacteristicMock' may have shared mutable state; this is an error in the Swift 6 language mode
static let uartRx = CBMCharacteristicMock(
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:339:12: note: class 'CBMCharacteristicMock' does not conform to the 'Sendable' protocol
open class CBMCharacteristicMock: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:133:16: note: add '@MainActor' to make static property 'uartRx' part of global actor 'MainActor'
static let uartRx = CBMCharacteristicMock(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:133:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let uartRx = CBMCharacteristicMock(
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:140:16: warning: static property 'uart' is not concurrency-safe because non-'Sendable' type 'CBMServiceMock' may have shared mutable state; this is an error in the Swift 6 language mode
static let uart = CBMServiceMock(
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:184:12: note: class 'CBMServiceMock' does not conform to the 'Sendable' protocol
open class CBMServiceMock: CBMService {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:140:16: note: add '@MainActor' to make static property 'uart' part of global actor 'MainActor'
static let uart = CBMServiceMock(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Specs/UART.swift:140:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let uart = CBMServiceMock(
^
nonisolated(unsafe)
SwiftCompile normal arm64 Compiling\ CBMPeripheralSpec.swift,\ CBMPeripheralSpecDelegate.swift,\ CBMATTRequest.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/PeripheralPeer/CBMPeripheralSpec.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/PeripheralPeer/CBMPeripheralSpecDelegate.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMATTRequest.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/PeripheralPeer/CBMPeripheralSpec.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/PeripheralPeer/CBMPeripheralSpecDelegate.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMATTRequest.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ CBMPeripheralManagerFactory.swift,\ CBMPeripheralManagerMock.swift,\ CBMPeripheralManagerNative.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerFactory.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerNative.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerFactory.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:41:24: warning: static property 'managers' 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 managers: [WeakRef<CBMPeripheralManagerMock>] = []
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:41:24: note: convert 'managers' to a 'let' constant to make 'Sendable' shared state immutable
private static var managers: [WeakRef<CBMPeripheralManagerMock>] = []
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:41:24: note: add '@MainActor' to make static property 'managers' part of global actor 'MainActor'
private static var managers: [WeakRef<CBMPeripheralManagerMock>] = []
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:41:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var managers: [WeakRef<CBMPeripheralManagerMock>] = []
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:42:24: warning: static property 'centrals' 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 centrals: [WeakRef<CBMCentralSpec>] = []
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:42:24: note: convert 'centrals' to a 'let' constant to make 'Sendable' shared state immutable
private static var centrals: [WeakRef<CBMCentralSpec>] = []
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:42:24: note: add '@MainActor' to make static property 'centrals' part of global actor 'MainActor'
private static var centrals: [WeakRef<CBMCentralSpec>] = []
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:42:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var centrals: [WeakRef<CBMCentralSpec>] = []
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:105:23: warning: static property 'simulateStateRestoration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
public static var simulateStateRestoration: ((_ identifierKey: String) -> [String : Any]?)?
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:105:23: note: convert 'simulateStateRestoration' to a 'let' constant to make 'Sendable' shared state immutable
public static var simulateStateRestoration: ((_ identifierKey: String) -> [String : Any]?)?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:105:23: note: add '@MainActor' to make static property 'simulateStateRestoration' part of global actor 'MainActor'
public static var simulateStateRestoration: ((_ identifierKey: String) -> [String : Any]?)?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:105:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static var simulateStateRestoration: ((_ identifierKey: String) -> [String : Any]?)?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:204:31: warning: capture of 'self' with non-sendable type 'CBMPeripheralManagerMock?' in a '@Sendable' closure
if let self = self {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:40:12: note: class 'CBMPeripheralManagerMock' does not conform to the 'Sendable' protocol
open class CBMPeripheralManagerMock: CBMPeripheralManager {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:219:30: warning: capture of 'self' with non-sendable type 'CBMPeripheralManagerMock?' in a '@Sendable' closure
guard let self = self, self.state == .poweredOn else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:40:12: note: class 'CBMPeripheralManagerMock' does not conform to the 'Sendable' protocol
open class CBMPeripheralManagerMock: CBMPeripheralManager {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:377:34: warning: capture of 'self' with non-sendable type 'CBMPeripheralManagerMock?' in a '@Sendable' closure
guard let self = self, self.state == .poweredOn, spec.isConnected,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:40:12: note: class 'CBMPeripheralManagerMock' does not conform to the 'Sendable' protocol
open class CBMPeripheralManagerMock: CBMPeripheralManager {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:377:66: warning: capture of 'spec' with non-sendable type 'CBMCentralSpec' in a '@Sendable' closure
guard let self = self, self.state == .poweredOn, spec.isConnected,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CentralPeer/CBMCentralSpec.swift:46:14: note: class 'CBMCentralSpec' does not conform to the 'Sendable' protocol
public class CBMCentralSpec {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:379:37: warning: capture of 'characteristic' with non-sendable type 'CBMMutableCharacteristic' in a '@Sendable' closure
self.owns(characteristic) && self.isSubscribed(central, to: characteristic)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMMutableAttributes.swift:89:12: note: class 'CBMMutableCharacteristic' does not conform to the 'Sendable' protocol
open class CBMMutableCharacteristic: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:379:74: warning: capture of 'central' with non-sendable type 'CBMCentralMock' in a '@Sendable' closure
self.owns(characteristic) && self.isSubscribed(central, to: characteristic)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMCentral.swift:90:14: note: class 'CBMCentralMock' does not conform to the 'Sendable' protocol
public class CBMCentralMock: CBMCentral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:379:37: warning: capture of 'characteristic' with non-sendable type 'CBMMutableCharacteristic' in an isolated closure; this is an error in the Swift 6 language mode
self.owns(characteristic) && self.isSubscribed(central, to: characteristic)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMMutableAttributes.swift:89:12: note: class 'CBMMutableCharacteristic' does not conform to the 'Sendable' protocol
open class CBMMutableCharacteristic: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:379:74: warning: capture of 'central' with non-sendable type 'CBMCentralMock' in an isolated closure; this is an error in the Swift 6 language mode
self.owns(characteristic) && self.isSubscribed(central, to: characteristic)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMCentral.swift:90:14: note: class 'CBMCentralMock' does not conform to the 'Sendable' protocol
public class CBMCentralMock: CBMCentral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:379:74: warning: implicit capture of 'central' requires that 'CBMCentralMock' conforms to 'Sendable'; this is an error in the Swift 6 language mode
self.owns(characteristic) && self.isSubscribed(central, to: characteristic)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMCentral.swift:90:14: note: class 'CBMCentralMock' does not conform to the 'Sendable' protocol
public class CBMCentralMock: CBMCentral {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:379:87: warning: implicit capture of 'characteristic' requires that 'CBMMutableCharacteristic' conforms to 'Sendable'; this is an error in the Swift 6 language mode
self.owns(characteristic) && self.isSubscribed(central, to: characteristic)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMMutableAttributes.swift:89:12: note: class 'CBMMutableCharacteristic' does not conform to the 'Sendable' protocol
open class CBMMutableCharacteristic: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:415:27: warning: capture of 'self' with non-sendable type 'CBMPeripheralManagerMock?' in a '@Sendable' closure
if let self = self, self.state == .poweredOn {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:40:12: note: class 'CBMPeripheralManagerMock' does not conform to the 'Sendable' protocol
open class CBMPeripheralManagerMock: CBMPeripheralManager {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:429:27: warning: capture of 'self' with non-sendable type 'CBMPeripheralManagerMock?' in a '@Sendable' closure
if let self = self, self.state == .poweredOn {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:40:12: note: class 'CBMPeripheralManagerMock' does not conform to the 'Sendable' protocol
open class CBMPeripheralManagerMock: CBMPeripheralManager {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:449:20: warning: capture of 'manager' with non-sendable type 'CBMPeripheralManagerMock' in a '@Sendable' closure
if manager.state != .poweredOn {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:40:12: note: class 'CBMPeripheralManagerMock' does not conform to the 'Sendable' protocol
open class CBMPeripheralManagerMock: CBMPeripheralManager {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:510:30: warning: capture of 'self' with non-sendable type 'CBMPeripheralManagerMock?' in a '@Sendable' closure
guard let self = self, self.state == .poweredOn, spec.isConnected else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:40:12: note: class 'CBMPeripheralManagerMock' does not conform to the 'Sendable' protocol
open class CBMPeripheralManagerMock: CBMPeripheralManager {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:510:62: warning: capture of 'spec' with non-sendable type 'CBMCentralSpec' in a '@Sendable' closure
guard let self = self, self.state == .poweredOn, spec.isConnected else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CentralPeer/CBMCentralSpec.swift:46:14: note: class 'CBMCentralSpec' does not conform to the 'Sendable' protocol
public class CBMCentralSpec {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:515:33: warning: capture of 'characteristic' with non-sendable type 'CBMMutableCharacteristic' in a '@Sendable' closure
guard self.owns(characteristic) else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMMutableAttributes.swift:89:12: note: class 'CBMMutableCharacteristic' does not conform to the 'Sendable' protocol
open class CBMMutableCharacteristic: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:515:33: warning: capture of 'characteristic' with non-sendable type 'CBMMutableCharacteristic' in an isolated closure; this is an error in the Swift 6 language mode
guard self.owns(characteristic) else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMMutableAttributes.swift:89:12: note: class 'CBMMutableCharacteristic' does not conform to the 'Sendable' protocol
open class CBMMutableCharacteristic: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:518:49: warning: capture of 'spec' with non-sendable type 'CBMCentralSpec' in an isolated closure; this is an error in the Swift 6 language mode
let central = self.central(for: spec)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CentralPeer/CBMCentralSpec.swift:46:14: note: class 'CBMCentralSpec' does not conform to the 'Sendable' protocol
public class CBMCentralSpec {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:537:30: warning: capture of 'self' with non-sendable type 'CBMPeripheralManagerMock?' in a '@Sendable' closure
guard let self = self, self.state == .poweredOn, spec.isConnected else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:40:12: note: class 'CBMPeripheralManagerMock' does not conform to the 'Sendable' protocol
open class CBMPeripheralManagerMock: CBMPeripheralManager {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:537:62: warning: capture of 'spec' with non-sendable type 'CBMCentralSpec' in a '@Sendable' closure
guard let self = self, self.state == .poweredOn, spec.isConnected else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CentralPeer/CBMCentralSpec.swift:46:14: note: class 'CBMCentralSpec' does not conform to the 'Sendable' protocol
public class CBMCentralSpec {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:542:33: warning: capture of 'characteristic' with non-sendable type 'CBMMutableCharacteristic' in a '@Sendable' closure
guard self.owns(characteristic),
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMMutableAttributes.swift:89:12: note: class 'CBMMutableCharacteristic' does not conform to the 'Sendable' protocol
open class CBMMutableCharacteristic: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:542:33: warning: capture of 'characteristic' with non-sendable type 'CBMMutableCharacteristic' in an isolated closure; this is an error in the Swift 6 language mode
guard self.owns(characteristic),
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMMutableAttributes.swift:89:12: note: class 'CBMMutableCharacteristic' does not conform to the 'Sendable' protocol
open class CBMMutableCharacteristic: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:543:51: warning: capture of 'spec' with non-sendable type 'CBMCentralSpec' in an isolated closure; this is an error in the Swift 6 language mode
let central = self.centrals[spec.identifier],
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CentralPeer/CBMCentralSpec.swift:46:14: note: class 'CBMCentralSpec' does not conform to the 'Sendable' protocol
public class CBMCentralSpec {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:565:17: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
completion(result)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:565:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion(result)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:602:30: warning: capture of 'self' with non-sendable type 'CBMPeripheralManagerMock?' in a '@Sendable' closure
guard let self = self, self.state == .poweredOn, spec.isConnected,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:40:12: note: class 'CBMPeripheralManagerMock' does not conform to the 'Sendable' protocol
open class CBMPeripheralManagerMock: CBMPeripheralManager {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:602:62: warning: capture of 'spec' with non-sendable type 'CBMCentralSpec' in a '@Sendable' closure
guard let self = self, self.state == .poweredOn, spec.isConnected,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CentralPeer/CBMCentralSpec.swift:46:14: note: class 'CBMCentralSpec' does not conform to the 'Sendable' protocol
public class CBMCentralSpec {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:604:39: warning: capture of 'characteristic' with non-sendable type 'CBMMutableCharacteristic' in a '@Sendable' closure
guard self.owns(characteristic) else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMMutableAttributes.swift:89:12: note: class 'CBMMutableCharacteristic' does not conform to the 'Sendable' protocol
open class CBMMutableCharacteristic: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:607:51: warning: capture of 'request' with non-sendable type 'CBMATTRequestMock' in a '@Sendable' closure
self.pendingRequests.append(request)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMATTRequest.swift:117:14: note: class 'CBMATTRequestMock' does not conform to the 'Sendable' protocol
public class CBMATTRequestMock: CBMATTRequest {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:610:17: warning: capture of 'reply' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
reply(.failure(CBMError(.notConnected)))
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:610:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
reply(.failure(CBMError(.notConnected)))
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:604:39: warning: capture of 'characteristic' with non-sendable type 'CBMMutableCharacteristic' in an isolated closure; this is an error in the Swift 6 language mode
guard self.owns(characteristic) else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMMutableAttributes.swift:89:12: note: class 'CBMMutableCharacteristic' does not conform to the 'Sendable' protocol
open class CBMMutableCharacteristic: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:607:51: warning: capture of 'request' with non-sendable type 'CBMATTRequestMock' in an isolated closure; this is an error in the Swift 6 language mode
self.pendingRequests.append(request)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMATTRequest.swift:117:14: note: class 'CBMATTRequestMock' does not conform to the 'Sendable' protocol
public class CBMATTRequestMock: CBMATTRequest {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:627:17: warning: capture of 'withResponseCompletion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
withResponseCompletion?(result)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:627:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
withResponseCompletion?(result)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:671:30: warning: capture of 'self' with non-sendable type 'CBMPeripheralManagerMock?' in a '@Sendable' closure
guard let self = self, self.state == .poweredOn, spec.isConnected,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:40:12: note: class 'CBMPeripheralManagerMock' does not conform to the 'Sendable' protocol
open class CBMPeripheralManagerMock: CBMPeripheralManager {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:671:62: warning: capture of 'spec' with non-sendable type 'CBMCentralSpec' in a '@Sendable' closure
guard let self = self, self.state == .poweredOn, spec.isConnected,
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CentralPeer/CBMCentralSpec.swift:46:14: note: class 'CBMCentralSpec' does not conform to the 'Sendable' protocol
public class CBMCentralSpec {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:673:39: warning: capture of 'characteristic' with non-sendable type 'CBMMutableCharacteristic' in a '@Sendable' closure
guard self.owns(characteristic) else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMMutableAttributes.swift:89:12: note: class 'CBMMutableCharacteristic' does not conform to the 'Sendable' protocol
open class CBMMutableCharacteristic: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:677:55: warning: capture of 'request' with non-sendable type 'CBMATTRequestMock' in a '@Sendable' closure
self.pendingRequests.append(request)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMATTRequest.swift:117:14: note: class 'CBMATTRequestMock' does not conform to the 'Sendable' protocol
public class CBMATTRequestMock: CBMATTRequest {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:682:21: warning: capture of 'reply' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
reply(.failure(CBMError(.notConnected)))
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:682:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
reply(.failure(CBMError(.notConnected)))
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:673:39: warning: capture of 'characteristic' with non-sendable type 'CBMMutableCharacteristic' in an isolated closure; this is an error in the Swift 6 language mode
guard self.owns(characteristic) else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMMutableAttributes.swift:89:12: note: class 'CBMMutableCharacteristic' does not conform to the 'Sendable' protocol
open class CBMMutableCharacteristic: CBMCharacteristic {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:677:55: warning: capture of 'request' with non-sendable type 'CBMATTRequestMock' in an isolated closure; this is an error in the Swift 6 language mode
self.pendingRequests.append(request)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMATTRequest.swift:117:14: note: class 'CBMATTRequestMock' does not conform to the 'Sendable' protocol
public class CBMATTRequestMock: CBMATTRequest {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:724:27: warning: capture of 'self' with non-sendable type 'CBMPeripheralManagerMock?' in a '@Sendable' closure
if let self = self {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:40:12: note: class 'CBMPeripheralManagerMock' does not conform to the 'Sendable' protocol
open class CBMPeripheralManagerMock: CBMPeripheralManager {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:747:27: warning: capture of 'self' with non-sendable type 'CBMPeripheralManagerMock?' in a '@Sendable' closure
if let self = self, self.state == .poweredOn {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:40:12: note: class 'CBMPeripheralManagerMock' does not conform to the 'Sendable' protocol
open class CBMPeripheralManagerMock: CBMPeripheralManager {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:748:64: warning: capture of 'service' with non-sendable type 'CBMMutableService' in a '@Sendable' closure
self.delegate?.peripheralManager(self, didAdd: service, error: error)
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/CBMMutableAttributes.swift:38:12: note: class 'CBMMutableService' does not conform to the 'Sendable' protocol
open class CBMMutableService: CBMService {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:756:30: warning: capture of 'self' with non-sendable type 'CBMPeripheralManagerMock?' in a '@Sendable' closure
guard let self = self else { return }
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:40:12: note: class 'CBMPeripheralManagerMock' does not conform to the 'Sendable' protocol
open class CBMPeripheralManagerMock: CBMPeripheralManager {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:758:83: warning: capture of 'request' with non-sendable type 'CBMATTRequestMock' in a '@Sendable' closure
guard let index = self.pendingRequests.firstIndex(where: { $0 === request }) else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMATTRequest.swift:117:14: note: class 'CBMATTRequestMock' does not conform to the 'Sendable' protocol
public class CBMATTRequestMock: CBMATTRequest {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:758:83: warning: capture of 'request' with non-sendable type 'CBMATTRequestMock' in an isolated closure; this is an error in the Swift 6 language mode
guard let index = self.pendingRequests.firstIndex(where: { $0 === request }) else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMATTRequest.swift:117:14: note: class 'CBMATTRequestMock' does not conform to the 'Sendable' protocol
public class CBMATTRequestMock: CBMATTRequest {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:758:83: warning: capture of 'request' with non-sendable type 'CBMATTRequestMock' in an isolated closure; this is an error in the Swift 6 language mode
guard let index = self.pendingRequests.firstIndex(where: { $0 === request }) else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMATTRequest.swift:117:14: note: class 'CBMATTRequestMock' does not conform to the 'Sendable' protocol
public class CBMATTRequestMock: CBMATTRequest {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:830:30: warning: capture of 'self' with non-sendable type 'CBMPeripheralManagerMock?' in a '@Sendable' closure
guard let self = self else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:40:12: note: class 'CBMPeripheralManagerMock' does not conform to the 'Sendable' protocol
open class CBMPeripheralManagerMock: CBMPeripheralManager {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:836:71: warning: capture of 'spec' with non-sendable type 'CBMCentralSpec' in a '@Sendable' closure
guard let central = self.centrals.removeValue(forKey: spec.identifier) else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CentralPeer/CBMCentralSpec.swift:46:14: note: class 'CBMCentralSpec' does not conform to the 'Sendable' protocol
public class CBMCentralSpec {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:836:71: warning: capture of 'spec' with non-sendable type 'CBMCentralSpec' in an isolated closure; this is an error in the Swift 6 language mode
guard let central = self.centrals.removeValue(forKey: spec.identifier) else {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CentralPeer/CBMCentralSpec.swift:46:14: note: class 'CBMCentralSpec' does not conform to the 'Sendable' protocol
public class CBMCentralSpec {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:839:90: warning: capture of 'spec' with non-sendable type 'CBMCentralSpec' in an isolated closure; this is an error in the Swift 6 language mode
abortedRequests = self.pendingRequests.filter { $0.central.identifier == spec.identifier }
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CentralPeer/CBMCentralSpec.swift:46:14: note: class 'CBMCentralSpec' does not conform to the 'Sendable' protocol
public class CBMCentralSpec {
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerMock.swift:840:75: warning: capture of 'spec' with non-sendable type 'CBMCentralSpec' in an isolated closure; this is an error in the Swift 6 language mode
self.pendingRequests.removeAll { $0.central.identifier == spec.identifier }
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CentralPeer/CBMCentralSpec.swift:46:14: note: class 'CBMCentralSpec' does not conform to the 'Sendable' protocol
public class CBMCentralSpec {
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Peripheral/CBMPeripheralManagerNative.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ CBMCentralManagerNative.swift,\ CBMPeripheralDelegate.swift,\ CBMPeripheralDelegateProxy.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerNative.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMPeripheralDelegate.swift /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMPeripheralDelegateProxy.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerNative.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerNative.swift:366:46: warning: capture of 'self' with non-sendable type 'CBMCentralManagerNative' in a '@Sendable' closure
change.newValue?.flatMap { [weak self] new in
^
/Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMCentralManagerNative.swift:37:14: note: class 'CBMCentralManagerNative' does not conform to the 'Sendable' protocol
public class CBMCentralManagerNative: CBMCentralManager {
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMPeripheralDelegate.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/CoreBluetoothMock/Central/CBMPeripheralDelegateProxy.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Emitting module for CoreBluetoothMock (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftDriver\ Compilation\ Requirements CoreBluetoothMock normal arm64 com.apple.xcode.tools.swift.compiler (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
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 CoreBluetoothMock -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -target arm64-apple-tvos12.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-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock-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/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.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/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.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/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Compiling CBMPeripheralManagerFactory.swift, CBMPeripheralManagerMock.swift, CBMPeripheralManagerNative.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftDriverJobDiscovery normal arm64 Compiling CBMCentralSpec.swift, CBMCentralSpecDelegate.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftDriverJobDiscovery normal arm64 Compiling CBMCentral.swift, CBMPeripheralManager.swift, CBMPeripheralManagerDelegate.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftDriverJobDiscovery normal arm64 Compiling CBMCentralManagerNative.swift, CBMPeripheralDelegate.swift, CBMPeripheralDelegateProxy.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftDriverJobDiscovery normal arm64 Compiling CBMPeripheralSpec.swift, CBMPeripheralSpecDelegate.swift, CBMATTRequest.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftDriverJobDiscovery normal arm64 Compiling CBMAttributes.swift, CBMDictionary.swift, CBMManagerTypes.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftDriverJobDiscovery normal arm64 Compiling CBMPeripheralPreview.swift, CBMCentralManager.swift, CBMCentralManagerDelegate.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftDriverJobDiscovery normal arm64 Compiling Blinky.swift, UART.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CoreBluetoothMock-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock-Swift.h (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CoreBluetoothMock-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/CoreBluetoothMock.swiftmodule/arm64-apple-tvos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.swiftmodule (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
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/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/CoreBluetoothMock.swiftmodule/arm64-apple-tvos.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/CoreBluetoothMock.swiftmodule/arm64-apple-tvos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.abi.json (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
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/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/CoreBluetoothMock.swiftmodule/arm64-apple-tvos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/CoreBluetoothMock.swiftmodule/arm64-apple-tvos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.swiftdoc (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
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/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/CoreBluetoothMock.swiftmodule/arm64-apple-tvos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/CoreBluetoothMock.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.swiftsourceinfo (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
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/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/CoreBluetoothMock.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo
SwiftDriverJobDiscovery normal arm64 Compiling CBMCentralManagerDelegateProxy.swift, CBMCentralManagerFactory.swift, CBMCentralManagerMock.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftDriverJobDiscovery normal arm64 Compiling CBMMutableAttributes.swift, CBMPeer.swift, CBMPeripheral.swift (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
SwiftDriver\ Compilation CoreBluetoothMock normal arm64 com.apple.xcode.tools.swift.compiler (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
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 CoreBluetoothMock -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -target arm64-apple-tvos12.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-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock-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/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.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/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.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/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock-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/Products/Debug-appletvos/CoreBluetoothMock.o normal (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
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-tvos12.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-appletvos -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-appletvos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/appletvos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/CoreBluetoothMock.o
ExtractAppIntentsMetadata (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
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 CoreBluetoothMock --sdk-root /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk --xcode-version 16E140 --platform-family tvOS --deployment-target 12.0 --bundle-identifier spi-builder-workspace.CoreBluetoothMock --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/CoreBluetoothMock.appintents --target-triple arm64-apple-tvos12.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/CoreBluetoothMock.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/CoreBluetoothMock.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/CoreBluetoothMock.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothMock.build/Debug-appletvos/CoreBluetoothMock.build/Objects-normal/arm64/CoreBluetoothMock.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --validate-assistant-intents --no-app-shortcuts-localization
2026-10-24 12:42:05.605 appintentsmetadataprocessor[1168:6866] Starting appintentsmetadataprocessor export
2026-10-24 12:42:05.645 appintentsmetadataprocessor[1168:6866] Extracted no relevant App Intents symbols, skipping writing output
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/CoreBluetoothMock.o (in target 'CoreBluetoothMock' from project 'CoreBluetoothMock')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/CoreBluetoothMock.o
** BUILD SUCCEEDED **
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "CoreBluetoothMock",
"name" : "CoreBluetoothMock",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "CoreBluetoothMock",
"targets" : [
"CoreBluetoothMock"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "CoreBluetoothMockTests",
"module_type" : "SwiftTarget",
"name" : "CoreBluetoothMockTests",
"path" : "Tests/CoreBluetoothMockTests",
"sources" : [
"CentralBehaviorTestCase.swift",
"CentralManagerAdvancedBehaviorTest.swift",
"CentralManagerBehaviorTest.swift",
"PeripheralBehaviorTest.swift",
"PeripheralManagerBehaviorTest.swift",
"PeripheralManagerTest.swift"
],
"target_dependencies" : [
"CoreBluetoothMock"
],
"type" : "test"
},
{
"c99name" : "CoreBluetoothMock",
"module_type" : "SwiftTarget",
"name" : "CoreBluetoothMock",
"path" : "CoreBluetoothMock",
"product_memberships" : [
"CoreBluetoothMock"
],
"sources" : [
"CBMAttributes.swift",
"CBMDictionary.swift",
"CBMManagerTypes.swift",
"CBMMutableAttributes.swift",
"CBMPeer.swift",
"CBMPeripheral.swift",
"CBMPeripheralPreview.swift",
"Central/CBMCentralManager.swift",
"Central/CBMCentralManagerDelegate.swift",
"Central/CBMCentralManagerDelegateProxy.swift",
"Central/CBMCentralManagerFactory.swift",
"Central/CBMCentralManagerMock.swift",
"Central/CBMCentralManagerNative.swift",
"Central/CBMPeripheralDelegate.swift",
"Central/CBMPeripheralDelegateProxy.swift",
"Central/PeripheralPeer/CBMPeripheralSpec.swift",
"Central/PeripheralPeer/CBMPeripheralSpecDelegate.swift",
"Peripheral/CBMATTRequest.swift",
"Peripheral/CBMCentral.swift",
"Peripheral/CBMPeripheralManager.swift",
"Peripheral/CBMPeripheralManagerDelegate.swift",
"Peripheral/CBMPeripheralManagerFactory.swift",
"Peripheral/CBMPeripheralManagerMock.swift",
"Peripheral/CBMPeripheralManagerNative.swift",
"Peripheral/CentralPeer/CBMCentralSpec.swift",
"Peripheral/CentralPeer/CBMCentralSpecDelegate.swift",
"Specs/Blinky.swift",
"Specs/UART.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.