The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BluetoothLinux, reference master (93efd3), with Swift 6.4 for Android on 30 Oct 2026 20:21:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
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 93efd3f Merge pull request #65 from PureSwift/fix/hci-request-timeout
Cloned https://github.com/pureswift/bluetoothlinux.git
Revision (git rev-parse @):
93efd3f038f33d3e200599439b78422279547740
SUCCESS checkout https://github.com/pureswift/bluetoothlinux.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/pureswift/bluetoothlinux.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ec638249ee9496bfd8413990a8663326bfd4883adb2b1d6b616fd753c8ff99b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/PureSwift/Bluetooth.git
[1/25878] Fetching bluetooth
Fetched https://github.com/PureSwift/Bluetooth.git (1.01s)
Fetching https://github.com/PureSwift/Socket.git
[1/1671] Fetching socket
Fetched https://github.com/PureSwift/Socket.git (0.43s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftlang/swift-syntax.git
[1/7394] Fetching swift-system
[3625/26714] Fetching swift-system, swift-argument-parser
[26715/108083] Fetching swift-system, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-system (5.67s)
Fetched https://github.com/apple/swift-argument-parser.git (5.67s)
Fetched https://github.com/swiftlang/swift-syntax.git (5.68s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (7.01s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.27s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.30s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/PureSwift/Bluetooth.git
Working copy of https://github.com/PureSwift/Bluetooth.git resolved at master (6da6787)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/PureSwift/Socket.git
Working copy of https://github.com/PureSwift/Socket.git resolved at main (87047ea)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.23s)
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 714]
[Planning deferred tasks]
[139 / 250] BluetoothMetadata
[146 / 266] SystemPackage
[146 / 266] BluetoothMetadata
[149 / 266] BluetoothMetadata
[159 / 266] SystemPackage
[160 / 266] BluetoothMacros
[170 / 267] SystemPackage-product
[173 / 267] BluetoothMetadata
[175 / 267] BluetoothMacros
[176 / 267] ArgumentParser
[185 / 288] GenerateBluetooth-product
[187 / 288] Socket
[190 / 288] Socket
[191 / 289] Socket
[194 / 290] Socket
[195 / 290] SystemPackage
[198 / 290] GenerateBluetooth-product
[202 / 290] Socket
[214 / 291] ArgumentParser
[221 / 300] ArgumentParser
[221 / 301] ArgumentParser
[231 / 301] ArgumentParserToolInfo
[232 / 301] SystemPackage
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/UnitIdentifiers.swift
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/BluetoothUUIDMetadataNames.swift
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/ServiceUUID.swift
[235 / 301] Bluetooth
[237 / 301] Bluetooth
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/MemberUUID.swift
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/DescriptorUUID.swift
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/DeclarationUUID.swift
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CompanyIdentifierNames.swift
[241 / 301] ArgumentParser
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CharacteristicUUID.swift
[241 / 301] Socket
[244 / 302] ArgumentParser
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CompanyIdentifiers.swift
[256 / 313] Bluetooth
[257 / 313] Bluetooth
[271 / 324] BluetoothGAP
[271 / 333] BluetoothGAP
[274 / 333] BluetoothGATT
[277 / 333] BluetoothGATT
[279 / 334] BluetoothGAP
[280 / 334] BluetoothGATT
[285 / 334] BluetoothGAP
[287 / 334] BluetoothHCI
[290 / 334]
[291 / 335] BluetoothGATT
[295 / 346] BluetoothHCI
[296 / 346] BluetoothGATT
[298 / 347] BluetoothHCI
[299 / 347] BluetoothGATT
[301 / 347] BluetoothGATT
[307 / 348] BluetoothHCI
[312 / 348] BluetoothGATT
[313 / 348] BluetoothGATT
[313 / 348] BluetoothHCI
[319 / 349] BluetoothLinux
[325 / 358] BluetoothLinux
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Mocking.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Mocking.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Syscalls.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Syscalls.swift
[326 / 358] BluetoothLinux
/host/spi-builder-workspace/Sources/BluetoothLinux/Internal/CInterop.swift:12:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'BluetoothLinux' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 10 | import SystemPackage
 11 | import Socket
 12 | @_implementationOnly import CBluetoothLinux
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'BluetoothLinux' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 13 |
 14 | public extension CInterop {
/host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Darwin.swift:13:10: warning: This module will only run on Linux
11 |
12 | #if !os(Linux)
13 | #warning("This module will only run on Linux")
   |          `- warning: This module will only run on Linux
14 |
15 | @usableFromInline
/host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Darwin.swift:80:10: warning: Android does not use BlueZ kernel module
78 |
79 | #if os(Android)
80 | #warning("Android does not use BlueZ kernel module")
   |          `- warning: Android does not use BlueZ kernel module
81 | #endif
82 |
/host/spi-builder-workspace/Sources/BluetoothLinux/ISO/ISOSocket.swift:129:25: warning: forced cast of 'Errno' to same type has no effect
127 |         }
128 |         catch {
129 |             throw error as! Errno // TODO: Foundation doesnt support typed error yet
    |                         `- warning: forced cast of 'Errno' to same type has no effect
130 |         }
131 |     }
/host/spi-builder-workspace/Sources/BluetoothLinux/ISO/ISOSocket.swift:146:25: warning: forced cast of 'Errno' to same type has no effect
144 |         }
145 |         catch {
146 |             throw error as! Errno // TODO: Foundation doesnt support typed error yet
    |                         `- warning: forced cast of 'Errno' to same type has no effect
147 |         }
148 |     }
/host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Mocking.swift:73:24: error: cannot find type 'pthread_key_t' in scope
 71 | }
 72 |
 73 | private let driverKey: pthread_key_t = {
    |                        `- error: cannot find type 'pthread_key_t' in scope
 74 |     var raw = pthread_key_t()
 75 |     guard 0 == pthread_key_create(&raw, nil) else {
/host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Mocking.swift:74:15: error: cannot find 'pthread_key_t' in scope
 72 |
 73 | private let driverKey: pthread_key_t = {
 74 |     var raw = pthread_key_t()
    |               `- error: cannot find 'pthread_key_t' in scope
 75 |     guard 0 == pthread_key_create(&raw, nil) else {
 76 |         fatalError("Unable to create TLS key")
/host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Mocking.swift:75:16: error: cannot find 'pthread_key_create' in scope
 73 | private let driverKey: pthread_key_t = {
 74 |     var raw = pthread_key_t()
 75 |     guard 0 == pthread_key_create(&raw, nil) else {
    |                `- error: cannot find 'pthread_key_create' in scope
 76 |         fatalError("Unable to create TLS key")
 77 |     }
/host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Mocking.swift:82:24: error: cannot find 'pthread_getspecific' in scope
 80 |
 81 | internal var currentMockingDriver: MockingDriver? {
 82 |     guard let rawPtr = pthread_getspecific(driverKey) else { return nil }
    |                        `- error: cannot find 'pthread_getspecific' in scope
 83 |     return Unmanaged<MockingDriver>.fromOpaque(rawPtr).takeUnretainedValue()
 84 | }
/host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Mocking.swift:98:17: error: cannot find 'pthread_setspecific' in scope
 96 |         defer {
 97 |             if let object = priorMocking {
 98 |                 pthread_setspecific(driverKey, Unmanaged.passUnretained(object).toOpaque())
    |                 `- error: cannot find 'pthread_setspecific' in scope
 99 |             } else {
100 |                 pthread_setspecific(driverKey, nil)
/host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Mocking.swift:100:17: error: cannot find 'pthread_setspecific' in scope
 98 |                 pthread_setspecific(driverKey, Unmanaged.passUnretained(object).toOpaque())
 99 |             } else {
100 |                 pthread_setspecific(driverKey, nil)
    |                 `- error: cannot find 'pthread_setspecific' in scope
101 |             }
102 |             _fixLifetime(driver)
/host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Mocking.swift:105:9: error: cannot find 'pthread_setspecific' in scope
103 |         }
104 |
105 |         pthread_setspecific(driverKey, Unmanaged.passUnretained(driver).toOpaque())
    |         `- error: cannot find 'pthread_setspecific' in scope
106 |         return try f(driver)
107 |     }
/host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Mocking.swift:140:9: error: cannot find 'errno' in scope
138 |         break
139 |     case .always(let e):
140 |         errno = e
    |         `- error: cannot find 'errno' in scope
141 |         return -1
142 |     case .counted(let e, let count):
/host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Mocking.swift:144:9: error: cannot find 'errno' in scope
142 |     case .counted(let e, let count):
143 |         assert(count >= 1)
144 |         errno = e
    |         `- error: cannot find 'errno' in scope
145 |         driver.forceErrno = count > 1 ? .counted(errno: e, count: count - 1) : .none
146 |         return -1
/host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Syscalls.swift:30:12: error: cannot find 'ioctl' in scope
28 |     if mockingEnabled { return _mockIOCTL(fd, request, nil, arguments: [fd, request]) }
29 |     #endif
30 |     return ioctl(fd, request)
   |            `- error: cannot find 'ioctl' in scope
31 | }
32 |
/host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Syscalls.swift:42:12: error: cannot find 'ioctl' in scope
40 |     if mockingEnabled { return _mockIOCTL(fd, request, nil, arguments: [fd, request, value]) }
41 |     #endif
42 |     return ioctl(fd, request, value)
   |            `- error: cannot find 'ioctl' in scope
43 | }
44 |
/host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Syscalls.swift:54:12: error: cannot find 'ioctl' in scope
52 |     if mockingEnabled { return _mockIOCTL(fd, request, pointer, arguments: [fd, request]) }
53 |     #endif
54 |     return ioctl(fd, request, pointer)
   |            `- error: cannot find 'ioctl' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Syscalls.swift:66:41: error: cannot find 'errno' in scope
64 |         switch syscall() {
65 |         case -1:
66 |             let error = Errno(rawValue: errno)
   |                                         `- error: cannot find 'errno' in scope
67 |             guard retryOnInterrupt && error == .interrupted else {
68 |                 return .failure(error)
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/BluetoothLinux/AddressType.swift /host/spi-builder-workspace/Sources/BluetoothLinux/BNEP/BNEP.swift /host/spi-builder-workspace/Sources/BluetoothLinux/BNEP/BNEPConnection.swift /host/spi-builder-workspace/Sources/BluetoothLinux/BNEP/BNEPConnectionFlag.swift /host/spi-builder-workspace/Sources/BluetoothLinux/BNEP/BNEPConnectionState.swift /host/spi-builder-workspace/Sources/BluetoothLinux/BNEP/BNEPRole.swift /host/spi-builder-workspace/Sources/BluetoothLinux/BNEP/IOCTL/BNEPAddConnection.swift /host/spi-builder-workspace/Sources/BluetoothLinux/BNEP/IOCTL/BNEPGetConnectionList.swift /host/spi-builder-workspace/Sources/BluetoothLinux/BNEP/IOCTL/BNEPGetSupportedFeatures.swift /host/spi-builder-workspace/Sources/BluetoothLinux/BNEP/IOCTL/BNEPIO.swift /host/spi-builder-workspace/Sources/BluetoothLinux/BNEP/IOCTL/BNEPRemoveConnection.swift /host/spi-builder-workspace/Sources/BluetoothLinux/CMTP/CMTP.swift /host/spi-builder-workspace/Sources/BluetoothLinux/CMTP/IOCTL/CMTPIO.swift /host/spi-builder-workspace/Sources/BluetoothLinux/Error.swift /host/spi-builder-workspace/Sources/BluetoothLinux/Extensions/Integer.swift /host/spi-builder-workspace/Sources/BluetoothLinux/Extensions/Sequence.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/DeviceCommand.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/DevicePollEvent.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/DeviceRequest.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/HCIBusType.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/HCIChannel.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/HCIControllerType.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/HCIDeviceEvent.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/HCIDeviceFlag.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/HCIDeviceOptions.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/HCIFileDescriptor.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/HCIPacketType.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/HCISocketAddress.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/HCISocketOption.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/HCIUserChannel.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/HostController.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/IOCTL/HCIDeviceDown.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/IOCTL/HCIDeviceInformation.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/IOCTL/HCIDeviceList.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/IOCTL/HCIDeviceUp.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/IOCTL/HCIScan.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/IOCTL/HostControllerIO.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HCI/SocketOptions/HCIFilterSocketOption.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HIDP/HIDP.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HIDP/HIDPConnection.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HIDP/HIDPConnectionFlag.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HIDP/HIDPConnectionState.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HIDP/IOCTL/HIDPAddConnection.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HIDP/IOCTL/HIDPGetConnectionInformation.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HIDP/IOCTL/HIDPGetConnectionList.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HIDP/IOCTL/HIDPIO.swift /host/spi-builder-workspace/Sources/BluetoothLinux/HIDP/IOCTL/HIDPRemoveConnection.swift /host/spi-builder-workspace/Sources/BluetoothLinux/IOControl/DeviceDown.swift /host/spi-builder-workspace/Sources/BluetoothLinux/ISO/ISOFileDescriptor.swift -primary-file /host/spi-builder-workspace/Sources/BluetoothLinux/ISO/ISOQualityOfService.swift -primary-file /host/spi-builder-workspace/Sources/BluetoothLinux/ISO/ISOSocket.swift -primary-file /host/spi-builder-workspace/Sources/BluetoothLinux/ISO/ISOSocketAddress.swift -primary-file /host/spi-builder-workspace/Sources/BluetoothLinux/Internal/CInterop.swift -primary-file /host/spi-builder-workspace/Sources/BluetoothLinux/Internal/CSocketAddress.swift -primary-file /host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Darwin.swift -primary-file /host/spi-builder-workspace/Sources/BluetoothLinux/Internal/IOCTL.swift -primary-file /host/spi-builder-workspace/Sources/BluetoothLinux/Internal/IOControl.swift -primary-file /host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Mocking.swift -primary-file /host/spi-builder-workspace/Sources/BluetoothLinux/Internal/SocketDescriptor.swift -primary-file /host/spi-builder-workspace/Sources/BluetoothLinux/Internal/Syscalls.swift -primary-file /host/spi-builder-workspace/Sources/BluetoothLinux/L2CAP/L2CAPFileDescriptor.swift /host/spi-builder-workspace/Sources/BluetoothLinux/L2CAP/L2CAPSocket+Classic.swift /host/spi-builder-workspace/Sources/BluetoothLinux/L2CAP/L2CAPSocket.swift /host/spi-builder-workspace/Sources/BluetoothLinux/L2CAP/L2CAPSocketAddress.swift /host/spi-builder-workspace/Sources/BluetoothLinux/L2CAP/L2CAPSocketOption.swift /host/spi-builder-workspace/Sources/BluetoothLinux/LinkMode.swift /host/spi-builder-workspace/Sources/BluetoothLinux/Management/ManagementCommands.swift /host/spi-builder-workspace/Sources/BluetoothLinux/Management/ManagementControllerInformation.swift /host/spi-builder-workspace/Sources/BluetoothLinux/Management/ManagementEvent.swift /host/spi-builder-workspace/Sources/BluetoothLinux/Management/ManagementOpcode.swift /host/spi-builder-workspace/Sources/BluetoothLinux/Management/ManagementPacket.swift /host/spi-builder-workspace/Sources/BluetoothLinux/Management/ManagementSettings.swift /host/spi-builder-workspace/Sources/BluetoothLinux/Management/ManagementSocket.swift /host/spi-builder-workspace/Sources/BluetoothLinux/Management/ManagementStatus.swift /host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/IOCTL/RFCOMMCreateDevice.swift /host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/IOCTL/RFCOMMGetDeviceInformation.swift /host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/IOCTL/RFCOMMGetDeviceList.swift /host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/IOCTL/RFCOMMIO.swift /host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/IOCTL/RFCOMMReleaseDevice.swift /host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/RFCOMMDevice.swift /host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/RFCOMMFileDescriptor.swift /host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/RFCOMMFlag.swift /host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/RFCOMMLinkMode.swift /host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/RFCOMMSocket.swift /host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/RFCOMMSocketAddress.swift /host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/RFCOMMSocketOption.swift /host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/RFCOMMState.swift /host/spi-builder-workspace/Sources/BluetoothLinux/SCO/SCOFileDescriptor.swift /host/spi-builder-workspace/Sources/BluetoothLinux/SCO/SCOSocket.swift /host/spi-builder-workspace/Sources/BluetoothLinux/SCO/SCOSocketAddress.swift /host/spi-builder-workspace/Sources/BluetoothLinux/SCO/SCOSocketOption.swift /host/spi-builder-workspace/Sources/BluetoothLinux/SocketAddress.swift /host/spi-builder-workspace/Sources/BluetoothLinux/SocketOption.swift /host/spi-builder-workspace/Sources/BluetoothLinux/SocketOptionLevel.swift /host/spi-builder-workspace/Sources/BluetoothLinux/SocketOptions/SecuritySocketOption.swift /host/spi-builder-workspace/Sources/BluetoothLinux/SocketOptions/VoiceSocketOption.swift /host/spi-builder-workspace/Sources/BluetoothLinux/SocketProtocol.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/supplementaryOutputs-63 -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D ENABLE_MOCKING -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/BluetoothMacros\#BluetoothMacros -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/Socket/Sources/CSocket/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/Sources/CBluetoothLinux/include/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/Socket/Sources/CSocket/include -Xcc -I/host/spi-builder-workspace/Sources/CBluetoothLinux/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name BluetoothLinux -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/BluetoothLinux_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/ISOQualityOfService.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/ISOSocket.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/ISOSocketAddress.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/CInterop.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/CSocketAddress.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/Darwin.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/IOCTL.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/IOControl.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/Mocking.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/SocketDescriptor.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/Syscalls.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/L2CAPFileDescriptor.o -index-unit-output-path /BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/ISOQualityOfService.o -index-unit-output-path /BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/ISOSocket.o -index-unit-output-path /BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/ISOSocketAddress.o -index-unit-output-path /BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/CInterop.o -index-unit-output-path /BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/CSocketAddress.o -index-unit-output-path /BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/Darwin.o -index-unit-output-path /BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/IOCTL.o -index-unit-output-path /BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/IOControl.o -index-unit-output-path /BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/Mocking.o -index-unit-output-path /BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/SocketDescriptor.o -index-unit-output-path /BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/Syscalls.o -index-unit-output-path /BluetoothLinux.build/Debug-android-aarch64/BluetoothLinux-t.build/Objects-normal/aarch64/L2CAPFileDescriptor.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android