Build Information
Failed to build BluetoothLinux, reference 5.0.5 (ddd549
), with Swift 6.1 for Wasm on 28 May 2025 19:21:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 5.0.5
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
* tag 5.0.5 -> FETCH_HEAD
HEAD is now at ddd5493 Updated dependencies
Cloned https://github.com/pureswift/bluetoothlinux.git
Revision (git rev-parse @):
ddd5493bd5382ca0132b8ca121dd35c7554ab7d0
SUCCESS checkout https://github.com/pureswift/bluetoothlinux.git at 5.0.5
========================================
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" : {
"range" : [
{
"lower_bound" : "6.0.0",
"upper_bound" : "7.0.0"
}
]
},
"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",
"sources" : [
"BluetoothLinuxTests.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" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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/Socket.git
[1/1083] Fetching socket
Fetched https://github.com/PureSwift/Socket.git from cache (0.25s)
Fetching https://github.com/PureSwift/Bluetooth.git
Fetching https://github.com/apple/swift-system
[1/23587] Fetching bluetooth
[1653/27978] Fetching bluetooth, swift-system
Fetched https://github.com/apple/swift-system from cache (1.27s)
Fetched https://github.com/PureSwift/Bluetooth.git from cache (1.40s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.2 (1.89s)
Computing version for https://github.com/PureSwift/Bluetooth.git
Computed https://github.com/PureSwift/Bluetooth.git at 6.4.3 (0.61s)
Creating working copy for https://github.com/PureSwift/Bluetooth.git
Working copy of https://github.com/PureSwift/Bluetooth.git resolved at 6.4.3
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)
warning: 'bluetooth': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/Resources/CompanyIdentifiers.txt
Building for debugging...
[0/11] Write sources
[6/11] Compiling CBluetoothLinux dummy.c
[7/11] Compiling CSocket shims.c
[8/11] Compiling CSystem shims.c
[9/11] Compiling CBluetoothLinuxTest dummy.c
[10/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/68] 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)
[13/71] Compiling Bluetooth ByteSwap.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)
[14/71] Compiling Bluetooth ByteValue.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)
[15/71] Compiling Bluetooth ClassOfDevice.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)
[16/71] Compiling Bluetooth CompanyIdentifier.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)
[17/71] Compiling Bluetooth Integer.swift
[18/71] Compiling Bluetooth UUID.swift
[19/71] Compiling Bluetooth GeneratedCompanyIdentifierNames.swift
[20/71] Compiling Bluetooth GeneratedCompanyIdentifiers.swift
[21/71] Compiling SystemPackage Util+StringArray.swift
[22/71] Compiling SystemPackage Util.swift
[23/71] Compiling SystemPackage UtilConsumers.swift
[24/71] Compiling Bluetooth SFloat.swift
[25/71] Compiling Bluetooth SecurityLevel.swift
[26/71] Compiling Bluetooth UInt128.swift
[27/71] Compiling Bluetooth Address.swift
[28/71] Compiling Bluetooth AsyncIndefiniteStream.swift
[29/71] Compiling Bluetooth BitMaskOption.swift
[30/71] Compiling Bluetooth BluetoothUUID.swift
[31/71] Compiling Bluetooth UInt24.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 |
[32/71] Compiling Bluetooth UInt256.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 |
[33/71] Compiling Bluetooth UInt40.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 |
[34/71] Compiling Bluetooth UInt48.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 |
[35/71] Compiling Bluetooth DefinedUUID.swift
[36/71] Compiling Bluetooth DefinedUUIDExtension.swift
[37/71] Compiling Bluetooth DataConvertible.swift
[38/71] Compiling Bluetooth Hexadecimal.swift
[39/71] Compiling Bluetooth L2CAPSocket.swift
[40/71] Compiling Bluetooth LowEnergyAdvertisingData.swift
[41/71] Compiling Bluetooth LowEnergyScanTimeInterval.swift
[42/71] Compiling Bluetooth RSSI.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:221:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
219 | // MARK: - Sequence
220 |
221 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
222 |
223 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
231 |
232 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
231 |
232 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:331:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
329 | // MARK: - RandomAccessCollection
330 |
331 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
332 |
333 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:184:16: error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
182 |
183 | public var description: String {
184 | return toHexadecimal()
| `- error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
185 | }
186 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/Extensions/Hexadecimal.swift:21:10: note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
19 | }
20 |
21 | internal extension Collection where Element: FixedWidthInteger {
| `- note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
22 |
23 | func toHexadecimal() -> String {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:214:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
212 | var data: Data {
213 | var data = Data(capacity: count)
214 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
215 | return data
216 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:221:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
219 | // MARK: - Sequence
220 |
221 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
222 |
223 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
231 |
232 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
231 |
232 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:331:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
329 | // MARK: - RandomAccessCollection
330 |
331 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
332 |
333 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:184:16: error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
182 |
183 | public var description: String {
184 | return toHexadecimal()
| `- error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
185 | }
186 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/Extensions/Hexadecimal.swift:21:10: note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
19 | }
20 |
21 | internal extension Collection where Element: FixedWidthInteger {
| `- note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
22 |
23 | func toHexadecimal() -> String {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:214:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
212 | var data: Data {
213 | var data = Data(capacity: count)
214 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
215 | return data
216 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:221:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
219 | // MARK: - Sequence
220 |
221 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
222 |
223 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
231 |
232 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
231 |
232 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:331:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
329 | // MARK: - RandomAccessCollection
330 |
331 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
332 |
333 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:184:16: error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
182 |
183 | public var description: String {
184 | return toHexadecimal()
| `- error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
185 | }
186 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/Extensions/Hexadecimal.swift:21:10: note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
19 | }
20 |
21 | internal extension Collection where Element: FixedWidthInteger {
| `- note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
22 |
23 | func toHexadecimal() -> String {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:214:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
212 | var data: Data {
213 | var data = Data(capacity: count)
214 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
215 | return data
216 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:221:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
219 | // MARK: - Sequence
220 |
221 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
222 |
223 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
231 |
232 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
231 |
232 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:331:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
329 | // MARK: - RandomAccessCollection
330 |
331 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
332 |
333 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:184:16: error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
182 |
183 | public var description: String {
184 | return toHexadecimal()
| `- error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
185 | }
186 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/Extensions/Hexadecimal.swift:21:10: note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
19 | }
20 |
21 | internal extension Collection where Element: FixedWidthInteger {
| `- note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
22 |
23 | func toHexadecimal() -> String {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:214:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
212 | var data: Data {
213 | var data = Data(capacity: count)
214 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
215 | return data
216 | }
[63/75] Emitting module Bluetooth
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
warning: 'bluetooth': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/Resources/CompanyIdentifiers.txt
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/58] Compiling SystemPackage Backcompat.swift
[3/58] Compiling SystemPackage CInterop.swift
[4/58] Compiling SystemPackage Constants.swift
[5/58] Compiling SystemPackage Exports.swift
[6/61] 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)
[7/61] 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)
[8/61] 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)
[9/61] 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)
[10/61] Emitting module Bluetooth
[11/61] Compiling SystemPackage Mocking.swift
[12/61] Compiling SystemPackage RawBuffer.swift
[13/61] Compiling SystemPackage Syscalls.swift
[14/61] 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 |
/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 |
[19/65] Compiling SystemPackage MachPort.swift
[20/65] Compiling SystemPackage PlatformString.swift
[21/65] Compiling SystemPackage SystemString.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/65] 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)
[23/65] Compiling SystemPackage FileOperations.swift
[24/65] Compiling SystemPackage FilePath.swift
[25/65] Compiling SystemPackage FilePathComponentView.swift
[26/65] Compiling SystemPackage FilePathComponents.swift
[27/65] Compiling SystemPackage FilePathParsing.swift
[28/65] Compiling SystemPackage FilePathString.swift
[29/65] Compiling SystemPackage FilePathSyntax.swift
[30/65] Compiling SystemPackage FilePathTemp.swift
[31/65] Compiling SystemPackage Errno.swift
[32/65] Compiling SystemPackage ErrnoWindows.swift
[33/65] Compiling SystemPackage FileDescriptor.swift
[34/65] Compiling SystemPackage FileHelpers.swift
[35/65] Compiling SystemPackage Util+StringArray.swift
[36/65] Compiling Bluetooth Unit.swift
[37/65] Compiling Bluetooth UnitIdentifier.swift
[48/65] Compiling Bluetooth UnitIdentifierExtension.swift
[49/65] Compiling Bluetooth iBeacon.swift
BUILD FAILURE 6.1 wasm