Build Information
Failed to build BluetoothLinux, reference master (d102e1
), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 11:17:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/bluetoothlinux.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/bluetoothlinux
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d102e1b Update README.md
Cloned https://github.com/pureswift/bluetoothlinux.git
Revision (git rev-parse @):
d102e1b2e3fd9f65596b114b33fe7e51229f2a0c
SUCCESS checkout https://github.com/pureswift/bluetoothlinux.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/pureswift/bluetoothlinux.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/PureSwift/Bluetooth.git
[1/23626] Fetching bluetooth
Fetched https://github.com/PureSwift/Bluetooth.git from cache (1.41s)
Fetching https://github.com/PureSwift/Socket.git
[1/1083] Fetching socket
Fetched https://github.com/PureSwift/Socket.git from cache (0.25s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftlang/swift-syntax.git
[1/4436] Fetching swift-system
[4437/75342] Fetching swift-system, swift-syntax
Fetched https://github.com/apple/swift-system from cache (4.32s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.37s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (7.19s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.34s)
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
Creating working copy for https://github.com/PureSwift/Bluetooth.git
Working copy of https://github.com/PureSwift/Bluetooth.git resolved at master (3db3287)
Creating working copy for https://github.com/PureSwift/Socket.git
Working copy of https://github.com/PureSwift/Socket.git resolved at main (fa5f3c5)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
[0/14] Write sources
[0/14] Copying DeclarationUUID.json
[0/14] Copying ServiceUUID.json
[0/14] Copying MemberUUID.json
[0/14] Write sources
[0/14] Copying CharacteristicUUID.json
[6/14] Copying DescriptorUUID.json
[6/14] Copying CompanyIdentifier.json
[7/14] Copying UnitIdentifier.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] Emitting module BluetoothMetadata
[15/19] Compiling BluetoothMetadata BluetoothUUID.swift
[16/20] Wrapping AST for BluetoothMetadata for debugging
[18/27] Emitting module GenerateBluetooth
[19/27] Compiling GenerateBluetooth BluetoothUUID.swift
[20/27] Compiling GenerateBluetooth Generate.swift
[21/27] Compiling GenerateBluetooth CompanyIdentifier.swift
[22/27] Compiling GenerateBluetooth String.swift
[23/27] Compiling GenerateBluetooth Hexadecimal.swift
[24/27] Compiling GenerateBluetooth UnitIdentifier.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/73] Write sources
[4/73] Copying UnitIdentifier.json
[4/73] Copying ServiceUUID.json
[4/73] Copying MemberUUID.json
[4/73] Copying DescriptorUUID.json
[4/73] Copying CharacteristicUUID.json
[4/73] Write sources
[4/73] Copying CompanyIdentifier.json
[4/73] Write sources
[4/73] Copying UnitIdentifier.json
[4/73] Copying ServiceUUID.json
[4/73] Copying MemberUUID.json
[4/73] Copying DescriptorUUID.json
[4/73] Copying DeclarationUUID.json
[4/73] Copying CompanyIdentifier.json
[4/73] Copying CharacteristicUUID.json
[4/73] Write sources
[4/73] Copying DeclarationUUID.json
[38/73] Compiling CBluetoothLinuxTest dummy.c
[39/73] Compiling CSocket shims.c
[40/73] Compiling _SwiftSyntaxCShims dummy.c
[41/73] Compiling CSystem shims.c
[42/73] Compiling CBluetoothLinux dummy.c
[43/73] Write swift-version-24593BA9C3E375BF.txt
[45/85] Emitting module SwiftSyntax509
[46/85] Emitting module SwiftSyntax510
[47/85] Compiling SwiftSyntax510 Empty.swift
[48/86] Emitting module SwiftSyntax600
[49/86] Compiling SwiftSyntax600 Empty.swift
[50/86] Compiling SwiftSyntax509 Empty.swift
[53/116] Wrapping AST for SwiftSyntax600 for debugging
[54/116] Wrapping AST for SwiftSyntax510 for debugging
[55/116] Wrapping AST for SwiftSyntax509 for debugging
[57/116] Emitting module BluetoothMetadata
[58/127] Wrapping AST for BluetoothMetadata for debugging
[60/182] Emitting module GenerateBluetooth
[61/183] Wrapping AST for GenerateBluetooth for debugging
[62/183] Write Objects.LinkFileList
[63/183] Linking GenerateBluetooth-tool
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/UnitIdentifiers.swift
[64/183] Generate Bluetooth Unit Identifier Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/ServiceUUID.swift
[65/183] Generate Bluetooth Service UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/DeclarationUUID.swift
[66/183] Generate Bluetooth Declaration UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/DescriptorUUID.swift
[67/183] Generate Bluetooth Descriptor UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CharacteristicUUID.swift
[68/183] Generate Bluetooth Characteristic UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/MemberUUID.swift
[69/183] Generate Bluetooth Member UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CompanyIdentifiers.swift
[70/183] Generate Bluetooth Company Identifier Definitions
[71/183] Write sources
[73/183] Compiling SwiftSyntax MemoryLayout.swift
[74/183] Compiling SwiftSyntax MissingNodeInitializers.swift
[75/183] Compiling SwiftSyntax RawSyntax.swift
[76/183] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[77/183] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[78/183] Compiling SwiftSyntax RawSyntaxTokenView.swift
[79/183] Compiling SwiftSyntax SourceEdit.swift
[80/183] Compiling SwiftSyntax SourceLength.swift
[81/183] Compiling SwiftSyntax SourceLocation.swift
[82/183] Compiling SwiftSyntax AbsolutePosition.swift
[83/183] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[84/183] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[85/183] Compiling SwiftSyntax Assert.swift
[86/183] Compiling SwiftSyntax BumpPtrAllocator.swift
[87/183] Compiling SwiftSyntax CommonAncestor.swift
[88/183] Compiling SwiftSyntax Convenience.swift
[89/183] Compiling SwiftSyntax CustomTraits.swift
[90/183] Compiling SwiftSyntax Identifier.swift
[91/183] Compiling SwiftSyntax SourcePresence.swift
[92/183] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[93/183] Compiling SwiftSyntax Syntax.swift
[94/183] Compiling SwiftSyntax SyntaxArena.swift
[95/183] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[96/183] Compiling SwiftSyntax SyntaxChildren.swift
[97/183] Compiling SwiftSyntax SyntaxCollection.swift
[98/183] Compiling SwiftSyntax SyntaxHashable.swift
[99/183] Compiling SwiftSyntax SyntaxIdentifier.swift
[100/191] Compiling BluetoothMetadata resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/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/191] Compiling BluetoothMetadata BluetoothMetadata.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/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 {
[105/191] Compiling BluetoothMetadata CompanyIdentifier.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/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 {
[106/191] Compiling BluetoothMetadata BluetoothUUID.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/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)
[107/191] Emitting module BluetoothMetadata
/host/spi-builder-workspace/.build/checkouts/Bluetooth/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 {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
BUILD FAILURE 6.2 wasm