Build Information
Failed to build BluetoothDarwin, reference 1.1.0 (f46068
), with Swift 6.0 for Linux on 27 Nov 2024 19:05:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
353 | guard data.count == type(of: self).length
354 | else { return nil }
[335/436] Compiling Bluetooth HCILETestEnd.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILESetExtendedAdvertisingParameters.swift:352:12: error: type 'Data' does not conform to protocol 'DataContainer'
350 | public let selectedTxPower: LowEnergyTxPower
351 |
352 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
353 | guard data.count == type(of: self).length
354 | else { return nil }
[336/436] Compiling Bluetooth HCILETransmitterTest.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILESetExtendedAdvertisingParameters.swift:352:12: error: type 'Data' does not conform to protocol 'DataContainer'
350 | public let selectedTxPower: LowEnergyTxPower
351 |
352 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
353 | guard data.count == type(of: self).length
354 | else { return nil }
[337/436] Compiling Bluetooth HCILEUpdateConnection.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILESetExtendedAdvertisingParameters.swift:352:12: error: type 'Data' does not conform to protocol 'DataContainer'
350 | public let selectedTxPower: LowEnergyTxPower
351 |
352 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
353 | guard data.count == type(of: self).length
354 | else { return nil }
[338/436] Compiling Bluetooth HCILEWriteRfPathCompensation.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILESetExtendedAdvertisingParameters.swift:352:12: error: type 'Data' does not conform to protocol 'DataContainer'
350 | public let selectedTxPower: LowEnergyTxPower
351 |
352 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
353 | guard data.count == type(of: self).length
354 | else { return nil }
[339/436] Compiling Bluetooth HCILEWriteSuggestedDefaultDataLength.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILESetExtendedAdvertisingParameters.swift:352:12: error: type 'Data' does not conform to protocol 'DataContainer'
350 | public let selectedTxPower: LowEnergyTxPower
351 |
352 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
353 | guard data.count == type(of: self).length
354 | else { return nil }
[340/436] Compiling Bluetooth HCILinkKeyNotification.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILESetExtendedAdvertisingParameters.swift:352:12: error: type 'Data' does not conform to protocol 'DataContainer'
350 | public let selectedTxPower: LowEnergyTxPower
351 |
352 | public init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
353 | guard data.count == type(of: self).length
354 | else { return nil }
[341/436] Compiling Bluetooth GATTReferenceTimeInformation.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[342/436] Compiling Bluetooth GATTReportReference.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[343/436] Compiling Bluetooth GATTScanIntervalWindow.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[344/436] Compiling Bluetooth GATTScanRefresh.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[345/436] Compiling Bluetooth GATTSecondaryTimeZone.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[346/436] Compiling Bluetooth GATTSerialNumberString.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[347/436] Compiling Bluetooth GATTServer.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[348/436] Compiling Bluetooth GATTServerCharacteristicConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[349/436] Compiling Bluetooth GATTService.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[350/436] Compiling Bluetooth GATTSoftwareRevisionString.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[351/436] Compiling Bluetooth GATTSupportedNewAlertCategory.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[352/436] Compiling Bluetooth GATTSupportedUnreadAlertCategory.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[353/436] Compiling Bluetooth GATTSystemID.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[354/436] Compiling Bluetooth GATTTimeAccuracy.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[355/436] Compiling Bluetooth GATTTimeBroadcast.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[356/436] Compiling Bluetooth GATTTimeSource.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[357/436] Compiling Bluetooth GATTTimeTriggerSetting.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[358/436] Compiling Bluetooth GATTTimeUpdateControlPoint.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[359/436] Compiling Bluetooth GATTTimeUpdateState.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[360/436] Compiling Bluetooth GATTTimeWithDst.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[361/436] Compiling Bluetooth GATTTimeZone.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[362/436] Compiling Bluetooth GATTUncertainty.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[363/436] Compiling Bluetooth GATTUnreadAlertStatus.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[364/436] Compiling Bluetooth GATTUserDescription.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[365/436] Compiling Bluetooth HCIWritePageScanActivity.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[366/436] Compiling Bluetooth HCIWritePageScanType.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[367/436] Compiling Bluetooth HCIWritePageTimeout.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[368/436] Compiling Bluetooth HCIWriteScanEnable.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[369/436] Compiling Bluetooth Hexadecimal.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[370/436] Compiling Bluetooth HostControllerBasebandCommand.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[371/436] Compiling Bluetooth InformationalCommand.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[372/436] Compiling Bluetooth Integer.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[373/436] Compiling Bluetooth L2CAPSocket.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[374/436] Compiling Bluetooth LMPFeature.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[375/436] Compiling Bluetooth LinkControlCommand.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[376/436] Compiling Bluetooth LinkPolicyCommand.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[377/436] Compiling Bluetooth LowEnergyAddressType.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[378/436] Compiling Bluetooth LowEnergyAdvertiserAddressType.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[379/436] Compiling Bluetooth LowEnergyAdvertising.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[380/436] Compiling Bluetooth LowEnergyAdvertisingData.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[381/436] Compiling Bluetooth LowEnergyAllPhys.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[382/436] Compiling Bluetooth LowEnergyChannelMap.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[383/436] Compiling Bluetooth LowEnergyClockAccuracy.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[384/436] Compiling Bluetooth LowEnergyCommand.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[385/436] Compiling Bluetooth LowEnergyConnection.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[386/436] Compiling Bluetooth LowEnergyConnectionInterval.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[387/436] Compiling Bluetooth LowEnergyConnectionIntervalRange.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | public protocol Sequence<Element> {
2 | associatedtype Element where Self.Element == Self.Iterator.Element
3 | associatedtype Iterator : IteratorProtocol
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
4 | @available(*, unavailable, renamed: "Iterator")
5 | typealias Generator = Self.Iterator
Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | extension Sequence where Self == Self.Iterator {
2 | @inlinable public __consuming func makeIterator() -> Self
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
241 |
242 | public var count: Int {
Swift.MutableCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
Swift.Collection:10:20: note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
8 | var startIndex: Self.Index { get }
9 | var endIndex: Self.Index { get }
10 | associatedtype Iterator = IndexingIterator<Self>
| `- note: protocol requires nested type 'Iterator'; add nested type 'Iterator' for conformance
11 | override __consuming func makeIterator() -> Self.Iterator
12 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection:2:20: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
1 | public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
2 | associatedtype Element
| `- note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
3 | associatedtype Index
4 | associatedtype SubSequence
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[388/436] Compiling Bluetooth LowEnergyConnectionLatency.swift
[389/436] Compiling Bluetooth LowEnergyConnectionLength.swift
[390/436] Compiling Bluetooth LowEnergyEvent.swift
[391/436] Compiling Bluetooth LowEnergyFeature.swift
[392/436] Compiling Bluetooth LowEnergyFragmentPreference.swift
[393/436] Compiling Bluetooth LowEnergyMaxTxOctets.swift
[394/436] Compiling Bluetooth LowEnergyMaxTxTime.swift
[395/436] Compiling Bluetooth LowEnergyPacketPayload.swift
[396/436] Compiling Bluetooth LowEnergyPeerIdentifyAddressType.swift
[397/436] Compiling Bluetooth LowEnergyPhyOptions.swift
[398/436] Compiling Bluetooth LowEnergyResolvingList.swift
[399/436] Compiling Bluetooth LowEnergyRfRxPathCompensationValue.swift
[400/436] Compiling Bluetooth LowEnergyRfTxPathCompensationValue.swift
[401/436] Compiling Bluetooth LowEnergyRole.swift
[402/436] Compiling Bluetooth LowEnergyRxChannel.swift
[403/436] Compiling Bluetooth LowEnergyRxPhy.swift
[404/436] Compiling Bluetooth LowEnergyRxPhys.swift
[405/436] Compiling Bluetooth LowEnergyScanInterval.swift
[406/436] Compiling Bluetooth LowEnergyScanTimeInterval.swift
[407/436] Compiling Bluetooth LowEnergyState.swift
[408/436] Compiling Bluetooth LowEnergySupervisionTimeout.swift
[409/436] Compiling Bluetooth LowEnergyTxChannel.swift
[410/436] Compiling Bluetooth LowEnergyTxPhy.swift
[411/436] Compiling Bluetooth LowEnergyTxPhys.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[412/436] Compiling Bluetooth LowEnergyTxPower.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[413/436] Compiling Bluetooth LowEnergyWhiteList.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[414/436] Compiling Bluetooth LowEnergyWhiteListDevice.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[415/436] Compiling Bluetooth PacketType.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[416/436] Compiling Bluetooth ProtocolServiceMultiplexer.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[417/436] Compiling Bluetooth RSSI.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[418/436] Compiling Bluetooth SFloat.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[419/436] Compiling Bluetooth SecurityLevel.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[420/436] Compiling Bluetooth StatusParametersCommand.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[421/436] Compiling Bluetooth TestingCommand.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[422/436] Compiling Bluetooth UInt128.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[423/436] Compiling Bluetooth UInt24.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[424/436] Compiling Bluetooth UInt256.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[425/436] Compiling Bluetooth UInt40.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[426/436] Compiling Bluetooth UInt48.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[427/436] Compiling Bluetooth UInt512.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[428/436] Compiling Bluetooth UUID.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[429/436] Compiling Bluetooth Unit.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[430/436] Compiling Bluetooth UnitIdentifier.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[431/436] Compiling Bluetooth UnitIdentifierExtension.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[432/436] Compiling Bluetooth VendorCommand.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
[433/436] Compiling Bluetooth iBeacon.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/UInt128.swift:106:5: error: type 'Data' does not conform to protocol 'DataContainer'
104 | static var length: Int { return 16 }
105 |
106 | init?(data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
107 |
108 | guard data.count == UInt128.length
BUILD FAILURE 6.0 linux