Build Information
Failed to build SwiftBluetooth, reference 1.0.0 (c5a9f4
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 10:02:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 1.0.0
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
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at c5a9f4e Merge pull request #3 from exPHAT/v1.0.0
Cloned https://github.com/exPHAT/SwiftBluetooth.git
Revision (git rev-parse @):
c5a9f4e5d6d1ffc312ffe26ea1760dc9a9a9673f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/exPHAT/SwiftBluetooth.git at 1.0.0
========================================
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-3":/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.73s)
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.71s)
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/42] 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.
[6/42] Compiling CoreBluetoothMock CBMAttributes.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.
[7/42] Compiling SwiftBluetooth AsyncSubscriptionQueue.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/43] 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.
[9/43] 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.
[10/43] 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.
[11/43] 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.
[12/43] 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.
[13/43] Compiling CoreBluetoothMock CBMManagerTypes.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 {
/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 {
[18/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 {
[19/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/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 {
[21/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 {
/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 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/.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 CBMCentralManagerNative.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 {
[26/46] Compiling CoreBluetoothMock CBMPeer.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 {
[27/46] Compiling CoreBluetoothMock CBMPeripheral.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 {
[30/46] Compiling SwiftBluetooth CentralManager+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 {
[31/46] Compiling SwiftBluetooth CentralManager+callback.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 {
[32/46] Compiling SwiftBluetooth Peripheral+callback.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 {
[33/46] 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 {
[34/46] 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 {
[35/46] 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 {
[36/46] 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 {
[37/46] 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 {
/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.
[42/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 {
[43/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 {
[44/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