Build Information
Successful build of bluetooth-law-energy-swift, reference main (607f6b), with Swift 6.4 for macOS (SPM) on 22 Sep 2026 20:58:16 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftuiux/bluetooth-law-energy-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftuiux/bluetooth-law-energy-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 607f6b6 Update README.md
Cloned https://github.com/swiftuiux/bluetooth-law-energy-swift.git
Revision (git rev-parse @):
607f6b662ee58458d1c2bab018cec8fa8b0adb8d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftuiux/bluetooth-law-energy-swift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/swiftuiux/bluetooth-law-energy-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 96]
[Planning deferred tasks]
[25 / 42]
[26 / 43] retry-policy-service
[36 / 81]
[41 / 81]
[44 / 81]
[45 / 81]
[49 / 81]
[51 / 81]
[54 / 81]
[57 / 81]
[59 / 81]
[60 / 81]
[64 / 81] retry-policy-service
[71 / 82] bluetooth-law-energy-swift
[74 / 96]
[82 / 96] bluetooth-law-energy-swift
[83 / 96] bluetooth-law-energy-swift
[85 / 96] bluetooth-law-energy-swift
[93 / 96] bluetooth-law-energy-swift
Build complete! (8.06 sec)
Fetching https://github.com/swiftuiux/retry-policy-service.git
[1/101] Fetching retry-policy-service
Fetched https://github.com/swiftuiux/retry-policy-service.git (1.25s)
Computing version for https://github.com/swiftuiux/retry-policy-service.git
Computed https://github.com/swiftuiux/retry-policy-service.git at 1.0.1 (1.96s)
Creating working copy for https://github.com/swiftuiux/retry-policy-service.git
Working copy of https://github.com/swiftuiux/retry-policy-service.git resolved at 1.0.1
/Users/admin/builder/spi-builder-workspace/Sources/bluetooth-law-energy-swift/delegate/PeripheralDelegate.swift:50:17: [1;33mwarning: [1;39munstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
[0;36m48 |[0;0m public func discoverServices(for peripheral: CBPeripheral) async throws {
[0;36m49 |[0;0m return try await withCheckedThrowingContinuation { continuation in
[0;36m50 |[0;0m Task{
[0;36m|[0;0m |- [1;33mwarning: [1;39munstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39mto silence this warning, handle the error inside the task, or store/discard the task value explicitly[0;0m
[0;36m51 |[0;0m let id = peripheral.getId
[0;36m52 |[0;0m let name = peripheral.getName
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
/Users/admin/builder/spi-builder-workspace/Sources/bluetooth-law-energy-swift/BluetoothLEManager.swift:147:35: [1;33mwarning: [1;39m'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
[0;36m139 |[0;0m
[0;36m140 |[0;0m return try await withCheckedThrowingContinuation { continuation in
[0;36m141 |[0;0m Task {
[0;36m|[0;0m |- [1;39mnote: [1;39m'self' implicitly strongly captured here[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd 'self' as a capture list item to silence[0;0m
[0;36m142 |[0;0m let id = peripheral.getId
[0;36m143 |[0;0m let name = peripheral.getName
[0;36m:[0;0m
[0;36m145 |[0;0m try await delegateHandler.connect(to: id, name: name, with: continuation)
[0;36m146 |[0;0m try Task.checkCancellation() // ensure early exit if cancelled
[0;36m147 |[0;0m onBLE { [weak self] in
[0;36m|[0;0m |- [1;33mwarning: [1;39m'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39mexplicitly assign the capture list item to silence[0;0m
[0;36m148 |[0;0m guard let self else { return }
[0;36m149 |[0;0m self.centralManager.connect(peripheral, options: nil)
/Users/admin/builder/spi-builder-workspace/Sources/bluetooth-law-energy-swift/BluetoothLEManager.swift:177:35: [1;33mwarning: [1;39m'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
[0;36m169 |[0;0m
[0;36m170 |[0;0m return try await withCheckedThrowingContinuation { continuation in
[0;36m171 |[0;0m Task {
[0;36m|[0;0m |- [1;39mnote: [1;39m'self' implicitly strongly captured here[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd 'self' as a capture list item to silence[0;0m
[0;36m172 |[0;0m let id = peripheral.getId
[0;36m173 |[0;0m let name = peripheral.getName
[0;36m:[0;0m
[0;36m175 |[0;0m try await delegateHandler.disconnect(to: id, name: name, with: continuation)
[0;36m176 |[0;0m try Task.checkCancellation() // ensure early exit if cancelled
[0;36m177 |[0;0m onBLE { [weak self] in
[0;36m|[0;0m |- [1;33mwarning: [1;39m'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39mexplicitly assign the capture list item to silence[0;0m
[0;36m178 |[0;0m guard let self else { return }
[0;36m179 |[0;0m self.centralManager.cancelPeripheralConnection(peripheral)
/Users/admin/builder/spi-builder-workspace/Sources/bluetooth-law-energy-swift/BluetoothLEManager.swift:235:37: [1;33mwarning: [1;39mmain actor-isolated property 'bleState' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode[0;0m
[0;36m16 |[0;0m /// Publishes BLE state changes to the main actor.
[0;36m17 |[0;0m @MainActor
[0;36m18 |[0;0m public let bleState: CurrentValueSubject<BLEState, Never> = .init(.init())
[0;36m|[0;0m `- [1;39mnote: [1;39mproperty declared here[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m /// Internal state flags.
[0;36m:[0;0m
[0;36m233 |[0;0m guard let self = self else { return }
[0;36m234 |[0;0m let result = self.checkForScan(state, subscriberCount)
[0;36m235 |[0;0m let bleState = self.bleState
[0;36m|[0;0m `- [1;33mwarning: [1;39mmain actor-isolated property 'bleState' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode[0;0m
[0;36m236 |[0;0m Task { @MainActor in
[0;36m237 |[0;0m bleState.send(result)
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
Build complete.
{
"dependencies" : [
{
"identity" : "retry-policy-service",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftuiux/retry-policy-service.git"
}
],
"manifest_display_name" : "bluetooth-law-energy-swift",
"name" : "bluetooth-law-energy-swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "bluetooth-law-energy-swift",
"targets" : [
"bluetooth-law-energy-swift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "bluetooth_law_energy_swiftTests",
"module_type" : "SwiftTarget",
"name" : "bluetooth-law-energy-swiftTests",
"path" : "Tests/bluetooth-law-energy-swiftTests",
"sources" : [
"BluetoothLEManagerTests.swift"
],
"target_dependencies" : [
"bluetooth-law-energy-swift"
],
"type" : "test"
},
{
"c99name" : "bluetooth_law_energy_swift",
"module_type" : "SwiftTarget",
"name" : "bluetooth-law-energy-swift",
"path" : "Sources/bluetooth-law-energy-swift",
"product_dependencies" : [
"retry-policy-service"
],
"product_memberships" : [
"bluetooth-law-energy-swift"
],
"sources" : [
"BluetoothLEManager.swift",
"Combine+/Publisher+.swift",
"delegate/BluetoothDelegate.swift",
"delegate/PeripheralDelegate.swift",
"enum/Errors.swift",
"enum/ServiceType.swift",
"ext/CBPeripheral+.swift",
"ext/Task+.swift",
"model/BLEState.swift",
"protocol/IBluetoothLEManager.swift",
"protocol/ILogger.swift",
"service/AppleLogger.swift",
"service/CacheServices.swift",
"service/ServiceRegistration.swift",
"service/State.swift",
"service/StreamFactory.swift",
"service/StreamRegistration.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.