Build Information
Failed to build Bluetooth, reference master (7879b3
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 05:36:55 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: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
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 (6.88s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (12.23s)
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] Write sources
[0/14] Copying CharacteristicUUID.json
[3/14] Copying UnitIdentifier.json
[3/14] Copying ServiceUUID.json
[3/14] Copying MemberUUID.json
[3/14] Copying DescriptorUUID.json
[3/14] Copying DeclarationUUID.json
[3/14] Copying CompanyIdentifier.json
[9/14] Write swift-version-24593BA9C3E375BF.txt
[11/19] Emitting module BluetoothMetadata
[12/19] Compiling BluetoothMetadata BluetoothMetadata.swift
[13/19] Compiling BluetoothMetadata resource_bundle_accessor.swift
[14/19] Compiling BluetoothMetadata BluetoothUUID.swift
[15/19] Compiling BluetoothMetadata CompanyIdentifier.swift
[16/20] Wrapping AST for BluetoothMetadata for debugging
[18/27] Compiling GenerateBluetooth Hexadecimal.swift
[19/27] Compiling GenerateBluetooth CompanyIdentifier.swift
[20/27] Compiling GenerateBluetooth BluetoothUUID.swift
[21/27] Emitting module GenerateBluetooth
[22/27] Compiling GenerateBluetooth String.swift
[23/27] Compiling GenerateBluetooth UnitIdentifier.swift
[24/27] Compiling GenerateBluetooth Generate.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
[1/69] Copying CharacteristicUUID.json
[1/69] Copying DescriptorUUID.json
[1/69] Copying DeclarationUUID.json
[1/69] Copying MemberUUID.json
[1/69] Copying CompanyIdentifier.json
[1/69] Copying ServiceUUID.json
[1/69] Copying CompanyIdentifier.json
[1/69] Copying MemberUUID.json
[1/69] Copying DeclarationUUID.json
[11/69] Copying UnitIdentifier.json
[34/69] Compiling _SwiftSyntaxCShims dummy.c
[35/69] Write swift-version-24593BA9C3E375BF.txt
[37/81] Emitting module SwiftSyntax600
[38/81] Compiling SwiftSyntax600 Empty.swift
[39/82] Compiling SwiftSyntax509 Empty.swift
[40/82] Emitting module SwiftSyntax509
[42/83] Emitting module SwiftSyntax510
[43/83] Compiling SwiftSyntax510 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/84] 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 {
[46/84] Wrapping AST for SwiftSyntax600 for debugging
[47/84] Wrapping AST for SwiftSyntax509 for debugging
[48/84] Wrapping AST for SwiftSyntax510 for debugging
[50/84] Emitting module BluetoothMetadata
[51/150] Wrapping AST for BluetoothMetadata for debugging
[53/150] Emitting module GenerateBluetooth
[54/151] Wrapping AST for GenerateBluetooth for debugging
[55/151] Write Objects.LinkFileList
[56/151] Linking GenerateBluetooth-tool
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/UnitIdentifiers.swift
[57/151] Generate Bluetooth Unit Identifier Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/ServiceUUID.swift
[58/151] Generate Bluetooth Service UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/DescriptorUUID.swift
[59/151] Generate Bluetooth Descriptor UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/DeclarationUUID.swift
[60/151] Generate Bluetooth Declaration UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/CharacteristicUUID.swift
[61/151] Generate Bluetooth Characteristic UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/MemberUUID.swift
[62/151] Generate Bluetooth Member UUID Definitions
[64/151] Compiling SwiftSyntax AbsolutePosition.swift
[65/151] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[66/151] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[67/151] Compiling SwiftSyntax Assert.swift
[68/151] Compiling SwiftSyntax BumpPtrAllocator.swift
[69/151] Compiling SwiftSyntax CommonAncestor.swift
[70/151] Compiling SwiftSyntax Convenience.swift
[71/151] Compiling SwiftSyntax CustomTraits.swift
[72/151] Compiling SwiftSyntax Identifier.swift
Generated /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/Bluetooth/destination/GenerateBluetoothDefinitions/CompanyIdentifiers.swift
[72/159] Generate Bluetooth Company Identifier Definitions
[73/159] Write sources
[75/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 {
[76/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 {
[77/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 {
[78/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 {
[79/159] Compiling SwiftSyntax SyntaxNodeFactory.swift
[80/159] Compiling SwiftSyntax SyntaxNodeStructure.swift
[81/159] Compiling SwiftSyntax SyntaxProtocol.swift
[82/159] Compiling SwiftSyntax SyntaxText.swift
[83/159] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[84/159] Compiling SwiftSyntax TokenDiagnostic.swift
[85/159] Compiling SwiftSyntax TokenSequence.swift
[86/159] Compiling SwiftSyntax TokenSyntax.swift
[87/159] Compiling SwiftSyntax Trivia.swift
BUILD FAILURE 6.2 wasm