Build Information
Failed to build BluetoothDarwin, reference 1.1.0 (f46068
), with Swift 6.2 (beta) for Android on 18 Jun 2025 18:24:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEGenerateDHKeyComplete.swift:29:9: error: type 'Data' does not conform to protocol 'DataContainer'
27 | else { return nil }
28 |
29 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
30 |
31 | guard let status = HCIStatus(rawValue: statusByte)
[310/436] Compiling Bluetooth HCILEReadLocalSupportedFeatures.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEGenerateDHKeyComplete.swift:29:9: error: type 'Data' does not conform to protocol 'DataContainer'
27 | else { return nil }
28 |
29 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
30 |
31 | guard let status = HCIStatus(rawValue: statusByte)
[311/436] Compiling Bluetooth HCILEReadMaximumAdvertisingDataLength.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEGenerateDHKeyComplete.swift:29:9: error: type 'Data' does not conform to protocol 'DataContainer'
27 | else { return nil }
28 |
29 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
30 |
31 | guard let status = HCIStatus(rawValue: statusByte)
[312/436] Compiling Bluetooth HCILEReadMaximumDataLength.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEGenerateDHKeyComplete.swift:29:9: error: type 'Data' does not conform to protocol 'DataContainer'
27 | else { return nil }
28 |
29 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
30 |
31 | guard let status = HCIStatus(rawValue: statusByte)
[313/436] Compiling Bluetooth HCILEReadNumberOfSupportedAdvertisingSets.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEGenerateDHKeyComplete.swift:29:9: error: type 'Data' does not conform to protocol 'DataContainer'
27 | else { return nil }
28 |
29 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
30 |
31 | guard let status = HCIStatus(rawValue: statusByte)
[314/436] Compiling Bluetooth HCILEReadPeerResolvableAddressReturn.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEGenerateDHKeyComplete.swift:29:9: error: type 'Data' does not conform to protocol 'DataContainer'
27 | else { return nil }
28 |
29 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
30 |
31 | guard let status = HCIStatus(rawValue: statusByte)
[315/436] Compiling Bluetooth HCILEReadPeriodicAdvertisingListSize.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEGenerateDHKeyComplete.swift:29:9: error: type 'Data' does not conform to protocol 'DataContainer'
27 | else { return nil }
28 |
29 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
30 |
31 | guard let status = HCIStatus(rawValue: statusByte)
[316/436] Compiling Bluetooth HCILEReadPhy.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/HCILEGenerateDHKeyComplete.swift:29:9: error: type 'Data' does not conform to protocol 'DataContainer'
27 | else { return nil }
28 |
29 | let statusByte = data[0]
| `- error: type 'Data' does not conform to protocol 'DataContainer'
30 |
31 | guard let status = HCIStatus(rawValue: statusByte)
[317/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
[318/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
[319/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
[320/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
[321/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
[322/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
[323/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
[324/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
[325/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
[326/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
[327/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
[328/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
[329/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
[330/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
[331/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
[332/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
[333/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
[334/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
[335/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
[336/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
[337/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
[338/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
[339/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
[340/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
[341/436] Compiling Bluetooth GATTReferenceTimeInformation.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[342/436] Compiling Bluetooth GATTReportReference.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[343/436] Compiling Bluetooth GATTScanIntervalWindow.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[344/436] Compiling Bluetooth GATTScanRefresh.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[345/436] Compiling Bluetooth GATTSecondaryTimeZone.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[346/436] Compiling Bluetooth GATTSerialNumberString.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[347/436] Compiling Bluetooth GATTServer.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[348/436] Compiling Bluetooth GATTServerCharacteristicConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[349/436] Compiling Bluetooth GATTService.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[350/436] Compiling Bluetooth GATTSoftwareRevisionString.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[351/436] Compiling Bluetooth GATTSupportedNewAlertCategory.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[352/436] Compiling Bluetooth GATTSupportedUnreadAlertCategory.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[353/436] Compiling Bluetooth GATTSystemID.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[354/436] Compiling Bluetooth GATTTimeAccuracy.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[355/436] Compiling Bluetooth GATTTimeBroadcast.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[356/436] Compiling Bluetooth GATTTimeSource.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[357/436] Compiling Bluetooth GATTTimeTriggerSetting.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[358/436] Compiling Bluetooth GATTTimeUpdateControlPoint.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[359/436] Compiling Bluetooth GATTTimeUpdateState.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[360/436] Compiling Bluetooth GATTTimeWithDst.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[361/436] Compiling Bluetooth GATTTimeZone.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[362/436] Compiling Bluetooth GATTUncertainty.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[363/436] Compiling Bluetooth GATTUnreadAlertStatus.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[364/436] Compiling Bluetooth GATTUserDescription.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTReferenceTimeInformation.swift:52:9: error: type 'Data' does not conform to protocol 'DataContainer'
50 | else { return nil }
51 |
52 | let daysSinceUpdate = Day(rawValue: data[2])
| `- error: type 'Data' does not conform to protocol 'DataContainer'
53 |
54 | guard let hoursSinceUpdate = Hour(rawValue: data[3])
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:89:17: error: type 'GATTDatabase' does not conform to protocol 'Sequence'
87 |
88 | /// Update the value of a characteristic attribute.
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
| `- error: type 'GATTDatabase' does not conform to protocol 'Sequence'
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:91:40: error: cannot call value of non-function type 'GATTDatabase.Element?'
89 | public func writeValue(_ value: Data, forCharacteristic uuid: BluetoothUUID) {
90 |
91 | guard let attribute = database.first(where: { $0.uuid == uuid })
| `- error: cannot call value of non-function type 'GATTDatabase.Element?'
92 | else { fatalError("Invalid uuid \(uuid)") }
93 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/GATTServer.swift:251:9: error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
249 |
250 | // get attribute
251 | let attribute = database[handle: handle]
| `- error: type 'GATTDatabase' does not conform to protocol 'RandomAccessCollection'
252 |
253 | // validate permissions
[365/436] Compiling Bluetooth HCIWritePageScanActivity.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Integer.swift:79:5: error: type 'Data' does not conform to protocol 'DataContainer'
77 |
78 | /// The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers.
79 | init?(bitmaskArray data: Data) {
| `- error: type 'Data' does not conform to protocol 'DataContainer'
80 |
81 | if data.count == MemoryLayout<UInt64>.size {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
228 | // MARK: - Sequence
229 |
230 | extension LowEnergyAdvertisingData: Sequence {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
231 |
232 | public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[366/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[367/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[368/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[369/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[370/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[371/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[372/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[373/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[374/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[375/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[376/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[377/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[378/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[379/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[380/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[381/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[382/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[383/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[384/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[385/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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[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.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
| `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
| `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
241 |
242 | public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:240:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
238 | // MARK: - Collection
239 |
240 | extension LowEnergyAdvertisingData: MutableCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
| `- note: add stubs for conformance
241 |
242 | public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
| `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:345:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
343 | // MARK: - RandomAccessCollection
344 |
345 | extension LowEnergyAdvertisingData: RandomAccessCollection {
| |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
| `- note: add stubs for conformance
346 |
347 | public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
| `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
70 | self.init()
71 | self.length = UInt8(slice.count)
72 | slice.enumerated().forEach {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
73 | self[$0.offset] = $0.element
74 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:191:27: error: cannot infer type of closure parameter '$1' without a type annotation
189 |
190 | public var description: String {
191 | return reduce("", { $0 + $1.toHexadecimal() })
| `- error: cannot infer type of closure parameter '$1' without a type annotation
192 | }
193 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/LowEnergyAdvertisingData.swift:223:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
221 |
222 | var data = Data(capacity: count)
223 | data += self
| `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
224 | return data
225 | }
[388/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
[389/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
[390/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
[391/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
[392/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
[393/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
[394/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
[395/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
[396/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
[397/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
[398/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
[399/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
[400/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
[401/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
[402/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
[403/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
[404/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
[405/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
[406/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
[407/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
[408/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
[409/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
[410/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
[411/436] Compiling Bluetooth LowEnergyConnectionLatency.swift
[412/436] Compiling Bluetooth LowEnergyConnectionLength.swift
[413/436] Compiling Bluetooth LowEnergyEvent.swift
[414/436] Compiling Bluetooth LowEnergyFeature.swift
[415/436] Compiling Bluetooth LowEnergyFragmentPreference.swift
[416/436] Compiling Bluetooth LowEnergyMaxTxOctets.swift
[417/436] Compiling Bluetooth LowEnergyMaxTxTime.swift
[418/436] Compiling Bluetooth LowEnergyPacketPayload.swift
[419/436] Compiling Bluetooth LowEnergyPeerIdentifyAddressType.swift
[420/436] Compiling Bluetooth LowEnergyPhyOptions.swift
[421/436] Compiling Bluetooth LowEnergyResolvingList.swift
[422/436] Compiling Bluetooth LowEnergyRfRxPathCompensationValue.swift
[423/436] Compiling Bluetooth LowEnergyRfTxPathCompensationValue.swift
[424/436] Compiling Bluetooth LowEnergyRole.swift
[425/436] Compiling Bluetooth LowEnergyRxChannel.swift
[426/436] Compiling Bluetooth LowEnergyRxPhy.swift
[427/436] Compiling Bluetooth LowEnergyRxPhys.swift
[428/436] Compiling Bluetooth LowEnergyScanInterval.swift
[429/436] Compiling Bluetooth LowEnergyScanTimeInterval.swift
[430/436] Compiling Bluetooth LowEnergyState.swift
[431/436] Compiling Bluetooth LowEnergySupervisionTimeout.swift
[432/436] Compiling Bluetooth LowEnergyTxChannel.swift
[433/436] Compiling Bluetooth LowEnergyTxPhy.swift
BUILD FAILURE 6.2 android