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 AsyncBluetooth, reference main (cc2d86), with Swift 6.2 (beta) for Wasm on 21 Aug 2025 18:07:42 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/manolofdez/AsyncBluetooth.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/manolofdez/AsyncBluetooth
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cc2d864 [Maintenance] Swift 6 Fixes & Characteristic Access Error (#82)
Cloned https://github.com/manolofdez/AsyncBluetooth.git
Revision (git rev-parse @):
cc2d86458e836453154d4fc0441e03e83d20e664
SUCCESS checkout https://github.com/manolofdez/AsyncBluetooth.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/manolofdez/AsyncBluetooth.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/29] Emitting module AsyncBluetooth
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[5/32] Compiling AsyncBluetooth ScanData.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[6/32] Compiling AsyncBluetooth PeripheralDataConvertible.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[7/32] Compiling AsyncBluetooth BluetoothError.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[8/32] Compiling AsyncBluetooth Characteristic.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[9/32] Compiling AsyncBluetooth AsyncBluetooth.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[10/32] Compiling AsyncBluetooth CentralManager.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[11/32] Compiling AsyncBluetooth CentralManagerContext.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[12/32] Compiling AsyncBluetooth CentralManagerEvent.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[13/32] Compiling AsyncBluetooth CentralManagerUtils.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[14/32] Compiling AsyncBluetooth AsyncExecutor+Flushable.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[15/32] Compiling AsyncBluetooth CBUUID+Sendable.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[16/32] Compiling AsyncBluetooth CharacteristicValueUpdateEventData.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[17/32] Compiling AsyncBluetooth Descriptor.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[18/32] Compiling AsyncBluetooth Characteristic+DataConversion.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[19/32] Compiling AsyncBluetooth CharacteristicValueUpdateData+DataConversion.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[20/32] Compiling AsyncBluetooth FlushableExecutor.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[21/32] Compiling AsyncBluetooth ThreadSafeArray.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[22/32] Compiling AsyncBluetooth resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[23/32] Compiling AsyncBluetooth AsyncSerialExecutor.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[24/32] Compiling AsyncBluetooth AsyncSerialExecutorConstants.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[25/32] Compiling AsyncBluetooth CallbackUtils.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[26/32] Compiling AsyncBluetooth Peripheral+ReadWrite.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[27/32] Compiling AsyncBluetooth Peripheral.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[28/32] Compiling AsyncBluetooth PeripheralContext.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[29/32] Compiling AsyncBluetooth PeripheralDelegate.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[30/32] Compiling AsyncBluetooth Service.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[31/32] Compiling AsyncBluetooth AsyncBluetoothLogging.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
[32/32] Compiling AsyncBluetooth AsyncExecutorMap.swift
/host/spi-builder-workspace/Sources/AsyncBluetooth.swift:3:8: error: no such module 'Foundation'
 1 | //  Copyright (c) 2021 Manuel Fernandez-Peix Perez. All rights reserved.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import os.log
 5 |
BUILD FAILURE 6.2 wasm