Build Information
Failed to build BluetoothDarwin, reference 1.1.0 (f46068
), with Swift 6.0 for Linux on 1 Nov 2024 09:20:38 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 2>&1
Build Log
33 |
34 | self.address = address
[290/436] Compiling Bluetooth HCIReadLocalName.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILinkKeyRequest.swift:32:9: error: type 'Data' does not conform to protocol 'DataContainer'
30 | else { return nil }
31 |
32 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | self.address = address
[291/436] Compiling Bluetooth HCIReadLocalSupportedFeatures.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILinkKeyRequest.swift:32:9: error: type 'Data' does not conform to protocol 'DataContainer'
30 | else { return nil }
31 |
32 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | self.address = address
[292/436] Compiling Bluetooth HCIReadLocalVersionInformation.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILinkKeyRequest.swift:32:9: error: type 'Data' does not conform to protocol 'DataContainer'
30 | else { return nil }
31 |
32 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
33 |
34 | self.address = address
[293/436] Compiling Bluetooth HCILESetEventMask.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 }
[294/436] Compiling Bluetooth HCILESetExtendedAdvertisingData.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 }
[295/436] Compiling Bluetooth HCILESetExtendedAdvertisingParameters.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 }
[296/436] Compiling Bluetooth HCILESetExtendedScanEnable.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 }
[297/436] Compiling Bluetooth HCILESetExtendedScanParameters.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 }
[298/436] Compiling Bluetooth HCILESetExtendedScanResponseData.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 }
[299/436] Compiling Bluetooth HCILESetHostChannelClassification.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 }
[300/436] Compiling Bluetooth HCILESetPeriodicAdvertisingData.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 }
[301/436] Compiling Bluetooth HCILESetPeriodicAdvertisingEnable.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 }
[302/436] Compiling Bluetooth HCILESetPeriodicAdvertisingParameters.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 }
[303/436] Compiling Bluetooth HCILESetPhy.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 }
[304/436] Compiling Bluetooth HCILESetPrivacyMode.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 }
[305/436] Compiling Bluetooth HCILESetRandomAddress.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 }
[306/436] Compiling Bluetooth HCILESetResolvablePrivateAddressTimeout.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 }
[307/436] Compiling Bluetooth HCILESetScanEnable.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 }
[308/436] Compiling Bluetooth HCILESetScanParameters.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 }
[309/436] Compiling Bluetooth HCILESetScanResponseData.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 }
[310/436] Compiling Bluetooth HCILEStartEncryption.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 }
[311/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 }
[312/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 }
[313/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 }
[314/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 }
[315/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 }
[316/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 }
[317/436] Compiling Bluetooth HCILEReadRemoteUsedFeatures.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[318/436] Compiling Bluetooth HCILEReadRemoteUsedFeaturesComplete.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[319/436] Compiling Bluetooth HCILEReadResolvingListSize.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[320/436] Compiling Bluetooth HCILEReadRfPathCompensation.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[321/436] Compiling Bluetooth HCILEReadSuggestedDefaultDataLength.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[322/436] Compiling Bluetooth HCILEReadSupportedStates.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[323/436] Compiling Bluetooth HCILEReadTransmitPower.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[324/436] Compiling Bluetooth HCILEReadWhiteListSize.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[325/436] Compiling Bluetooth HCILEReceiverTest.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[326/436] Compiling Bluetooth HCILERemoteConnectionParameterRequest.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[327/436] Compiling Bluetooth HCILERemoteConnectionParameterRequestNegativeReply.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[328/436] Compiling Bluetooth HCILERemoteConnectionParameterRequestReply.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[329/436] Compiling Bluetooth HCILERemoveAdvertisingSet.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[330/436] Compiling Bluetooth HCILERemoveDeviceFromResolvingList.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[331/436] Compiling Bluetooth HCILERemoveDeviceFromWhiteList.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[332/436] Compiling Bluetooth HCILERemoveDeviceToPeriodicAdvertiserList.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[333/436] Compiling Bluetooth HCILEScanRequestReceived.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[334/436] Compiling Bluetooth HCILESetAddressResolutionEnable.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[335/436] Compiling Bluetooth HCILESetAdvertiseEnable.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[336/436] Compiling Bluetooth HCILESetAdvertisingData.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[337/436] Compiling Bluetooth HCILESetAdvertisingParameters.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[338/436] Compiling Bluetooth HCILESetAdvertisingSetRandomAddress.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[339/436] Compiling Bluetooth HCILESetDataLength.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[340/436] Compiling Bluetooth HCILESetDefaultPhy.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEReadRemoteUsedFeaturesComplete.swift:40:9: error: type 'Data' does not conform to protocol 'DataContainer'
38 | else { return nil }
39 |
40 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
41 |
42 | let handle = UInt16(littleEndian: UInt16(bytes: (data[1], data[2])))
[341/436] Compiling Bluetooth HCIIOCapabilityRequest.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[342/436] Compiling Bluetooth HCIIOCapabilityRequestReply.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[343/436] Compiling Bluetooth HCIIOCapabilityResponse.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[344/436] Compiling Bluetooth HCIInquiry.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[345/436] Compiling Bluetooth HCIInquiryCancel.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[346/436] Compiling Bluetooth HCIInquiryComplete.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[347/436] Compiling Bluetooth HCIInquiryResult.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[348/436] Compiling Bluetooth HCILEAddDeviceToPeriodicAdvertiserList.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[349/436] Compiling Bluetooth HCILEAddDeviceToResolvingList.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[350/436] Compiling Bluetooth HCILEAddDeviceToWhiteList.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[351/436] Compiling Bluetooth HCILEAdvertisingReport.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[352/436] Compiling Bluetooth HCILEAdvertisingSetTerminated.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[353/436] Compiling Bluetooth HCILEChannelSelectionAlgorithm.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[354/436] Compiling Bluetooth HCILEConnectionComplete.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[355/436] Compiling Bluetooth HCILEConnectionUpdateComplete.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[356/436] Compiling Bluetooth HCILECreateConnection.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[357/436] Compiling Bluetooth HCILEDataLengthChange.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[358/436] Compiling Bluetooth HCILEDirectedAdvertisingReport.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[359/436] Compiling Bluetooth HCILEEncrypt.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[360/436] Compiling Bluetooth HCILEEnhancedConnectionComplete.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[361/436] Compiling Bluetooth HCILEEnhancedReceiverTest.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[362/436] Compiling Bluetooth HCILEEnhancedTransmitterTest.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[363/436] Compiling Bluetooth HCILEExtendedAdvertisingReport.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[364/436] Compiling Bluetooth HCILEExtendedCreateConnection.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCIIOCapabilityRequest.swift:25:9: error: type 'Data' does not conform to protocol 'DataContainer'
23 | else { return nil }
24 |
25 | let address = BluetoothAddress(littleEndian: BluetoothAddress(bytes: (data[0], data[1], data[2], data[3], data[4], data[5])))
| `- error: type 'Data' does not conform to protocol 'DataContainer'
26 |
27 | self.address = address
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEAdvertisingReport.swift:26:12: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
24 | public let reports: [Report]
25 |
26 | public init?(data: Data) {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
27 |
28 | guard data.count >= type(of: self).length
[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