Build Information
Successful build of AsyncBluetooth, reference main (cc2d86
), with Swift 6.1 for visionOS using Xcode 16.3 on 21 Aug 2025 18:07:23 UTC.
Swift 6 data race errors: 22
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme AsyncBluetooth -destination generic/platform=xrOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/manolofdez/AsyncBluetooth.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/manolofdez/AsyncBluetooth
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cc2d864 [Maintenance] Swift 6 Fixes & Characteristic Access Error (#82)
Cloned https://github.com/manolofdez/AsyncBluetooth.git
Revision (git rev-parse @):
cc2d86458e836453154d4fc0441e03e83d20e664
SUCCESS checkout https://github.com/manolofdez/AsyncBluetooth.git at main
========================================
Build
========================================
Selected platform: visionOS
Swift version: 6.1
Building package at path: $PWD
https://github.com/manolofdez/AsyncBluetooth.git
https://github.com/manolofdez/AsyncBluetooth.git
{
"dependencies" : [
],
"manifest_display_name" : "AsyncBluetooth",
"name" : "AsyncBluetooth",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "AsyncBluetooth",
"targets" : [
"AsyncBluetooth"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "AsyncBluetoothTests",
"module_type" : "SwiftTarget",
"name" : "AsyncBluetoothTests",
"path" : "Tests",
"sources" : [
"AsyncExecutorMapTests.swift",
"AsyncSerailExecutorTests.swift",
"CentralManagerUtilsTests.swift",
"PeripheralDataConversionTests.swift"
],
"target_dependencies" : [
"AsyncBluetooth"
],
"type" : "test"
},
{
"c99name" : "AsyncBluetooth",
"module_type" : "SwiftTarget",
"name" : "AsyncBluetooth",
"path" : "Sources",
"product_memberships" : [
"AsyncBluetooth"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AsyncBluetooth.swift",
"CentralManager/CentralManager.swift",
"CentralManager/CentralManagerContext.swift",
"CentralManager/CentralManagerEvent.swift",
"CentralManager/ScanData.swift",
"DataConversion/PeripheralDataConvertible.swift",
"Peripheral/BluetoothError.swift",
"Peripheral/Characteristic.swift",
"Peripheral/CharacteristicValueUpdateEventData.swift",
"Peripheral/Descriptor.swift",
"Peripheral/Extensions/Characteristic+DataConversion.swift",
"Peripheral/Extensions/CharacteristicValueUpdateData+DataConversion.swift",
"Peripheral/Extensions/Peripheral+ReadWrite.swift",
"Peripheral/Peripheral.swift",
"Peripheral/PeripheralContext.swift",
"Peripheral/PeripheralDelegate.swift",
"Peripheral/Service.swift",
"Utils/AsyncBluetoothLogging.swift",
"Utils/AsyncExecutorMap.swift",
"Utils/AsyncSerialExecutor.swift",
"Utils/AsyncSerialExecutorConstants.swift",
"Utils/CallbackUtils.swift",
"Utils/CentralManagerUtils.swift",
"Utils/Extensions/AsyncExecutor+Flushable.swift",
"Utils/Extensions/CBUUID+Sendable.swift",
"Utils/FlushableExecutor.swift",
"Utils/ThreadSafeArray.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
AsyncBluetooth: /Users/admin/builder/spi-builder-workspace
resolved source packages: AsyncBluetooth
{
"dependencies" : [
],
"manifest_display_name" : "AsyncBluetooth",
"name" : "AsyncBluetooth",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "AsyncBluetooth",
"targets" : [
"AsyncBluetooth"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "AsyncBluetoothTests",
"module_type" : "SwiftTarget",
"name" : "AsyncBluetoothTests",
"path" : "Tests",
"sources" : [
"AsyncExecutorMapTests.swift",
"AsyncSerailExecutorTests.swift",
"CentralManagerUtilsTests.swift",
"PeripheralDataConversionTests.swift"
],
"target_dependencies" : [
"AsyncBluetooth"
],
"type" : "test"
},
{
"c99name" : "AsyncBluetooth",
"module_type" : "SwiftTarget",
"name" : "AsyncBluetooth",
"path" : "Sources",
"product_memberships" : [
"AsyncBluetooth"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AsyncBluetooth.swift",
"CentralManager/CentralManager.swift",
"CentralManager/CentralManagerContext.swift",
"CentralManager/CentralManagerEvent.swift",
"CentralManager/ScanData.swift",
"DataConversion/PeripheralDataConvertible.swift",
"Peripheral/BluetoothError.swift",
"Peripheral/Characteristic.swift",
"Peripheral/CharacteristicValueUpdateEventData.swift",
"Peripheral/Descriptor.swift",
"Peripheral/Extensions/Characteristic+DataConversion.swift",
"Peripheral/Extensions/CharacteristicValueUpdateData+DataConversion.swift",
"Peripheral/Extensions/Peripheral+ReadWrite.swift",
"Peripheral/Peripheral.swift",
"Peripheral/PeripheralContext.swift",
"Peripheral/PeripheralDelegate.swift",
"Peripheral/Service.swift",
"Utils/AsyncBluetoothLogging.swift",
"Utils/AsyncExecutorMap.swift",
"Utils/AsyncSerialExecutor.swift",
"Utils/AsyncSerialExecutorConstants.swift",
"Utils/CallbackUtils.swift",
"Utils/CentralManagerUtils.swift",
"Utils/Extensions/AsyncExecutor+Flushable.swift",
"Utils/Extensions/CBUUID+Sendable.swift",
"Utils/FlushableExecutor.swift",
"Utils/ThreadSafeArray.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"AsyncBluetooth"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme AsyncBluetooth -destination generic/platform=xrOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme AsyncBluetooth -destination generic/platform=xrOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures"
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Resolve Package Graph
Resolved source packages:
AsyncBluetooth: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
Target 'AsyncBluetooth' in project 'AsyncBluetooth'
➜ Explicit dependency on target 'AsyncBluetooth' in project 'AsyncBluetooth'
➜ Explicit dependency on target 'AsyncBluetooth_AsyncBluetooth' in project 'AsyncBluetooth'
Target 'AsyncBluetooth' in project 'AsyncBluetooth'
➜ Explicit dependency on target 'AsyncBluetooth_AsyncBluetooth' in project 'AsyncBluetooth'
Target 'AsyncBluetooth_AsyncBluetooth' in project 'AsyncBluetooth' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: f533489a3f195d7358a1e2bdc5184ecb
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/f533489a3f195d7358a1e2bdc5184ecb.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
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/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
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-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
MkDir /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth_AsyncBluetooth.bundle (in target 'AsyncBluetooth_AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
/bin/mkdir -p /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth_AsyncBluetooth.bundle
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/AsyncBluetooth.modulemap (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/AsyncBluetooth.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth_AsyncBluetooth.build/AsyncBluetooth_AsyncBluetooth.DependencyStaticMetadataFileList (in target 'AsyncBluetooth_AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth_AsyncBluetooth.build/AsyncBluetooth_AsyncBluetooth.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth_AsyncBluetooth.build/AsyncBluetooth_AsyncBluetooth.DependencyMetadataFileList (in target 'AsyncBluetooth_AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth_AsyncBluetooth.build/AsyncBluetooth_AsyncBluetooth.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth_AsyncBluetooth.build/empty-AsyncBluetooth_AsyncBluetooth.plist (in target 'AsyncBluetooth_AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth_AsyncBluetooth.build/empty-AsyncBluetooth_AsyncBluetooth.plist
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth_const_extract_protocols.json (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth-OutputFileMap.json (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.SwiftFileList (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.LinkFileList (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.SwiftConstValuesFileList (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/AsyncBluetooth.DependencyStaticMetadataFileList (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/AsyncBluetooth.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/DerivedSources/resource_bundle_accessor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/DerivedSources/resource_bundle_accessor.swift
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/AsyncBluetooth.DependencyMetadataFileList (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/AsyncBluetooth.DependencyMetadataFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/AsyncBluetooth.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/AsyncBluetooth.modulemap (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/AsyncBluetooth.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
ProcessInfoPlistFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth_AsyncBluetooth.bundle/Info.plist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth_AsyncBluetooth.build/empty-AsyncBluetooth_AsyncBluetooth.plist (in target 'AsyncBluetooth_AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-infoPlistUtility /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth_AsyncBluetooth.build/empty-AsyncBluetooth_AsyncBluetooth.plist -producttype com.apple.product-type.bundle -expandbuildsettings -format binary -platform xros -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth_AsyncBluetooth.bundle/Info.plist
CpResource /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth_AsyncBluetooth.bundle/PrivacyInfo.xcprivacy /Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy (in target 'AsyncBluetooth_AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth_AsyncBluetooth.bundle
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth_AsyncBluetooth.bundle (in target 'AsyncBluetooth_AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth_AsyncBluetooth.bundle
Touch /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth_AsyncBluetooth.bundle (in target 'AsyncBluetooth_AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
/usr/bin/touch -c /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth_AsyncBluetooth.bundle
SwiftDriver AsyncBluetooth normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name AsyncBluetooth -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.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-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ CentralManagerContext.swift,\ CentralManagerEvent.swift,\ ScanData.swift /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/ScanData.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:33:5: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'PassthroughSubject<CentralManagerEvent, Never>'; this is an error in the Swift 6 language mode
nonisolated let eventSubject = PassthroughSubject<CentralManagerEvent, Never>()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:35:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var waitUntilReadyExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:41:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var scanForPeripheralsExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:47:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var connectToPeripheralExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:53:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var cancelPeripheralConnectionExecutor = {
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerEvent.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/ScanData.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ CharacteristicValueUpdateEventData.swift,\ Descriptor.swift,\ Characteristic+DataConversion.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/CharacteristicValueUpdateEventData.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Descriptor.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/Characteristic+DataConversion.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/CharacteristicValueUpdateEventData.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Descriptor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/Characteristic+DataConversion.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ PeripheralDataConvertible.swift,\ BluetoothError.swift,\ Characteristic.swift /Users/admin/builder/spi-builder-workspace/Sources/DataConversion/PeripheralDataConvertible.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/BluetoothError.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Characteristic.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DataConversion/PeripheralDataConvertible.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/BluetoothError.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/BluetoothError.swift:13:10: warning: associated value 'bluetoothUnavailable' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'BluetoothUnavailableReason'; this is an error in the Swift 6 language mode
case bluetoothUnavailable(BluetoothUnavailableReason)
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/BluetoothError.swift:5:13: note: consider making enum 'BluetoothUnavailableReason' conform to the 'Sendable' protocol
public enum BluetoothUnavailableReason {
^
: Sendable
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Characteristic.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ CharacteristicValueUpdateData+DataConversion.swift,\ Peripheral+ReadWrite.swift,\ Peripheral.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/CharacteristicValueUpdateData+DataConversion.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/Peripheral+ReadWrite.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Peripheral.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/CharacteristicValueUpdateData+DataConversion.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Extensions/Peripheral+ReadWrite.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Peripheral.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Peripheral.swift:19:26: warning: non-sendable type 'PassthroughSubject<CharacteristicValueUpdateEventData, Never>' of property 'characteristicValueUpdatedSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.characteristicValueUpdatedSubject.eraseToAnyPublisher()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Peripheral.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Peripheral.swift:26:26: warning: non-sendable type 'PassthroughSubject<[Service], Never>' of property 'invalidatedServicesSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.invalidatedServicesSubject.eraseToAnyPublisher()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
SwiftCompile normal arm64 Compiling\ PeripheralContext.swift,\ PeripheralDelegate.swift,\ Service.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Service.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:9:5: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'PassthroughSubject<CharacteristicValueUpdateEventData, Never>'; this is an error in the Swift 6 language mode
nonisolated let characteristicValueUpdatedSubject = PassthroughSubject<CharacteristicValueUpdateEventData, Never>()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:10:5: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'PassthroughSubject<[Service], Never>'; this is an error in the Swift 6 language mode
nonisolated let invalidatedServicesSubject = PassthroughSubject<[Service], Never>()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:20:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverServiceExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:26:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverIncludedServicesExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:32:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverCharacteristicsExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:38:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var readCharacteristicValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:44:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var writeCharacteristicValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:50:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var setNotifyValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:56:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverDescriptorsExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:62:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var readDescriptorValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:68:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var writeDescriptorValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:74:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var openL2CAPChannelExecutor = {
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:71:25: warning: non-sendable type 'PassthroughSubject<CharacteristicValueUpdateEventData, Never>' of property 'characteristicValueUpdatedSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.characteristicValueUpdatedSubject.send(eventData)
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:172:22: warning: non-sendable type 'PassthroughSubject<[Service], Never>' of property 'invalidatedServicesSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.invalidatedServicesSubject.send(invalidatedServices.map { Service($0) })
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:42:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:46:21: note: closure captures 'service' which is accessible to code in the current task
service.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:55:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:59:21: note: closure captures 'service' which is accessible to code in the current task
service.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:74:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:78:21: note: closure captures 'characteristic' which is accessible to code in the current task
characteristic.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:88:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:92:21: note: closure captures 'characteristic' which is accessible to code in the current task
characteristic.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:105:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:109:21: note: closure captures 'characteristic' which is accessible to code in the current task
characteristic.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:122:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:126:21: note: closure captures 'characteristic' which is accessible to code in the current task
characteristic.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:135:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:139:21: note: closure captures 'descriptor' which is accessible to code in the current task
descriptor.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:148:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:152:21: note: closure captures 'descriptor' which is accessible to code in the current task
descriptor.uuid, result: result
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:161:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:163:56: note: closure captures 'channel' which is accessible to code in the current task
let result = CallbackUtils.result(for: channel, error: error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:164:65: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
try await self.context.openL2CAPChannelExecutor.setWorkCompletedWithResult(result)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralDelegate.swift:164:65: note: sending task-isolated 'result' to actor-isolated instance method 'setWorkCompletedWithResult' risks causing data races between actor-isolated and task-isolated uses
try await self.context.openL2CAPChannelExecutor.setWorkCompletedWithResult(result)
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Peripheral/Service.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ AsyncBluetoothLogging.swift,\ AsyncExecutorMap.swift,\ AsyncSerialExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private(set) static var isEnabled = true
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
private(set) static var isEnabled = true
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
private(set) static var isEnabled = true
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private(set) static var isEnabled = true
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:10:24: warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var loggers: [String: Logger] = [:]
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:10:24: note: convert 'loggers' to a 'let' constant to make 'Sendable' shared state immutable
private static var loggers: [String: Logger] = [:]
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:10:24: note: add '@MainActor' to make static property 'loggers' part of global actor 'MainActor'
private static var loggers: [String: Logger] = [:]
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:10:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var loggers: [String: Logger] = [:]
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:35:35: warning: non-sendable result type 'Value' cannot be sent from actor-isolated context in call to instance method 'enqueue'; this is an error in the Swift 6 language mode
return try await executor.enqueue(block)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:9:29: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
actor AsyncExecutorMap<Key, Value> where Key: Hashable {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:31:28: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
self.executors[key] = executor
^~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:31:28: note: 'self'-isolated 'key' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
self.executors[key] = executor
^~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:35:35: note: access can happen concurrently
return try await executor.enqueue(block)
~~~~~~~~~^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:35:35: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
return try await executor.enqueue(block)
~~~~~~~~~^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:35:35: note: sending 'self'-isolated 'block' to actor-isolated instance method 'enqueue' risks causing data races between actor-isolated and 'self'-isolated uses
return try await executor.enqueue(block)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:44:28: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
try await executor.setWorkCompletedWithResult(result)
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:44:28: note: sending 'self'-isolated 'result' to actor-isolated instance method 'setWorkCompletedWithResult' risks causing data races between actor-isolated and 'self'-isolated uses
try await executor.setWorkCompletedWithResult(result)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:57:24: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
await executor.flush(result)
~~~~~~~~~^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncExecutorMap.swift:57:24: note: sending 'self'-isolated 'result' to actor-isolated instance method 'flush' risks causing data races between actor-isolated and 'self'-isolated uses
await executor.flush(result)
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:54:71: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
self.queue.append(QueuedWork(id: queuedWorkID, block: block, continuation: continuation))
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:54:71: note: 'self'-isolated 'block' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
self.queue.append(QueuedWork(id: queuedWorkID, block: block, continuation: continuation))
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:52:26: note: access can happen concurrently
return try await withTaskCancellationHandler {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:74:34: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
currentWork.continuation.resume(with: result)
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:74:34: note: 'self'-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
currentWork.continuation.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:84:40: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
self.currentWork?.continuation.resume(with: result)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:84:40: note: 'self'-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
self.currentWork?.continuation.resume(with: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:87:41: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
queue.forEach { $0.continuation.resume(with: result) }
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutor.swift:87:41: note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
queue.forEach { $0.continuation.resume(with: result) }
^
SwiftCompile normal arm64 Compiling\ AsyncSerialExecutorConstants.swift,\ CallbackUtils.swift,\ CentralManagerUtils.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutorConstants.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/CallbackUtils.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/CentralManagerUtils.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncSerialExecutorConstants.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/CallbackUtils.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/CentralManagerUtils.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ AsyncExecutor+Flushable.swift,\ CBUUID+Sendable.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/Extensions/AsyncExecutor+Flushable.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/Extensions/CBUUID+Sendable.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/Extensions/AsyncExecutor+Flushable.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/Extensions/CBUUID+Sendable.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ AsyncBluetooth (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
EmitSwiftModule normal arm64 (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:238:24: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var logger: Logger = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:238:24: note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
private static var logger: Logger = {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:238:24: note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
private static var logger: Logger = {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:238:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var logger: Logger = {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:33:5: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'PassthroughSubject<CentralManagerEvent, Never>'; this is an error in the Swift 6 language mode
nonisolated let eventSubject = PassthroughSubject<CentralManagerEvent, Never>()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:35:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var waitUntilReadyExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:41:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var scanForPeripheralsExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:47:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var connectToPeripheralExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:53:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var cancelPeripheralConnectionExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/BluetoothError.swift:13:10: warning: associated value 'bluetoothUnavailable' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'BluetoothUnavailableReason'; this is an error in the Swift 6 language mode
case bluetoothUnavailable(BluetoothUnavailableReason)
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/BluetoothError.swift:5:13: note: consider making enum 'BluetoothUnavailableReason' conform to the 'Sendable' protocol
public enum BluetoothUnavailableReason {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:9:5: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'PassthroughSubject<CharacteristicValueUpdateEventData, Never>'; this is an error in the Swift 6 language mode
nonisolated let characteristicValueUpdatedSubject = PassthroughSubject<CharacteristicValueUpdateEventData, Never>()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:10:5: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'PassthroughSubject<[Service], Never>'; this is an error in the Swift 6 language mode
nonisolated let invalidatedServicesSubject = PassthroughSubject<[Service], Never>()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:20:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverServiceExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:26:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverIncludedServicesExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:32:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverCharacteristicsExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:38:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var readCharacteristicValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:44:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var writeCharacteristicValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:50:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var setNotifyValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:56:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var discoverDescriptorsExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:62:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var readDescriptorValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:68:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var writeDescriptorValueExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Peripheral/PeripheralContext.swift:74:27: warning: actor-isolated default value in a actor-isolated context; this is an error in the Swift 6 language mode
private(set) lazy var openL2CAPChannelExecutor = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private(set) static var isEnabled = true
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
private(set) static var isEnabled = true
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
private(set) static var isEnabled = true
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:8:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private(set) static var isEnabled = true
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:10:24: warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var loggers: [String: Logger] = [:]
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:10:24: note: convert 'loggers' to a 'let' constant to make 'Sendable' shared state immutable
private static var loggers: [String: Logger] = [:]
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:10:24: note: add '@MainActor' to make static property 'loggers' part of global actor 'MainActor'
private static var loggers: [String: Logger] = [:]
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Utils/AsyncBluetoothLogging.swift:10:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var loggers: [String: Logger] = [:]
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:47:5: warning: non-sendable parameter type 'Self.ArrayLiteralElement...' cannot be sent from caller of protocol requirement 'init(arrayLiteral:)' into nonisolated implementation; this is an error in the Swift 6 language mode
init(arrayLiteral elements: Element...) {
^
SwiftCompile normal arm64 Compiling\ FlushableExecutor.swift,\ ThreadSafeArray.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/FlushableExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/FlushableExecutor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:47:5: warning: non-sendable parameter type 'Self.ArrayLiteralElement...' cannot be sent from caller of protocol requirement 'init(arrayLiteral:)' into nonisolated implementation; this is an error in the Swift 6 language mode
init(arrayLiteral elements: Element...) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:35:50: warning: non-sendable type '[Element]' of property 'array' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
iterator = await threadSafeArray.array.makeIterator()
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:5:23: note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
actor ThreadSafeArray<Element> {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:14:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:15:31: note: closure captures 'element' which is accessible to code in the current task
await self.append(element)
^
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:15:24: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
await self.append(element)
~~~~~^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Utils/ThreadSafeArray.swift:15:24: note: sending task-isolated 'element' to actor-isolated instance method 'append' risks causing data races between actor-isolated and task-isolated uses
await self.append(element)
^
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift,\ AsyncBluetooth.swift,\ CentralManager.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncBluetooth.swift /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/DerivedSources/resource_bundle_accessor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncBluetooth.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:238:24: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var logger: Logger = {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:238:24: note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
private static var logger: Logger = {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:238:24: note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
private static var logger: Logger = {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:238:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var logger: Logger = {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:37:26: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.eraseToAnyPublisher()
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:243:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(.didUpdateState(state: central.state))
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:253:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(.willRestoreState(state: dict))
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:264:32: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
advertisementData: advertisementData,
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:293:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:315:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:364:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:386:22: warning: non-sendable type 'PassthroughSubject<CentralManagerEvent, Never>' of property 'eventSubject' cannot exit nonisolated context; this is an error in the Swift 6 language mode
self.context.eventSubject.send(
^
Combine.PassthroughSubject:2:20: note: generic class 'PassthroughSubject' does not conform to the 'Sendable' protocol
final public class PassthroughSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:222:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:225:95: note: closure captures 'options' which is accessible to code in the current task
self.cbCentralManager.scanForPeripherals(withServices: serviceUUIDs, options: options)
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:245:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:248:19: note: closure captures 'self' which is accessible to code in the current task
await self.context.waitUntilReadyExecutor.flush(isBluetoothReadyResult)
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:268:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:269:44: note: closure captures 'self' which is accessible to code in the current task
guard let continuation = await self.context.scanForPeripheralsContext.continuation else {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:281:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:285:27: note: closure captures 'self' which is accessible to code in the current task
try await self.context.connectToPeripheralExecutor.setWorkCompletedForKey(
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:326:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:332:27: note: closure captures 'self' which is accessible to code in the current task
try await self.context.connectToPeripheralExecutor.setWorkCompletedForKey(
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:350:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:355:27: note: closure captures 'self' which is accessible to code in the current task
try await self.context.cancelPeripheralConnectionExecutor.setWorkCompletedForKey(
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:374:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManager.swift:377:27: note: closure captures 'self' which is accessible to code in the current task
try await self.context.cancelPeripheralConnectionExecutor.setWorkCompletedForKey(
^
SwiftDriverJobDiscovery normal arm64 Emitting module for AsyncBluetooth (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriver\ Compilation\ Requirements AsyncBluetooth normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name AsyncBluetooth -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.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-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Compiling FlushableExecutor.swift, ThreadSafeArray.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/AsyncBluetooth-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth-Swift.h (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/AsyncBluetooth-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth.swiftmodule/arm64-apple-xros.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftmodule (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth.swiftmodule/arm64-apple-xros.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth.swiftmodule/arm64-apple-xros.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftdoc (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth.swiftmodule/arm64-apple-xros.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth.swiftmodule/arm64-apple-xros.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.abi.json (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth.swiftmodule/arm64-apple-xros.abi.json
SwiftDriverJobDiscovery normal arm64 Compiling AsyncExecutor+Flushable.swift, CBUUID+Sendable.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftsourceinfo (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo
SwiftDriverJobDiscovery normal arm64 Compiling PeripheralDataConvertible.swift, BluetoothError.swift, Characteristic.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal arm64 Compiling CharacteristicValueUpdateEventData.swift, Descriptor.swift, Characteristic+DataConversion.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal arm64 Compiling CentralManagerContext.swift, CentralManagerEvent.swift, ScanData.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal arm64 Compiling resource_bundle_accessor.swift, AsyncBluetooth.swift, CentralManager.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal arm64 Compiling AsyncSerialExecutorConstants.swift, CallbackUtils.swift, CentralManagerUtils.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal arm64 Compiling AsyncBluetoothLogging.swift, AsyncExecutorMap.swift, AsyncSerialExecutor.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal arm64 Compiling CharacteristicValueUpdateData+DataConversion.swift, Peripheral+ReadWrite.swift, Peripheral.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriverJobDiscovery normal arm64 Compiling PeripheralContext.swift, PeripheralDelegate.swift, Service.swift (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
SwiftDriver\ Compilation AsyncBluetooth normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name AsyncBluetooth -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.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-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth.o normal (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-xros1.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/xros -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth.o
ExtractAppIntentsMetadata (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --module-name AsyncBluetooth --sdk-root /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk --xcode-version 16E140 --platform-family xrOS --deployment-target 1.0 --bundle-identifier spi-builder-workspace.AsyncBluetooth --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth.appintents --target-triple arm64-apple-xros1.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/AsyncBluetooth.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/AsyncBluetooth.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncBluetooth.build/Debug-xros/AsyncBluetooth.build/Objects-normal/arm64/AsyncBluetooth.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --validate-assistant-intents --no-app-shortcuts-localization
2025-08-21 11:07:22.867 appintentsmetadataprocessor[729:4167] Starting appintentsmetadataprocessor export
2025-08-21 11:07:22.904 appintentsmetadataprocessor[729:4167] Extracted no relevant App Intents symbols, skipping writing output
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth.o (in target 'AsyncBluetooth' from project 'AsyncBluetooth')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AsyncBluetooth.o
** BUILD SUCCEEDED **
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AsyncBluetooth",
"name" : "AsyncBluetooth",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "AsyncBluetooth",
"targets" : [
"AsyncBluetooth"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "AsyncBluetoothTests",
"module_type" : "SwiftTarget",
"name" : "AsyncBluetoothTests",
"path" : "Tests",
"sources" : [
"AsyncExecutorMapTests.swift",
"AsyncSerailExecutorTests.swift",
"CentralManagerUtilsTests.swift",
"PeripheralDataConversionTests.swift"
],
"target_dependencies" : [
"AsyncBluetooth"
],
"type" : "test"
},
{
"c99name" : "AsyncBluetooth",
"module_type" : "SwiftTarget",
"name" : "AsyncBluetooth",
"path" : "Sources",
"product_memberships" : [
"AsyncBluetooth"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AsyncBluetooth.swift",
"CentralManager/CentralManager.swift",
"CentralManager/CentralManagerContext.swift",
"CentralManager/CentralManagerEvent.swift",
"CentralManager/ScanData.swift",
"DataConversion/PeripheralDataConvertible.swift",
"Peripheral/BluetoothError.swift",
"Peripheral/Characteristic.swift",
"Peripheral/CharacteristicValueUpdateEventData.swift",
"Peripheral/Descriptor.swift",
"Peripheral/Extensions/Characteristic+DataConversion.swift",
"Peripheral/Extensions/CharacteristicValueUpdateData+DataConversion.swift",
"Peripheral/Extensions/Peripheral+ReadWrite.swift",
"Peripheral/Peripheral.swift",
"Peripheral/PeripheralContext.swift",
"Peripheral/PeripheralDelegate.swift",
"Peripheral/Service.swift",
"Utils/AsyncBluetoothLogging.swift",
"Utils/AsyncExecutorMap.swift",
"Utils/AsyncSerialExecutor.swift",
"Utils/AsyncSerialExecutorConstants.swift",
"Utils/CallbackUtils.swift",
"Utils/CentralManagerUtils.swift",
"Utils/Extensions/AsyncExecutor+Flushable.swift",
"Utils/Extensions/CBUUID+Sendable.swift",
"Utils/FlushableExecutor.swift",
"Utils/ThreadSafeArray.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.