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 CoreBluetoothEmulator, reference main (579963), with Swift 6.1 for Wasm on 22 Nov 2025 06:56:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1amageek/CoreBluetoothEmulator.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/1amageek/CoreBluetoothEmulator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 579963e Implement multi-process support and update documentation
Cloned https://github.com/1amageek/CoreBluetoothEmulator.git
Revision (git rev-parse @):
579963e0ceffdf8a452c7e4fdb033fece3324c92
SUCCESS checkout https://github.com/1amageek/CoreBluetoothEmulator.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/1amageek/CoreBluetoothEmulator.git
https://github.com/1amageek/CoreBluetoothEmulator.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CoreBluetoothEmulator",
  "name" : "CoreBluetoothEmulator",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "CoreBluetoothEmulator",
      "targets" : [
        "CoreBluetoothEmulator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CoreBluetoothEmulatorTests",
      "module_type" : "SwiftTarget",
      "name" : "CoreBluetoothEmulatorTests",
      "path" : "Tests/CoreBluetoothEmulatorTests",
      "sources" : [
        "CoreBluetoothEmulatorTests.swift",
        "Integration/ANCSAuthorizationTests.swift",
        "Integration/AdvertisementAutoGenerationTests.swift",
        "Integration/BackpressureTests.swift",
        "Integration/BidirectionalEventsTests.swift",
        "Integration/ConnectionEventsTests.swift",
        "Integration/FullWorkflowTests.swift",
        "Integration/L2CAPChannelTests.swift",
        "Integration/MTUManagementTests.swift",
        "Integration/ScanOptionsTests.swift",
        "Integration/StateRestorationTests.swift"
      ],
      "target_dependencies" : [
        "CoreBluetoothEmulator"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CoreBluetoothEmulator",
      "module_type" : "SwiftTarget",
      "name" : "CoreBluetoothEmulator",
      "path" : "Sources/CoreBluetoothEmulator",
      "product_memberships" : [
        "CoreBluetoothEmulator"
      ],
      "sources" : [
        "CoreBluetoothEmulator.swift",
        "EmulatedDelegates.swift",
        "EmulatorBus.swift",
        "EmulatorConfiguration.swift",
        "EmulatorInternalEvent.swift",
        "EmulatorTransport.swift",
        "Internal/EmulatedCBCentral.swift",
        "Internal/EmulatedCBCentralManager.swift",
        "Internal/EmulatedCBCharacteristic.swift",
        "Internal/EmulatedCBDescriptor.swift",
        "Internal/EmulatedCBL2CAPChannel.swift",
        "Internal/EmulatedCBPeripheral.swift",
        "Internal/EmulatedCBPeripheralManager.swift",
        "Internal/EmulatedCBService.swift",
        "Transport/InMemoryEmulatorTransport.swift",
        "Transport/XPCEmulatorTransport.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling CoreBluetoothEmulator EmulatorInternalEvent.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[4/17] Compiling CoreBluetoothEmulator EmulatorTransport.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[5/19] Compiling CoreBluetoothEmulator EmulatedCBCentral.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[6/19] Compiling CoreBluetoothEmulator EmulatedCBCentralManager.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[7/19] Compiling CoreBluetoothEmulator EmulatedCBCharacteristic.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[8/19] Compiling CoreBluetoothEmulator EmulatedCBDescriptor.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[9/19] Compiling CoreBluetoothEmulator EmulatedCBL2CAPChannel.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[10/19] Compiling CoreBluetoothEmulator EmulatedCBPeripheral.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[11/19] Compiling CoreBluetoothEmulator EmulatedCBPeripheralManager.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[12/19] Compiling CoreBluetoothEmulator EmulatedCBService.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/19] Emitting module CoreBluetoothEmulator
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[14/19] Compiling CoreBluetoothEmulator EmulatorBus.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[15/19] Compiling CoreBluetoothEmulator EmulatorConfiguration.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[16/19] Compiling CoreBluetoothEmulator CoreBluetoothEmulator.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[17/19] Compiling CoreBluetoothEmulator EmulatedDelegates.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[18/19] Compiling CoreBluetoothEmulator InMemoryEmulatorTransport.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[19/19] Compiling CoreBluetoothEmulator XPCEmulatorTransport.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/CoreBluetoothEmulatorTests/Integration/SecurityPairingTests.swift.skip
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling CoreBluetoothEmulator EmulatedCBCharacteristic.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[3/16] Compiling CoreBluetoothEmulator EmulatedCBDescriptor.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[4/18] Compiling CoreBluetoothEmulator EmulatedCBCentral.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[5/18] Compiling CoreBluetoothEmulator EmulatedCBCentralManager.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[6/18] Compiling CoreBluetoothEmulator InMemoryEmulatorTransport.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[7/18] Compiling CoreBluetoothEmulator XPCEmulatorTransport.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[8/18] Compiling CoreBluetoothEmulator EmulatedCBL2CAPChannel.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[9/18] Compiling CoreBluetoothEmulator EmulatedCBPeripheral.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[10/18] Compiling CoreBluetoothEmulator EmulatedCBPeripheralManager.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[11/18] Compiling CoreBluetoothEmulator EmulatedCBService.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/18] Emitting module CoreBluetoothEmulator
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[13/18] Compiling CoreBluetoothEmulator EmulatorBus.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[14/18] Compiling CoreBluetoothEmulator EmulatorConfiguration.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[15/18] Compiling CoreBluetoothEmulator EmulatorInternalEvent.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[16/18] Compiling CoreBluetoothEmulator EmulatorTransport.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[17/18] Compiling CoreBluetoothEmulator CoreBluetoothEmulator.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
[18/18] Compiling CoreBluetoothEmulator EmulatedDelegates.swift
/host/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift:2:8: error: no such module 'CoreBluetooth'
 1 | import Foundation
 2 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
 3 |
 4 | // MARK: - Public API
BUILD FAILURE 6.1 wasm