The Swift Package Index logo.Swift Package Index

Build Information

Successful build of iOS-BLE-Library, reference main (ac5a29), with Swift 6.0 for macOS (SPM) on 3 Apr 2026 15:51:32 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.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nordicsemi/IOS-BLE-Library.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nordicsemi/IOS-BLE-Library
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ac5a290 Merge pull request #57 from nordicsemi/readme
Cloned https://github.com/nordicsemi/IOS-BLE-Library.git
Revision (git rev-parse @):
ac5a2902d3b122ec91535d0d2f531fa6ae54962d
SUCCESS checkout https://github.com/nordicsemi/IOS-BLE-Library.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/nordicsemi/IOS-BLE-Library.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/6] Write sources
[5/6] Write swift-version-5BDAB9E9C0126B9D.txt
[7/43] Emitting module iOS_BLE_Library
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:209:11: warning: check `connect` method
207 |
208 | extension CentralManager {
209 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
210 | 	/// Returns a list of the peripherals connected to the system whose
211 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:241:11: warning: Question: Should we throw an error if the scan is already running?
239 |
240 | extension CentralManager {
241 | 	#warning("Question: Should we throw an error if the scan is already running?")
    |           `- warning: Question: Should we throw an error if the scan is already running?
242 | 	/// Initiates a scan for peripherals with the specified services.
243 | 	///
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Publishers/Publishers+FailablePrefix.swift.swift:41:10: warning: Thread safety should be considered
 39 | }
 40 |
 41 | #warning("Thread safety should be considered")
    |          `- warning: Thread safety should be considered
 42 | extension Publishers.PrefixUntilOutputOrCompletion {
 43 | 	private final class Inner<Downstream: Subscriber>: Subscriber, Subscription
[8/45] Compiling iOS_BLE_Library RSSI.swift
[9/45] Compiling iOS_BLE_Library UnimplementedError.swift
[10/45] Compiling CoreBluetoothMock CBMPeripheralDelegateProxy.swift
[11/45] Compiling CoreBluetoothMock CBMPeripheralPreview.swift
[12/46] Compiling iOS_BLE_Library Peripheral+Writer.swift
[13/46] Compiling iOS_BLE_Library Peripheral.swift
[14/46] Compiling CoreBluetoothMock CBMPeripheralSpec.swift
[15/46] Compiling iOS_BLE_Library Publishers+Connectable.swift
[16/46] Compiling iOS_BLE_Library Publishers+FailablePrefix.swift.swift
[17/46] Compiling iOS_BLE_Library PeripheralError.swift
[18/46] Compiling iOS_BLE_Library CBManagerState+Ext.swift
[19/46] Compiling iOS_BLE_Library Publishers+GuestList.swift
[20/46] Compiling iOS_BLE_Library Queue.swift
[21/46] Emitting module CoreBluetoothMock
[22/46] Compiling iOS_BLE_Library Data+Ext.swift.swift
[23/46] Compiling iOS_BLE_Library AsyncCharacteristicData.swift
[24/46] Compiling iOS_BLE_Library CBManagerState.swift
[25/46] Compiling iOS_BLE_Library Publishers+Async.swift
[31/46] Compiling iOS_BLE_Library ReactivePeripheralDelegate.swift
[32/46] Compiling iOS_BLE_Library AdvertisementData.swift
[35/46] Compiling CoreBluetoothMock CBMPeripheralSpecDelegate.swift
[36/46] Compiling iOS_BLE_Library ContinuationSubscriber.swift
[37/46] Compiling iOS_BLE_Library Publishers+Bluetooth.swift
[39/46] Compiling iOS_BLE_Library Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Publishers/Publishers+FailablePrefix.swift.swift:41:10: warning: Thread safety should be considered
 39 | }
 40 |
 41 | #warning("Thread safety should be considered")
    |          `- warning: Thread safety should be considered
 42 | extension Publishers.PrefixUntilOutputOrCompletion {
 43 | 	private final class Inner<Downstream: Subscriber>: Subscriber, Subscription
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Publishers/Publishers+FailablePrefix.swift.swift:41:10: warning: Thread safety should be considered
 39 | }
 40 |
 41 | #warning("Thread safety should be considered")
    |          `- warning: Thread safety should be considered
 42 | extension Publishers.PrefixUntilOutputOrCompletion {
 43 | 	private final class Inner<Downstream: Subscriber>: Subscriber, Subscription
[44/46] Compiling iOS_BLE_Library CentralManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:209:11: warning: check `connect` method
207 |
208 | extension CentralManager {
209 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
210 | 	/// Returns a list of the peripherals connected to the system whose
211 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:241:11: warning: Question: Should we throw an error if the scan is already running?
239 |
240 | extension CentralManager {
241 | 	#warning("Question: Should we throw an error if the scan is already running?")
    |           `- warning: Question: Should we throw an error if the scan is already running?
242 | 	/// Initiates a scan for peripherals with the specified services.
243 | 	///
[45/46] Compiling iOS_BLE_Library ScanResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:209:11: warning: check `connect` method
207 |
208 | extension CentralManager {
209 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
210 | 	/// Returns a list of the peripherals connected to the system whose
211 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:241:11: warning: Question: Should we throw an error if the scan is already running?
239 |
240 | extension CentralManager {
241 | 	#warning("Question: Should we throw an error if the scan is already running?")
    |           `- warning: Question: Should we throw an error if the scan is already running?
242 | 	/// Initiates a scan for peripherals with the specified services.
243 | 	///
[46/46] Compiling iOS_BLE_Library ReactiveCentralManagerDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:209:11: warning: check `connect` method
207 |
208 | extension CentralManager {
209 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
210 | 	/// Returns a list of the peripherals connected to the system whose
211 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:241:11: warning: Question: Should we throw an error if the scan is already running?
239 |
240 | extension CentralManager {
241 | 	#warning("Question: Should we throw an error if the scan is already running?")
    |           `- warning: Question: Should we throw an error if the scan is already running?
242 | 	/// Initiates a scan for peripherals with the specified services.
243 | 	///
[47/69] Emitting module iOS_BLE_Library_Mock
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library-Mock/CentralManager/CentralManager.swift:196:11: warning: check `connect` method
194 |
195 | extension CentralManager {
196 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
197 | 	/// Returns a list of the peripherals connected to the system whose
198 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library-Mock/CentralManager/CentralManager.swift:228:11: warning: Question: Should we throw an error if the scan is already running?
226 |
227 | extension CentralManager {
228 | 	#warning("Question: Should we throw an error if the scan is already running?")
    |           `- warning: Question: Should we throw an error if the scan is already running?
229 | 	/// Initiates a scan for peripherals with the specified services.
230 | 	///
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library-Mock/Utilities/Publishers/Publishers+FailablePrefix.swift.swift:41:10: warning: Thread safety should be considered
 39 | }
 40 |
 41 | #warning("Thread safety should be considered")
    |          `- warning: Thread safety should be considered
 42 | extension Publishers.PrefixUntilOutputOrCompletion {
 43 | 	private final class Inner<Downstream: Subscriber>: Subscriber, Subscription
[48/71] Compiling iOS_BLE_Library_Mock Publishers+Bluetooth.swift
[49/71] Compiling iOS_BLE_Library_Mock Publishers+Connectable.swift
[50/71] Compiling iOS_BLE_Library_Mock Publishers+FailablePrefix.swift.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library-Mock/Utilities/Publishers/Publishers+FailablePrefix.swift.swift:41:10: warning: Thread safety should be considered
 39 | }
 40 |
 41 | #warning("Thread safety should be considered")
    |          `- warning: Thread safety should be considered
 42 | extension Publishers.PrefixUntilOutputOrCompletion {
 43 | 	private final class Inner<Downstream: Subscriber>: Subscriber, Subscription
[51/71] Compiling iOS_BLE_Library_Mock Publishers+GuestList.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library-Mock/Utilities/Publishers/Publishers+FailablePrefix.swift.swift:41:10: warning: Thread safety should be considered
 39 | }
 40 |
 41 | #warning("Thread safety should be considered")
    |          `- warning: Thread safety should be considered
 42 | extension Publishers.PrefixUntilOutputOrCompletion {
 43 | 	private final class Inner<Downstream: Subscriber>: Subscriber, Subscription
[52/71] Compiling iOS_BLE_Library_Mock Alias.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library-Mock/CentralManager/CentralManager.swift:196:11: warning: check `connect` method
194 |
195 | extension CentralManager {
196 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
197 | 	/// Returns a list of the peripherals connected to the system whose
198 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library-Mock/CentralManager/CentralManager.swift:228:11: warning: Question: Should we throw an error if the scan is already running?
226 |
227 | extension CentralManager {
228 | 	#warning("Question: Should we throw an error if the scan is already running?")
    |           `- warning: Question: Should we throw an error if the scan is already running?
229 | 	/// Initiates a scan for peripherals with the specified services.
230 | 	///
[53/71] Compiling iOS_BLE_Library_Mock CentralManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library-Mock/CentralManager/CentralManager.swift:196:11: warning: check `connect` method
194 |
195 | extension CentralManager {
196 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
197 | 	/// Returns a list of the peripherals connected to the system whose
198 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library-Mock/CentralManager/CentralManager.swift:228:11: warning: Question: Should we throw an error if the scan is already running?
226 |
227 | extension CentralManager {
228 | 	#warning("Question: Should we throw an error if the scan is already running?")
    |           `- warning: Question: Should we throw an error if the scan is already running?
229 | 	/// Initiates a scan for peripherals with the specified services.
230 | 	///
[54/71] Compiling iOS_BLE_Library_Mock ScanResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library-Mock/CentralManager/CentralManager.swift:196:11: warning: check `connect` method
194 |
195 | extension CentralManager {
196 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
197 | 	/// Returns a list of the peripherals connected to the system whose
198 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library-Mock/CentralManager/CentralManager.swift:228:11: warning: Question: Should we throw an error if the scan is already running?
226 |
227 | extension CentralManager {
228 | 	#warning("Question: Should we throw an error if the scan is already running?")
    |           `- warning: Question: Should we throw an error if the scan is already running?
229 | 	/// Initiates a scan for peripherals with the specified services.
230 | 	///
[55/71] Compiling iOS_BLE_Library_Mock RSSI.swift
[56/71] Compiling iOS_BLE_Library_Mock UnimplementedError.swift
[57/71] Compiling iOS_BLE_Library_Mock AsyncCharacteristicData.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library-Mock/Utilities/Extensions/CBManagerState+Ext.swift:21:9: warning: default will never be executed
19 | 		case .poweredOff, .unauthorized, .unsupported:
20 | 			return false
21 |         default:
   |         `- warning: default will never be executed
22 |             return false
23 | 		}
[58/71] Compiling iOS_BLE_Library_Mock CBManagerState.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library-Mock/Utilities/Extensions/CBManagerState+Ext.swift:21:9: warning: default will never be executed
19 | 		case .poweredOff, .unauthorized, .unsupported:
20 | 			return false
21 |         default:
   |         `- warning: default will never be executed
22 |             return false
23 | 		}
[59/71] Compiling iOS_BLE_Library_Mock CBManagerState+Ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library-Mock/Utilities/Extensions/CBManagerState+Ext.swift:21:9: warning: default will never be executed
19 | 		case .poweredOff, .unauthorized, .unsupported:
20 | 			return false
21 |         default:
   |         `- warning: default will never be executed
22 |             return false
23 | 		}
[60/71] Compiling iOS_BLE_Library_Mock Data+Ext.swift.swift
[61/71] Compiling iOS_BLE_Library_Mock Publishers+Async.swift
[62/71] Compiling iOS_BLE_Library_Mock PeripheralError.swift
[63/71] Compiling iOS_BLE_Library_Mock ReactivePeripheralDelegate.swift
[64/71] Compiling iOS_BLE_Library_Mock AdvertisementData.swift
[65/71] Compiling iOS_BLE_Library_Mock Publishers+Peripheral.swift
[66/71] Compiling iOS_BLE_Library_Mock Queue.swift
[67/71] Compiling iOS_BLE_Library_Mock Logger.swift
[68/71] Compiling iOS_BLE_Library_Mock ContinuationSubscriber.swift
[69/71] Compiling iOS_BLE_Library_Mock ReactiveCentralManagerDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library-Mock/Peripheral/Peripheral.swift:60:23: warning: queue can be not only main
 58 |      override func setup() {
 59 |          observation = peripheral.observe(\.state, options: [.new]) { [weak self] _, change in
 60 |              #warning("queue can be not only main")
    |                       `- warning: queue can be not only main
 61 |              DispatchQueue.main.async {
 62 |                  guard let self else { return }
[70/71] Compiling iOS_BLE_Library_Mock Peripheral+Writer.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library-Mock/Peripheral/Peripheral.swift:60:23: warning: queue can be not only main
 58 |      override func setup() {
 59 |          observation = peripheral.observe(\.state, options: [.new]) { [weak self] _, change in
 60 |              #warning("queue can be not only main")
    |                       `- warning: queue can be not only main
 61 |              DispatchQueue.main.async {
 62 |                  guard let self else { return }
[71/71] Compiling iOS_BLE_Library_Mock Peripheral.swift
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library-Mock/Peripheral/Peripheral.swift:60:23: warning: queue can be not only main
 58 |      override func setup() {
 59 |          observation = peripheral.observe(\.state, options: [.new]) { [weak self] _, change in
 60 |              #warning("queue can be not only main")
    |                       `- warning: queue can be not only main
 61 |              DispatchQueue.main.async {
 62 |                  guard let self else { return }
Build complete! (25.77s)
Fetching https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2217] Fetching swift-docc-plugin
[245/9385] Fetching swift-docc-plugin, ios-corebluetooth-mock
Fetched https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git from cache (1.35s)
[252/2217] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (2.92s)
Computing version for https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Computed https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git at 1.0.4 (0.44s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.57s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.17s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.61s)
Creating working copy for https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Working copy of https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "ios-corebluetooth-mock",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "iOS-BLE-Library",
  "name" : "iOS-BLE-Library",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "iOS-BLE-Library",
      "targets" : [
        "iOS-BLE-Library"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "iOS-BLE-Library-Mock",
      "targets" : [
        "iOS-BLE-Library-Mock"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "iOS_BLE_Library_Mock",
      "module_type" : "SwiftTarget",
      "name" : "iOS-BLE-Library-Mock",
      "path" : "Sources/iOS-BLE-Library-Mock",
      "product_dependencies" : [
        "CoreBluetoothMock"
      ],
      "product_memberships" : [
        "iOS-BLE-Library-Mock"
      ],
      "sources" : [
        "Alias.swift",
        "CentralManager/CentralManager.swift",
        "CentralManager/Model/ScanResult.swift",
        "CentralManager/ReactiveCentralManagerDelegate.swift",
        "Peripheral/Peripheral+Writer.swift",
        "Peripheral/Peripheral.swift",
        "Peripheral/PeripheralError.swift",
        "Peripheral/ReactivePeripheralDelegate.swift",
        "Utilities/AdvertisementData.swift",
        "Utilities/AsyncCharacteristicData.swift",
        "Utilities/CBManagerState.swift",
        "Utilities/Extensions/CBManagerState+Ext.swift",
        "Utilities/Extensions/Data+Ext.swift.swift",
        "Utilities/Extensions/Publishers+Async.swift",
        "Utilities/Logger.swift",
        "Utilities/Publishers/ContinuationSubscriber.swift",
        "Utilities/Publishers/Publishers+Bluetooth.swift",
        "Utilities/Publishers/Publishers+Connectable.swift",
        "Utilities/Publishers/Publishers+FailablePrefix.swift.swift",
        "Utilities/Publishers/Publishers+GuestList.swift",
        "Utilities/Publishers/Publishers+Peripheral.swift",
        "Utilities/Queue.swift",
        "Utilities/RSSI.swift",
        "Utilities/UnimplementedError.swift"
      ],
      "target_dependencies" : [
        "iOS-BLE-Library"
      ],
      "type" : "library"
    },
    {
      "c99name" : "iOS_BLE_Library",
      "module_type" : "SwiftTarget",
      "name" : "iOS-BLE-Library",
      "path" : "Sources/iOS-BLE-Library",
      "product_memberships" : [
        "iOS-BLE-Library",
        "iOS-BLE-Library-Mock"
      ],
      "sources" : [
        "CentralManager/CentralManager.swift",
        "CentralManager/Model/ScanResult.swift",
        "CentralManager/ReactiveCentralManagerDelegate.swift",
        "Peripheral/Peripheral+Writer.swift",
        "Peripheral/Peripheral.swift",
        "Peripheral/PeripheralError.swift",
        "Peripheral/ReactivePeripheralDelegate.swift",
        "Utilities/AdvertisementData.swift",
        "Utilities/AsyncCharacteristicData.swift",
        "Utilities/CBManagerState.swift",
        "Utilities/Extensions/CBManagerState+Ext.swift",
        "Utilities/Extensions/Data+Ext.swift.swift",
        "Utilities/Extensions/Publishers+Async.swift",
        "Utilities/Logger.swift",
        "Utilities/Publishers/ContinuationSubscriber.swift",
        "Utilities/Publishers/Publishers+Bluetooth.swift",
        "Utilities/Publishers/Publishers+Connectable.swift",
        "Utilities/Publishers/Publishers+FailablePrefix.swift.swift",
        "Utilities/Publishers/Publishers+GuestList.swift",
        "Utilities/Queue.swift",
        "Utilities/RSSI.swift",
        "Utilities/UnimplementedError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.