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 SwiftBluetooth, reference master (82395b), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 10:02:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/exPHAT/SwiftBluetooth.git
Reference: master
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/exPHAT/SwiftBluetooth
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 82395b9 Add test for  access crash
Cloned https://github.com/exPHAT/SwiftBluetooth.git
Revision (git rev-parse @):
82395b9717df77621e080d8e38b74464ad02826d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/exPHAT/SwiftBluetooth.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/exPHAT/SwiftBluetooth.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
[1/6547] Fetching ios-corebluetooth-mock
Fetched https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git from cache (0.98s)
Computing version for https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Computed https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git at 0.17.0 (1.75s)
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 0.17.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/42] 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.
[6/42] Compiling CoreBluetoothMock CBMPeripheralSpec.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/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
[8/43] Compiling SwiftBluetooth Peripheral.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
[9/43] Compiling SwiftBluetooth PeripheralDelegate.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
[10/43] Compiling SwiftBluetooth NotifyingTracker.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
[11/43] Compiling SwiftBluetooth Peripheral+DiscoveryInfo.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
[12/43] Compiling SwiftBluetooth Peripheral+async.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
[13/43] Compiling SwiftBluetooth CBUUID+Sendable.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
[14/43] Compiling SwiftBluetooth DispatchQueue+safeSync.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
[15/43] Compiling SwiftBluetooth Characteristic.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
[16/46] 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.
[17/46] 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.
[18/46] Compiling CoreBluetoothMock CBMCentralManagerNative.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.
[19/46] 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.
[20/46] 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.
[21/46] 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.
[22/46] Compiling SwiftBluetooth CentralManagerError.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/46] Compiling SwiftBluetooth CentralManagerEvent.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)
[24/46] 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.
[25/46] Compiling CoreBluetoothMock CBMCentralManagerDelegateProxy.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
[30/46] Compiling CoreBluetoothMock CBMCentralManagerFactory.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
[31/46] Compiling CoreBluetoothMock CBMCentralManagerMock.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
[34/46] Compiling CoreBluetoothMock CBMCentralManagerDelegate.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
[38/46] Emitting module SwiftBluetooth
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
[39/46] Compiling CoreBluetoothMock CBMPeripheralSpecDelegate.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.
[40/46] Compiling SwiftBluetooth PeripheralDelegateWrapper.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
[41/46] Compiling SwiftBluetooth PeripheralError.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
[42/46] Compiling SwiftBluetooth PeripheralEvent.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/Async/AsyncSubscription.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | internal struct AsyncSubscription<Value>: Identifiable, Equatable, CancellableTask {
BUILD FAILURE 6.2 wasm