The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AsyncCoreBluetooth, reference 0.3.3 (dc57b8), with Swift 6.2 for Wasm on 24 Jun 2025 17:31:03 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.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/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.2
Building package at path:  $PWD
https://github.com/meech-ward/AsyncCoreBluetooth.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/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.86s)
Fetching https://github.com/meech-ward/AsyncObservable.git
[1/199] Fetching asyncobservable
Fetched https://github.com/meech-ward/AsyncObservable.git from cache (0.43s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.81s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (3.05s)
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/44] 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.
[8/45] Compiling AsyncObservable StreamOf.swift
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /// A concrete implementation of `AsyncObservableBase` that provides observable state with
[9/45] Compiling InternalCollectionsUtilities _SortedCollection.swift
[10/45] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[11/47] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[12/47] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[13/47] Compiling InternalCollectionsUtilities Integer rank.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/47] Compiling InternalCollectionsUtilities UInt+first and last set bit.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/47] Compiling AsyncObservable AsyncObservableUnwrapped.swift
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /// A concrete implementation of `AsyncObservableBase` that provides observable state with
[16/47] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[17/47] Compiling InternalCollectionsUtilities Specialize.swift
[18/47] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[21/47] Compiling AsyncObservable AsyncObservableReadOnly.swift
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /// A concrete implementation of `AsyncObservableBase` that provides observable state with
[22/47] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[23/47] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[24/47] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[25/47] Emitting module InternalCollectionsUtilities
/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.
[28/47] Compiling InternalCollectionsUtilities UInt+reversed.swift
[29/47] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[30/47] Compiling InternalCollectionsUtilities Debugging.swift
[31/47] Compiling InternalCollectionsUtilities Descriptions.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.
[36/47] 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.
[37/47] Compiling AsyncObservable AsyncObservable.swift
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /// A concrete implementation of `AsyncObservableBase` that provides observable state with
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/47] Emitting module AsyncObservable
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /// A concrete implementation of `AsyncObservableBase` that provides observable state with
[39/47] Compiling AsyncObservable AsyncObservableBase.swift
/host/spi-builder-workspace/.build/checkouts/AsyncObservable/Sources/AsyncObservable/AsyncObservable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /// A concrete implementation of `AsyncObservableBase` that provides observable state with
BUILD FAILURE 6.2 wasm