Build Information
Failed to build BluetoothLinux, reference master (d102e1
), with Swift 6.1 for Wasm on 28 May 2025 19:23:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.63.1
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.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-4609320-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/23587] Fetching bluetooth
Fetched https://github.com/PureSwift/Bluetooth.git from cache (1.82s)
Fetching https://github.com/PureSwift/Socket.git
[1/1083] Fetching socket
Fetched https://github.com/PureSwift/Socket.git from cache (0.32s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftlang/swift-syntax.git
[1/4391] Fetching swift-system
[4392/74840] Fetching swift-system, swift-syntax
Fetched https://github.com/apple/swift-system from cache (5.97s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.02s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (9.37s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.2 (1.00s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.2
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/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 (f68ca7c)
[0/14] Write sources
[0/14] Copying UnitIdentifier.json
[0/14] Copying ServiceUUID.json
[0/14] Copying DeclarationUUID.json
[0/14] Copying MemberUUID.json
[0/14] Write sources
[0/14] Copying CharacteristicUUID.json
[0/14] Copying DescriptorUUID.json
[8/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 BluetoothUUID.swift
[14/19] Compiling BluetoothMetadata resource_bundle_accessor.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 BluetoothUUID.swift
[20/27] Emitting module GenerateBluetooth
[21/27] Compiling GenerateBluetooth CompanyIdentifier.swift
[22/27] Compiling GenerateBluetooth String.swift
[23/27] Compiling GenerateBluetooth Generate.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
[20/73] Copying UnitIdentifier.json
[20/73] Write sources
[20/73] Copying ServiceUUID.json
[20/73] Copying DescriptorUUID.json
[23/73] Copying MemberUUID.json
[24/73] Copying DeclarationUUID.json
[26/73] Copying CharacteristicUUID.json
[27/73] Write sources
[29/73] Copying UnitIdentifier.json
[30/73] Copying CompanyIdentifier.json
[30/73] Copying ServiceUUID.json
[32/73] Copying DescriptorUUID.json
[32/73] Copying MemberUUID.json
[34/73] Copying DeclarationUUID.json
[35/73] Copying CompanyIdentifier.json
[35/73] Copying CharacteristicUUID.json
[37/73] Write sources
[38/73] Compiling CBluetoothLinux dummy.c
[39/73] Compiling CSystem shims.c
[40/73] Compiling _SwiftSyntaxCShims dummy.c
[41/73] Compiling CSocket shims.c
[42/73] Compiling CBluetoothLinuxTest dummy.c
[43/73] Write swift-version-24593BA9C3E375BF.txt
[45/113] Compiling SwiftSyntax600 Empty.swift
[46/113] Emitting module SwiftSyntax600
[47/114] Emitting module SwiftSyntax510
[48/114] Compiling SwiftSyntax510 Empty.swift
[51/115] Emitting module SwiftSyntax509
[52/115] Compiling SwiftSyntax509 Empty.swift
[53/116] Wrapping AST for SwiftSyntax600 for debugging
[55/116] Emitting module BluetoothMetadata
[55/117] Wrapping AST for SwiftSyntax510 for debugging
[57/117] Wrapping AST for SwiftSyntax509 for debugging
[58/117] 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/DeclarationUUID.swift
[65/183] Generate Bluetooth Declaration UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/DescriptorUUID.swift
[66/183] Generate Bluetooth Descriptor UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/ServiceUUID.swift
[67/183] Generate Bluetooth Service UUID Definitions
[69/183] Emitting module BluetoothMetadata
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CharacteristicUUID.swift
[69/183] Generate Bluetooth Characteristic UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/MemberUUID.swift
[70/183] Generate Bluetooth Member UUID Definitions
[72/183] Compiling SwiftSyntax RawSyntax.swift
[73/183] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[74/183] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[75/186] Compiling SwiftSyntax AbsolutePosition.swift
[76/186] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[77/186] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[78/186] Compiling SwiftSyntax Assert.swift
[79/186] Compiling SwiftSyntax BumpPtrAllocator.swift
[80/186] Compiling SwiftSyntax CommonAncestor.swift
[81/186] Compiling SwiftSyntax Convenience.swift
[82/186] Compiling SwiftSyntax CustomTraits.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[83/186] 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)
[84/186] Compiling SwiftSyntax Identifier.swift
[85/186] Compiling SwiftSyntax SourcePresence.swift
[86/186] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[87/186] Compiling SwiftSyntax Syntax.swift
[88/186] Compiling SwiftSyntax SyntaxHashable.swift
[89/186] Compiling SwiftSyntax SyntaxIdentifier.swift
[90/186] Compiling SwiftSyntax MemoryLayout.swift
[91/186] Compiling SwiftSyntax MissingNodeInitializers.swift
[92/186] Compiling SwiftSyntax SyntaxArena.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)
[93/186] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.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)
[94/186] Compiling SwiftSyntax SyntaxChildren.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)
[95/186] Compiling SwiftSyntax SyntaxCollection.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)
[105/186] Compiling SwiftSyntax RawSyntaxTokenView.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 |
[106/186] Compiling SwiftSyntax SourceEdit.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 |
[107/186] Compiling SwiftSyntax SourceLength.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 |
[108/186] Compiling SwiftSyntax SourceLocation.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 |
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CompanyIdentifiers.swift
[114/194] Generate Bluetooth Company Identifier Definitions
[126/194] Write sources
[129/194] Compiling SystemPackage Util+StringArray.swift
[130/194] Compiling SystemPackage Util.swift
[131/194] Compiling SystemPackage UtilConsumers.swift
[132/194] Compiling BluetoothMetadata resource_bundle_accessor.swift
[133/194] Compiling BluetoothMetadata BluetoothUUID.swift
[134/194] Compiling BluetoothMetadata CompanyIdentifier.swift
[135/194] Compiling BluetoothMetadata BluetoothMetadata.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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 ServiceUUID.json
[1/12] Copying DescriptorUUID.json
[2/12] Copying UnitIdentifier.json
[4/12] Copying MemberUUID.json
[4/12] Copying DeclarationUUID.json
[6/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] Emitting module GenerateBluetooth
[17/25] Compiling GenerateBluetooth BluetoothUUID.swift
[18/25] Compiling GenerateBluetooth UnitIdentifier.swift
[19/25] Compiling GenerateBluetooth Generate.swift
[20/25] Compiling GenerateBluetooth CompanyIdentifier.swift
[21/25] Compiling GenerateBluetooth Hexadecimal.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/32] Copying CharacteristicUUID.json
[2/38] Copying ServiceUUID.json
[2/38] Copying MemberUUID.json
[2/38] Copying DescriptorUUID.json
[2/38] Copying DeclarationUUID.json
[2/38] Copying CompanyIdentifier.json
[2/38] Copying UnitIdentifier.json
[8/38] Write swift-version-24593BA9C3E375BF.txt
[10/75] Emitting module SwiftSyntax600
[11/78] Emitting module SwiftSyntax510
[12/78] Compiling SwiftSyntax510 Empty.swift
[13/79] Compiling SwiftSyntax509 Empty.swift
[14/79] Emitting module SwiftSyntax509
[15/80] Compiling SwiftSyntax600 Empty.swift
[16/81] Emitting module BluetoothMetadata
[18/82] Compiling BluetoothMetadata resource_bundle_accessor.swift
[22/79] 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)
[23/79] 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)
[24/79] Compiling SystemPackage FilePathWindows.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)
[25/79] Compiling SystemPackage FilePermissions.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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/82] 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)
[27/82] Compiling BluetoothMetadata CompanyIdentifier.swift
[28/82] Compiling BluetoothMetadata BluetoothMetadata.swift
[29/82] Emitting module BluetoothMetadata
[30/82] Compiling BluetoothMetadata BluetoothUUID.swift
[30/83] Wrapping AST for BluetoothMetadata for debugging
[33/148] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[34/148] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[35/148] Compiling SwiftSyntax RawSyntaxTokenView.swift
[36/148] Compiling SwiftSyntax SourceEdit.swift
[37/148] Compiling SwiftSyntax Syntax.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 |
[38/148] Compiling SwiftSyntax SyntaxArena.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 |
[39/148] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.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 |
[40/148] Compiling SwiftSyntax SyntaxChildren.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 |
[41/148] Compiling SwiftSyntax SourceLength.swift
[42/148] Compiling SwiftSyntax SourceLocation.swift
[43/148] Compiling SwiftSyntax SourcePresence.swift
[44/148] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[45/148] Compiling SwiftSyntax SyntaxCollection.swift
[46/148] Compiling SwiftSyntax SyntaxHashable.swift
[47/148] Compiling SwiftSyntax SyntaxIdentifier.swift
[48/148] Emitting module GenerateBluetooth
[50/149] Compiling SwiftSyntax AbsolutePosition.swift
[51/149] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[52/149] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[53/149] Compiling SwiftSyntax Assert.swift
[54/149] Compiling SwiftSyntax SyntaxNodeFactory.swift
[55/149] Compiling SwiftSyntax SyntaxNodeStructure.swift
[56/149] Compiling SwiftSyntax SyntaxProtocol.swift
[57/149] Compiling SwiftSyntax BumpPtrAllocator.swift
[58/149] Compiling SwiftSyntax CommonAncestor.swift
[59/149] Compiling SwiftSyntax Convenience.swift
[60/149] Compiling SwiftSyntax CustomTraits.swift
[60/149] Wrapping AST for GenerateBluetooth for debugging
BUILD FAILURE 6.1 wasm