Build Information
Failed to build BluetoothLinux, reference master (077f9d
), with Swift 6.1 for Wasm on 30 Jul 2025 04:04:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-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 077f9d3 Merge pull request #49 from the-braveknight/master
Cloned https://github.com/pureswift/bluetoothlinux.git
Revision (git rev-parse @):
077f9d36afdae57e12c436842db56ef318e2fd23
SUCCESS checkout https://github.com/pureswift/bluetoothlinux.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/pureswift/bluetoothlinux.git
https://github.com/pureswift/bluetoothlinux.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "bluetooth",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/PureSwift/Bluetooth.git"
},
{
"identity" : "socket",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/PureSwift/Socket.git"
}
],
"manifest_display_name" : "BluetoothLinux",
"name" : "BluetoothLinux",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "BluetoothLinux",
"targets" : [
"BluetoothLinux"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CBluetoothLinuxTest",
"module_type" : "ClangTarget",
"name" : "CBluetoothLinuxTest",
"path" : "Sources/CBluetoothLinuxTest",
"sources" : [
"dummy.c"
],
"type" : "library"
},
{
"c99name" : "CBluetoothLinux",
"module_type" : "ClangTarget",
"name" : "CBluetoothLinux",
"path" : "Sources/CBluetoothLinux",
"product_memberships" : [
"BluetoothLinux"
],
"sources" : [
"dummy.c"
],
"type" : "library"
},
{
"c99name" : "BluetoothLinuxTests",
"module_type" : "SwiftTarget",
"name" : "BluetoothLinuxTests",
"path" : "Tests/BluetoothLinuxTests",
"product_dependencies" : [
"BluetoothGATT",
"BluetoothGAP"
],
"sources" : [
"BluetoothLinuxTests.swift",
"L2CAPTests.swift"
],
"target_dependencies" : [
"BluetoothLinux",
"CBluetoothLinuxTest"
],
"type" : "test"
},
{
"c99name" : "BluetoothLinux",
"module_type" : "SwiftTarget",
"name" : "BluetoothLinux",
"path" : "Sources/BluetoothLinux",
"product_dependencies" : [
"Bluetooth",
"BluetoothHCI",
"Socket"
],
"product_memberships" : [
"BluetoothLinux"
],
"sources" : [
"AddressType.swift",
"BNEP/BNEP.swift",
"BNEP/IOCTL/BNEPIO.swift",
"CMTP/CMTP.swift",
"CMTP/IOCTL/CMTPIO.swift",
"Error.swift",
"Extensions/Sequence.swift",
"HCI/DeviceCommand.swift",
"HCI/DevicePollEvent.swift",
"HCI/DeviceRequest.swift",
"HCI/HCIBusType.swift",
"HCI/HCIChannel.swift",
"HCI/HCIControllerType.swift",
"HCI/HCIDeviceEvent.swift",
"HCI/HCIDeviceFlag.swift",
"HCI/HCIDeviceOptions.swift",
"HCI/HCIFileDescriptor.swift",
"HCI/HCIPacketType.swift",
"HCI/HCISocketAddress.swift",
"HCI/HCISocketOption.swift",
"HCI/HostController.swift",
"HCI/IOCTL/HCIDeviceDown.swift",
"HCI/IOCTL/HCIDeviceInformation.swift",
"HCI/IOCTL/HCIDeviceList.swift",
"HCI/IOCTL/HCIDeviceUp.swift",
"HCI/IOCTL/HCIScan.swift",
"HCI/IOCTL/HostControllerIO.swift",
"HCI/SocketOptions/HCIFilterSocketOption.swift",
"HIDP/HIDP.swift",
"HIDP/IOCTL/HIDPIO.swift",
"IOControl/DeviceDown.swift",
"Internal/CInterop.swift",
"Internal/CSocketAddress.swift",
"Internal/Darwin.swift",
"Internal/IOCTL.swift",
"Internal/SocketDescriptor.swift",
"L2CAP/L2CAPFileDescriptor.swift",
"L2CAP/L2CAPSocket.swift",
"L2CAP/L2CAPSocketAddress.swift",
"L2CAP/L2CAPSocketOption.swift",
"LinkMode.swift",
"RFCOMM/IOCTL/RFCOMMCreateDevice.swift",
"RFCOMM/IOCTL/RFCOMMGetDeviceInformation.swift",
"RFCOMM/IOCTL/RFCOMMGetDeviceList.swift",
"RFCOMM/IOCTL/RFCOMMIO.swift",
"RFCOMM/IOCTL/RFCOMMReleaseDevice.swift",
"RFCOMM/RFCOMMDevice.swift",
"RFCOMM/RFCOMMFlag.swift",
"RFCOMM/RFCOMMLinkMode.swift",
"RFCOMM/RFCOMMSocket.swift",
"RFCOMM/RFCOMMSocketAddress.swift",
"RFCOMM/RFCOMMSocketOption.swift",
"RFCOMM/RFCOMMState.swift",
"SCO/SCOSocket.swift",
"SCO/SCOSocketOption.swift",
"SocketAddress.swift",
"SocketOption.swift",
"SocketOptionLevel.swift",
"SocketOptions/SecuritySocketOption.swift",
"SocketProtocol.swift"
],
"target_dependencies" : [
"CBluetoothLinux"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/PureSwift/Bluetooth.git
[1/23834] Fetching bluetooth
Fetched https://github.com/PureSwift/Bluetooth.git from cache (2.38s)
Fetching https://github.com/PureSwift/Socket.git
[1/1321] Fetching socket
Fetched https://github.com/PureSwift/Socket.git from cache (0.44s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftlang/swift-syntax.git
[1/4776] Fetching swift-system
[4777/76142] Fetching swift-system, swift-syntax
Fetched https://github.com/apple/swift-system from cache (8.83s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.93s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (13.19s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.0 (0.87s)
Creating working copy for https://github.com/PureSwift/Bluetooth.git
Working copy of https://github.com/PureSwift/Bluetooth.git resolved at master (52f228b)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.0
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
Creating working copy for https://github.com/PureSwift/Socket.git
Working copy of https://github.com/PureSwift/Socket.git resolved at main (3a0b240)
[0/14] Write sources
[0/14] Copying DeclarationUUID.json
[0/14] Copying CharacteristicUUID.json
[0/14] Copying CompanyIdentifier.json
[0/14] Copying DescriptorUUID.json
[0/14] Write sources
[6/14] Copying UnitIdentifier.json
[7/14] Copying ServiceUUID.json
[8/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] Emitting module BluetoothMetadata
[14/19] Compiling BluetoothMetadata BluetoothUUID.swift
[15/19] Compiling BluetoothMetadata BluetoothMetadata.swift
[16/20] Wrapping AST for BluetoothMetadata for debugging
[18/27] Compiling GenerateBluetooth UnitIdentifier.swift
[19/27] Emitting module GenerateBluetooth
[20/27] Compiling GenerateBluetooth String.swift
[21/27] Compiling GenerateBluetooth Generate.swift
[22/27] Compiling GenerateBluetooth BluetoothUUID.swift
[23/27] Compiling GenerateBluetooth Hexadecimal.swift
[24/27] Compiling GenerateBluetooth CompanyIdentifier.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/76] Write sources
[16/76] Copying UnitIdentifier.json
[16/76] Copying ServiceUUID.json
[16/76] Copying DescriptorUUID.json
[16/76] Copying MemberUUID.json
[16/76] Copying DeclarationUUID.json
[16/76] Copying CharacteristicUUID.json
[16/76] Write sources
[16/76] Copying CompanyIdentifier.json
[16/76] Write sources
[16/76] Copying UnitIdentifier.json
[16/76] Copying ServiceUUID.json
[16/76] Copying MemberUUID.json
[16/76] Copying DescriptorUUID.json
[16/76] Copying DeclarationUUID.json
[16/76] Copying CompanyIdentifier.json
[16/76] Copying CharacteristicUUID.json
[39/76] Compiling CSocket android.c
[40/76] Compiling CSocket shims.c
[41/76] Compiling _SwiftSyntaxCShims dummy.c
[42/76] Compiling CSystem shims.c
[43/76] Compiling CBluetoothLinux dummy.c
[44/76] Compiling CBluetoothLinuxTest dummy.c
[45/76] Write swift-version-24593BA9C3E375BF.txt
[47/89] Compiling SwiftSyntax509 Empty.swift
[48/89] Compiling SwiftSyntax510 Empty.swift
[49/90] Emitting module SwiftSyntax509
[50/91] Compiling SwiftSyntax601 Empty.swift
[51/118] Emitting module SwiftSyntax601
[52/123] Emitting module SwiftSyntax510
[55/124] Emitting module SwiftSyntax600
[56/124] Compiling SwiftSyntax600 Empty.swift
[58/125] Emitting module BluetoothMetadata
[58/126] Wrapping AST for SwiftSyntax601 for debugging
[60/126] Wrapping AST for SwiftSyntax510 for debugging
[61/126] Wrapping AST for SwiftSyntax509 for debugging
[63/126] Wrapping AST for SwiftSyntax600 for debugging
[64/126] Wrapping AST for BluetoothMetadata for debugging
[66/191] Emitting module GenerateBluetooth
[67/192] Wrapping AST for GenerateBluetooth for debugging
[68/192] Write Objects.LinkFileList
[69/192] Linking GenerateBluetooth-tool
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/UnitIdentifiers.swift
[70/192] Generate Bluetooth Unit Identifier Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/DeclarationUUID.swift
[71/192] Generate Bluetooth Declaration UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/ServiceUUID.swift
[72/192] Generate Bluetooth Service UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/DescriptorUUID.swift
[73/192] Generate Bluetooth Descriptor UUID Definitions
[75/192] Emitting module BluetoothMetadata
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/MemberUUID.swift
[75/192] Generate Bluetooth Member UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CharacteristicUUID.swift
[76/192] Generate Bluetooth Characteristic UUID Definitions
[78/192] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
/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)
[79/192] Compiling SwiftSyntax RawSyntaxTokenView.swift
/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)
[80/192] Compiling SwiftSyntax SourceEdit.swift
/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)
[81/192] Compiling SwiftSyntax SourceLength.swift
/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)
[82/196] Compiling SwiftSyntax SourceLocation.swift
[83/196] Compiling SwiftSyntax SourcePresence.swift
[84/196] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[85/196] Compiling SwiftSyntax Syntax.swift
[86/196] Compiling SwiftSyntax SyntaxArena.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[87/196] Emitting module SystemPackage
/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)
[88/196] Compiling SwiftSyntax Identifier.swift
[89/196] Compiling SwiftSyntax MemoryLayout.swift
[90/196] Compiling SwiftSyntax MissingNodeInitializers.swift
[91/196] Compiling SwiftSyntax RawSyntax.swift
[92/196] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[93/196] Compiling SwiftSyntax AbsolutePosition.swift
[94/196] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[95/196] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[96/196] Compiling SwiftSyntax Assert.swift
[97/196] Compiling SwiftSyntax BumpPtrAllocator.swift
[98/196] Compiling SwiftSyntax CommonAncestor.swift
[99/196] Compiling SwiftSyntax Convenience.swift
[100/196] Compiling SwiftSyntax CustomTraits.swift
[101/196] Compiling SwiftSyntax EditorPlaceholder.swift
[102/196] Compiling SwiftSyntax SyntaxIdentifier.swift
[103/196] Compiling SwiftSyntax SyntaxNodeFactory.swift
[104/196] Compiling SwiftSyntax SyntaxNodeStructure.swift
[105/196] Compiling SystemPackage SystemString.swift
[106/196] Compiling SystemPackage Util+StringArray.swift
[107/196] Compiling SystemPackage Util.swift
[108/196] Compiling SystemPackage UtilConsumers.swift
[109/196] Compiling SwiftSyntax TokenSequence.swift
[110/196] Compiling SwiftSyntax TokenSyntax.swift
/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:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
/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:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
/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:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
/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:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CompanyIdentifiers.swift
[114/205] Generate Bluetooth Company Identifier Definitions
[115/205] Write sources
[121/205] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[122/205] Compiling SwiftSyntax SyntaxChildren.swift
[123/205] Compiling SwiftSyntax SyntaxCollection.swift
[124/205] Compiling SwiftSyntax SyntaxHashable.swift
[129/205] Compiling BluetoothMetadata CompanyIdentifier.swift
[130/205] Compiling BluetoothMetadata resource_bundle_accessor.swift
[131/205] Compiling BluetoothMetadata BluetoothMetadata.swift
[132/205] Compiling BluetoothMetadata BluetoothUUID.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/6] Copying CharacteristicUUID.json
[1/12] Copying DescriptorUUID.json
[1/12] Copying UnitIdentifier.json
[1/12] Copying ServiceUUID.json
[1/12] Copying MemberUUID.json
[1/12] Copying DeclarationUUID.json
[1/12] Copying CompanyIdentifier.json
[7/12] Write swift-version-24593BA9C3E375BF.txt
[9/17] Compiling BluetoothMetadata resource_bundle_accessor.swift
[10/17] Compiling BluetoothMetadata CompanyIdentifier.swift
[11/17] Compiling BluetoothMetadata BluetoothMetadata.swift
[12/17] Emitting module BluetoothMetadata
[13/17] Compiling BluetoothMetadata BluetoothUUID.swift
[14/18] Wrapping AST for BluetoothMetadata for debugging
[16/25] Compiling GenerateBluetooth Hexadecimal.swift
[17/25] Compiling GenerateBluetooth BluetoothUUID.swift
[18/25] Emitting module GenerateBluetooth
[19/25] Compiling GenerateBluetooth CompanyIdentifier.swift
[20/25] Compiling GenerateBluetooth UnitIdentifier.swift
[21/25] Compiling GenerateBluetooth Generate.swift
[22/25] Compiling GenerateBluetooth String.swift
[23/26] Wrapping AST for GenerateBluetooth for debugging
[24/26] Write Objects.LinkFileList
[25/26] Linking GenerateBluetooth-tool
[0/1] Planning build
[1/1] Compiling plugin GenerateBluetoothDefinitions
Building for debugging...
[1/33] Copying CharacteristicUUID.json
[2/39] Copying UnitIdentifier.json
[3/39] Copying ServiceUUID.json
[4/39] Copying MemberUUID.json
[5/39] Copying DescriptorUUID.json
[5/39] Copying DeclarationUUID.json
[7/39] Copying CompanyIdentifier.json
[8/39] Write swift-version-24593BA9C3E375BF.txt
[10/84] Emitting module SwiftSyntax601
[11/84] Compiling SwiftSyntax601 Empty.swift
[12/84] Compiling SwiftSyntax600 Empty.swift
[13/84] Emitting module SwiftSyntax600
[14/85] Emitting module SwiftSyntax509
[15/85] Emitting module SwiftSyntax510
[16/85] Compiling SwiftSyntax510 Empty.swift
[17/87] Compiling SwiftSyntax509 Empty.swift
[18/88] Compiling BluetoothMetadata resource_bundle_accessor.swift
[23/84] Emitting module BluetoothMetadata
[25/85] Compiling SystemPackage Syscalls.swift
/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:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[26/85] Compiling SystemPackage WindowsSyscallAdapters.swift
/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:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[27/85] Compiling SystemPackage MachPort.swift
/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:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[28/85] Compiling SystemPackage PlatformString.swift
/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:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[30/89] Compiling BluetoothMetadata CompanyIdentifier.swift
[31/89] Compiling SystemPackage FilePathSyntax.swift
/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)
[32/89] Compiling SystemPackage FilePathTemp.swift
/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)
[33/89] Compiling SystemPackage FilePathTempPosix.swift
/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)
[34/89] Compiling SystemPackage FilePathTempWindows.swift
/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)
[35/89] Compiling BluetoothMetadata BluetoothUUID.swift
[36/89] Compiling BluetoothMetadata BluetoothMetadata.swift
[36/89] Wrapping AST for BluetoothMetadata for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/155] Emitting module SystemPackage
/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)
[40/155] Emitting module GenerateBluetooth
[41/156] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[42/156] Compiling SwiftSyntax RawSyntaxTokenView.swift
[43/156] Compiling SwiftSyntax SourceEdit.swift
[44/156] Compiling SwiftSyntax SourceLength.swift
[45/156] Compiling SwiftSyntax SyntaxHashable.swift
[46/156] Compiling SwiftSyntax Trivia.swift
[47/156] Compiling SwiftSyntax Utils.swift
[48/156] Compiling SwiftSyntax ChildNameForKeyPath.swift
[49/156] Compiling SwiftSyntax SourceLocation.swift
[50/156] Compiling SwiftSyntax SourcePresence.swift
[51/156] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[52/156] Compiling SwiftSyntax Syntax.swift
[53/156] Wrapping AST for GenerateBluetooth for debugging
[54/156] Write Objects.LinkFileList
[55/156] Linking GenerateBluetooth-tool
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/UnitIdentifiers.swift
[56/156] Generate Bluetooth Unit Identifier Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/DeclarationUUID.swift
[57/156] Generate Bluetooth Declaration UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/DescriptorUUID.swift
[58/156] Generate Bluetooth Descriptor UUID Definitions
[60/156] Compiling SwiftSyntax Keyword.swift
[61/156] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[62/156] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[63/156] Compiling SwiftSyntax SyntaxAnyVisitor.swift
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/ServiceUUID.swift
[63/156] Generate Bluetooth Service UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CharacteristicUUID.swift
[64/156] Generate Bluetooth Characteristic UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/MemberUUID.swift
[65/156] Generate Bluetooth Member UUID Definitions
[67/156] Compiling SwiftSyntax AbsolutePosition.swift
[68/156] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[69/156] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[70/156] Compiling SwiftSyntax Assert.swift
[71/156] Compiling SwiftSyntax BumpPtrAllocator.swift
[72/156] Compiling SwiftSyntax Identifier.swift
[73/156] Compiling SwiftSyntax MemoryLayout.swift
[74/156] Compiling SwiftSyntax MissingNodeInitializers.swift
[75/156] Compiling SwiftSyntax RawSyntax.swift
[76/156] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[76/156] Generate Bluetooth Company Identifier Definitions
BUILD FAILURE 6.1 wasm