Build Information
Failed to build BluetoothLinux, reference 5.0.5 (ddd549), with Swift 6.3 for Wasm on 22 Apr 2026 12:59:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/bluetoothlinux.git
Reference: 5.0.5
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/pureswift/bluetoothlinux
* tag 5.0.5 -> FETCH_HEAD
HEAD is now at ddd5493 Updated dependencies
Cloned https://github.com/pureswift/bluetoothlinux.git
Revision (git rev-parse @):
ddd5493bd5382ca0132b8ca121dd35c7554ab7d0
SUCCESS checkout https://github.com/pureswift/bluetoothlinux.git at 5.0.5
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/pureswift/bluetoothlinux.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/PureSwift/Socket.git
[1/1407] Fetching socket
Fetched https://github.com/PureSwift/Socket.git from cache (1.01s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/PureSwift/Bluetooth.git
[1/23854] Fetching bluetooth
[2148/29455] Fetching bluetooth, swift-system
Fetched https://github.com/apple/swift-system from cache (2.60s)
Fetched https://github.com/PureSwift/Bluetooth.git from cache (2.62s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (3.54s)
Computing version for https://github.com/PureSwift/Bluetooth.git
Computed https://github.com/PureSwift/Bluetooth.git at 6.4.3 (0.95s)
Creating working copy for https://github.com/PureSwift/Bluetooth.git
Working copy of https://github.com/PureSwift/Bluetooth.git resolved at 6.4.3
Creating working copy for https://github.com/PureSwift/Socket.git
Working copy of https://github.com/PureSwift/Socket.git resolved at main (579c0fc)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
warning: 'bluetooth': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/Resources/CompanyIdentifiers.txt
Building for debugging...
[0/12] Write sources
[6/12] Compiling CSystem shims.c
[7/12] Compiling CSocket android.c
[8/12] Compiling CBluetoothLinux dummy.c
[9/12] Compiling CSocket shims.c
[10/12] Compiling CBluetoothLinuxTest dummy.c
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/72] Emitting module SystemPackage
[14/76] Emitting module Bluetooth
[15/80] Compiling Bluetooth UnitIdentifierExtension.swift
[16/80] Compiling Bluetooth iBeacon.swift
[17/80] Compiling SystemPackage Util.swift
[18/80] Compiling SystemPackage UtilConsumers.swift
[19/80] Compiling Bluetooth ByteSwap.swift
[20/80] Compiling Bluetooth ByteValue.swift
[21/80] Compiling Bluetooth ClassOfDevice.swift
[22/80] Compiling Bluetooth CompanyIdentifier.swift
[23/80] Compiling Bluetooth Address.swift
[24/80] Compiling SystemPackage FilePathWindows.swift
[25/80] Compiling SystemPackage FilePermissions.swift
[26/80] Compiling SystemPackage IOCompletion.swift
[27/80] Compiling SystemPackage IORequest.swift
[28/80] Compiling Bluetooth DataConvertible.swift
[29/80] Compiling Bluetooth Hexadecimal.swift
[30/80] Compiling Bluetooth Integer.swift
[31/80] Compiling Bluetooth UUID.swift
[32/80] Compiling Bluetooth AsyncIndefiniteStream.swift
[33/80] Compiling Bluetooth BitMaskOption.swift
[34/80] Compiling SystemPackage FilePathComponents.swift
[35/80] Compiling Bluetooth DefinedUUID.swift
[36/80] Compiling Bluetooth DefinedUUIDExtension.swift
[37/80] Compiling SystemPackage IORing.swift
[38/80] Compiling SystemPackage RawIORequest.swift
[39/80] Compiling SystemPackage Backcompat.swift
[40/80] Compiling SystemPackage CInterop.swift
[41/80] Compiling SystemPackage Syscalls.swift
[42/80] Compiling SystemPackage WindowsSyscallAdapters.swift
[43/80] Compiling Bluetooth Unit.swift
[44/80] Compiling Bluetooth UnitIdentifier.swift
[45/80] Compiling SystemPackage Constants.swift
[46/80] Compiling SystemPackage Exports.swift
[47/80] Compiling SystemPackage Mocking.swift
[48/80] Compiling SystemPackage RawBuffer.swift
[50/122] Compiling Socket IPv6SocketAddress.swift
[51/122] Compiling Socket LinkLayerSocketAddress.swift
[52/122] Compiling Socket UnixSocketAddress.swift
[53/122] Compiling Socket SocketAddressFamily.swift
[54/122] Compiling Socket MessageFlags.swift
[55/122] Compiling Socket NetworkInterface.swift
[56/122] Compiling Socket NetworkOrder.swift
[57/122] Compiling Socket Poll.swift
[58/122] Compiling Socket SocketProtocol.swift
[59/122] Compiling Socket IPv4Protocol.swift
[60/122] Compiling Socket IPv6Protocol.swift
[61/122] Compiling Socket LinkLayerProtocol.swift
[62/122] Compiling Socket SocketOperations.swift
[63/122] Compiling Socket SocketOption.swift
[64/122] Compiling Socket SocketOptionID.swift
[65/122] Compiling Socket SocketOptionLevel.swift
[66/122] Compiling Socket Constants.swift
[67/122] Compiling Socket Errno.swift
[68/122] Compiling Socket FileChange.swift
[69/122] Compiling Socket FileEvent.swift
[70/122] Compiling Socket SocketDescriptor.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:221:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
219 | // MARK: - Sequence
220 |
221 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
222 |
223 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
231 |
232 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
231 |
232 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:331:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
329 | // MARK: - RandomAccessCollection
330 |
331 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
332 |
333 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:184:16: error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
182 |
183 | public var description: String {
184 | return toHexadecimal()
| `- error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
185 | }
186 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/Extensions/Hexadecimal.swift:21:10: note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
19 | }
20 |
21 | internal extension Collection where Element: FixedWidthInteger {
| `- note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
22 |
23 | func toHexadecimal() -> String {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:214:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
212 | var data: Data {
213 | var data = Data(capacity: count)
214 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
215 | return data
216 | }
[71/122] Compiling Socket SocketEvent.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:221:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
219 | // MARK: - Sequence
220 |
221 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
222 |
223 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
231 |
232 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
231 |
232 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:331:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
329 | // MARK: - RandomAccessCollection
330 |
331 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
332 |
333 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:184:16: error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
182 |
183 | public var description: String {
184 | return toHexadecimal()
| `- error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
185 | }
186 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/Extensions/Hexadecimal.swift:21:10: note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
19 | }
20 |
21 | internal extension Collection where Element: FixedWidthInteger {
| `- note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
22 |
23 | func toHexadecimal() -> String {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:214:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
212 | var data: Data {
213 | var data = Data(capacity: count)
214 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
215 | return data
216 | }
[72/122] Compiling Socket SocketFlags.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:221:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
219 | // MARK: - Sequence
220 |
221 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
222 |
223 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
231 |
232 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
231 |
232 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:331:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
329 | // MARK: - RandomAccessCollection
330 |
331 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
332 |
333 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:184:16: error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
182 |
183 | public var description: String {
184 | return toHexadecimal()
| `- error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
185 | }
186 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/Extensions/Hexadecimal.swift:21:10: note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
19 | }
20 |
21 | internal extension Collection where Element: FixedWidthInteger {
| `- note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
22 |
23 | func toHexadecimal() -> String {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:214:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
212 | var data: Data {
213 | var data = Data(capacity: count)
214 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
215 | return data
216 | }
[73/122] Compiling Socket SocketHelpers.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:221:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
219 | // MARK: - Sequence
220 |
221 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
222 |
223 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
231 |
232 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
231 |
232 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:331:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
329 | // MARK: - RandomAccessCollection
330 |
331 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
332 |
333 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:184:16: error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
182 |
183 | public var description: String {
184 | return toHexadecimal()
| `- error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
185 | }
186 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/Extensions/Hexadecimal.swift:21:10: note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
19 | }
20 |
21 | internal extension Collection where Element: FixedWidthInteger {
| `- note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
22 |
23 | func toHexadecimal() -> String {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:214:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
212 | var data: Data {
213 | var data = Data(capacity: count)
214 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
215 | return data
216 | }
[74/122] Compiling Socket CFSocketManager.swift
[75/122] Compiling Socket CInternetAddress.swift
[76/122] Compiling Socket CInterop.swift
[77/122] Compiling Socket CSocketAddress.swift
[78/122] Compiling Socket Socket.swift
[79/122] Compiling Socket SocketContinuation.swift
[80/122] Compiling Socket SocketManager.swift
[81/122] Compiling Socket AsyncSocketManager.swift
BUILD FAILURE 6.3 wasm