Build Information
Failed to build BluetoothDarwin, reference 1.1.0 (f46068
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 04:44:07 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/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 | }
/Users/admin/builder/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 | }
[300/432] Compiling Bluetooth LinkPolicyCommand.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[301/432] Compiling Bluetooth LowEnergyAddressType.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[302/432] Compiling Bluetooth LowEnergyAdvertiserAddressType.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[303/432] Compiling Bluetooth LowEnergyAdvertising.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[304/432] Compiling Bluetooth LowEnergyAdvertisingData.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[305/432] Compiling Bluetooth LowEnergyAllPhys.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[306/432] Compiling Bluetooth LowEnergyChannelMap.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[307/432] Compiling Bluetooth LowEnergyClockAccuracy.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[308/432] Compiling Bluetooth LowEnergyCommand.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[309/432] Compiling Bluetooth LowEnergyConnection.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[310/432] Compiling Bluetooth LowEnergyConnectionInterval.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[311/432] Compiling Bluetooth LowEnergyConnectionIntervalRange.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[312/432] Compiling Bluetooth GATTBloodPressureFeature.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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/432] Compiling Bluetooth GATTBloodPressureManagement.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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/432] Compiling Bluetooth GATTBloodPressureService.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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/432] Compiling Bluetooth GATTBodyCompositionMeasurement.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[316/432] Compiling Bluetooth GATTBodySensorLocation.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[317/432] Compiling Bluetooth GATTBootKeyboardInputReport.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[318/432] Compiling Bluetooth GATTBootKeyboardOutputReport.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[319/432] Compiling Bluetooth GATTBootMouseInputReport.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[320/432] Compiling Bluetooth GATTCGMSessionRunTime.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[321/432] Compiling Bluetooth GATTCentralAddressResolution.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[322/432] Compiling Bluetooth GATTCharacteristic.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[323/432] Compiling Bluetooth GATTCharacteristicExtendedProperties.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[324/432] Compiling Bluetooth GATTCharacteristicFormatType.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[325/432] Compiling Bluetooth GATTClient.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[326/432] Compiling Bluetooth GATTClientCharacteristicConfiguration.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[327/432] Compiling Bluetooth GATTCrossTrainerData.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[328/432] Compiling Bluetooth GATTCurrentTime.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[329/432] Compiling Bluetooth GATTDatabase.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[330/432] Compiling Bluetooth GATTDateTime.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[331/432] Compiling Bluetooth GATTDateUTC.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[332/432] Compiling Bluetooth GATTDayDateTime.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[333/432] Compiling Bluetooth GATTDayOfWeek.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[334/432] Compiling Bluetooth GATTDescriptor.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[335/432] Compiling Bluetooth GATTDstOffset.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[336/432] Compiling Bluetooth LowEnergyConnectionLatency.swift
[337/432] Compiling Bluetooth LowEnergyConnectionLength.swift
[338/432] Compiling Bluetooth LowEnergyEvent.swift
[339/432] Compiling Bluetooth LowEnergyFeature.swift
[340/432] Compiling Bluetooth LowEnergyFragmentPreference.swift
[341/432] Compiling Bluetooth LowEnergyMaxTxOctets.swift
[342/432] Compiling Bluetooth LowEnergyMaxTxTime.swift
[343/432] Compiling Bluetooth LowEnergyPacketPayload.swift
[344/432] Compiling Bluetooth LowEnergyPeerIdentifyAddressType.swift
[345/432] Compiling Bluetooth LowEnergyPhyOptions.swift
[346/432] Compiling Bluetooth LowEnergyResolvingList.swift
[347/432] Compiling Bluetooth LowEnergyRfRxPathCompensationValue.swift
[348/432] Compiling Bluetooth LowEnergyRfTxPathCompensationValue.swift
[349/432] Compiling Bluetooth LowEnergyRole.swift
[350/432] Compiling Bluetooth LowEnergyRxChannel.swift
[351/432] Compiling Bluetooth LowEnergyRxPhy.swift
[352/432] Compiling Bluetooth LowEnergyRxPhys.swift
[353/432] Compiling Bluetooth LowEnergyScanInterval.swift
[354/432] Compiling Bluetooth LowEnergyScanTimeInterval.swift
[355/432] Compiling Bluetooth LowEnergyState.swift
[356/432] Compiling Bluetooth LowEnergySupervisionTimeout.swift
[357/432] Compiling Bluetooth LowEnergyTxChannel.swift
[358/432] Compiling Bluetooth LowEnergyTxPhy.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[359/432] Emitting module Bluetooth
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[360/432] Compiling Bluetooth GAPURI.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[361/432] Compiling Bluetooth GAPUUIDList.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[362/432] Compiling Bluetooth GATT.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[363/432] Compiling Bluetooth GATTAerobicHeartRateLowerLimit.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[364/432] Compiling Bluetooth GATTAerobicHeartRateUpperLimit.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[365/432] Compiling Bluetooth GATTAerobicThreshold.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[366/432] Compiling Bluetooth GATTAge.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[367/432] Compiling Bluetooth GATTAggregateFormatDescriptor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[368/432] Compiling Bluetooth GATTAlertCategory.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[369/432] Compiling Bluetooth GATTAlertCategoryBitMask.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[370/432] Compiling Bluetooth GATTAlertLevel.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[371/432] Compiling Bluetooth GATTAlertNotificationControlPoint.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[372/432] Compiling Bluetooth GATTAlertNotificationService.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[373/432] Compiling Bluetooth GATTAlertStatus.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[374/432] Compiling Bluetooth GATTAltitude.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[375/432] Compiling Bluetooth GATTAnaerobicHeartRateLowerLimit.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[376/432] Compiling Bluetooth GATTAnaerobicHeartRateUpperLimit.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[377/432] Compiling Bluetooth GATTAnalog.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[378/432] Compiling Bluetooth GATTAnalogOutput.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[379/432] Compiling Bluetooth GATTAttributes.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[380/432] Compiling Bluetooth GATTBarometricPressureTrend.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[381/432] Compiling Bluetooth GATTBatteryLevel.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[382/432] Compiling Bluetooth GATTBatteryPowerState.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[383/432] Compiling Bluetooth GATTBatteryService.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTAerobicHeartRateLowerLimit.swift:38:9: error: type 'Data' does not conform to protocol 'DataContainer'
36 | else { return nil }
37 |
38 | let beats = BeatsPerMinute(rawValue: data[0])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
39 |
40 | self.init(beats: beats)
[384/432] Compiling Bluetooth Data.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[385/432] Compiling Bluetooth DataConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[386/432] Compiling Bluetooth DefinedCompanies.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[387/432] Compiling Bluetooth DefinedUUID.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[388/432] Compiling Bluetooth DefinedUUIDExtension.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[389/432] Compiling Bluetooth GAP3DInformation.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[390/432] Compiling Bluetooth GAPAdvertisingInterval.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[391/432] Compiling Bluetooth GAPAppearance.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[392/432] Compiling Bluetooth GAPAppearanceData.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[393/432] Compiling Bluetooth GAPChannelMapUpdateIndication.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[394/432] Compiling Bluetooth GAPClassOfDevice.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[395/432] Compiling Bluetooth GAPCompleteListOf128BitServiceClassUUIDs.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[396/432] Compiling Bluetooth GAPCompleteListOf16BitServiceClassUUIDs.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[397/432] Compiling Bluetooth GAPCompleteListOf32BitServiceClassUUIDs.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[398/432] Compiling Bluetooth GAPCompleteLocalName.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[399/432] Compiling Bluetooth GAPData.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[400/432] Compiling Bluetooth GAPDataEncoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[401/432] Compiling Bluetooth GAPDataType.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[402/432] Compiling Bluetooth GAPFlags.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[403/432] Compiling Bluetooth GAPIncompleteListOf128BitServiceClassUUIDs.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[404/432] Compiling Bluetooth GAPIncompleteListOf16BitServiceClassUUIDs.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[405/432] Compiling Bluetooth GAPIncompleteListOf32BitServiceClassUUIDs.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[406/432] Compiling Bluetooth GAPIndoorPositioning.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[407/432] Compiling Bluetooth GAPLEDeviceAddress.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: type 'Data' does not conform to protocol 'DataContainer'
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/DataConvertible.swift:83:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
62 | subscript(index: Int) -> UInt8 { get }
63 |
64 | subscript(range: Range<Int>) -> Slice<Self> { get }
| `- note: requirement 'subscript(_:)' declared here
65 |
66 | mutating func append(_ newElement: UInt8)
:
81 | }
82 |
83 | extension Data: DataContainer {
| `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'DataContainer'
84 |
85 | static func += (lhs: inout Data, rhs: UInt8) {
Swift.MutableCollection.subscript:3:21: note: 'subscript(_:)' declared here
1 | protocol MutableCollection {
2 | @available(*, unavailable)
3 | @inlinable public subscript(bounds: Range<Self.Index>) -> Slice<Self> { get set }}
| `- note: 'subscript(_:)' declared here
4 |
[408/432] Compiling Bluetooth LowEnergyTxPhys.swift
/Users/admin/builder/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/432] Compiling Bluetooth LowEnergyTxPower.swift
/Users/admin/builder/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/432] Compiling Bluetooth LowEnergyWhiteList.swift
/Users/admin/builder/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/432] Compiling Bluetooth LowEnergyWhiteListDevice.swift
/Users/admin/builder/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/432] Compiling Bluetooth PacketType.swift
/Users/admin/builder/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/432] Compiling Bluetooth ProtocolServiceMultiplexer.swift
/Users/admin/builder/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/432] Compiling Bluetooth RSSI.swift
/Users/admin/builder/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/432] Compiling Bluetooth SFloat.swift
/Users/admin/builder/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/432] Compiling Bluetooth SecurityLevel.swift
/Users/admin/builder/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/432] Compiling Bluetooth StatusParametersCommand.swift
/Users/admin/builder/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/432] Compiling Bluetooth TestingCommand.swift
/Users/admin/builder/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/432] Compiling Bluetooth UInt128.swift
/Users/admin/builder/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/432] Compiling Bluetooth UInt24.swift
/Users/admin/builder/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/432] Compiling Bluetooth UInt256.swift
/Users/admin/builder/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/432] Compiling Bluetooth UInt40.swift
/Users/admin/builder/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/432] Compiling Bluetooth UInt48.swift
/Users/admin/builder/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/432] Compiling Bluetooth UInt512.swift
/Users/admin/builder/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/432] Compiling Bluetooth UUID.swift
/Users/admin/builder/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/432] Compiling Bluetooth Unit.swift
/Users/admin/builder/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/432] Compiling Bluetooth UnitIdentifier.swift
/Users/admin/builder/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/432] Compiling Bluetooth UnitIdentifierExtension.swift
/Users/admin/builder/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/432] Compiling Bluetooth VendorCommand.swift
/Users/admin/builder/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/432] Compiling Bluetooth iBeacon.swift
/Users/admin/builder/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 macosSpm