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.2 (7879b3), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 04:13:13 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/pureswift/bluetooth.git
Reference: 7.2.2
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.2      -> FETCH_HEAD
HEAD is now at 7879b33 #139 Update `GATTBloodPressureMeasurement`
Cloned https://github.com/pureswift/bluetooth.git
Revision (git rev-parse @):
7879b33a0259fdb77e3361ea8ff50d7e7fd15cba
SUCCESS checkout https://github.com/pureswift/bluetooth.git at 7.2.2
========================================
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-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/swiftlang/swift-syntax.git
[1/70924] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.67s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (8.75s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
[0/14] Copying DeclarationUUID.json
[0/14] Copying CharacteristicUUID.json
[0/14] Write sources
[0/14] Copying CompanyIdentifier.json
[0/14] Write sources
[5/14] Copying ServiceUUID.json
[5/14] Copying DescriptorUUID.json
[5/14] Copying UnitIdentifier.json
[5/14] Copying MemberUUID.json
[9/14] Write swift-version-24593BA9C3E375BF.txt
[11/19] Compiling BluetoothMetadata resource_bundle_accessor.swift
[12/19] Compiling BluetoothMetadata CompanyIdentifier.swift
[13/19] Compiling BluetoothMetadata BluetoothMetadata.swift
[14/19] Compiling BluetoothMetadata BluetoothUUID.swift
[15/19] Emitting module BluetoothMetadata
[16/20] Wrapping AST for BluetoothMetadata for debugging
[18/27] Compiling GenerateBluetooth Hexadecimal.swift
[19/27] Compiling GenerateBluetooth CompanyIdentifier.swift
[20/27] Emitting module GenerateBluetooth
[21/27] Compiling GenerateBluetooth BluetoothUUID.swift
[22/27] Compiling GenerateBluetooth Generate.swift
[23/27] Compiling GenerateBluetooth UnitIdentifier.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/69] Write sources
[8/69] Copying CharacteristicUUID.json
[16/69] Copying UnitIdentifier.json
[22/69] Copying CharacteristicUUID.json
[22/69] Copying ServiceUUID.json
[24/69] Copying MemberUUID.json
[25/69] Copying DeclarationUUID.json
[26/69] Copying DescriptorUUID.json
[27/69] Copying UnitIdentifier.json
[27/69] Copying ServiceUUID.json
[27/69] Copying DescriptorUUID.json
[27/69] Copying DeclarationUUID.json
[27/69] Copying MemberUUID.json
[28/69] Copying CompanyIdentifier.json
[34/69] Compiling _SwiftSyntaxCShims dummy.c
[35/69] Write swift-version-24593BA9C3E375BF.txt
[37/80] Emitting module SwiftSyntax510
[38/80] Compiling SwiftSyntax510 Empty.swift
[39/82] Compiling SwiftSyntax600 Empty.swift
[40/82] Emitting module SwiftSyntax600
[41/83] Emitting module SwiftSyntax509
[42/83] Compiling SwiftSyntax509 Empty.swift
[45/84] Wrapping AST for SwiftSyntax510 for debugging
[46/84] Wrapping AST for SwiftSyntax509 for debugging
[47/84] Wrapping AST for SwiftSyntax600 for debugging
[49/84] Emitting module BluetoothMetadata
[50/149] Wrapping AST for BluetoothMetadata for debugging
[52/150] Emitting module GenerateBluetooth
[53/151] Wrapping AST for GenerateBluetooth for debugging
[54/151] Write Objects.LinkFileList
[55/151] Linking GenerateBluetooth-tool
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/UnitIdentifiers.swift
[56/151] Generate Bluetooth Unit Identifier Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/DeclarationUUID.swift
[57/151] Generate Bluetooth Declaration UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/DescriptorUUID.swift
[58/151] Generate Bluetooth Descriptor UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/ServiceUUID.swift
[59/151] Generate Bluetooth Service UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/CharacteristicUUID.swift
[60/151] Generate Bluetooth Characteristic UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/MemberUUID.swift
[61/151] Generate Bluetooth Member UUID Definitions
[63/151] Compiling SwiftSyntax SyntaxNodeFactory.swift
[64/151] Compiling SwiftSyntax SyntaxNodeStructure.swift
[65/151] Compiling SwiftSyntax SyntaxProtocol.swift
[66/151] Compiling SwiftSyntax SyntaxText.swift
[67/151] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[68/151] Compiling SwiftSyntax TokenDiagnostic.swift
[69/151] Compiling SwiftSyntax TokenSequence.swift
[70/151] Compiling SwiftSyntax TokenSyntax.swift
[71/151] Compiling SwiftSyntax Trivia.swift
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/CompanyIdentifiers.swift
[71/159] Generate Bluetooth Company Identifier Definitions
[72/159] Write sources
[74/159] Compiling SwiftSyntax SourcePresence.swift
[75/159] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[76/159] Compiling SwiftSyntax Syntax.swift
[77/159] Compiling SwiftSyntax SyntaxArena.swift
[78/159] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[79/159] Compiling SwiftSyntax SyntaxChildren.swift
[80/159] Compiling SwiftSyntax SyntaxCollection.swift
[81/159] Compiling SwiftSyntax SyntaxHashable.swift
[82/159] Compiling SwiftSyntax SyntaxIdentifier.swift
[83/159] Compiling SwiftSyntax AbsolutePosition.swift
[84/159] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[85/159] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[86/159] Compiling SwiftSyntax Assert.swift
[87/159] Compiling SwiftSyntax BumpPtrAllocator.swift
[88/159] Compiling SwiftSyntax CommonAncestor.swift
[89/159] Compiling SwiftSyntax Convenience.swift
[90/159] Compiling SwiftSyntax CustomTraits.swift
[91/159] Compiling SwiftSyntax Identifier.swift
[92/159] Compiling SwiftSyntax MemoryLayout.swift
[93/159] Compiling SwiftSyntax MissingNodeInitializers.swift
[94/159] Compiling SwiftSyntax RawSyntax.swift
[95/159] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[96/159] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[97/159] Compiling SwiftSyntax RawSyntaxTokenView.swift
[98/159] Compiling SwiftSyntax SourceEdit.swift
[99/159] Compiling SwiftSyntax SourceLength.swift
[100/159] Compiling SwiftSyntax SourceLocation.swift
[101/159] 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 {
[102/159] 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 {
[103/159] 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 {
[104/159] 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)
[105/159] 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 {
BUILD FAILURE 6.2 wasm