The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of bluetooth-law-energy-swift, reference 1.1.2 (b67f7a), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 16:47:13 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftuiux/bluetooth-law-energy-swift.git
Reference: 1.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftuiux/bluetooth-law-energy-swift
 * tag               1.1.2      -> FETCH_HEAD
HEAD is now at b67f7ad Update README.md
Cloned https://github.com/swiftuiux/bluetooth-law-energy-swift.git
Revision (git rev-parse @):
b67f7ad04f85efcb5d2ede70c30dd57c9e02736c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftuiux/bluetooth-law-energy-swift.git at 1.1.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftuiux/bluetooth-law-energy-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/7] Compiling retry_policy_service DispatchTimeInterval.swift
[5/7] Compiling retry_policy_service Strategy.swift
[6/7] Emitting module retry_policy_service
[7/7] Compiling retry_policy_service RetryService.swift
[8/24] Compiling bluetooth_law_energy_swift State.swift
[9/25] Compiling bluetooth_law_energy_swift StreamFactory.swift
[10/25] Emitting module bluetooth_law_energy_swift
[11/25] Compiling bluetooth_law_energy_swift BLEState.swift
[12/25] Compiling bluetooth_law_energy_swift IBluetoothLEManager.swift
[13/25] Compiling bluetooth_law_energy_swift CacheServices.swift
[14/25] Compiling bluetooth_law_energy_swift ServiceRegistration.swift
[15/25] Compiling bluetooth_law_energy_swift Errors.swift
[16/25] Compiling bluetooth_law_energy_swift ServiceType.swift
[17/25] Compiling bluetooth_law_energy_swift BluetoothLEManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/bluetooth-law-energy-swift/BluetoothLEManager.swift:215:26: warning: main actor-isolated property 'bleState' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 16 |     /// A subject that publishes the BLE state changes to the main actor.
 17 |     @MainActor
 18 |     public let bleState: CurrentValueSubject<BLEState, Never> = .init(.init())
    |                `- note: property declared here
 19 |
 20 |     /// Internal state variables
    :
213 |                 guard let self = self else { return }
214 |                     let state = self.checkForScan(state, subscriberCount)
215 |                     self.bleState.send(state)
    |                          `- warning: main actor-isolated property 'bleState' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
216 |             }
217 |             .store(in: &cancellables)
[18/25] Compiling bluetooth_law_energy_swift Publisher+.swift
/Users/admin/builder/spi-builder-workspace/Sources/bluetooth-law-energy-swift/BluetoothLEManager.swift:215:26: warning: main actor-isolated property 'bleState' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 16 |     /// A subject that publishes the BLE state changes to the main actor.
 17 |     @MainActor
 18 |     public let bleState: CurrentValueSubject<BLEState, Never> = .init(.init())
    |                `- note: property declared here
 19 |
 20 |     /// Internal state variables
    :
213 |                 guard let self = self else { return }
214 |                     let state = self.checkForScan(state, subscriberCount)
215 |                     self.bleState.send(state)
    |                          `- warning: main actor-isolated property 'bleState' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
216 |             }
217 |             .store(in: &cancellables)
[19/25] Compiling bluetooth_law_energy_swift CBPeripheral+.swift
[20/25] Compiling bluetooth_law_energy_swift Task+.swift
[21/25] Compiling bluetooth_law_energy_swift BluetoothDelegate.swift
[22/25] Compiling bluetooth_law_energy_swift PeripheralDelegate.swift
[23/25] Compiling bluetooth_law_energy_swift ILogger.swift
[24/25] Compiling bluetooth_law_energy_swift AppleLogger.swift
[25/25] Compiling bluetooth_law_energy_swift StreamRegistration.swift
Build complete! (7.34s)
Fetching https://github.com/swiftuiux/retry-policy-service.git
[1/101] Fetching retry-policy-service
Fetched https://github.com/swiftuiux/retry-policy-service.git from cache (0.59s)
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.10s)
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
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.