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 Bluetooth, reference 7.2.3 (52f228), with Swift 6.2 (beta) for Wasm on 9 Jul 2025 10:01:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/pureswift/bluetooth.git
Reference: 7.2.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/pureswift/bluetooth
 * tag               7.2.3      -> FETCH_HEAD
HEAD is now at 52f228b Merge pull request #195 from PureSwift/feature/swift-6.1
Cloned https://github.com/pureswift/bluetooth.git
Revision (git rev-parse @):
52f228b819e8ef920e4232cc37c9a84ffbbc5707
SUCCESS checkout https://github.com/pureswift/bluetooth.git at 7.2.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/pureswift/bluetooth.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/swiftlang/swift-syntax.git
[1/71282] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.60s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (9.91s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
[0/14] Write sources
[0/14] Copying CharacteristicUUID.json
[3/14] Copying UnitIdentifier.json
[4/14] Copying CompanyIdentifier.json
[5/14] Copying ServiceUUID.json
[6/14] Copying MemberUUID.json
[7/14] Copying DeclarationUUID.json
[8/14] Copying DescriptorUUID.json
[9/14] Write swift-version-24593BA9C3E375BF.txt
[11/19] Emitting module BluetoothMetadata
[12/19] Compiling BluetoothMetadata resource_bundle_accessor.swift
[13/19] Compiling BluetoothMetadata BluetoothUUID.swift
[14/19] Compiling BluetoothMetadata BluetoothMetadata.swift
[15/19] Compiling BluetoothMetadata CompanyIdentifier.swift
[16/20] Wrapping AST for BluetoothMetadata for debugging
[18/27] Compiling GenerateBluetooth Hexadecimal.swift
[19/27] Emitting module GenerateBluetooth
[20/27] Compiling GenerateBluetooth CompanyIdentifier.swift
[21/27] Compiling GenerateBluetooth Generate.swift
[22/27] Compiling GenerateBluetooth UnitIdentifier.swift
[23/27] Compiling GenerateBluetooth BluetoothUUID.swift
[24/27] Compiling GenerateBluetooth String.swift
[25/28] Wrapping AST for GenerateBluetooth for debugging
[26/28] Write Objects.LinkFileList
[27/28] Linking GenerateBluetooth-tool
[1/1] Compiling plugin GenerateBluetoothDefinitions
Building for debugging...
[1/71] Write sources
[20/71] Copying UnitIdentifier.json
[20/71] Copying ServiceUUID.json
[20/71] Copying CharacteristicUUID.json
[23/71] Copying DescriptorUUID.json
[24/71] Copying DeclarationUUID.json
[24/71] Copying MemberUUID.json
[26/71] Copying ServiceUUID.json
[26/71] Copying UnitIdentifier.json
[26/71] Copying DescriptorUUID.json
[26/71] Copying MemberUUID.json
[26/71] Copying DeclarationUUID.json
[26/71] Copying CharacteristicUUID.json
[26/71] Copying CompanyIdentifier.json
[33/71] Write sources
[34/71] Copying CompanyIdentifier.json
[35/71] Compiling _SwiftSyntaxCShims dummy.c
[36/71] Write swift-version-24593BA9C3E375BF.txt
[38/79] Compiling SwiftSyntax509 Empty.swift
[39/85] Compiling SwiftSyntax601 Empty.swift
[40/85] Emitting module SwiftSyntax601
[41/85] Emitting module SwiftSyntax509
[43/87] Compiling SwiftSyntax600 Empty.swift
[44/87] Emitting module SwiftSyntax600
[46/88] Emitting module SwiftSyntax510
[47/88] Compiling SwiftSyntax510 Empty.swift
[49/89] Wrapping AST for SwiftSyntax509 for debugging
[50/89] Wrapping AST for SwiftSyntax601 for debugging
[51/89] Wrapping AST for SwiftSyntax600 for debugging
[52/89] Wrapping AST for SwiftSyntax510 for debugging
[54/137] Emitting module BluetoothMetadata
[55/154] Wrapping AST for BluetoothMetadata for debugging
[57/155] Emitting module GenerateBluetooth
[58/156] Wrapping AST for GenerateBluetooth for debugging
[59/156] Write Objects.LinkFileList
[60/156] Linking GenerateBluetooth-tool
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/UnitIdentifiers.swift
[61/156] Generate Bluetooth Unit Identifier Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/ServiceUUID.swift
[62/156] Generate Bluetooth Service UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/DeclarationUUID.swift
[63/156] Generate Bluetooth Declaration UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/DescriptorUUID.swift
[64/156] Generate Bluetooth Descriptor UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/CharacteristicUUID.swift
[65/156] Generate Bluetooth Characteristic UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/MemberUUID.swift
[66/156] Generate Bluetooth Member UUID Definitions
[68/156] Compiling SwiftSyntax SyntaxIdentifier.swift
[69/156] Compiling SwiftSyntax SyntaxNodeFactory.swift
[70/156] Compiling SwiftSyntax SyntaxNodeStructure.swift
[71/156] Compiling SwiftSyntax SyntaxProtocol.swift
[72/156] Compiling SwiftSyntax SyntaxText.swift
[73/156] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[74/156] Compiling SwiftSyntax TokenDiagnostic.swift
[75/156] Compiling SwiftSyntax TokenSequence.swift
[76/156] Compiling SwiftSyntax TokenSyntax.swift
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/CompanyIdentifiers.swift
[76/165] Generate Bluetooth Company Identifier Definitions
[77/165] Write sources
[79/165] Compiling SwiftSyntax SourceLocation.swift
[80/165] Compiling SwiftSyntax SourcePresence.swift
[81/165] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[82/165] Compiling SwiftSyntax Syntax.swift
[83/165] Compiling SwiftSyntax SyntaxArena.swift
[84/165] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[85/165] Compiling SwiftSyntax SyntaxChildren.swift
[86/165] Compiling SwiftSyntax SyntaxCollection.swift
[87/165] Compiling SwiftSyntax SyntaxHashable.swift
[88/165] Compiling SwiftSyntax AbsolutePosition.swift
[89/165] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[90/165] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[91/165] Compiling SwiftSyntax Assert.swift
[92/165] Compiling SwiftSyntax BumpPtrAllocator.swift
[93/165] Compiling SwiftSyntax CommonAncestor.swift
[94/165] Compiling SwiftSyntax Convenience.swift
[95/165] Compiling SwiftSyntax CustomTraits.swift
[96/165] Compiling SwiftSyntax EditorPlaceholder.swift
[97/165] Compiling BluetoothMetadata resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/BluetoothMetadata/BluetoothMetadata.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public protocol BluetoothMetadataFile: Codable {
[98/165] Compiling BluetoothMetadata BluetoothMetadata.swift
/host/spi-builder-workspace/Sources/BluetoothMetadata/BluetoothMetadata.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public protocol BluetoothMetadataFile: Codable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[99/165] Emitting module BluetoothMetadata
/host/spi-builder-workspace/Sources/BluetoothMetadata/BluetoothMetadata.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public protocol BluetoothMetadataFile: Codable {
[100/165] Compiling BluetoothMetadata BluetoothUUID.swift
/host/spi-builder-workspace/Sources/BluetoothMetadata/BluetoothMetadata.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public protocol BluetoothMetadataFile: Codable {
[101/165] Compiling BluetoothMetadata CompanyIdentifier.swift
/host/spi-builder-workspace/Sources/BluetoothMetadata/BluetoothMetadata.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public protocol BluetoothMetadataFile: Codable {
BUILD FAILURE 6.2 wasm