Build Information
Failed to build BluetoothLinux, reference 5.0.5 (ddd549
), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 11:23:20 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/bluetoothlinux.git
Reference: 5.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/pureswift/bluetoothlinux.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/11] Write sources
[6/11] Compiling CSystem shims.c
[7/11] Compiling CBluetoothLinuxTest dummy.c
[7/11] Compiling CSocket shims.c
[9/11] Compiling CBluetoothLinux dummy.c
[10/11] Write swift-version-1EA4D86E10B52AF.txt
[12/69] Emitting module SystemPackage
[13/72] Compiling SystemPackage FileHelpers.swift
[14/72] Compiling SystemPackage FileOperations.swift
[15/72] Compiling SystemPackage FilePath.swift
[16/72] Compiling SystemPackage FilePathTempPosix.swift
[17/72] Compiling SystemPackage FilePathTempWindows.swift
[18/72] Compiling SystemPackage FilePathWindows.swift
[19/72] Compiling SystemPackage Util+StringArray.swift
[20/72] Compiling SystemPackage Util.swift
[21/72] Compiling SystemPackage UtilConsumers.swift
[22/72] Compiling SystemPackage Errno.swift
[23/72] Compiling SystemPackage ErrnoWindows.swift
[24/72] Compiling Bluetooth AsyncIndefiniteStream.swift
[25/72] Compiling SystemPackage FilePathString.swift
[26/72] Compiling SystemPackage FilePathSyntax.swift
[27/72] Compiling SystemPackage FilePathTemp.swift
[28/72] Compiling SystemPackage FilePermissions.swift
[29/72] Compiling SystemPackage Backcompat.swift
[30/72] Compiling SystemPackage CInterop.swift
[31/72] Compiling SystemPackage FilePathComponentView.swift
[32/72] Compiling SystemPackage FilePathComponents.swift
[33/72] Compiling Bluetooth SFloat.swift
[34/72] Compiling SystemPackage Constants.swift
[35/72] Compiling SystemPackage Exports.swift
[36/72] Compiling SystemPackage Mocking.swift
[37/72] Compiling SystemPackage RawBuffer.swift
[38/72] Compiling SystemPackage Syscalls.swift
[39/72] Compiling SystemPackage WindowsSyscallAdapters.swift
[40/72] Compiling SystemPackage MachPort.swift
[41/72] Compiling SystemPackage PlatformString.swift
[42/72] Compiling SystemPackage SystemString.swift
[43/112] Compiling Socket SocketOperations.swift
[44/112] Compiling Socket SocketOption.swift
[45/112] Compiling Socket SocketOptionID.swift
[46/112] Compiling Socket IPv4Protocol.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
[47/112] Compiling Socket IPv6Protocol.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
[48/112] Compiling Socket LinkLayerProtocol.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
[49/115] Compiling Socket FileFlags.swift
[50/115] Compiling Socket IOControl.swift
[51/115] Compiling Socket IODirection.swift
[52/115] Compiling Socket SocketOptionLevel.swift
[53/115] Compiling Socket FileChange.swift
[54/115] Compiling Socket FileEvent.swift
[55/115] Compiling Socket CInternetAddress.swift
[56/115] Compiling Socket CInterop.swift
[57/115] Compiling Socket CSocketAddress.swift
[58/115] Compiling Socket CFSocketManager.swift
[59/115] Compiling Socket SocketAddressFamily.swift
[60/115] Compiling Socket SocketDescriptor.swift
[61/115] Compiling Socket SocketFlags.swift
[62/115] Compiling Socket Socket.swift
[63/115] Compiling Socket SocketContinuation.swift
[64/115] Compiling Socket SocketManager.swift
[65/115] Compiling Socket AsyncSocketManager.swift
[66/115] Compiling Bluetooth UnitIdentifier.swift
[67/115] Compiling Bluetooth UnitIdentifierExtension.swift
[68/115] Compiling Bluetooth iBeacon.swift
[69/115] Compiling Socket IOOperations.swift
[70/115] Compiling Socket IOType.swift
[71/115] Compiling Socket InternetProtocol.swift
[72/115] Compiling Socket MessageFlags.swift
[73/119] Emitting module Socket
[77/119] Compiling Socket SocketHelpers.swift
[82/119] Compiling Socket SocketProtocol.swift
[86/119] Compiling Socket IPv4SocketAddress.swift
[87/119] Compiling Socket IPv6SocketAddress.swift
[88/119] Compiling Socket LinkLayerSocketAddress.swift
[89/119] Compiling Socket UnixSocketAddress.swift
[96/119] Compiling Socket NetworkOrder.swift
[97/119] Compiling Socket Poll.swift
[98/119] Compiling Socket SocketAddress.swift
[104/119] Compiling Socket UnixProtocol.swift
[105/119] Compiling Socket SocketType.swift
[106/119] Compiling Socket Syscalls.swift
[107/119] Compiling Socket Util.swift
[113/119] Emitting module Bluetooth
Fetching https://github.com/PureSwift/Socket.git
[11/1083] Fetching socket
Fetched https://github.com/PureSwift/Socket.git from cache (0.76s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/PureSwift/Bluetooth.git
[1/4436] Fetching swift-system
[135/28062] Fetching swift-system, bluetooth
Fetched https://github.com/apple/swift-system from cache (1.43s)
Fetched https://github.com/PureSwift/Bluetooth.git from cache (1.43s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (1.84s)
Computing version for https://github.com/PureSwift/Bluetooth.git
Computed https://github.com/PureSwift/Bluetooth.git at 6.4.3 (0.56s)
Creating working copy for https://github.com/PureSwift/Socket.git
Working copy of https://github.com/PureSwift/Socket.git resolved at main (fa5f3c5)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/PureSwift/Bluetooth.git
Working copy of https://github.com/PureSwift/Bluetooth.git resolved at 6.4.3
warning: 'bluetooth': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/Resources/CompanyIdentifiers.txt
BUILD FAILURE 6.2 macosSpm