Build Information
Failed to build BluetoothDarwin, reference 1.1.0 (f46068
), with Swift 6.1 for Linux on 26 Apr 2025 04:37:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
| `- note: add stubs for conformance
257 |
258 | public subscript(bounds: Range<Int>) -> Slice<GATTDatabase> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
[299/433] Compiling Bluetooth GATTCGMSessionRunTime.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTBloodPressureFeature.swift:36:9: error: type 'Data' does not conform to protocol 'DataContainer'
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:227:1: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
225 | // MARK: - Sequence
226 |
227 | extension GATTDatabase: Sequence {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
228 |
229 | public func makeIterator() -> IndexingIterator<GATTDatabase> {
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' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:236:1: error: type 'GATTDatabase' does not conform to protocol 'Collection'
234 | // MARK: - Collection
235 |
236 | extension GATTDatabase: Collection {
| |- error: type 'GATTDatabase' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
237 |
238 | public func index(after index: Int) -> Int {
Swift.Collection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Collection {
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/GATTDatabase.swift:256:1: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
254 | // MARK: - RandomAccessCollection
255 |
256 | extension GATTDatabase: RandomAccessCollection {
| |- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
257 |
258 | public subscript(bounds: Range<Int>) -> Slice<GATTDatabase> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
[300/433] Compiling Bluetooth GATTCentralAddressResolution.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTBloodPressureFeature.swift:36:9: error: type 'Data' does not conform to protocol 'DataContainer'
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:227:1: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
225 | // MARK: - Sequence
226 |
227 | extension GATTDatabase: Sequence {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
228 |
229 | public func makeIterator() -> IndexingIterator<GATTDatabase> {
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' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:236:1: error: type 'GATTDatabase' does not conform to protocol 'Collection'
234 | // MARK: - Collection
235 |
236 | extension GATTDatabase: Collection {
| |- error: type 'GATTDatabase' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
237 |
238 | public func index(after index: Int) -> Int {
Swift.Collection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Collection {
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/GATTDatabase.swift:256:1: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
254 | // MARK: - RandomAccessCollection
255 |
256 | extension GATTDatabase: RandomAccessCollection {
| |- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
257 |
258 | public subscript(bounds: Range<Int>) -> Slice<GATTDatabase> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
[301/433] Compiling Bluetooth GATTCharacteristic.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTBloodPressureFeature.swift:36:9: error: type 'Data' does not conform to protocol 'DataContainer'
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:227:1: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
225 | // MARK: - Sequence
226 |
227 | extension GATTDatabase: Sequence {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
228 |
229 | public func makeIterator() -> IndexingIterator<GATTDatabase> {
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' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:236:1: error: type 'GATTDatabase' does not conform to protocol 'Collection'
234 | // MARK: - Collection
235 |
236 | extension GATTDatabase: Collection {
| |- error: type 'GATTDatabase' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
237 |
238 | public func index(after index: Int) -> Int {
Swift.Collection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Collection {
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/GATTDatabase.swift:256:1: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
254 | // MARK: - RandomAccessCollection
255 |
256 | extension GATTDatabase: RandomAccessCollection {
| |- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
257 |
258 | public subscript(bounds: Range<Int>) -> Slice<GATTDatabase> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
[302/433] Compiling Bluetooth GATTCharacteristicExtendedProperties.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTBloodPressureFeature.swift:36:9: error: type 'Data' does not conform to protocol 'DataContainer'
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:227:1: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
225 | // MARK: - Sequence
226 |
227 | extension GATTDatabase: Sequence {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
228 |
229 | public func makeIterator() -> IndexingIterator<GATTDatabase> {
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' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:236:1: error: type 'GATTDatabase' does not conform to protocol 'Collection'
234 | // MARK: - Collection
235 |
236 | extension GATTDatabase: Collection {
| |- error: type 'GATTDatabase' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
237 |
238 | public func index(after index: Int) -> Int {
Swift.Collection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Collection {
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/GATTDatabase.swift:256:1: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
254 | // MARK: - RandomAccessCollection
255 |
256 | extension GATTDatabase: RandomAccessCollection {
| |- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
257 |
258 | public subscript(bounds: Range<Int>) -> Slice<GATTDatabase> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
[303/433] Compiling Bluetooth GATTCharacteristicFormatType.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTBloodPressureFeature.swift:36:9: error: type 'Data' does not conform to protocol 'DataContainer'
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:227:1: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
225 | // MARK: - Sequence
226 |
227 | extension GATTDatabase: Sequence {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
228 |
229 | public func makeIterator() -> IndexingIterator<GATTDatabase> {
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' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:236:1: error: type 'GATTDatabase' does not conform to protocol 'Collection'
234 | // MARK: - Collection
235 |
236 | extension GATTDatabase: Collection {
| |- error: type 'GATTDatabase' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
237 |
238 | public func index(after index: Int) -> Int {
Swift.Collection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Collection {
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/GATTDatabase.swift:256:1: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
254 | // MARK: - RandomAccessCollection
255 |
256 | extension GATTDatabase: RandomAccessCollection {
| |- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
257 |
258 | public subscript(bounds: Range<Int>) -> Slice<GATTDatabase> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
[304/433] Compiling Bluetooth GATTClient.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTBloodPressureFeature.swift:36:9: error: type 'Data' does not conform to protocol 'DataContainer'
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:227:1: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
225 | // MARK: - Sequence
226 |
227 | extension GATTDatabase: Sequence {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
228 |
229 | public func makeIterator() -> IndexingIterator<GATTDatabase> {
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' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:236:1: error: type 'GATTDatabase' does not conform to protocol 'Collection'
234 | // MARK: - Collection
235 |
236 | extension GATTDatabase: Collection {
| |- error: type 'GATTDatabase' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
237 |
238 | public func index(after index: Int) -> Int {
Swift.Collection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Collection {
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/GATTDatabase.swift:256:1: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
254 | // MARK: - RandomAccessCollection
255 |
256 | extension GATTDatabase: RandomAccessCollection {
| |- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
257 |
258 | public subscript(bounds: Range<Int>) -> Slice<GATTDatabase> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
[305/433] Compiling Bluetooth GATTClientCharacteristicConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTBloodPressureFeature.swift:36:9: error: type 'Data' does not conform to protocol 'DataContainer'
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:227:1: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
225 | // MARK: - Sequence
226 |
227 | extension GATTDatabase: Sequence {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
228 |
229 | public func makeIterator() -> IndexingIterator<GATTDatabase> {
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' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:236:1: error: type 'GATTDatabase' does not conform to protocol 'Collection'
234 | // MARK: - Collection
235 |
236 | extension GATTDatabase: Collection {
| |- error: type 'GATTDatabase' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
237 |
238 | public func index(after index: Int) -> Int {
Swift.Collection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Collection {
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/GATTDatabase.swift:256:1: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
254 | // MARK: - RandomAccessCollection
255 |
256 | extension GATTDatabase: RandomAccessCollection {
| |- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
257 |
258 | public subscript(bounds: Range<Int>) -> Slice<GATTDatabase> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
[306/433] Compiling Bluetooth GATTCrossTrainerData.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTBloodPressureFeature.swift:36:9: error: type 'Data' does not conform to protocol 'DataContainer'
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:227:1: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
225 | // MARK: - Sequence
226 |
227 | extension GATTDatabase: Sequence {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
228 |
229 | public func makeIterator() -> IndexingIterator<GATTDatabase> {
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' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:236:1: error: type 'GATTDatabase' does not conform to protocol 'Collection'
234 | // MARK: - Collection
235 |
236 | extension GATTDatabase: Collection {
| |- error: type 'GATTDatabase' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
237 |
238 | public func index(after index: Int) -> Int {
Swift.Collection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Collection {
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/GATTDatabase.swift:256:1: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
254 | // MARK: - RandomAccessCollection
255 |
256 | extension GATTDatabase: RandomAccessCollection {
| |- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
257 |
258 | public subscript(bounds: Range<Int>) -> Slice<GATTDatabase> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
[307/433] Compiling Bluetooth GATTCurrentTime.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTBloodPressureFeature.swift:36:9: error: type 'Data' does not conform to protocol 'DataContainer'
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:227:1: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
225 | // MARK: - Sequence
226 |
227 | extension GATTDatabase: Sequence {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
228 |
229 | public func makeIterator() -> IndexingIterator<GATTDatabase> {
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' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:236:1: error: type 'GATTDatabase' does not conform to protocol 'Collection'
234 | // MARK: - Collection
235 |
236 | extension GATTDatabase: Collection {
| |- error: type 'GATTDatabase' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
237 |
238 | public func index(after index: Int) -> Int {
Swift.Collection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Collection {
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/GATTDatabase.swift:256:1: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
254 | // MARK: - RandomAccessCollection
255 |
256 | extension GATTDatabase: RandomAccessCollection {
| |- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
257 |
258 | public subscript(bounds: Range<Int>) -> Slice<GATTDatabase> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
[308/433] Compiling Bluetooth GATTDatabase.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTBloodPressureFeature.swift:36:9: error: type 'Data' does not conform to protocol 'DataContainer'
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:227:1: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
225 | // MARK: - Sequence
226 |
227 | extension GATTDatabase: Sequence {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
228 |
229 | public func makeIterator() -> IndexingIterator<GATTDatabase> {
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' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:236:1: error: type 'GATTDatabase' does not conform to protocol 'Collection'
234 | // MARK: - Collection
235 |
236 | extension GATTDatabase: Collection {
| |- error: type 'GATTDatabase' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
237 |
238 | public func index(after index: Int) -> Int {
Swift.Collection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Collection {
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/GATTDatabase.swift:256:1: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
254 | // MARK: - RandomAccessCollection
255 |
256 | extension GATTDatabase: RandomAccessCollection {
| |- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
257 |
258 | public subscript(bounds: Range<Int>) -> Slice<GATTDatabase> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
[309/433] Compiling Bluetooth GATTDateTime.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTBloodPressureFeature.swift:36:9: error: type 'Data' does not conform to protocol 'DataContainer'
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:227:1: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
225 | // MARK: - Sequence
226 |
227 | extension GATTDatabase: Sequence {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
228 |
229 | public func makeIterator() -> IndexingIterator<GATTDatabase> {
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' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:236:1: error: type 'GATTDatabase' does not conform to protocol 'Collection'
234 | // MARK: - Collection
235 |
236 | extension GATTDatabase: Collection {
| |- error: type 'GATTDatabase' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
237 |
238 | public func index(after index: Int) -> Int {
Swift.Collection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Collection {
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/GATTDatabase.swift:256:1: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
254 | // MARK: - RandomAccessCollection
255 |
256 | extension GATTDatabase: RandomAccessCollection {
| |- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
257 |
258 | public subscript(bounds: Range<Int>) -> Slice<GATTDatabase> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
[310/433] Compiling Bluetooth GATTDateUTC.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTBloodPressureFeature.swift:36:9: error: type 'Data' does not conform to protocol 'DataContainer'
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:227:1: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
225 | // MARK: - Sequence
226 |
227 | extension GATTDatabase: Sequence {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
228 |
229 | public func makeIterator() -> IndexingIterator<GATTDatabase> {
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' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:236:1: error: type 'GATTDatabase' does not conform to protocol 'Collection'
234 | // MARK: - Collection
235 |
236 | extension GATTDatabase: Collection {
| |- error: type 'GATTDatabase' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
237 |
238 | public func index(after index: Int) -> Int {
Swift.Collection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Collection {
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/GATTDatabase.swift:256:1: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
254 | // MARK: - RandomAccessCollection
255 |
256 | extension GATTDatabase: RandomAccessCollection {
| |- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
257 |
258 | public subscript(bounds: Range<Int>) -> Slice<GATTDatabase> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
[311/433] Compiling Bluetooth GATTDayDateTime.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTBloodPressureFeature.swift:36:9: error: type 'Data' does not conform to protocol 'DataContainer'
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:227:1: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
225 | // MARK: - Sequence
226 |
227 | extension GATTDatabase: Sequence {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
228 |
229 | public func makeIterator() -> IndexingIterator<GATTDatabase> {
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' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:236:1: error: type 'GATTDatabase' does not conform to protocol 'Collection'
234 | // MARK: - Collection
235 |
236 | extension GATTDatabase: Collection {
| |- error: type 'GATTDatabase' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
237 |
238 | public func index(after index: Int) -> Int {
Swift.Collection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Collection {
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/GATTDatabase.swift:256:1: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
254 | // MARK: - RandomAccessCollection
255 |
256 | extension GATTDatabase: RandomAccessCollection {
| |- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
257 |
258 | public subscript(bounds: Range<Int>) -> Slice<GATTDatabase> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
[312/433] Compiling Bluetooth GATTDayOfWeek.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTBloodPressureFeature.swift:36:9: error: type 'Data' does not conform to protocol 'DataContainer'
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:227:1: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
225 | // MARK: - Sequence
226 |
227 | extension GATTDatabase: Sequence {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
228 |
229 | public func makeIterator() -> IndexingIterator<GATTDatabase> {
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' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:236:1: error: type 'GATTDatabase' does not conform to protocol 'Collection'
234 | // MARK: - Collection
235 |
236 | extension GATTDatabase: Collection {
| |- error: type 'GATTDatabase' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
237 |
238 | public func index(after index: Int) -> Int {
Swift.Collection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Collection {
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/GATTDatabase.swift:256:1: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
254 | // MARK: - RandomAccessCollection
255 |
256 | extension GATTDatabase: RandomAccessCollection {
| |- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
257 |
258 | public subscript(bounds: Range<Int>) -> Slice<GATTDatabase> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
[313/433] Compiling Bluetooth GATTDescriptor.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTBloodPressureFeature.swift:36:9: error: type 'Data' does not conform to protocol 'DataContainer'
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:227:1: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
225 | // MARK: - Sequence
226 |
227 | extension GATTDatabase: Sequence {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
228 |
229 | public func makeIterator() -> IndexingIterator<GATTDatabase> {
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' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:236:1: error: type 'GATTDatabase' does not conform to protocol 'Collection'
234 | // MARK: - Collection
235 |
236 | extension GATTDatabase: Collection {
| |- error: type 'GATTDatabase' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
237 |
238 | public func index(after index: Int) -> Int {
Swift.Collection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Collection {
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/GATTDatabase.swift:256:1: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
254 | // MARK: - RandomAccessCollection
255 |
256 | extension GATTDatabase: RandomAccessCollection {
| |- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
257 |
258 | public subscript(bounds: Range<Int>) -> Slice<GATTDatabase> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
[314/433] Compiling Bluetooth GATTDstOffset.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTBloodPressureFeature.swift:36:9: error: type 'Data' does not conform to protocol 'DataContainer'
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:227:1: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
225 | // MARK: - Sequence
226 |
227 | extension GATTDatabase: Sequence {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
228 |
229 | public func makeIterator() -> IndexingIterator<GATTDatabase> {
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' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'GATTDatabase' if 'GATTDatabase' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTDatabase.swift:236:1: error: type 'GATTDatabase' does not conform to protocol 'Collection'
234 | // MARK: - Collection
235 |
236 | extension GATTDatabase: Collection {
| |- error: type 'GATTDatabase' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
237 |
238 | public func index(after index: Int) -> Int {
Swift.Collection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Collection {
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/GATTDatabase.swift:256:1: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
254 | // MARK: - RandomAccessCollection
255 |
256 | extension GATTDatabase: RandomAccessCollection {
| |- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
257 |
258 | public subscript(bounds: Range<Int>) -> Slice<GATTDatabase> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
[315/433] Compiling Bluetooth GATTExactTime100.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[316/433] Compiling Bluetooth GATTExactTime256.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[317/433] Compiling Bluetooth GATTExternalReportReference.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[318/433] Compiling Bluetooth GATTFirmwareRevisionString.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[319/433] Compiling Bluetooth GATTFloorNumber.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[320/433] Compiling Bluetooth GATTFormatDescriptor.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[321/433] Compiling Bluetooth GATTHardwareRevisionString.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[322/433] Compiling Bluetooth GATTIndoorPositioningConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[323/433] Compiling Bluetooth GATTLatitude.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[324/433] Compiling Bluetooth GATTLocalEastCoordinate.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[325/433] Compiling Bluetooth GATTLocalNorthCoordinate.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[326/433] Compiling Bluetooth GATTLocalTimeInformation.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[327/433] Compiling Bluetooth GATTLocationName.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[328/433] Compiling Bluetooth GATTLongitude.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[329/433] Compiling Bluetooth GATTManufacturerNameString.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[330/433] Compiling Bluetooth GATTModelNumber.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[331/433] Compiling Bluetooth GATTNewAlert.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[332/433] Compiling Bluetooth GATTNumberOfDigitals.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[333/433] Compiling Bluetooth GATTObjectID.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[334/433] Compiling Bluetooth GATTObjectName.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[335/433] Compiling Bluetooth GATTObjectSize.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[336/433] Compiling Bluetooth GATTObjectType.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[337/433] Compiling Bluetooth GATTPnPID.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[338/433] Compiling Bluetooth GATTProfile.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTExactTime100.swift:32:12: error: type 'Data' does not conform to protocol 'DataContainer'
30 | }
31 |
32 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | guard data.count == type(of: self).length
[339/433] Compiling Bluetooth HCIReadPageTimeout.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[340/433] Compiling Bluetooth HCIReadRemoteExtendedFeatures.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[341/433] Compiling Bluetooth HCIReadRemoteExtendedFeaturesComplete.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[342/433] Compiling Bluetooth HCIReadRemoteFeaturesComplete.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[343/433] Compiling Bluetooth HCIReadRemoteSupportedFeatures.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[344/433] Compiling Bluetooth HCIReadRemoteVersionInformation.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[345/433] Compiling Bluetooth HCIReadRemoteVersionInformationComplete.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[346/433] Compiling Bluetooth HCIReadStoredLinkKey.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[347/433] Compiling Bluetooth HCIRejectConnectionRequest.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[348/433] Compiling Bluetooth HCIRemoteNameRequest.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[349/433] Compiling Bluetooth HCIRemoteNameRequestComplete.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[350/433] Compiling Bluetooth HCIReset.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[351/433] Compiling Bluetooth HCISetConnectionEncryption.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[352/433] Compiling Bluetooth HCISetEventFilter.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[353/433] Compiling Bluetooth HCISimplePairingComplete.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[354/433] Compiling Bluetooth HCIUserConfirmationRequest.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[355/433] Compiling Bluetooth HCIUserConfirmationRequestReply.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[356/433] Compiling Bluetooth HCIVersion.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[357/433] Compiling Bluetooth HCIWriteClassOfDevice.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[358/433] Compiling Bluetooth HCIWriteConnectionAcceptTimeout.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[359/433] Compiling Bluetooth HCIWriteLinkPolicySettings.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[360/433] Compiling Bluetooth HCIWriteLinkSupervisionTimeout.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[361/433] Compiling Bluetooth HCIWriteLocalName.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIReadPageTimeout.swift:42:9: error: type 'Data' does not conform to protocol 'DataContainer'
40 | else { return nil }
41 |
42 | let rawValue = UInt16(littleEndian: UInt16(bytes: (data[0], data[1])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
43 |
44 | guard let pageTimeout = PageTimeout(rawValue: rawValue)
[362/433] Compiling Bluetooth HCIWritePageScanActivity.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[363/433] Compiling Bluetooth HCIWritePageScanType.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[364/433] Compiling Bluetooth HCIWritePageTimeout.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[365/433] Compiling Bluetooth HCIWriteScanEnable.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[366/433] Compiling Bluetooth Hexadecimal.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[367/433] Compiling Bluetooth HostControllerBasebandCommand.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[368/433] Compiling Bluetooth InformationalCommand.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[369/433] Compiling Bluetooth Integer.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[370/433] Compiling Bluetooth L2CAPSocket.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[371/433] Compiling Bluetooth LMPFeature.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[372/433] Compiling Bluetooth LinkControlCommand.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[373/433] Compiling Bluetooth LinkPolicyCommand.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[374/433] Compiling Bluetooth LowEnergyAddressType.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[375/433] Compiling Bluetooth LowEnergyAdvertiserAddressType.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[376/433] Compiling Bluetooth LowEnergyAdvertising.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[377/433] Compiling Bluetooth LowEnergyAdvertisingData.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[378/433] Compiling Bluetooth LowEnergyAllPhys.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[379/433] Compiling Bluetooth LowEnergyChannelMap.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[380/433] Compiling Bluetooth LowEnergyClockAccuracy.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[381/433] Compiling Bluetooth LowEnergyCommand.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[382/433] Compiling Bluetooth LowEnergyConnection.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[383/433] Compiling Bluetooth LowEnergyConnectionInterval.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[384/433] Compiling Bluetooth LowEnergyConnectionIntervalRange.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | 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/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | 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/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | 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/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/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[385/433] Compiling Bluetooth LowEnergyConnectionLatency.swift
[386/433] Compiling Bluetooth LowEnergyConnectionLength.swift
[387/433] Compiling Bluetooth LowEnergyEvent.swift
[388/433] Compiling Bluetooth LowEnergyFeature.swift
[389/433] Compiling Bluetooth LowEnergyFragmentPreference.swift
[390/433] Compiling Bluetooth LowEnergyMaxTxOctets.swift
[391/433] Compiling Bluetooth LowEnergyMaxTxTime.swift
[392/433] Compiling Bluetooth LowEnergyPacketPayload.swift
[393/433] Compiling Bluetooth LowEnergyPeerIdentifyAddressType.swift
[394/433] Compiling Bluetooth LowEnergyPhyOptions.swift
[395/433] Compiling Bluetooth LowEnergyResolvingList.swift
[396/433] Compiling Bluetooth LowEnergyRfRxPathCompensationValue.swift
[397/433] Compiling Bluetooth LowEnergyRfTxPathCompensationValue.swift
[398/433] Compiling Bluetooth LowEnergyRole.swift
[399/433] Compiling Bluetooth LowEnergyRxChannel.swift
[400/433] Compiling Bluetooth LowEnergyRxPhy.swift
[401/433] Compiling Bluetooth LowEnergyRxPhys.swift
[402/433] Compiling Bluetooth LowEnergyScanInterval.swift
[403/433] Compiling Bluetooth LowEnergyScanTimeInterval.swift
[404/433] Compiling Bluetooth LowEnergyState.swift
[405/433] Compiling Bluetooth LowEnergySupervisionTimeout.swift
[406/433] Compiling Bluetooth LowEnergyTxChannel.swift
[407/433] Compiling Bluetooth LowEnergyTxPhy.swift
[408/433] Compiling Bluetooth LowEnergyTxPhys.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[409/433] Compiling Bluetooth LowEnergyTxPower.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[410/433] Compiling Bluetooth LowEnergyWhiteList.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[411/433] Compiling Bluetooth LowEnergyWhiteListDevice.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[412/433] Compiling Bluetooth PacketType.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[413/433] Compiling Bluetooth ProtocolServiceMultiplexer.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[414/433] Compiling Bluetooth RSSI.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[415/433] Compiling Bluetooth SFloat.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[416/433] Compiling Bluetooth SecurityLevel.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[417/433] Compiling Bluetooth StatusParametersCommand.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[418/433] Compiling Bluetooth TestingCommand.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[419/433] Compiling Bluetooth UInt128.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[420/433] Compiling Bluetooth UInt24.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[421/433] Compiling Bluetooth UInt256.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[422/433] Compiling Bluetooth UInt40.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[423/433] Compiling Bluetooth UInt48.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[424/433] Compiling Bluetooth UInt512.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[425/433] Compiling Bluetooth UUID.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[426/433] Compiling Bluetooth Unit.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[427/433] Compiling Bluetooth UnitIdentifier.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[428/433] Compiling Bluetooth UnitIdentifierExtension.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[429/433] Compiling Bluetooth VendorCommand.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[430/433] Compiling Bluetooth iBeacon.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
BUILD FAILURE 6.1 linux