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

Failed to build iOS-BLE-Library, reference main (dbb8a2), with Swift 6.2 (beta) for Wasm on 4 Sep 2025 07:28:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NordicSemiconductor/IOS-BLE-Library.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/NordicSemiconductor/IOS-BLE-Library
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dbb8a25 Pulled CoreBluetoothMock-Collection dependency and updated Mock Library to 1.0.1
Cloned https://github.com/NordicSemiconductor/IOS-BLE-Library.git
Revision (git rev-parse @):
dbb8a255185add411a643d76b111825c27b3217d
SUCCESS checkout https://github.com/NordicSemiconductor/IOS-BLE-Library.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/NordicSemiconductor/IOS-BLE-Library.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
[1/2094] Fetching swift-docc-plugin
[211/8641] Fetching swift-docc-plugin, ios-corebluetooth-mock
Fetched https://github.com/apple/swift-docc-plugin from cache (0.54s)
Fetched https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git from cache (0.70s)
Computing version for https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
warning: 'ios-corebluetooth-mock': /Package.swift:12:11: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
10 |   platforms: [
11 |     .macOS(.v10_13),
12 |     .iOS(.v11),
   |           `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
13 |     .watchOS(.v4),
14 |     .tvOS(.v11)
/Package.swift:14:12: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
12 |     .iOS(.v11),
13 |     .watchOS(.v4),
14 |     .tvOS(.v11)
   |            `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
15 |   ],
16 |   products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git at 1.0.1 (1.14s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.60s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3501] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.47s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.10s)
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/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Working copy of https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git resolved at 1.0.1
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.5
warning: 'ios-corebluetooth-mock': /host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/Package.swift:12:11: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
10 |   platforms: [
11 |     .macOS(.v10_13),
12 |     .iOS(.v11),
   |           `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
13 |     .watchOS(.v4),
14 |     .tvOS(.v11)
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/Package.swift:14:12: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
12 |     .iOS(.v11),
13 |     .watchOS(.v4),
14 |     .tvOS(.v11)
   |            `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
15 |   ],
16 |   products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/41] Compiling CoreBluetoothMock CBMPeripheralDelegateProxy.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
[8/41] Compiling CoreBluetoothMock CBMPeripheralPreview.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/43] Emitting module iOS_BLE_Library
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[10/43] Compiling CoreBluetoothMock CBMCentralManagerDelegate.swift
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:201:11: warning: check `connect` method
199 | // MARK: Retrieving Lists of Peripherals
200 | extension CentralManager {
201 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
202 | 	/// Returns a list of the peripherals connected to the system whose
203 | 	/// services match a given set of criteria.
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:232:11: warning: Question: Should we throw an error if the scan is already running?
230 | // MARK: Scanning or Stopping Scans of Peripherals
231 | extension CentralManager {
232 | 	#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?
233 | 	/// Initiates a scan for peripherals with the specified services.
234 | 	///
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[11/43] Compiling CoreBluetoothMock CBMCentralManagerDelegateProxy.swift
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:201:11: warning: check `connect` method
199 | // MARK: Retrieving Lists of Peripherals
200 | extension CentralManager {
201 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
202 | 	/// Returns a list of the peripherals connected to the system whose
203 | 	/// services match a given set of criteria.
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:232:11: warning: Question: Should we throw an error if the scan is already running?
230 | // MARK: Scanning or Stopping Scans of Peripherals
231 | extension CentralManager {
232 | 	#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?
233 | 	/// Initiates a scan for peripherals with the specified services.
234 | 	///
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[12/43] Compiling CoreBluetoothMock CBMAttributes.swift
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:201:11: warning: check `connect` method
199 | // MARK: Retrieving Lists of Peripherals
200 | extension CentralManager {
201 | 	#warning("check `connect` method")
    |           `- warning: check `connect` method
202 | 	/// Returns a list of the peripherals connected to the system whose
203 | 	/// services match a given set of criteria.
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:232:11: warning: Question: Should we throw an error if the scan is already running?
230 | // MARK: Scanning or Stopping Scans of Peripherals
231 | extension CentralManager {
232 | 	#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?
233 | 	/// Initiates a scan for peripherals with the specified services.
234 | 	///
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[13/45] Compiling CoreBluetoothMock CBMPeripheral.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
[14/45] Compiling CoreBluetoothMock CBMPeripheralDelegate.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
[15/45] Compiling iOS_BLE_Library Publishers+Connectable.swift
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[16/45] Compiling iOS_BLE_Library Publishers+FailablePrefix.swift.swift
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[17/45] Compiling CoreBluetoothMock CBMPeripheralSpec.swift
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[18/45] Compiling CoreBluetoothMock CBMPeripheralSpecDelegate.swift
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[19/45] Compiling iOS_BLE_Library Logger.swift
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[20/45] Compiling CoreBluetoothMock CBMCentralManagerNative.swift
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[21/45] Compiling CoreBluetoothMock CBMDictionary.swift
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[22/45] Compiling CoreBluetoothMock CBMManagerTypes.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
[23/45] Compiling CoreBluetoothMock CBMPeer.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[27/45] Compiling iOS_BLE_Library AdvertisementData.swift
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[28/45] Compiling iOS_BLE_Library AsyncCharacteristicData.swift
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[29/45] Compiling iOS_BLE_Library CBManagerState.swift
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/45] Emitting module CoreBluetoothMock
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
[39/45] Compiling iOS_BLE_Library RSSI.swift
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
[40/45] Compiling iOS_BLE_Library UnimplementedError.swift
/host/spi-builder-workspace/Sources/iOS-BLE-Library/CentralManager/CentralManager.swift:8:8: error: no such module 'Combine'
  6 | //
  7 |
  8 | import Combine
    |        `- error: no such module 'Combine'
  9 | //CG_REPLACE
 10 | import CoreBluetooth
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
 29 | */
 30 |
 31 | import CoreBluetooth
    |        `- error: no such module 'CoreBluetooth'
 32 |
 33 | /// A representation of common aspects of services offered by a peripheral.
BUILD FAILURE 6.2 wasm