Build Information
Failed to build AsyncCoreBluetooth, reference 0.3.3 (dc57b8), with Swift 6.1 for Wasm on 17 Jun 2025 10:13:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/meech-ward/AsyncCoreBluetooth.git
Reference: 0.3.3
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/meech-ward/AsyncCoreBluetooth
* tag 0.3.3 -> FETCH_HEAD
HEAD is now at dc57b83 add the public getPeripheral function to peripheral
Cloned https://github.com/meech-ward/AsyncCoreBluetooth.git
Revision (git rev-parse @):
dc57b83ef3ba4eaa87b7db2feef4bb1dc3ccdf55
SUCCESS checkout https://github.com/meech-ward/AsyncCoreBluetooth.git at 0.3.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/meech-ward/AsyncCoreBluetooth.git
https://github.com/meech-ward/AsyncCoreBluetooth.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "ios-corebluetooth-mock",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/meech-ward/IOS-CoreBluetooth-Mock.git"
},
{
"identity" : "asyncobservable",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/meech-ward/AsyncObservable.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
}
],
"manifest_display_name" : "AsyncCoreBluetooth",
"name" : "AsyncCoreBluetooth",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "visionos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "AsyncCoreBluetooth",
"targets" : [
"AsyncCoreBluetooth"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncCoreBluetoothTests",
"module_type" : "SwiftTarget",
"name" : "AsyncCoreBluetoothTests",
"path" : "Tests/AsyncCoreBluetoothTests",
"product_dependencies" : [
"CoreBluetoothMock",
"AsyncObservable",
"DequeModule"
],
"sources" : [
"AsyncCoreBluetoothTests.swift",
"CentralManager/CancelConnectionToPeripheralTests.swift",
"CentralManager/CentralManagerStateTests.swift",
"CentralManager/ConnectToNewPeripheralTests.swift",
"CentralManager/RetrievePeripheralsTests.swift",
"CentralManager/ScanForNewPeripheralsTests.swift",
"MockPeripheral.swift",
"Peripheral/DiscoverCharacteristicsTests.swift",
"Peripheral/DiscoverServicesTests.swift",
"Peripheral/NotifyCharacteristicTests.swift",
"Peripheral/ReadCharacteristicTests.swift",
"Peripheral/ReadRSSITests.swift",
"Peripheral/WriteCharacteristicTests.swift"
],
"target_dependencies" : [
"AsyncCoreBluetooth"
],
"type" : "test"
},
{
"c99name" : "AsyncCoreBluetooth",
"module_type" : "SwiftTarget",
"name" : "AsyncCoreBluetooth",
"path" : "Sources/AsyncCoreBluetooth",
"product_dependencies" : [
"CoreBluetoothMock",
"AsyncObservable",
"DequeModule"
],
"product_memberships" : [
"AsyncCoreBluetooth"
],
"sources" : [
"AsyncCoreBluetooth.swift",
"CentralManager.swift",
"CentralManagerDelegate.swift",
"Characteristic.swift",
"Peripheral.swift",
"PeripheralDelegate.swift",
"PeripheralStore.swift",
"Service.swift",
"Types.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/meech-ward/IOS-CoreBluetooth-Mock.git
[1/4915] Fetching ios-corebluetooth-mock
Fetched https://github.com/meech-ward/IOS-CoreBluetooth-Mock.git from cache (0.45s)
Fetching https://github.com/meech-ward/AsyncObservable.git
[1/199] Fetching asyncobservable
Fetched https://github.com/meech-ward/AsyncObservable.git from cache (0.23s)
Fetching https://github.com/apple/swift-collections.git
[1/16606] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.08s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.75s)
Creating working copy for https://github.com/meech-ward/AsyncObservable.git
Working copy of https://github.com/meech-ward/AsyncObservable.git resolved at main (0c7bdec)
Creating working copy for https://github.com/meech-ward/IOS-CoreBluetooth-Mock.git
Working copy of https://github.com/meech-ward/IOS-CoreBluetooth-Mock.git resolved at main (10845e9)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/44] Compiling CoreBluetoothMock CBMPeripheralDelegate.swift
[8/44] Compiling CoreBluetoothMock CBMPeripheralDelegateProxy.swift
[9/44] Compiling CoreBluetoothMock CBMPeripheralPreview.swift
[10/44] Compiling CoreBluetoothMock CBMPeripheralSpec.swift
[11/46] Compiling AsyncObservable StreamOf.swift
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservableBase.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 | import Foundation
3 |
[12/46] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[13/46] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[14/46] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[15/46] Compiling InternalCollectionsUtilities Specialize.swift
[16/46] Compiling CoreBluetoothMock CBMAttributes.swift
[17/46] Compiling CoreBluetoothMock CBMCentralManager.swift
[18/46] Compiling CoreBluetoothMock CBMCentralManagerDelegate.swift
[19/46] Emitting module InternalCollectionsUtilities
[20/46] Compiling CoreBluetoothMock CBMCentralManagerDelegateProxy.swift
[21/46] Compiling CoreBluetoothMock CBMCentralManagerFactory.swift
[22/46] Compiling CoreBluetoothMock CBMCentralManagerMock.swift
[23/46] Compiling CoreBluetoothMock CBMCentralManagerNative.swift
[24/46] Compiling CoreBluetoothMock CBMManagerTypes.swift
[25/46] Compiling CoreBluetoothMock CBMPeer.swift
[26/46] Compiling CoreBluetoothMock CBMPeripheral.swift
[28/62] Compiling DequeModule Deque+CustomReflectable.swift
[29/62] Compiling DequeModule Deque+Descriptions.swift
[30/64] Compiling DequeModule _DequeBuffer.swift
[31/64] Compiling DequeModule _DequeBufferHeader.swift
[32/64] Compiling AsyncObservable AsyncObservableUnwrapped.swift
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservableBase.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 | import Foundation
3 |
[33/64] Compiling DequeModule Deque+Extras.swift
[34/64] Compiling DequeModule Deque+Hashable.swift
[35/64] Compiling DequeModule Deque+Equatable.swift
[36/64] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[37/64] Compiling DequeModule Deque+Testing.swift
[38/64] Compiling DequeModule Deque._Storage.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/.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.
[43/64] Compiling DequeModule _DequeSlot.swift
[44/64] Compiling DequeModule _UnsafeWrappedBuffer.swift
[45/64] Compiling DequeModule Deque._UnsafeHandle.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.
[46/64] Compiling DequeModule Deque.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/.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.
[49/65] Compiling AsyncObservable AsyncObservableReadOnly.swift
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservableBase.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 | import Foundation
3 |
[50/65] Compiling AsyncObservable AsyncObservable.swift
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservableBase.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 | import Foundation
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/65] Emitting module AsyncObservable
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservableBase.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 | import Foundation
3 |
[52/65] Compiling AsyncObservable AsyncObservableBase.swift
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservableBase.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 | import Foundation
3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/39] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[3/39] Compiling InternalCollectionsUtilities Specialize.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/41] Emitting module AsyncObservable
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservableBase.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 | import Foundation
3 |
[5/41] Compiling AsyncObservable AsyncObservableUnwrapped.swift
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservableBase.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 | import Foundation
3 |
[6/41] Compiling AsyncObservable AsyncObservableReadOnly.swift
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservableBase.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 | import Foundation
3 |
[7/41] Compiling AsyncObservable AsyncObservable.swift
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservableBase.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 | import Foundation
3 |
[8/41] Compiling AsyncObservable StreamOf.swift
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservableBase.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 | import Foundation
3 |
[9/41] Compiling AsyncObservable AsyncObservableBase.swift
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservableBase.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 | import Foundation
3 |
[10/41] Compiling InternalCollectionsUtilities _SortedCollection.swift
[11/41] Compiling InternalCollectionsUtilities _UniqueCollection.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
BUILD FAILURE 6.1 wasm