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 AsyncBluetooth, reference main (cc2d86), with Swift 6.0 for macOS (SPM) on 21 Aug 2025 18:07:10 UTC.

Swift 6 data race errors: 0

Build Command

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

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:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/manolofdez/AsyncBluetooth.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/30] Emitting module AsyncBluetooth
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:29:13: warning: no 'async' operations occur within 'await' expression
27 |     private(set) lazy var scanForPeripheralsContext = ScanForPeripheralsContext { [weak self] isScanning in
28 |         Task { [weak self] in
29 |             await self?.updateIsScanning(isScanning)
   |             `- warning: no 'async' operations occur within 'await' expression
30 |         }
31 |     }
[5/32] Compiling AsyncBluetooth ThreadSafeArray.swift
[6/32] Compiling AsyncBluetooth resource_bundle_accessor.swift
[7/32] Compiling AsyncBluetooth Descriptor.swift
[8/32] Compiling AsyncBluetooth Characteristic+DataConversion.swift
[9/32] Compiling AsyncBluetooth CharacteristicValueUpdateData+DataConversion.swift
[10/32] Compiling AsyncBluetooth CallbackUtils.swift
[11/32] Compiling AsyncBluetooth CentralManagerUtils.swift
[12/32] Compiling AsyncBluetooth AsyncExecutor+Flushable.swift
[13/32] Compiling AsyncBluetooth CBUUID+Sendable.swift
[14/32] Compiling AsyncBluetooth FlushableExecutor.swift
[15/32] Compiling AsyncBluetooth AsyncBluetooth.swift
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:29:13: warning: no 'async' operations occur within 'await' expression
27 |     private(set) lazy var scanForPeripheralsContext = ScanForPeripheralsContext { [weak self] isScanning in
28 |         Task { [weak self] in
29 |             await self?.updateIsScanning(isScanning)
   |             `- warning: no 'async' operations occur within 'await' expression
30 |         }
31 |     }
[16/32] Compiling AsyncBluetooth CentralManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:29:13: warning: no 'async' operations occur within 'await' expression
27 |     private(set) lazy var scanForPeripheralsContext = ScanForPeripheralsContext { [weak self] isScanning in
28 |         Task { [weak self] in
29 |             await self?.updateIsScanning(isScanning)
   |             `- warning: no 'async' operations occur within 'await' expression
30 |         }
31 |     }
[17/32] Compiling AsyncBluetooth CentralManagerContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/CentralManager/CentralManagerContext.swift:29:13: warning: no 'async' operations occur within 'await' expression
27 |     private(set) lazy var scanForPeripheralsContext = ScanForPeripheralsContext { [weak self] isScanning in
28 |         Task { [weak self] in
29 |             await self?.updateIsScanning(isScanning)
   |             `- warning: no 'async' operations occur within 'await' expression
30 |         }
31 |     }
[18/32] Compiling AsyncBluetooth Peripheral+ReadWrite.swift
[19/32] Compiling AsyncBluetooth Peripheral.swift
[20/32] Compiling AsyncBluetooth PeripheralContext.swift
[21/32] Compiling AsyncBluetooth AsyncExecutorMap.swift
[22/32] Compiling AsyncBluetooth AsyncSerialExecutor.swift
[23/32] Compiling AsyncBluetooth AsyncSerialExecutorConstants.swift
[24/32] Compiling AsyncBluetooth PeripheralDelegate.swift
[25/32] Compiling AsyncBluetooth Service.swift
[26/32] Compiling AsyncBluetooth AsyncBluetoothLogging.swift
[27/32] Compiling AsyncBluetooth BluetoothError.swift
[28/32] Compiling AsyncBluetooth Characteristic.swift
[29/32] Compiling AsyncBluetooth CharacteristicValueUpdateEventData.swift
[30/32] Compiling AsyncBluetooth CentralManagerEvent.swift
[31/32] Compiling AsyncBluetooth ScanData.swift
[32/32] Compiling AsyncBluetooth PeripheralDataConvertible.swift
Build complete! (6.13s)
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.