The Swift Package Index logo.Swift Package Index

Build Information

Successful build of iOS-BLE-Library, reference main (72d0e1), with Swift 6.4 for macOS (SPM) on 1 Nov 2026 08:48:45 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
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 72d0e1e Merge pull request #72 from nordicsemi/renovate/nordicsemi-ios-corebluetooth-mock-1.x
Cloned https://github.com/nordicsemi/IOS-BLE-Library.git
Revision (git rev-parse @):
72d0e1e8b1046483901c9fbd0ede1f916d23dea7
SUCCESS checkout https://github.com/nordicsemi/IOS-BLE-Library.git at main
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetching https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
[142/11371] Fetching swift-docc-plugin, ios-corebluetooth-mock
[327/15221] Fetching swift-docc-plugin, ios-corebluetooth-mock, swift-docc-symbolkit
Fetched https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git (2.96s)
Fetched https://github.com/swiftlang/swift-docc-symbolkit (2.96s)
Fetched https://github.com/apple/swift-docc-plugin (2.96s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (3.66s)
Computing version for https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git
Computed https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git at 1.1.0 (0.57s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.73s)
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
Creating working copy for https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git
Working copy of https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "ios-ble-library",
      "name": "iOS-BLE-Library",
      "url": "https://github.com/nordicsemi/IOS-BLE-Library.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IOS-BLE-Library",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "ios-corebluetooth-mock",
          "name": "CoreBluetoothMock",
          "url": "https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git",
          "version": "1.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IOS-CoreBluetooth-Mock",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/nordicsemi/IOS-BLE-Library.git
[1/5080] Fetching ios-ble-library
Fetched https://github.com/nordicsemi/IOS-BLE-Library.git (1.48s)
Fetching https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git from cache
Fetched https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git from cache (0.56s)
Computing version for https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git
Computed https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git at 1.1.0 (0.62s)
Creating working copy for https://github.com/nordicsemi/IOS-BLE-Library.git
Working copy of https://github.com/nordicsemi/IOS-BLE-Library.git resolved at main (72d0e1e)
Creating working copy for https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git
Working copy of https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git resolved at 1.1.0
Found 1 product dependencies
  - CoreBluetoothMock
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/nordicsemi/IOS-BLE-Library.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[39 / 92]
[42 / 95] MockGeneratorTool-product
[52 / 156]
[57 / 156]
[61 / 156]
[62 / 156]
[66 / 156]
[68 / 156]
[71 / 156]
[75 / 156]
[77 / 156]
[78 / 156]
[90 / 156] iOS-BLE-Library
[91 / 156] MockGeneratorTool-product
[101 / 156] CoreBluetoothMock
[115 / 156] iOS-BLE-Library-product
[118 / 156] iOS-BLE-Library
[119 / 156] MockGeneratorTool-product
[122 / 156] CoreBluetoothMock
[133 / 156] iOS-BLE-Library
[148 / 157] iOS-BLE-Library-Mock
[159 / 168] iOS-BLE-Library-Mock
[165 / 168] iOS-BLE-Library-Mock
Build complete! (9.69 sec)
warning: /Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:206:11 check `connect` method
warning: /Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:238:11 Question: Should we throw an error if the scan is already running?
warning: /Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/Utilities/Publishers/Publishers+FailablePrefix.swift.swift:41:10 Thread safety should be considered
/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/CentralManager/CentralManager.swift:206:11: warning: check `connect` method
204 |
205 | extension CentralManager {
206 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
207 | 	/// Returns a list of the peripherals connected to the system whose
208 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:238:11: warning: Question: Should we throw an error if the scan is already running?
236 |
237 | extension CentralManager {
238 | 	#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?
239 | 	/// Initiates a scan for peripherals with the specified services.
240 | 	///
/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/CentralManager/CentralManager.swift:206:11: warning: check `connect` method
204 |
205 | extension CentralManager {
206 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
207 | 	/// Returns a list of the peripherals connected to the system whose
208 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:238:11: warning: Question: Should we throw an error if the scan is already running?
236 |
237 | extension CentralManager {
238 | 	#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?
239 | 	/// Initiates a scan for peripherals with the specified services.
240 | 	///
warning: /Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Publishers/Publishers+FailablePrefix.swift.swift:41:10 Thread safety should be considered
warning: /Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Peripheral/Peripheral.swift:63:22 queue can be not only main
warning: /Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/CentralManager/CentralManager.swift:206:11 check `connect` method
warning: /Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/CentralManager/CentralManager.swift:238:11 Question: Should we throw an error if the scan is already running?
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Utilities/Extensions/CBManagerState+Ext.swift:25:9: warning: default will never be executed
23 | 		case .poweredOff, .unauthorized, .unsupported:
24 | 			return false
25 |         default:
   |         `- warning: default will never be executed
26 |             return false
27 | 		}
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/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/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/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/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/CentralManager/CentralManager.swift:206:11: warning: check `connect` method
204 |
205 | extension CentralManager {
206 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
207 | 	/// Returns a list of the peripherals connected to the system whose
208 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/CentralManager/CentralManager.swift:238:11: warning: Question: Should we throw an error if the scan is already running?
236 |
237 | extension CentralManager {
238 | 	#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?
239 | 	/// Initiates a scan for peripherals with the specified services.
240 | 	///
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/Peripheral/Peripheral.swift:63:22: warning: queue can be not only main
 61 |     override func setup() {
 62 |         observation = peripheral.observe(\.state, options: [.new]) { [weak self] _, change in
 63 |             #warning("queue can be not only main")
    |                      `- warning: queue can be not only main
 64 |             DispatchQueue.main.async {
 65 |                 guard let self else { return }
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/CentralManager/CentralManager.swift:206:11: warning: check `connect` method
204 |
205 | extension CentralManager {
206 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
207 | 	/// Returns a list of the peripherals connected to the system whose
208 | 	/// services match a given set of criteria.
/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/iOS-BLE-Library-Mock/destination/MockGenerator/CentralManager/CentralManager.swift:238:11: warning: Question: Should we throw an error if the scan is already running?
236 |
237 | extension CentralManager {
238 | 	#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?
239 | 	/// Initiates a scan for peripherals with the specified services.
240 | 	///
Build complete.
{
  "dependencies" : [
    {
      "identity" : "ios-corebluetooth-mock",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nordicsemi/IOS-CoreBluetooth-Mock.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.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"
        ]
      }
    },
    {
      "name" : "MockGeneratorTool",
      "targets" : [
        "MockGeneratorTool"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "iOS_BLE_LibraryTests",
      "module_type" : "SwiftTarget",
      "name" : "iOS-BLE-LibraryTests",
      "path" : "Tests/iOS-BLE-LibraryTests",
      "sources" : [
        "CentralManagerStateTest.swift",
        "CentralManagerTests.swift",
        "PeripheralMultitaskingTests.swift",
        "PeripheralReadWriteDescriptorTests.swift"
      ],
      "target_dependencies" : [
        "iOS-BLE-Library-Mock"
      ],
      "type" : "test"
    },
    {
      "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"
      ],
      "target_dependencies" : [
        "MockGenerator"
      ],
      "type" : "library"
    },
    {
      "c99name" : "iOS_BLE_Library",
      "module_type" : "SwiftTarget",
      "name" : "iOS-BLE-Library",
      "path" : "Sources/iOS-BLE-Library",
      "product_memberships" : [
        "iOS-BLE-Library"
      ],
      "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"
    },
    {
      "c99name" : "MockGeneratorTool",
      "module_type" : "SwiftTarget",
      "name" : "MockGeneratorTool",
      "path" : "Sources/MockGeneratorTool",
      "product_memberships" : [
        "iOS-BLE-Library-Mock",
        "MockGeneratorTool"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MockGenerator",
      "module_type" : "PluginTarget",
      "name" : "MockGenerator",
      "path" : "Plugins/MockGenerator",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "iOS-BLE-Library-Mock"
      ],
      "sources" : [
        "MockGenerator.swift"
      ],
      "target_dependencies" : [
        "MockGeneratorTool"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.6"
}
Done.