The Swift Package Index logo.Swift Package Index

Build Information

Successful build of BluetoothLinux, reference master (93efd3), with Swift 6.4 for Linux on 30 Oct 2026 20:21:59 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
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-54344845-0":/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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ad3afec1d6cff9a88dbd06b5b923cd7d46d6f55cc44d4c49fe48cde94ee812a7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/PureSwift/Bluetooth.git
[1/25878] Fetching bluetooth
Fetched https://github.com/PureSwift/Bluetooth.git (0.99s)
Fetching https://github.com/PureSwift/Socket.git
[1/1671] Fetching socket
Fetched https://github.com/PureSwift/Socket.git (0.44s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser.git
[1/19320] Fetching swift-argument-parser
[4252/26714] Fetching swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-argument-parser.git (0.82s)
[1/81369] Fetching swift-syntax
Fetched https://github.com/apple/swift-system (3.83s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.85s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (4.83s)
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.15s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.17s)
Creating working copy for https://github.com/PureSwift/Socket.git
Working copy of https://github.com/PureSwift/Socket.git resolved at main (87047ea)
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/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/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/PureSwift/Bluetooth.git
Working copy of https://github.com/PureSwift/Bluetooth.git resolved at master (6da6787)
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.17s)
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 714]
[Planning deferred tasks]
[138 / 253] ArgumentParserToolInfo
[142 / 263] SystemPackage
[142 / 263] BluetoothMacros
[149 / 263] SystemPackage
[161 / 263] SystemPackage
[162 / 263] SystemPackage-product
[166 / 263] Socket
[170 / 264] BluetoothMetadata
[175 / 268] GenerateBluetooth-product
[178 / 285] GenerateBluetooth-product
[183 / 285] Socket
[185 / 285] Socket
[185 / 285] ArgumentParserToolInfo
[187 / 286] Socket
[189 / 286] GenerateBluetooth-product
[192 / 286] Socket
[198 / 286] Socket-product
[207 / 287] Bluetooth_BluetoothMetadata
[212 / 296] ArgumentParser
[215 / 297] GenerateBluetooth-product
[217 / 297] GenerateBluetooth-product
[220 / 298] Socket
[222 / 298] ArgumentParser
[223 / 298] ArgumentParser
[228 / 298] BluetoothMacros
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/UnitIdentifiers.swift
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/ServiceUUID.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
[237 / 298] 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/CharacteristicUUID.swift
[237 / 298] SystemPackage
[241 / 299] ArgumentParser
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CompanyIdentifiers.swift
[245 / 301] Bluetooth
[254 / 310] Bluetooth
[261 / 313] BluetoothGAP
[269 / 330] BluetoothGATT
[270 / 330] BluetoothGATT
[274 / 330] BluetoothGATT
[277 / 331] BluetoothGAP
[278 / 331] BluetoothGATT
[283 / 331] BluetoothGAP
[284 / 331] BluetoothHCI
[287 / 331] BluetoothGAP
[288 / 332] BluetoothGATT
[294 / 343] BluetoothHCI
[295 / 344] BluetoothHCI
[299 / 344] BluetoothGATT
[306 / 344] BluetoothGAP
[307 / 344] BluetoothGATT
[310 / 345] BluetoothGATT
[310 / 345] BluetoothHCI
[316 / 346] BluetoothLinux
[323 / 355] BluetoothLinux
/host/spi-builder-workspace/Sources/BluetoothLinux/SCO/SCOSocket.swift:131:25: warning: forced cast of 'Errno' to same type has no effect
129 |         }
130 |         catch {
131 |             throw error as! Errno // TODO: Foundation doesnt support typed error yet
    |                         `- warning: forced cast of 'Errno' to same type has no effect
132 |         }
133 |     }
/host/spi-builder-workspace/Sources/BluetoothLinux/SCO/SCOSocket.swift:148:25: warning: forced cast of 'Errno' to same type has no effect
146 |         }
147 |         catch {
148 |             throw error as! Errno // TODO: Foundation doesnt support typed error yet
    |                         `- warning: forced cast of 'Errno' to same type has no effect
149 |         }
150 |     }
[326 / 356] BluetoothHCI
/host/spi-builder-workspace/Sources/BluetoothLinux/BNEP/IOCTL/BNEPAddConnection.swift:45:51: warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
20 |
21 |         @usableFromInline
22 |         internal private(set) var bytes: CInterop.BNEPConnectionAddRequest
   |                                   `- note: setter for property 'bytes' is not '@usableFromInline' or public
23 |
24 |         @usableFromInline
   :
43 |         @_alwaysEmitIntoClient
44 |         public mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutableRawPointer) throws -> (Result)) rethrows -> Result {
45 |             try Swift.withUnsafeMutableBytes(of: &bytes) { buffer in
   |                                                   `- warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
46 |                 try body(buffer.baseAddress!)
47 |             }
/host/spi-builder-workspace/Sources/BluetoothLinux/BNEP/IOCTL/BNEPGetSupportedFeatures.swift:27:51: warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
17 |
18 |         @usableFromInline
19 |         internal private(set) var bytes: UInt32
   |                                   `- note: setter for property 'bytes' is not '@usableFromInline' or public
20 |
21 |         public init() {
   :
25 |         @_alwaysEmitIntoClient
26 |         public mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutableRawPointer) throws -> (Result)) rethrows -> Result {
27 |             try Swift.withUnsafeMutableBytes(of: &bytes) { buffer in
   |                                                   `- warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
28 |                 try body(buffer.baseAddress!)
29 |             }
/host/spi-builder-workspace/Sources/BluetoothLinux/BNEP/IOCTL/BNEPRemoveConnection.swift:41:51: warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
19 |
20 |         @usableFromInline
21 |         internal private(set) var bytes: CInterop.BNEPConnectionDeleteRequest
   |                                   `- note: setter for property 'bytes' is not '@usableFromInline' or public
22 |
23 |         @usableFromInline
   :
39 |         @_alwaysEmitIntoClient
40 |         public mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutableRawPointer) throws -> (Result)) rethrows -> Result {
41 |             try Swift.withUnsafeMutableBytes(of: &bytes) { buffer in
   |                                                   `- warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
42 |                 try body(buffer.baseAddress!)
43 |             }
/host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/IOCTL/RFCOMMCreateDevice.swift:47:51: warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
 19 |
 20 |         @usableFromInline
 21 |         internal private(set) var bytes: CInterop.RFCOMMDeviceRequest
    |                                   `- note: setter for property 'bytes' is not '@usableFromInline' or public
 22 |
 23 |         @usableFromInline
    :
 45 |         @_alwaysEmitIntoClient
 46 |         public mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutableRawPointer) throws -> (Result)) rethrows -> Result {
 47 |             try Swift.withUnsafeMutableBytes(of: &bytes) { buffer in
    |                                                   `- warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
 48 |                 try body(buffer.baseAddress!)
 49 |             }
/host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/IOCTL/RFCOMMGetDeviceInformation.swift:35:51: warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
19 |
20 |         @usableFromInline
21 |         internal private(set) var bytes: CInterop.RFCOMMDeviceInformation
   |                                   `- note: setter for property 'bytes' is not '@usableFromInline' or public
22 |
23 |         @usableFromInline
   :
33 |         @_alwaysEmitIntoClient
34 |         public mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutableRawPointer) throws -> (Result)) rethrows -> Result {
35 |             try Swift.withUnsafeMutableBytes(of: &bytes) { buffer in
   |                                                   `- warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
36 |                 try body(buffer.baseAddress!)
37 |             }
/host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/IOCTL/RFCOMMReleaseDevice.swift:44:51: warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
19 |
20 |         @usableFromInline
21 |         internal private(set) var bytes: CInterop.RFCOMMDeviceRequest
   |                                   `- note: setter for property 'bytes' is not '@usableFromInline' or public
22 |
23 |         @usableFromInline
   :
42 |         @_alwaysEmitIntoClient
43 |         public mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutableRawPointer) throws -> (Result)) rethrows -> Result {
44 |             try Swift.withUnsafeMutableBytes(of: &bytes) { buffer in
   |                                                   `- warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
45 |                 try body(buffer.baseAddress!)
46 |             }
/host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/RFCOMMSocket.swift:131:25: warning: forced cast of 'Errno' to same type has no effect
129 |         }
130 |         catch {
131 |             throw error as! Errno // TODO: Foundation doesnt support typed error yet
    |                         `- warning: forced cast of 'Errno' to same type has no effect
132 |         }
133 |     }
/host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/RFCOMMSocket.swift:148:25: warning: forced cast of 'Errno' to same type has no effect
146 |         }
147 |         catch {
148 |             throw error as! Errno // TODO: Foundation doesnt support typed error yet
    |                         `- warning: forced cast of 'Errno' to same type has no effect
149 |         }
150 |     }
[328 / 356] BluetoothHCI
/host/spi-builder-workspace/Sources/BluetoothLinux/HCI/HostController.swift:10: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;;\]
  8 |
  9 | import Foundation
 10 | @_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;;\]
 11 | import BluetoothHCI
 12 | import SystemPackage
/host/spi-builder-workspace/Sources/BluetoothLinux/HCI/IOCTL/HCIScan.swift:11: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;;\]
  9 | import Foundation
 10 | import BluetoothHCI
 11 | @_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;;\]
 12 | import SystemPackage
 13 | import Socket
/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/L2CAP/L2CAPSocket.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 Bluetooth
 11 | import BluetoothHCI
 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 | import SystemPackage
 14 | import Socket
/host/spi-builder-workspace/Sources/BluetoothLinux/BNEP/IOCTL/BNEPAddConnection.swift:45:51: warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
20 |
21 |         @usableFromInline
22 |         internal private(set) var bytes: CInterop.BNEPConnectionAddRequest
   |                                   `- note: setter for property 'bytes' is not '@usableFromInline' or public
23 |
24 |         @usableFromInline
   :
43 |         @_alwaysEmitIntoClient
44 |         public mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutableRawPointer) throws -> (Result)) rethrows -> Result {
45 |             try Swift.withUnsafeMutableBytes(of: &bytes) { buffer in
   |                                                   `- warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
46 |                 try body(buffer.baseAddress!)
47 |             }
/host/spi-builder-workspace/Sources/BluetoothLinux/BNEP/IOCTL/BNEPGetSupportedFeatures.swift:27:51: warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
17 |
18 |         @usableFromInline
19 |         internal private(set) var bytes: UInt32
   |                                   `- note: setter for property 'bytes' is not '@usableFromInline' or public
20 |
21 |         public init() {
   :
25 |         @_alwaysEmitIntoClient
26 |         public mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutableRawPointer) throws -> (Result)) rethrows -> Result {
27 |             try Swift.withUnsafeMutableBytes(of: &bytes) { buffer in
   |                                                   `- warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
28 |                 try body(buffer.baseAddress!)
29 |             }
/host/spi-builder-workspace/Sources/BluetoothLinux/BNEP/IOCTL/BNEPRemoveConnection.swift:41:51: warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
19 |
20 |         @usableFromInline
21 |         internal private(set) var bytes: CInterop.BNEPConnectionDeleteRequest
   |                                   `- note: setter for property 'bytes' is not '@usableFromInline' or public
22 |
23 |         @usableFromInline
   :
39 |         @_alwaysEmitIntoClient
40 |         public mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutableRawPointer) throws -> (Result)) rethrows -> Result {
41 |             try Swift.withUnsafeMutableBytes(of: &bytes) { buffer in
   |                                                   `- warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
42 |                 try body(buffer.baseAddress!)
43 |             }
/host/spi-builder-workspace/Sources/BluetoothLinux/HIDP/IOCTL/HIDPGetConnectionInformation.swift:34:51: warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
17 |
18 |         @usableFromInline
19 |         internal private(set) var bytes: CInterop.HIDPConnectionInformation
   |                                   `- note: setter for property 'bytes' is not '@usableFromInline' or public
20 |
21 |         public init(destination: BluetoothAddress) {
   :
32 |         @_alwaysEmitIntoClient
33 |         public mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutableRawPointer) throws -> (Result)) rethrows -> Result {
34 |             try Swift.withUnsafeMutableBytes(of: &bytes) { buffer in
   |                                                   `- warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
35 |                 try body(buffer.baseAddress!)
36 |             }
/host/spi-builder-workspace/Sources/BluetoothLinux/HIDP/IOCTL/HIDPRemoveConnection.swift:40:51: warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
19 |
20 |         @usableFromInline
21 |         internal private(set) var bytes: CInterop.HIDPConnectionDeleteRequest
   |                                   `- note: setter for property 'bytes' is not '@usableFromInline' or public
22 |
23 |         @usableFromInline
   :
38 |         @_alwaysEmitIntoClient
39 |         public mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutableRawPointer) throws -> (Result)) rethrows -> Result {
40 |             try Swift.withUnsafeMutableBytes(of: &bytes) { buffer in
   |                                                   `- warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
41 |                 try body(buffer.baseAddress!)
42 |             }
/host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/IOCTL/RFCOMMCreateDevice.swift:47:51: warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
 19 |
 20 |         @usableFromInline
 21 |         internal private(set) var bytes: CInterop.RFCOMMDeviceRequest
    |                                   `- note: setter for property 'bytes' is not '@usableFromInline' or public
 22 |
 23 |         @usableFromInline
    :
 45 |         @_alwaysEmitIntoClient
 46 |         public mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutableRawPointer) throws -> (Result)) rethrows -> Result {
 47 |             try Swift.withUnsafeMutableBytes(of: &bytes) { buffer in
    |                                                   `- warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
 48 |                 try body(buffer.baseAddress!)
 49 |             }
/host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/IOCTL/RFCOMMGetDeviceInformation.swift:35:51: warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
19 |
20 |         @usableFromInline
21 |         internal private(set) var bytes: CInterop.RFCOMMDeviceInformation
   |                                   `- note: setter for property 'bytes' is not '@usableFromInline' or public
22 |
23 |         @usableFromInline
   :
33 |         @_alwaysEmitIntoClient
34 |         public mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutableRawPointer) throws -> (Result)) rethrows -> Result {
35 |             try Swift.withUnsafeMutableBytes(of: &bytes) { buffer in
   |                                                   `- warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
36 |                 try body(buffer.baseAddress!)
37 |             }
/host/spi-builder-workspace/Sources/BluetoothLinux/RFCOMM/IOCTL/RFCOMMReleaseDevice.swift:44:51: warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
19 |
20 |         @usableFromInline
21 |         internal private(set) var bytes: CInterop.RFCOMMDeviceRequest
   |                                   `- note: setter for property 'bytes' is not '@usableFromInline' or public
22 |
23 |         @usableFromInline
   :
42 |         @_alwaysEmitIntoClient
43 |         public mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutableRawPointer) throws -> (Result)) rethrows -> Result {
44 |             try Swift.withUnsafeMutableBytes(of: &bytes) { buffer in
   |                                                   `- warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
45 |                 try body(buffer.baseAddress!)
46 |             }
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[330 / 356] BluetoothLinux
[343 / 385] gatttool-product
/host/spi-builder-workspace/Sources/BluetoothLinux/HIDP/IOCTL/HIDPGetConnectionInformation.swift:34:51: warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
17 |
18 |         @usableFromInline
19 |         internal private(set) var bytes: CInterop.HIDPConnectionInformation
   |                                   `- note: setter for property 'bytes' is not '@usableFromInline' or public
20 |
21 |         public init(destination: BluetoothAddress) {
   :
32 |         @_alwaysEmitIntoClient
33 |         public mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutableRawPointer) throws -> (Result)) rethrows -> Result {
34 |             try Swift.withUnsafeMutableBytes(of: &bytes) { buffer in
   |                                                   `- warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
35 |                 try body(buffer.baseAddress!)
36 |             }
/host/spi-builder-workspace/Sources/BluetoothLinux/HIDP/IOCTL/HIDPRemoveConnection.swift:40:51: warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
19 |
20 |         @usableFromInline
21 |         internal private(set) var bytes: CInterop.HIDPConnectionDeleteRequest
   |                                   `- note: setter for property 'bytes' is not '@usableFromInline' or public
22 |
23 |         @usableFromInline
   :
38 |         @_alwaysEmitIntoClient
39 |         public mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutableRawPointer) throws -> (Result)) rethrows -> Result {
40 |             try Swift.withUnsafeMutableBytes(of: &bytes) { buffer in
   |                                                   `- warning: setter for property 'bytes' is private and cannot be referenced from an '@_alwaysEmitIntoClient' function; this will be an error in a future Swift language mode
41 |                 try body(buffer.baseAddress!)
42 |             }
[349 / 385] hcitool-product
[355 / 385] gatttool-product
[359 / 385] gatttool-product
/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/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 |     }
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[362 / 385] gatttool-product
[367 / 387] hciconfig-product
[372 / 387] hciconfig-product
[373 / 387] AllExcludingTests
[376 / 388] gatttool-product
/host/spi-builder-workspace/Sources/BluetoothLinux/HCI/HostController.swift:10: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;;\]
  8 |
  9 | import Foundation
 10 | @_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;;\]
 11 | import BluetoothHCI
 12 | import SystemPackage
/host/spi-builder-workspace/Sources/BluetoothLinux/HCI/IOCTL/HCIScan.swift:11: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;;\]
  9 | import Foundation
 10 | import BluetoothHCI
 11 | @_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;;\]
 12 | import SystemPackage
 13 | import Socket
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
/host/spi-builder-workspace/Sources/BluetoothLinux/L2CAP/L2CAPSocket.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 Bluetooth
 11 | import BluetoothHCI
 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 | import SystemPackage
 14 | import Socket
/host/spi-builder-workspace/Sources/BluetoothLinux/L2CAP/L2CAPSocket.swift:192:25: warning: forced cast of 'Errno' to same type has no effect
190 |         }
191 |         catch {
192 |             throw error as! Errno // TODO: Foundation doesnt support typed error yet
    |                         `- warning: forced cast of 'Errno' to same type has no effect
193 |         }
194 |     }
/host/spi-builder-workspace/Sources/BluetoothLinux/L2CAP/L2CAPSocket.swift:209:25: warning: forced cast of 'Errno' to same type has no effect
207 |         }
208 |         catch {
209 |             throw error as! Errno // TODO: Foundation doesnt support typed error yet
    |                         `- warning: forced cast of 'Errno' to same type has no effect
210 |         }
211 |     }
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[378 / 390] beacon-product
[391 / 391] beacon-product
[391 / 391] gatttool-product
Build complete! (18.49 secs)
Build complete.
{
  "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"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.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"
        ]
      }
    },
    {
      "name" : "hcitool",
      "targets" : [
        "hcitool"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "hciconfig",
      "targets" : [
        "hciconfig"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "gatttool",
      "targets" : [
        "gatttool"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "gattserver",
      "targets" : [
        "gattserver"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "beacon",
      "targets" : [
        "beacon"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "hcitool",
      "module_type" : "SwiftTarget",
      "name" : "hcitool",
      "path" : "Sources/hcitool",
      "product_dependencies" : [
        "BluetoothGAP",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "hcitool"
      ],
      "sources" : [
        "DeviceList.swift",
        "HCITool.swift",
        "HostController+Command.swift",
        "Inquiry.swift",
        "LowEnergyScan.swift"
      ],
      "target_dependencies" : [
        "BluetoothLinux"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "hciconfig",
      "module_type" : "SwiftTarget",
      "name" : "hciconfig",
      "path" : "Sources/hciconfig",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "hciconfig"
      ],
      "sources" : [
        "Down.swift",
        "HCIConfig.swift",
        "List.swift",
        "Up.swift"
      ],
      "target_dependencies" : [
        "BluetoothLinux"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "gatttool",
      "module_type" : "SwiftTarget",
      "name" : "gatttool",
      "path" : "Sources/gatttool",
      "product_dependencies" : [
        "BluetoothGATT",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "gatttool"
      ],
      "sources" : [
        "Characteristics.swift",
        "GATTTool.swift",
        "Notify.swift",
        "Primary.swift",
        "Read.swift",
        "Write.swift"
      ],
      "target_dependencies" : [
        "BluetoothLinux"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "gattserver",
      "module_type" : "SwiftTarget",
      "name" : "gattserver",
      "path" : "Sources/gattserver",
      "product_dependencies" : [
        "BluetoothGATT",
        "BluetoothGAP",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "gattserver"
      ],
      "sources" : [
        "GATTServerTool.swift"
      ],
      "target_dependencies" : [
        "BluetoothLinux"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "beacon",
      "module_type" : "SwiftTarget",
      "name" : "beacon",
      "path" : "Sources/beacon",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "beacon"
      ],
      "sources" : [
        "Beacon.swift",
        "IBeacon.swift",
        "Stop.swift"
      ],
      "target_dependencies" : [
        "BluetoothLinux"
      ],
      "type" : "executable"
    },
    {
      "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",
        "hcitool",
        "hciconfig",
        "gatttool",
        "gattserver",
        "beacon"
      ],
      "sources" : [
        "dummy.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BluetoothLinuxTests",
      "module_type" : "SwiftTarget",
      "name" : "BluetoothLinuxTests",
      "path" : "Tests/BluetoothLinuxTests",
      "product_dependencies" : [
        "BluetoothGATT",
        "BluetoothGAP"
      ],
      "sources" : [
        "BNEPTests.swift",
        "BluetoothLinuxTests.swift",
        "HIDPTests.swift",
        "IOControlTests.swift",
        "ISOTests.swift",
        "L2CAPSocketAddressTests.swift",
        "L2CAPTests.swift",
        "ManagementTests.swift",
        "RFCOMMSocketTests.swift",
        "SCOTests.swift",
        "UserChannelTests.swift",
        "ValueTests.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",
        "hcitool",
        "hciconfig",
        "gatttool",
        "gattserver",
        "beacon"
      ],
      "sources" : [
        "AddressType.swift",
        "BNEP/BNEP.swift",
        "BNEP/BNEPConnection.swift",
        "BNEP/BNEPConnectionFlag.swift",
        "BNEP/BNEPConnectionState.swift",
        "BNEP/BNEPRole.swift",
        "BNEP/IOCTL/BNEPAddConnection.swift",
        "BNEP/IOCTL/BNEPGetConnectionList.swift",
        "BNEP/IOCTL/BNEPGetSupportedFeatures.swift",
        "BNEP/IOCTL/BNEPIO.swift",
        "BNEP/IOCTL/BNEPRemoveConnection.swift",
        "CMTP/CMTP.swift",
        "CMTP/IOCTL/CMTPIO.swift",
        "Error.swift",
        "Extensions/Integer.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/HCIUserChannel.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/HIDPConnection.swift",
        "HIDP/HIDPConnectionFlag.swift",
        "HIDP/HIDPConnectionState.swift",
        "HIDP/IOCTL/HIDPAddConnection.swift",
        "HIDP/IOCTL/HIDPGetConnectionInformation.swift",
        "HIDP/IOCTL/HIDPGetConnectionList.swift",
        "HIDP/IOCTL/HIDPIO.swift",
        "HIDP/IOCTL/HIDPRemoveConnection.swift",
        "IOControl/DeviceDown.swift",
        "ISO/ISOFileDescriptor.swift",
        "ISO/ISOQualityOfService.swift",
        "ISO/ISOSocket.swift",
        "ISO/ISOSocketAddress.swift",
        "Internal/CInterop.swift",
        "Internal/CSocketAddress.swift",
        "Internal/Darwin.swift",
        "Internal/IOCTL.swift",
        "Internal/IOControl.swift",
        "Internal/Mocking.swift",
        "Internal/SocketDescriptor.swift",
        "Internal/Syscalls.swift",
        "L2CAP/L2CAPFileDescriptor.swift",
        "L2CAP/L2CAPSocket+Classic.swift",
        "L2CAP/L2CAPSocket.swift",
        "L2CAP/L2CAPSocketAddress.swift",
        "L2CAP/L2CAPSocketOption.swift",
        "LinkMode.swift",
        "Management/ManagementCommands.swift",
        "Management/ManagementControllerInformation.swift",
        "Management/ManagementEvent.swift",
        "Management/ManagementOpcode.swift",
        "Management/ManagementPacket.swift",
        "Management/ManagementSettings.swift",
        "Management/ManagementSocket.swift",
        "Management/ManagementStatus.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/RFCOMMFileDescriptor.swift",
        "RFCOMM/RFCOMMFlag.swift",
        "RFCOMM/RFCOMMLinkMode.swift",
        "RFCOMM/RFCOMMSocket.swift",
        "RFCOMM/RFCOMMSocketAddress.swift",
        "RFCOMM/RFCOMMSocketOption.swift",
        "RFCOMM/RFCOMMState.swift",
        "SCO/SCOFileDescriptor.swift",
        "SCO/SCOSocket.swift",
        "SCO/SCOSocketAddress.swift",
        "SCO/SCOSocketOption.swift",
        "SocketAddress.swift",
        "SocketOption.swift",
        "SocketOptionLevel.swift",
        "SocketOptions/SecuritySocketOption.swift",
        "SocketOptions/VoiceSocketOption.swift",
        "SocketProtocol.swift"
      ],
      "target_dependencies" : [
        "CBluetoothLinux"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ad3afec1d6cff9a88dbd06b5b923cd7d46d6f55cc44d4c49fe48cde94ee812a7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Done.