Build Information
Failed to build RxBluetoothKit, reference master (2a95bc
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 06:52:05 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
"Source/Connector.swift",
"Source/Descriptor.swift",
"Source/DeviceIdentifiers.swift",
"Source/Logger.swift",
"Source/Logging.swift",
"Source/ManagerType.swift",
"Source/Observable+Absorb.swift",
"Source/Peripheral+Convenience.swift",
"Source/Peripheral.swift",
"Source/PeripheralManager+RestoredState.swift",
"Source/PeripheralManager.swift",
"Source/PeripheralManagerRestoredState.swift",
"Source/PeripheralProvider.swift",
"Source/RestoredState.swift",
"Source/RxBluetoothKitLogger.swift",
"Source/ScannedPeripheral.swift",
"Source/Service.swift",
"Source/StartAdvertisingResult.swift",
"Source/UUIDIdentifiable.swift",
"Source/Unimplemented.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Example': File not found.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/139] Emitting module RxSwift
[5/154] Compiling RxSwift DisposeBase.swift
[6/154] Compiling RxSwift DistinctUntilChanged.swift
[7/154] Compiling RxSwift Do.swift
[8/154] Compiling RxSwift ElementAt.swift
[9/154] Compiling RxSwift Empty.swift
[10/154] Compiling RxSwift Enumerated.swift
[11/154] Compiling RxSwift Error.swift
[12/154] Compiling RxSwift Errors.swift
[13/154] Compiling RxSwift Event.swift
[14/154] Compiling RxSwift Filter.swift
[15/154] Compiling RxSwift First.swift
[16/154] Compiling RxSwift Generate.swift
[17/154] Compiling RxSwift GroupBy.swift
[18/154] Compiling RxSwift GroupedObservable.swift
[19/154] Compiling RxSwift HistoricalScheduler.swift
[20/154] Compiling RxSwift AddRef.swift
[21/154] Compiling RxSwift Amb.swift
[22/154] Compiling RxSwift AnonymousDisposable.swift
[23/154] Compiling RxSwift AnonymousObserver.swift
[24/154] Compiling RxSwift AnyObserver.swift
[25/154] Compiling RxSwift AsMaybe.swift
[26/154] Compiling RxSwift AsSingle.swift
[27/154] Compiling RxSwift AsyncLock.swift
[28/154] Compiling RxSwift AsyncSubject.swift
[29/154] Compiling RxSwift AtomicInt.swift
[30/154] Compiling RxSwift Bag+Rx.swift
[31/154] Compiling RxSwift Bag.swift
[32/154] Compiling RxSwift BehaviorSubject.swift
[33/154] Compiling RxSwift BinaryDisposable.swift
[34/154] Compiling RxSwift BooleanDisposable.swift
[35/154] Compiling RxSwift TakeLast.swift
[36/154] Compiling RxSwift TakeUntil.swift
[37/154] Compiling RxSwift TakeWhile.swift
[38/154] Compiling RxSwift Throttle.swift
[39/154] Compiling RxSwift Timeout.swift
[40/154] Compiling RxSwift Timer.swift
[41/154] Compiling RxSwift ToArray.swift
[42/154] Compiling RxSwift Using.swift
[43/154] Compiling RxSwift VirtualTimeConverterType.swift
[44/154] Compiling RxSwift VirtualTimeScheduler.swift
[45/154] Compiling RxSwift Window.swift
[46/154] Compiling RxSwift WithLatestFrom.swift
[47/154] Compiling RxSwift Zip+Collection.swift
[48/154] Compiling RxSwift Zip+arity.swift
[49/154] Compiling RxSwift Zip.swift
[50/154] Compiling RxSwift Skip.swift
[51/154] Compiling RxSwift SkipUntil.swift
[52/154] Compiling RxSwift SkipWhile.swift
[53/154] Compiling RxSwift StartWith.swift
[54/154] Compiling RxSwift SubjectType.swift
[55/154] Compiling RxSwift SubscribeOn.swift
[56/154] Compiling RxSwift SubscriptionDisposable.swift
[57/154] Compiling RxSwift SwiftSupport.swift
[58/154] Compiling RxSwift Switch.swift
[59/154] Compiling RxSwift SwitchIfEmpty.swift
[60/154] Compiling RxSwift SynchronizedDisposeType.swift
[61/154] Compiling RxSwift SynchronizedOnType.swift
[62/154] Compiling RxSwift SynchronizedUnsubscribeType.swift
[63/154] Compiling RxSwift TailRecursiveSink.swift
[64/154] Compiling RxSwift Take.swift
[65/154] Compiling RxSwift PriorityQueue.swift
[66/154] Compiling RxSwift Producer.swift
[67/154] Compiling RxSwift PublishSubject.swift
[68/154] Compiling RxSwift Queue.swift
[69/154] Compiling RxSwift Range.swift
[70/154] Compiling RxSwift Reactive.swift
[71/154] Compiling RxSwift RecursiveLock.swift
[72/154] Compiling RxSwift RecursiveScheduler.swift
[73/154] Compiling RxSwift Reduce.swift
[74/154] Compiling RxSwift RefCountDisposable.swift
[75/154] Compiling RxSwift Repeat.swift
[76/154] Compiling RxSwift ReplaySubject.swift
[77/154] Compiling RxSwift RetryWhen.swift
[78/154] Compiling RxSwift Rx.swift
[79/154] Compiling RxSwift RxMutableBox.swift
[80/154] Compiling RxSwift Buffer.swift
[81/154] Compiling RxSwift Cancelable.swift
[82/154] Compiling RxSwift Catch.swift
[83/154] Compiling RxSwift CombineLatest+Collection.swift
[84/154] Compiling RxSwift CombineLatest+arity.swift
[85/154] Compiling RxSwift CombineLatest.swift
[86/154] Compiling RxSwift CompactMap.swift
[87/154] Compiling RxSwift Completable+AndThen.swift
[88/154] Compiling RxSwift Completable.swift
[89/154] Compiling RxSwift CompositeDisposable.swift
[90/154] Compiling RxSwift Concat.swift
[91/154] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[92/154] Compiling RxSwift ConcurrentMainScheduler.swift
[93/154] Compiling RxSwift ConnectableObservableType.swift
[94/154] Compiling RxSwift Create.swift
[95/154] Compiling RxSwift CurrentThreadScheduler.swift
[96/154] Compiling RxSwift Date+Dispatch.swift
[97/154] Compiling RxSwift Debounce.swift
[98/154] Compiling RxSwift Debug.swift
[99/154] Compiling RxSwift DefaultIfEmpty.swift
[100/154] Compiling RxSwift Deferred.swift
[101/154] Compiling RxSwift Delay.swift
[102/154] Compiling RxSwift DelaySubscription.swift
[103/154] Compiling RxSwift Dematerialize.swift
[104/154] Compiling RxSwift Deprecated.swift
[105/154] Compiling RxSwift DispatchQueue+Extensions.swift
[106/154] Compiling RxSwift DispatchQueueConfiguration.swift
[107/154] Compiling RxSwift Disposable.swift
[108/154] Compiling RxSwift Disposables.swift
[109/154] Compiling RxSwift DisposeBag.swift
[110/154] Compiling RxSwift NopDisposable.swift
[111/154] Compiling RxSwift Observable.swift
[112/154] Compiling RxSwift ObservableConvertibleType.swift
[113/154] Compiling RxSwift ObservableType+Extensions.swift
[114/154] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[115/154] Compiling RxSwift ObservableType.swift
[116/154] Compiling RxSwift ObserveOn.swift
[117/154] Compiling RxSwift ObserverBase.swift
[118/154] Compiling RxSwift ObserverType.swift
[119/154] Compiling RxSwift OperationQueueScheduler.swift
[120/154] Compiling RxSwift Optional.swift
[121/154] Compiling RxSwift Platform.Darwin.swift
[122/154] Compiling RxSwift Platform.Linux.swift
[123/154] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[124/154] Compiling RxSwift PrimitiveSequence.swift
[125/154] Compiling RxSwift Sample.swift
[126/154] Compiling RxSwift Scan.swift
[127/154] Compiling RxSwift ScheduledDisposable.swift
[128/154] Compiling RxSwift ScheduledItem.swift
[129/154] Compiling RxSwift ScheduledItemType.swift
[130/154] Compiling RxSwift SchedulerServices+Emulation.swift
[131/154] Compiling RxSwift SchedulerType.swift
[132/154] Compiling RxSwift Sequence.swift
[133/154] Compiling RxSwift SerialDispatchQueueScheduler.swift
[134/154] Compiling RxSwift SerialDisposable.swift
[135/154] Compiling RxSwift ShareReplayScope.swift
[136/154] Compiling RxSwift Single.swift
[137/154] Compiling RxSwift SingleAssignmentDisposable.swift
[138/154] Compiling RxSwift SingleAsync.swift
[139/154] Compiling RxSwift Sink.swift
[140/154] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[141/154] Compiling RxSwift ImmediateSchedulerType.swift
[142/154] Compiling RxSwift InfiniteSequence.swift
[143/154] Compiling RxSwift InvocableScheduledItem.swift
[144/154] Compiling RxSwift InvocableType.swift
[145/154] Compiling RxSwift Just.swift
[146/154] Compiling RxSwift Lock.swift
[147/154] Compiling RxSwift LockOwnerType.swift
[148/154] Compiling RxSwift MainScheduler.swift
[149/154] Compiling RxSwift Map.swift
[150/154] Compiling RxSwift Materialize.swift
[151/154] Compiling RxSwift Maybe.swift
[152/154] Compiling RxSwift Merge.swift
[153/154] Compiling RxSwift Multicast.swift
[154/154] Compiling RxSwift Never.swift
[155/187] Emitting module RxBluetoothKit
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:22:10: warning: associated value 'peripheralIsAlreadyObservingConnection' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
20 | case bluetoothResetting
21 | // Peripheral
22 | case peripheralIsAlreadyObservingConnection(Peripheral)
| `- warning: associated value 'peripheralIsAlreadyObservingConnection' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
23 | @available(*, deprecated, renamed: "BluetoothError.peripheralIsAlreadyObservingConnection")
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:24:10: warning: associated value 'peripheralIsConnectingOrAlreadyConnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
22 | case peripheralIsAlreadyObservingConnection(Peripheral)
23 | @available(*, deprecated, renamed: "BluetoothError.peripheralIsAlreadyObservingConnection")
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
| `- warning: associated value 'peripheralIsConnectingOrAlreadyConnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
25 | case peripheralConnectionFailed(Peripheral, Error?)
26 | case peripheralDisconnected(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:25:10: warning: associated value 'peripheralConnectionFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
23 | @available(*, deprecated, renamed: "BluetoothError.peripheralIsAlreadyObservingConnection")
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
25 | case peripheralConnectionFailed(Peripheral, Error?)
| `- warning: associated value 'peripheralConnectionFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
26 | case peripheralDisconnected(Peripheral, Error?)
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:26:10: warning: associated value 'peripheralDisconnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
25 | case peripheralConnectionFailed(Peripheral, Error?)
26 | case peripheralDisconnected(Peripheral, Error?)
| `- warning: associated value 'peripheralDisconnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
28 | // Services
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:27:10: warning: associated value 'peripheralRSSIReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
25 | case peripheralConnectionFailed(Peripheral, Error?)
26 | case peripheralDisconnected(Peripheral, Error?)
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
| `- warning: associated value 'peripheralRSSIReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
28 | // Services
29 | case servicesDiscoveryFailed(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:29:10: warning: associated value 'servicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
28 | // Services
29 | case servicesDiscoveryFailed(Peripheral, Error?)
| `- warning: associated value 'servicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
30 | case includedServicesDiscoveryFailed(Peripheral, Error?)
31 | case addingServiceFailed(CBService, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:30:10: warning: associated value 'includedServicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
28 | // Services
29 | case servicesDiscoveryFailed(Peripheral, Error?)
30 | case includedServicesDiscoveryFailed(Peripheral, Error?)
| `- warning: associated value 'includedServicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
31 | case addingServiceFailed(CBService, Error?)
32 | // Characteristics
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:31:10: warning: associated value 'addingServiceFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'CBService'; this is an error in the Swift 6 language mode
29 | case servicesDiscoveryFailed(Peripheral, Error?)
30 | case includedServicesDiscoveryFailed(Peripheral, Error?)
31 | case addingServiceFailed(CBService, Error?)
| `- warning: associated value 'addingServiceFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'CBService'; this is an error in the Swift 6 language mode
32 | // Characteristics
33 | case characteristicsDiscoveryFailed(Service, Error?)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBService.h:27:28: note: class 'CBService' does not conform to the 'Sendable' protocol
25 | */
26 | NS_CLASS_AVAILABLE(10_7, 5_0)
27 | CB_EXTERN_CLASS @interface CBService : CBAttribute
| `- note: class 'CBService' does not conform to the 'Sendable' protocol
28 |
29 | /*!
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
1 | import Foundation
2 | import CoreBluetooth
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
3 |
4 | /// Bluetooth error which can be emitted by RxBluetoothKit created observables.
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:33:10: warning: associated value 'characteristicsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Service'; this is an error in the Swift 6 language mode
31 | case addingServiceFailed(CBService, Error?)
32 | // Characteristics
33 | case characteristicsDiscoveryFailed(Service, Error?)
| `- warning: associated value 'characteristicsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Service'; this is an error in the Swift 6 language mode
34 | case characteristicWriteFailed(Characteristic, Error?)
35 | case characteristicReadFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Service.swift:6:14: note: class 'Service' does not conform to the 'Sendable' protocol
4 |
5 | /// Service is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBService](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBService_Class/)
6 | public class Service {
| `- note: class 'Service' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth service class
8 | public let service: CBService
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:34:10: warning: associated value 'characteristicWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
32 | // Characteristics
33 | case characteristicsDiscoveryFailed(Service, Error?)
34 | case characteristicWriteFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
35 | case characteristicReadFailed(Characteristic, Error?)
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:35:10: warning: associated value 'characteristicReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
33 | case characteristicsDiscoveryFailed(Service, Error?)
34 | case characteristicWriteFailed(Characteristic, Error?)
35 | case characteristicReadFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:36:10: warning: associated value 'characteristicNotifyChangeFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
34 | case characteristicWriteFailed(Characteristic, Error?)
35 | case characteristicReadFailed(Characteristic, Error?)
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicNotifyChangeFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
38 | // Descriptors
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:37:10: warning: associated value 'characteristicSetNotifyValueFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
35 | case characteristicReadFailed(Characteristic, Error?)
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicSetNotifyValueFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
38 | // Descriptors
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:39:10: warning: associated value 'descriptorsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
38 | // Descriptors
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
| `- warning: associated value 'descriptorsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
40 | case descriptorWriteFailed(Descriptor, Error?)
41 | case descriptorReadFailed(Descriptor, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:40:10: warning: associated value 'descriptorWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
38 | // Descriptors
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
40 | case descriptorWriteFailed(Descriptor, Error?)
| `- warning: associated value 'descriptorWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
41 | case descriptorReadFailed(Descriptor, Error?)
42 | // L2CAP
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:8:14: note: class 'Descriptor' does not conform to the 'Sendable' protocol
6 | /// [CBDescriptor](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBDescriptor_Class/)
7 | /// Descriptors provide more information about a characteristic’s value.
8 | public class Descriptor {
| `- note: class 'Descriptor' does not conform to the 'Sendable' protocol
9 |
10 | /// Intance of CoreBluetooth descriptor class
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:41:10: warning: associated value 'descriptorReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
40 | case descriptorWriteFailed(Descriptor, Error?)
41 | case descriptorReadFailed(Descriptor, Error?)
| `- warning: associated value 'descriptorReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
42 | // L2CAP
43 | case openingL2CAPChannelFailed(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:8:14: note: class 'Descriptor' does not conform to the 'Sendable' protocol
6 | /// [CBDescriptor](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBDescriptor_Class/)
7 | /// Descriptors provide more information about a characteristic’s value.
8 | public class Descriptor {
| `- note: class 'Descriptor' does not conform to the 'Sendable' protocol
9 |
10 | /// Intance of CoreBluetooth descriptor class
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:43:10: warning: associated value 'openingL2CAPChannelFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
41 | case descriptorReadFailed(Descriptor, Error?)
42 | // L2CAP
43 | case openingL2CAPChannelFailed(Peripheral, Error?)
| `- warning: associated value 'openingL2CAPChannelFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
44 | case publishingL2CAPChannelFailed(CBL2CAPPSM, Error?)
45 | // Unknown
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/Logging.swift:8:28: warning: static property 'subject' is not concurrency-safe because non-'Sendable' type 'PublishSubject<String>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public class RxBluetoothKitLog: ReactiveCompatible {
7 |
8 | fileprivate static let subject = PublishSubject<String>()
| `- warning: static property 'subject' is not concurrency-safe because non-'Sendable' type 'PublishSubject<String>' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Set new log level.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PublishSubject.swift:12:20: note: generic class 'PublishSubject' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Each notification is broadcasted to all subscribed observers.
12 | public final class PublishSubject<Element>
| `- note: generic class 'PublishSubject' does not conform to the 'Sendable' protocol
13 | : Observable<Element>
14 | , SubjectType
/Users/admin/builder/spi-builder-workspace/Source/Logging.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
1 | import Foundation
2 | import CoreBluetooth
3 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
4 |
5 | /// RxBluetoothKit specific logging class which gives access to its settings.
6 | public class RxBluetoothKitLog: ReactiveCompatible {
7 |
8 | fileprivate static let subject = PublishSubject<String>()
| |- note: add '@MainActor' to make static property 'subject' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Set new log level.
/Users/admin/builder/spi-builder-workspace/Source/ManagerType.swift:5:30: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
3 | import CoreBluetooth
4 |
5 | public protocol ManagerType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
6 | associatedtype Manager
7 |
/Users/admin/builder/spi-builder-workspace/Source/RxBluetoothKitLogger.swift:6:23: warning: static property 'defaultLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public enum RxBluetoothKitLogger {
5 | /// The default logger that will be used by RxBluetoothKit
6 | public static var defaultLogger: Logger = SimplePrintLogger()
| |- warning: static property 'defaultLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[156/187] Compiling RxBluetoothKit Descriptor.swift
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:32:90: error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
30 |
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
| |- error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
34 | self.init(descriptor: descriptor, characteristic: characteristic)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:32:75: error: value of optional type 'CBCharacteristic?' must be unwrapped to refer to member 'service' of wrapped base type 'CBCharacteristic'
30 |
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
| |- error: value of optional type 'CBCharacteristic?' must be unwrapped to refer to member 'service' of wrapped base type 'CBCharacteristic'
| `- note: chain the optional using '?' to access member 'service' only for non-'nil' base values
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
34 | self.init(descriptor: descriptor, characteristic: characteristic)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:33:72: error: value of optional type 'CBCharacteristic?' must be unwrapped to a value of type 'CBCharacteristic'
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
| |- error: value of optional type 'CBCharacteristic?' must be unwrapped to a value of type 'CBCharacteristic'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
34 | self.init(descriptor: descriptor, characteristic: characteristic)
35 | }
/Users/admin/builder/spi-builder-workspace/Source/Logging.swift:8:28: warning: static property 'subject' is not concurrency-safe because non-'Sendable' type 'PublishSubject<String>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public class RxBluetoothKitLog: ReactiveCompatible {
7 |
8 | fileprivate static let subject = PublishSubject<String>()
| `- warning: static property 'subject' is not concurrency-safe because non-'Sendable' type 'PublishSubject<String>' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Set new log level.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PublishSubject.swift:12:20: note: generic class 'PublishSubject' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Each notification is broadcasted to all subscribed observers.
12 | public final class PublishSubject<Element>
| `- note: generic class 'PublishSubject' does not conform to the 'Sendable' protocol
13 | : Observable<Element>
14 | , SubjectType
/Users/admin/builder/spi-builder-workspace/Source/Logging.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
1 | import Foundation
2 | import CoreBluetooth
3 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
4 |
5 | /// RxBluetoothKit specific logging class which gives access to its settings.
6 | public class RxBluetoothKitLog: ReactiveCompatible {
7 |
8 | fileprivate static let subject = PublishSubject<String>()
| |- note: add '@MainActor' to make static property 'subject' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Set new log level.
[157/187] Compiling RxBluetoothKit DeviceIdentifiers.swift
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:32:90: error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
30 |
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
| |- error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
34 | self.init(descriptor: descriptor, characteristic: characteristic)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:32:75: error: value of optional type 'CBCharacteristic?' must be unwrapped to refer to member 'service' of wrapped base type 'CBCharacteristic'
30 |
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
| |- error: value of optional type 'CBCharacteristic?' must be unwrapped to refer to member 'service' of wrapped base type 'CBCharacteristic'
| `- note: chain the optional using '?' to access member 'service' only for non-'nil' base values
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
34 | self.init(descriptor: descriptor, characteristic: characteristic)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:33:72: error: value of optional type 'CBCharacteristic?' must be unwrapped to a value of type 'CBCharacteristic'
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
| |- error: value of optional type 'CBCharacteristic?' must be unwrapped to a value of type 'CBCharacteristic'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
34 | self.init(descriptor: descriptor, characteristic: characteristic)
35 | }
/Users/admin/builder/spi-builder-workspace/Source/Logging.swift:8:28: warning: static property 'subject' is not concurrency-safe because non-'Sendable' type 'PublishSubject<String>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public class RxBluetoothKitLog: ReactiveCompatible {
7 |
8 | fileprivate static let subject = PublishSubject<String>()
| `- warning: static property 'subject' is not concurrency-safe because non-'Sendable' type 'PublishSubject<String>' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Set new log level.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PublishSubject.swift:12:20: note: generic class 'PublishSubject' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Each notification is broadcasted to all subscribed observers.
12 | public final class PublishSubject<Element>
| `- note: generic class 'PublishSubject' does not conform to the 'Sendable' protocol
13 | : Observable<Element>
14 | , SubjectType
/Users/admin/builder/spi-builder-workspace/Source/Logging.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
1 | import Foundation
2 | import CoreBluetooth
3 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
4 |
5 | /// RxBluetoothKit specific logging class which gives access to its settings.
6 | public class RxBluetoothKitLog: ReactiveCompatible {
7 |
8 | fileprivate static let subject = PublishSubject<String>()
| |- note: add '@MainActor' to make static property 'subject' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Set new log level.
[158/187] Compiling RxBluetoothKit Logger.swift
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:32:90: error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
30 |
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
| |- error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
34 | self.init(descriptor: descriptor, characteristic: characteristic)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:32:75: error: value of optional type 'CBCharacteristic?' must be unwrapped to refer to member 'service' of wrapped base type 'CBCharacteristic'
30 |
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
| |- error: value of optional type 'CBCharacteristic?' must be unwrapped to refer to member 'service' of wrapped base type 'CBCharacteristic'
| `- note: chain the optional using '?' to access member 'service' only for non-'nil' base values
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
34 | self.init(descriptor: descriptor, characteristic: characteristic)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:33:72: error: value of optional type 'CBCharacteristic?' must be unwrapped to a value of type 'CBCharacteristic'
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
| |- error: value of optional type 'CBCharacteristic?' must be unwrapped to a value of type 'CBCharacteristic'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
34 | self.init(descriptor: descriptor, characteristic: characteristic)
35 | }
/Users/admin/builder/spi-builder-workspace/Source/Logging.swift:8:28: warning: static property 'subject' is not concurrency-safe because non-'Sendable' type 'PublishSubject<String>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public class RxBluetoothKitLog: ReactiveCompatible {
7 |
8 | fileprivate static let subject = PublishSubject<String>()
| `- warning: static property 'subject' is not concurrency-safe because non-'Sendable' type 'PublishSubject<String>' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Set new log level.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PublishSubject.swift:12:20: note: generic class 'PublishSubject' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Each notification is broadcasted to all subscribed observers.
12 | public final class PublishSubject<Element>
| `- note: generic class 'PublishSubject' does not conform to the 'Sendable' protocol
13 | : Observable<Element>
14 | , SubjectType
/Users/admin/builder/spi-builder-workspace/Source/Logging.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
1 | import Foundation
2 | import CoreBluetooth
3 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
4 |
5 | /// RxBluetoothKit specific logging class which gives access to its settings.
6 | public class RxBluetoothKitLog: ReactiveCompatible {
7 |
8 | fileprivate static let subject = PublishSubject<String>()
| |- note: add '@MainActor' to make static property 'subject' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Set new log level.
[159/187] Compiling RxBluetoothKit Logging.swift
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:32:90: error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
30 |
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
| |- error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
34 | self.init(descriptor: descriptor, characteristic: characteristic)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:32:75: error: value of optional type 'CBCharacteristic?' must be unwrapped to refer to member 'service' of wrapped base type 'CBCharacteristic'
30 |
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
| |- error: value of optional type 'CBCharacteristic?' must be unwrapped to refer to member 'service' of wrapped base type 'CBCharacteristic'
| `- note: chain the optional using '?' to access member 'service' only for non-'nil' base values
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
34 | self.init(descriptor: descriptor, characteristic: characteristic)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:33:72: error: value of optional type 'CBCharacteristic?' must be unwrapped to a value of type 'CBCharacteristic'
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
| |- error: value of optional type 'CBCharacteristic?' must be unwrapped to a value of type 'CBCharacteristic'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
34 | self.init(descriptor: descriptor, characteristic: characteristic)
35 | }
/Users/admin/builder/spi-builder-workspace/Source/Logging.swift:8:28: warning: static property 'subject' is not concurrency-safe because non-'Sendable' type 'PublishSubject<String>' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public class RxBluetoothKitLog: ReactiveCompatible {
7 |
8 | fileprivate static let subject = PublishSubject<String>()
| `- warning: static property 'subject' is not concurrency-safe because non-'Sendable' type 'PublishSubject<String>' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Set new log level.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PublishSubject.swift:12:20: note: generic class 'PublishSubject' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Each notification is broadcasted to all subscribed observers.
12 | public final class PublishSubject<Element>
| `- note: generic class 'PublishSubject' does not conform to the 'Sendable' protocol
13 | : Observable<Element>
14 | , SubjectType
/Users/admin/builder/spi-builder-workspace/Source/Logging.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
1 | import Foundation
2 | import CoreBluetooth
3 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
4 |
5 | /// RxBluetoothKit specific logging class which gives access to its settings.
6 | public class RxBluetoothKitLog: ReactiveCompatible {
7 |
8 | fileprivate static let subject = PublishSubject<String>()
| |- note: add '@MainActor' to make static property 'subject' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Set new log level.
[160/190] Compiling RxBluetoothKit Boxes.swift
/Users/admin/builder/spi-builder-workspace/Source/Boxes.swift:37:13: warning: capture of 'block' with non-sendable type '(inout T) -> Void' in a '@Sendable' closure
35 | func write(_ block: @escaping (inout T) -> Void) {
36 | queue.async {
37 | block(&self.value)
| |- warning: capture of 'block' with non-sendable type '(inout T) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
38 | }
39 | }
/Users/admin/builder/spi-builder-workspace/Source/Boxes.swift:37:20: warning: capture of 'self' with non-sendable type 'ThreadSafeBox<T>' in a '@Sendable' closure
18 | /// All read and write calls are wrapped in concurrent `DispatchQueue` which protects writing to
19 | /// resource from more than 1 thread at a time.
20 | class ThreadSafeBox<T>: CustomDebugStringConvertible {
| `- note: generic class 'ThreadSafeBox' does not conform to the 'Sendable' protocol
21 | private let queue = DispatchQueue(label: "com.polidea.RxBluetoothKit.ThreadSafeBox")
22 | fileprivate var value: T
:
35 | func write(_ block: @escaping (inout T) -> Void) {
36 | queue.async {
37 | block(&self.value)
| `- warning: capture of 'self' with non-sendable type 'ThreadSafeBox<T>' in a '@Sendable' closure
38 | }
39 | }
[161/190] Compiling RxBluetoothKit CBCentral+Uuid.swift
/Users/admin/builder/spi-builder-workspace/Source/Boxes.swift:37:13: warning: capture of 'block' with non-sendable type '(inout T) -> Void' in a '@Sendable' closure
35 | func write(_ block: @escaping (inout T) -> Void) {
36 | queue.async {
37 | block(&self.value)
| |- warning: capture of 'block' with non-sendable type '(inout T) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
38 | }
39 | }
/Users/admin/builder/spi-builder-workspace/Source/Boxes.swift:37:20: warning: capture of 'self' with non-sendable type 'ThreadSafeBox<T>' in a '@Sendable' closure
18 | /// All read and write calls are wrapped in concurrent `DispatchQueue` which protects writing to
19 | /// resource from more than 1 thread at a time.
20 | class ThreadSafeBox<T>: CustomDebugStringConvertible {
| `- note: generic class 'ThreadSafeBox' does not conform to the 'Sendable' protocol
21 | private let queue = DispatchQueue(label: "com.polidea.RxBluetoothKit.ThreadSafeBox")
22 | fileprivate var value: T
:
35 | func write(_ block: @escaping (inout T) -> Void) {
36 | queue.async {
37 | block(&self.value)
| `- warning: capture of 'self' with non-sendable type 'ThreadSafeBox<T>' in a '@Sendable' closure
38 | }
39 | }
[162/190] Compiling RxBluetoothKit CBCentralManagerDelegateWrapper.swift
/Users/admin/builder/spi-builder-workspace/Source/Boxes.swift:37:13: warning: capture of 'block' with non-sendable type '(inout T) -> Void' in a '@Sendable' closure
35 | func write(_ block: @escaping (inout T) -> Void) {
36 | queue.async {
37 | block(&self.value)
| |- warning: capture of 'block' with non-sendable type '(inout T) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
38 | }
39 | }
/Users/admin/builder/spi-builder-workspace/Source/Boxes.swift:37:20: warning: capture of 'self' with non-sendable type 'ThreadSafeBox<T>' in a '@Sendable' closure
18 | /// All read and write calls are wrapped in concurrent `DispatchQueue` which protects writing to
19 | /// resource from more than 1 thread at a time.
20 | class ThreadSafeBox<T>: CustomDebugStringConvertible {
| `- note: generic class 'ThreadSafeBox' does not conform to the 'Sendable' protocol
21 | private let queue = DispatchQueue(label: "com.polidea.RxBluetoothKit.ThreadSafeBox")
22 | fileprivate var value: T
:
35 | func write(_ block: @escaping (inout T) -> Void) {
36 | queue.async {
37 | block(&self.value)
| `- warning: capture of 'self' with non-sendable type 'ThreadSafeBox<T>' in a '@Sendable' closure
38 | }
39 | }
[163/190] Compiling RxBluetoothKit CBPeripheral+Uuid.swift
/Users/admin/builder/spi-builder-workspace/Source/Boxes.swift:37:13: warning: capture of 'block' with non-sendable type '(inout T) -> Void' in a '@Sendable' closure
35 | func write(_ block: @escaping (inout T) -> Void) {
36 | queue.async {
37 | block(&self.value)
| |- warning: capture of 'block' with non-sendable type '(inout T) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
38 | }
39 | }
/Users/admin/builder/spi-builder-workspace/Source/Boxes.swift:37:20: warning: capture of 'self' with non-sendable type 'ThreadSafeBox<T>' in a '@Sendable' closure
18 | /// All read and write calls are wrapped in concurrent `DispatchQueue` which protects writing to
19 | /// resource from more than 1 thread at a time.
20 | class ThreadSafeBox<T>: CustomDebugStringConvertible {
| `- note: generic class 'ThreadSafeBox' does not conform to the 'Sendable' protocol
21 | private let queue = DispatchQueue(label: "com.polidea.RxBluetoothKit.ThreadSafeBox")
22 | fileprivate var value: T
:
35 | func write(_ block: @escaping (inout T) -> Void) {
36 | queue.async {
37 | block(&self.value)
| `- warning: capture of 'self' with non-sendable type 'ThreadSafeBox<T>' in a '@Sendable' closure
38 | }
39 | }
[164/190] Compiling RxBluetoothKit ManagerType.swift
/Users/admin/builder/spi-builder-workspace/Source/ManagerType.swift:5:30: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
3 | import CoreBluetooth
4 |
5 | public protocol ManagerType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
6 | associatedtype Manager
7 |
[165/190] Compiling RxBluetoothKit Observable+Absorb.swift
/Users/admin/builder/spi-builder-workspace/Source/ManagerType.swift:5:30: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
3 | import CoreBluetooth
4 |
5 | public protocol ManagerType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
6 | associatedtype Manager
7 |
[166/190] Compiling RxBluetoothKit Peripheral+Convenience.swift
/Users/admin/builder/spi-builder-workspace/Source/ManagerType.swift:5:30: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
3 | import CoreBluetooth
4 |
5 | public protocol ManagerType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
6 | associatedtype Manager
7 |
[167/190] Compiling RxBluetoothKit AdvertisementData.swift
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:22:10: warning: associated value 'peripheralIsAlreadyObservingConnection' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
20 | case bluetoothResetting
21 | // Peripheral
22 | case peripheralIsAlreadyObservingConnection(Peripheral)
| `- warning: associated value 'peripheralIsAlreadyObservingConnection' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
23 | @available(*, deprecated, renamed: "BluetoothError.peripheralIsAlreadyObservingConnection")
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:24:10: warning: associated value 'peripheralIsConnectingOrAlreadyConnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
22 | case peripheralIsAlreadyObservingConnection(Peripheral)
23 | @available(*, deprecated, renamed: "BluetoothError.peripheralIsAlreadyObservingConnection")
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
| `- warning: associated value 'peripheralIsConnectingOrAlreadyConnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
25 | case peripheralConnectionFailed(Peripheral, Error?)
26 | case peripheralDisconnected(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:25:10: warning: associated value 'peripheralConnectionFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
23 | @available(*, deprecated, renamed: "BluetoothError.peripheralIsAlreadyObservingConnection")
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
25 | case peripheralConnectionFailed(Peripheral, Error?)
| `- warning: associated value 'peripheralConnectionFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
26 | case peripheralDisconnected(Peripheral, Error?)
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:26:10: warning: associated value 'peripheralDisconnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
25 | case peripheralConnectionFailed(Peripheral, Error?)
26 | case peripheralDisconnected(Peripheral, Error?)
| `- warning: associated value 'peripheralDisconnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
28 | // Services
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:27:10: warning: associated value 'peripheralRSSIReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
25 | case peripheralConnectionFailed(Peripheral, Error?)
26 | case peripheralDisconnected(Peripheral, Error?)
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
| `- warning: associated value 'peripheralRSSIReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
28 | // Services
29 | case servicesDiscoveryFailed(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:29:10: warning: associated value 'servicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
28 | // Services
29 | case servicesDiscoveryFailed(Peripheral, Error?)
| `- warning: associated value 'servicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
30 | case includedServicesDiscoveryFailed(Peripheral, Error?)
31 | case addingServiceFailed(CBService, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:30:10: warning: associated value 'includedServicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
28 | // Services
29 | case servicesDiscoveryFailed(Peripheral, Error?)
30 | case includedServicesDiscoveryFailed(Peripheral, Error?)
| `- warning: associated value 'includedServicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
31 | case addingServiceFailed(CBService, Error?)
32 | // Characteristics
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:31:10: warning: associated value 'addingServiceFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'CBService'; this is an error in the Swift 6 language mode
29 | case servicesDiscoveryFailed(Peripheral, Error?)
30 | case includedServicesDiscoveryFailed(Peripheral, Error?)
31 | case addingServiceFailed(CBService, Error?)
| `- warning: associated value 'addingServiceFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'CBService'; this is an error in the Swift 6 language mode
32 | // Characteristics
33 | case characteristicsDiscoveryFailed(Service, Error?)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBService.h:27:28: note: class 'CBService' does not conform to the 'Sendable' protocol
25 | */
26 | NS_CLASS_AVAILABLE(10_7, 5_0)
27 | CB_EXTERN_CLASS @interface CBService : CBAttribute
| `- note: class 'CBService' does not conform to the 'Sendable' protocol
28 |
29 | /*!
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
1 | import Foundation
2 | import CoreBluetooth
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
3 |
4 | /// Bluetooth error which can be emitted by RxBluetoothKit created observables.
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:33:10: warning: associated value 'characteristicsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Service'; this is an error in the Swift 6 language mode
31 | case addingServiceFailed(CBService, Error?)
32 | // Characteristics
33 | case characteristicsDiscoveryFailed(Service, Error?)
| `- warning: associated value 'characteristicsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Service'; this is an error in the Swift 6 language mode
34 | case characteristicWriteFailed(Characteristic, Error?)
35 | case characteristicReadFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Service.swift:6:14: note: class 'Service' does not conform to the 'Sendable' protocol
4 |
5 | /// Service is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBService](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBService_Class/)
6 | public class Service {
| `- note: class 'Service' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth service class
8 | public let service: CBService
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:34:10: warning: associated value 'characteristicWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
32 | // Characteristics
33 | case characteristicsDiscoveryFailed(Service, Error?)
34 | case characteristicWriteFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
35 | case characteristicReadFailed(Characteristic, Error?)
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:35:10: warning: associated value 'characteristicReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
33 | case characteristicsDiscoveryFailed(Service, Error?)
34 | case characteristicWriteFailed(Characteristic, Error?)
35 | case characteristicReadFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:36:10: warning: associated value 'characteristicNotifyChangeFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
34 | case characteristicWriteFailed(Characteristic, Error?)
35 | case characteristicReadFailed(Characteristic, Error?)
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicNotifyChangeFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
38 | // Descriptors
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:37:10: warning: associated value 'characteristicSetNotifyValueFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
35 | case characteristicReadFailed(Characteristic, Error?)
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicSetNotifyValueFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
38 | // Descriptors
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:39:10: warning: associated value 'descriptorsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
38 | // Descriptors
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
| `- warning: associated value 'descriptorsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
40 | case descriptorWriteFailed(Descriptor, Error?)
41 | case descriptorReadFailed(Descriptor, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:40:10: warning: associated value 'descriptorWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
38 | // Descriptors
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
40 | case descriptorWriteFailed(Descriptor, Error?)
| `- warning: associated value 'descriptorWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
41 | case descriptorReadFailed(Descriptor, Error?)
42 | // L2CAP
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:8:14: note: class 'Descriptor' does not conform to the 'Sendable' protocol
6 | /// [CBDescriptor](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBDescriptor_Class/)
7 | /// Descriptors provide more information about a characteristic’s value.
8 | public class Descriptor {
| `- note: class 'Descriptor' does not conform to the 'Sendable' protocol
9 |
10 | /// Intance of CoreBluetooth descriptor class
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:41:10: warning: associated value 'descriptorReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
40 | case descriptorWriteFailed(Descriptor, Error?)
41 | case descriptorReadFailed(Descriptor, Error?)
| `- warning: associated value 'descriptorReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
42 | // L2CAP
43 | case openingL2CAPChannelFailed(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:8:14: note: class 'Descriptor' does not conform to the 'Sendable' protocol
6 | /// [CBDescriptor](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBDescriptor_Class/)
7 | /// Descriptors provide more information about a characteristic’s value.
8 | public class Descriptor {
| `- note: class 'Descriptor' does not conform to the 'Sendable' protocol
9 |
10 | /// Intance of CoreBluetooth descriptor class
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:43:10: warning: associated value 'openingL2CAPChannelFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
41 | case descriptorReadFailed(Descriptor, Error?)
42 | // L2CAP
43 | case openingL2CAPChannelFailed(Peripheral, Error?)
| `- warning: associated value 'openingL2CAPChannelFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
44 | case publishingL2CAPChannelFailed(CBL2CAPPSM, Error?)
45 | // Unknown
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
[168/190] Compiling RxBluetoothKit Array+Utils.swift
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:22:10: warning: associated value 'peripheralIsAlreadyObservingConnection' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
20 | case bluetoothResetting
21 | // Peripheral
22 | case peripheralIsAlreadyObservingConnection(Peripheral)
| `- warning: associated value 'peripheralIsAlreadyObservingConnection' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
23 | @available(*, deprecated, renamed: "BluetoothError.peripheralIsAlreadyObservingConnection")
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:24:10: warning: associated value 'peripheralIsConnectingOrAlreadyConnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
22 | case peripheralIsAlreadyObservingConnection(Peripheral)
23 | @available(*, deprecated, renamed: "BluetoothError.peripheralIsAlreadyObservingConnection")
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
| `- warning: associated value 'peripheralIsConnectingOrAlreadyConnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
25 | case peripheralConnectionFailed(Peripheral, Error?)
26 | case peripheralDisconnected(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:25:10: warning: associated value 'peripheralConnectionFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
23 | @available(*, deprecated, renamed: "BluetoothError.peripheralIsAlreadyObservingConnection")
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
25 | case peripheralConnectionFailed(Peripheral, Error?)
| `- warning: associated value 'peripheralConnectionFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
26 | case peripheralDisconnected(Peripheral, Error?)
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:26:10: warning: associated value 'peripheralDisconnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
25 | case peripheralConnectionFailed(Peripheral, Error?)
26 | case peripheralDisconnected(Peripheral, Error?)
| `- warning: associated value 'peripheralDisconnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
28 | // Services
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:27:10: warning: associated value 'peripheralRSSIReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
25 | case peripheralConnectionFailed(Peripheral, Error?)
26 | case peripheralDisconnected(Peripheral, Error?)
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
| `- warning: associated value 'peripheralRSSIReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
28 | // Services
29 | case servicesDiscoveryFailed(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:29:10: warning: associated value 'servicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
28 | // Services
29 | case servicesDiscoveryFailed(Peripheral, Error?)
| `- warning: associated value 'servicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
30 | case includedServicesDiscoveryFailed(Peripheral, Error?)
31 | case addingServiceFailed(CBService, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:30:10: warning: associated value 'includedServicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
28 | // Services
29 | case servicesDiscoveryFailed(Peripheral, Error?)
30 | case includedServicesDiscoveryFailed(Peripheral, Error?)
| `- warning: associated value 'includedServicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
31 | case addingServiceFailed(CBService, Error?)
32 | // Characteristics
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:31:10: warning: associated value 'addingServiceFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'CBService'; this is an error in the Swift 6 language mode
29 | case servicesDiscoveryFailed(Peripheral, Error?)
30 | case includedServicesDiscoveryFailed(Peripheral, Error?)
31 | case addingServiceFailed(CBService, Error?)
| `- warning: associated value 'addingServiceFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'CBService'; this is an error in the Swift 6 language mode
32 | // Characteristics
33 | case characteristicsDiscoveryFailed(Service, Error?)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBService.h:27:28: note: class 'CBService' does not conform to the 'Sendable' protocol
25 | */
26 | NS_CLASS_AVAILABLE(10_7, 5_0)
27 | CB_EXTERN_CLASS @interface CBService : CBAttribute
| `- note: class 'CBService' does not conform to the 'Sendable' protocol
28 |
29 | /*!
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
1 | import Foundation
2 | import CoreBluetooth
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
3 |
4 | /// Bluetooth error which can be emitted by RxBluetoothKit created observables.
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:33:10: warning: associated value 'characteristicsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Service'; this is an error in the Swift 6 language mode
31 | case addingServiceFailed(CBService, Error?)
32 | // Characteristics
33 | case characteristicsDiscoveryFailed(Service, Error?)
| `- warning: associated value 'characteristicsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Service'; this is an error in the Swift 6 language mode
34 | case characteristicWriteFailed(Characteristic, Error?)
35 | case characteristicReadFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Service.swift:6:14: note: class 'Service' does not conform to the 'Sendable' protocol
4 |
5 | /// Service is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBService](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBService_Class/)
6 | public class Service {
| `- note: class 'Service' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth service class
8 | public let service: CBService
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:34:10: warning: associated value 'characteristicWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
32 | // Characteristics
33 | case characteristicsDiscoveryFailed(Service, Error?)
34 | case characteristicWriteFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
35 | case characteristicReadFailed(Characteristic, Error?)
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:35:10: warning: associated value 'characteristicReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
33 | case characteristicsDiscoveryFailed(Service, Error?)
34 | case characteristicWriteFailed(Characteristic, Error?)
35 | case characteristicReadFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:36:10: warning: associated value 'characteristicNotifyChangeFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
34 | case characteristicWriteFailed(Characteristic, Error?)
35 | case characteristicReadFailed(Characteristic, Error?)
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicNotifyChangeFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
38 | // Descriptors
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:37:10: warning: associated value 'characteristicSetNotifyValueFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
35 | case characteristicReadFailed(Characteristic, Error?)
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicSetNotifyValueFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
38 | // Descriptors
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:39:10: warning: associated value 'descriptorsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
38 | // Descriptors
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
| `- warning: associated value 'descriptorsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
40 | case descriptorWriteFailed(Descriptor, Error?)
41 | case descriptorReadFailed(Descriptor, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:40:10: warning: associated value 'descriptorWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
38 | // Descriptors
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
40 | case descriptorWriteFailed(Descriptor, Error?)
| `- warning: associated value 'descriptorWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
41 | case descriptorReadFailed(Descriptor, Error?)
42 | // L2CAP
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:8:14: note: class 'Descriptor' does not conform to the 'Sendable' protocol
6 | /// [CBDescriptor](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBDescriptor_Class/)
7 | /// Descriptors provide more information about a characteristic’s value.
8 | public class Descriptor {
| `- note: class 'Descriptor' does not conform to the 'Sendable' protocol
9 |
10 | /// Intance of CoreBluetooth descriptor class
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:41:10: warning: associated value 'descriptorReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
40 | case descriptorWriteFailed(Descriptor, Error?)
41 | case descriptorReadFailed(Descriptor, Error?)
| `- warning: associated value 'descriptorReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
42 | // L2CAP
43 | case openingL2CAPChannelFailed(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:8:14: note: class 'Descriptor' does not conform to the 'Sendable' protocol
6 | /// [CBDescriptor](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBDescriptor_Class/)
7 | /// Descriptors provide more information about a characteristic’s value.
8 | public class Descriptor {
| `- note: class 'Descriptor' does not conform to the 'Sendable' protocol
9 |
10 | /// Intance of CoreBluetooth descriptor class
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:43:10: warning: associated value 'openingL2CAPChannelFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
41 | case descriptorReadFailed(Descriptor, Error?)
42 | // L2CAP
43 | case openingL2CAPChannelFailed(Peripheral, Error?)
| `- warning: associated value 'openingL2CAPChannelFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
44 | case publishingL2CAPChannelFailed(CBL2CAPPSM, Error?)
45 | // Unknown
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
[169/190] Compiling RxBluetoothKit BluetoothError.swift
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:22:10: warning: associated value 'peripheralIsAlreadyObservingConnection' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
20 | case bluetoothResetting
21 | // Peripheral
22 | case peripheralIsAlreadyObservingConnection(Peripheral)
| `- warning: associated value 'peripheralIsAlreadyObservingConnection' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
23 | @available(*, deprecated, renamed: "BluetoothError.peripheralIsAlreadyObservingConnection")
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:24:10: warning: associated value 'peripheralIsConnectingOrAlreadyConnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
22 | case peripheralIsAlreadyObservingConnection(Peripheral)
23 | @available(*, deprecated, renamed: "BluetoothError.peripheralIsAlreadyObservingConnection")
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
| `- warning: associated value 'peripheralIsConnectingOrAlreadyConnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
25 | case peripheralConnectionFailed(Peripheral, Error?)
26 | case peripheralDisconnected(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:25:10: warning: associated value 'peripheralConnectionFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
23 | @available(*, deprecated, renamed: "BluetoothError.peripheralIsAlreadyObservingConnection")
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
25 | case peripheralConnectionFailed(Peripheral, Error?)
| `- warning: associated value 'peripheralConnectionFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
26 | case peripheralDisconnected(Peripheral, Error?)
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:26:10: warning: associated value 'peripheralDisconnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
25 | case peripheralConnectionFailed(Peripheral, Error?)
26 | case peripheralDisconnected(Peripheral, Error?)
| `- warning: associated value 'peripheralDisconnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
28 | // Services
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:27:10: warning: associated value 'peripheralRSSIReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
25 | case peripheralConnectionFailed(Peripheral, Error?)
26 | case peripheralDisconnected(Peripheral, Error?)
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
| `- warning: associated value 'peripheralRSSIReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
28 | // Services
29 | case servicesDiscoveryFailed(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:29:10: warning: associated value 'servicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
28 | // Services
29 | case servicesDiscoveryFailed(Peripheral, Error?)
| `- warning: associated value 'servicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
30 | case includedServicesDiscoveryFailed(Peripheral, Error?)
31 | case addingServiceFailed(CBService, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:30:10: warning: associated value 'includedServicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
28 | // Services
29 | case servicesDiscoveryFailed(Peripheral, Error?)
30 | case includedServicesDiscoveryFailed(Peripheral, Error?)
| `- warning: associated value 'includedServicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
31 | case addingServiceFailed(CBService, Error?)
32 | // Characteristics
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:31:10: warning: associated value 'addingServiceFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'CBService'; this is an error in the Swift 6 language mode
29 | case servicesDiscoveryFailed(Peripheral, Error?)
30 | case includedServicesDiscoveryFailed(Peripheral, Error?)
31 | case addingServiceFailed(CBService, Error?)
| `- warning: associated value 'addingServiceFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'CBService'; this is an error in the Swift 6 language mode
32 | // Characteristics
33 | case characteristicsDiscoveryFailed(Service, Error?)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBService.h:27:28: note: class 'CBService' does not conform to the 'Sendable' protocol
25 | */
26 | NS_CLASS_AVAILABLE(10_7, 5_0)
27 | CB_EXTERN_CLASS @interface CBService : CBAttribute
| `- note: class 'CBService' does not conform to the 'Sendable' protocol
28 |
29 | /*!
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
1 | import Foundation
2 | import CoreBluetooth
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
3 |
4 | /// Bluetooth error which can be emitted by RxBluetoothKit created observables.
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:33:10: warning: associated value 'characteristicsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Service'; this is an error in the Swift 6 language mode
31 | case addingServiceFailed(CBService, Error?)
32 | // Characteristics
33 | case characteristicsDiscoveryFailed(Service, Error?)
| `- warning: associated value 'characteristicsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Service'; this is an error in the Swift 6 language mode
34 | case characteristicWriteFailed(Characteristic, Error?)
35 | case characteristicReadFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Service.swift:6:14: note: class 'Service' does not conform to the 'Sendable' protocol
4 |
5 | /// Service is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBService](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBService_Class/)
6 | public class Service {
| `- note: class 'Service' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth service class
8 | public let service: CBService
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:34:10: warning: associated value 'characteristicWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
32 | // Characteristics
33 | case characteristicsDiscoveryFailed(Service, Error?)
34 | case characteristicWriteFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
35 | case characteristicReadFailed(Characteristic, Error?)
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:35:10: warning: associated value 'characteristicReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
33 | case characteristicsDiscoveryFailed(Service, Error?)
34 | case characteristicWriteFailed(Characteristic, Error?)
35 | case characteristicReadFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:36:10: warning: associated value 'characteristicNotifyChangeFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
34 | case characteristicWriteFailed(Characteristic, Error?)
35 | case characteristicReadFailed(Characteristic, Error?)
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicNotifyChangeFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
38 | // Descriptors
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:37:10: warning: associated value 'characteristicSetNotifyValueFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
35 | case characteristicReadFailed(Characteristic, Error?)
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicSetNotifyValueFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
38 | // Descriptors
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:39:10: warning: associated value 'descriptorsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
38 | // Descriptors
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
| `- warning: associated value 'descriptorsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
40 | case descriptorWriteFailed(Descriptor, Error?)
41 | case descriptorReadFailed(Descriptor, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:40:10: warning: associated value 'descriptorWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
38 | // Descriptors
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
40 | case descriptorWriteFailed(Descriptor, Error?)
| `- warning: associated value 'descriptorWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
41 | case descriptorReadFailed(Descriptor, Error?)
42 | // L2CAP
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:8:14: note: class 'Descriptor' does not conform to the 'Sendable' protocol
6 | /// [CBDescriptor](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBDescriptor_Class/)
7 | /// Descriptors provide more information about a characteristic’s value.
8 | public class Descriptor {
| `- note: class 'Descriptor' does not conform to the 'Sendable' protocol
9 |
10 | /// Intance of CoreBluetooth descriptor class
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:41:10: warning: associated value 'descriptorReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
40 | case descriptorWriteFailed(Descriptor, Error?)
41 | case descriptorReadFailed(Descriptor, Error?)
| `- warning: associated value 'descriptorReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
42 | // L2CAP
43 | case openingL2CAPChannelFailed(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:8:14: note: class 'Descriptor' does not conform to the 'Sendable' protocol
6 | /// [CBDescriptor](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBDescriptor_Class/)
7 | /// Descriptors provide more information about a characteristic’s value.
8 | public class Descriptor {
| `- note: class 'Descriptor' does not conform to the 'Sendable' protocol
9 |
10 | /// Intance of CoreBluetooth descriptor class
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:43:10: warning: associated value 'openingL2CAPChannelFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
41 | case descriptorReadFailed(Descriptor, Error?)
42 | // L2CAP
43 | case openingL2CAPChannelFailed(Peripheral, Error?)
| `- warning: associated value 'openingL2CAPChannelFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
44 | case publishingL2CAPChannelFailed(CBL2CAPPSM, Error?)
45 | // Unknown
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
[170/190] Compiling RxBluetoothKit BluetoothState.swift
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:22:10: warning: associated value 'peripheralIsAlreadyObservingConnection' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
20 | case bluetoothResetting
21 | // Peripheral
22 | case peripheralIsAlreadyObservingConnection(Peripheral)
| `- warning: associated value 'peripheralIsAlreadyObservingConnection' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
23 | @available(*, deprecated, renamed: "BluetoothError.peripheralIsAlreadyObservingConnection")
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:24:10: warning: associated value 'peripheralIsConnectingOrAlreadyConnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
22 | case peripheralIsAlreadyObservingConnection(Peripheral)
23 | @available(*, deprecated, renamed: "BluetoothError.peripheralIsAlreadyObservingConnection")
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
| `- warning: associated value 'peripheralIsConnectingOrAlreadyConnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
25 | case peripheralConnectionFailed(Peripheral, Error?)
26 | case peripheralDisconnected(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:25:10: warning: associated value 'peripheralConnectionFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
23 | @available(*, deprecated, renamed: "BluetoothError.peripheralIsAlreadyObservingConnection")
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
25 | case peripheralConnectionFailed(Peripheral, Error?)
| `- warning: associated value 'peripheralConnectionFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
26 | case peripheralDisconnected(Peripheral, Error?)
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:26:10: warning: associated value 'peripheralDisconnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
24 | case peripheralIsConnectingOrAlreadyConnected(Peripheral)
25 | case peripheralConnectionFailed(Peripheral, Error?)
26 | case peripheralDisconnected(Peripheral, Error?)
| `- warning: associated value 'peripheralDisconnected' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
28 | // Services
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:27:10: warning: associated value 'peripheralRSSIReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
25 | case peripheralConnectionFailed(Peripheral, Error?)
26 | case peripheralDisconnected(Peripheral, Error?)
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
| `- warning: associated value 'peripheralRSSIReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
28 | // Services
29 | case servicesDiscoveryFailed(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:29:10: warning: associated value 'servicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
27 | case peripheralRSSIReadFailed(Peripheral, Error?)
28 | // Services
29 | case servicesDiscoveryFailed(Peripheral, Error?)
| `- warning: associated value 'servicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
30 | case includedServicesDiscoveryFailed(Peripheral, Error?)
31 | case addingServiceFailed(CBService, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:30:10: warning: associated value 'includedServicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
28 | // Services
29 | case servicesDiscoveryFailed(Peripheral, Error?)
30 | case includedServicesDiscoveryFailed(Peripheral, Error?)
| `- warning: associated value 'includedServicesDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
31 | case addingServiceFailed(CBService, Error?)
32 | // Characteristics
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:31:10: warning: associated value 'addingServiceFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'CBService'; this is an error in the Swift 6 language mode
29 | case servicesDiscoveryFailed(Peripheral, Error?)
30 | case includedServicesDiscoveryFailed(Peripheral, Error?)
31 | case addingServiceFailed(CBService, Error?)
| `- warning: associated value 'addingServiceFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'CBService'; this is an error in the Swift 6 language mode
32 | // Characteristics
33 | case characteristicsDiscoveryFailed(Service, Error?)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBService.h:27:28: note: class 'CBService' does not conform to the 'Sendable' protocol
25 | */
26 | NS_CLASS_AVAILABLE(10_7, 5_0)
27 | CB_EXTERN_CLASS @interface CBService : CBAttribute
| `- note: class 'CBService' does not conform to the 'Sendable' protocol
28 |
29 | /*!
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
1 | import Foundation
2 | import CoreBluetooth
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
3 |
4 | /// Bluetooth error which can be emitted by RxBluetoothKit created observables.
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:33:10: warning: associated value 'characteristicsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Service'; this is an error in the Swift 6 language mode
31 | case addingServiceFailed(CBService, Error?)
32 | // Characteristics
33 | case characteristicsDiscoveryFailed(Service, Error?)
| `- warning: associated value 'characteristicsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Service'; this is an error in the Swift 6 language mode
34 | case characteristicWriteFailed(Characteristic, Error?)
35 | case characteristicReadFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Service.swift:6:14: note: class 'Service' does not conform to the 'Sendable' protocol
4 |
5 | /// Service is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBService](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBService_Class/)
6 | public class Service {
| `- note: class 'Service' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth service class
8 | public let service: CBService
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:34:10: warning: associated value 'characteristicWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
32 | // Characteristics
33 | case characteristicsDiscoveryFailed(Service, Error?)
34 | case characteristicWriteFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
35 | case characteristicReadFailed(Characteristic, Error?)
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:35:10: warning: associated value 'characteristicReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
33 | case characteristicsDiscoveryFailed(Service, Error?)
34 | case characteristicWriteFailed(Characteristic, Error?)
35 | case characteristicReadFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:36:10: warning: associated value 'characteristicNotifyChangeFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
34 | case characteristicWriteFailed(Characteristic, Error?)
35 | case characteristicReadFailed(Characteristic, Error?)
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicNotifyChangeFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
38 | // Descriptors
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:37:10: warning: associated value 'characteristicSetNotifyValueFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
35 | case characteristicReadFailed(Characteristic, Error?)
36 | case characteristicNotifyChangeFailed(Characteristic, Error?)
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
| `- warning: associated value 'characteristicSetNotifyValueFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
38 | // Descriptors
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:39:10: warning: associated value 'descriptorsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
37 | case characteristicSetNotifyValueFailed(Characteristic, Error?)
38 | // Descriptors
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
| `- warning: associated value 'descriptorsDiscoveryFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Characteristic'; this is an error in the Swift 6 language mode
40 | case descriptorWriteFailed(Descriptor, Error?)
41 | case descriptorReadFailed(Descriptor, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:6:14: note: class 'Characteristic' does not conform to the 'Sendable' protocol
4 |
5 | /// Characteristic is a class implementing ReactiveX which wraps CoreBluetooth functions related to interaction with [CBCharacteristic](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCharacteristic_Class/)
6 | public class Characteristic {
| `- note: class 'Characteristic' does not conform to the 'Sendable' protocol
7 | /// Intance of CoreBluetooth characteristic class
8 | public let characteristic: CBCharacteristic
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:40:10: warning: associated value 'descriptorWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
38 | // Descriptors
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
40 | case descriptorWriteFailed(Descriptor, Error?)
| `- warning: associated value 'descriptorWriteFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
41 | case descriptorReadFailed(Descriptor, Error?)
42 | // L2CAP
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:8:14: note: class 'Descriptor' does not conform to the 'Sendable' protocol
6 | /// [CBDescriptor](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBDescriptor_Class/)
7 | /// Descriptors provide more information about a characteristic’s value.
8 | public class Descriptor {
| `- note: class 'Descriptor' does not conform to the 'Sendable' protocol
9 |
10 | /// Intance of CoreBluetooth descriptor class
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:41:10: warning: associated value 'descriptorReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
39 | case descriptorsDiscoveryFailed(Characteristic, Error?)
40 | case descriptorWriteFailed(Descriptor, Error?)
41 | case descriptorReadFailed(Descriptor, Error?)
| `- warning: associated value 'descriptorReadFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Descriptor'; this is an error in the Swift 6 language mode
42 | // L2CAP
43 | case openingL2CAPChannelFailed(Peripheral, Error?)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:8:14: note: class 'Descriptor' does not conform to the 'Sendable' protocol
6 | /// [CBDescriptor](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBDescriptor_Class/)
7 | /// Descriptors provide more information about a characteristic’s value.
8 | public class Descriptor {
| `- note: class 'Descriptor' does not conform to the 'Sendable' protocol
9 |
10 | /// Intance of CoreBluetooth descriptor class
/Users/admin/builder/spi-builder-workspace/Source/BluetoothError.swift:43:10: warning: associated value 'openingL2CAPChannelFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
41 | case descriptorReadFailed(Descriptor, Error?)
42 | // L2CAP
43 | case openingL2CAPChannelFailed(Peripheral, Error?)
| `- warning: associated value 'openingL2CAPChannelFailed' of 'Sendable'-conforming enum 'BluetoothError' has non-sendable type 'Peripheral'; this is an error in the Swift 6 language mode
44 | case publishingL2CAPChannelFailed(CBL2CAPPSM, Error?)
45 | // Unknown
/Users/admin/builder/spi-builder-workspace/Source/Peripheral.swift:10:14: note: class 'Peripheral' does not conform to the 'Sendable' protocol
8 | /// Peripheral is a class implementing ReactiveX API which wraps all Core Bluetooth functions
9 | /// allowing to talk to peripheral like discovering characteristics, services and all of the read/write calls.
10 | public class Peripheral {
| `- note: class 'Peripheral' does not conform to the 'Sendable' protocol
11 |
12 | /// Intance of CentralManager which is used to the bluetooth communication
[171/190] Compiling RxBluetoothKit RxBluetoothKitLogger.swift
/Users/admin/builder/spi-builder-workspace/Source/RxBluetoothKitLogger.swift:6:23: warning: static property 'defaultLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public enum RxBluetoothKitLogger {
5 | /// The default logger that will be used by RxBluetoothKit
6 | public static var defaultLogger: Logger = SimplePrintLogger()
| |- warning: static property 'defaultLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[172/190] Compiling RxBluetoothKit ScannedPeripheral.swift
/Users/admin/builder/spi-builder-workspace/Source/RxBluetoothKitLogger.swift:6:23: warning: static property 'defaultLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public enum RxBluetoothKitLogger {
5 | /// The default logger that will be used by RxBluetoothKit
6 | public static var defaultLogger: Logger = SimplePrintLogger()
| |- warning: static property 'defaultLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[173/190] Compiling RxBluetoothKit Service.swift
/Users/admin/builder/spi-builder-workspace/Source/RxBluetoothKitLogger.swift:6:23: warning: static property 'defaultLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public enum RxBluetoothKitLogger {
5 | /// The default logger that will be used by RxBluetoothKit
6 | public static var defaultLogger: Logger = SimplePrintLogger()
| |- warning: static property 'defaultLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[174/190] Compiling RxBluetoothKit StartAdvertisingResult.swift
[175/190] Compiling RxBluetoothKit UUIDIdentifiable.swift
[176/190] Compiling RxBluetoothKit Unimplemented.swift
[177/190] Compiling RxBluetoothKit PeripheralManagerRestoredState.swift
[178/190] Compiling RxBluetoothKit PeripheralProvider.swift
[179/190] Compiling RxBluetoothKit RestoredState.swift
[180/190] Compiling RxBluetoothKit CBPeripheralDelegateWrapper.swift
[181/190] Compiling RxBluetoothKit CBPeripheralManagerDelegateWrapper.swift
[182/190] Compiling RxBluetoothKit CentralManager+RestoredState.swift
[183/190] Compiling RxBluetoothKit CentralManager.swift
[184/190] Compiling RxBluetoothKit Peripheral.swift
[185/190] Compiling RxBluetoothKit PeripheralManager+RestoredState.swift
[186/190] Compiling RxBluetoothKit PeripheralManager.swift
[187/190] Compiling RxBluetoothKit CentralManagerRestoredState.swift
/Users/admin/builder/spi-builder-workspace/Source/CentralManagerRestoredState.swift:63:95: error: value of optional type 'CBPeripheral?' must be unwrapped to a value of type 'CBPeripheral'
61 | #endif
62 |
63 | return cbServices.map { Service(peripheral: centralManager.retrievePeripheral(for: $0.peripheral),
| |- error: value of optional type 'CBPeripheral?' must be unwrapped to a value of type 'CBPeripheral'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
64 | service: $0) }
65 | }
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:44:79: error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
42 |
43 | convenience init(characteristic: CBCharacteristic, peripheral: Peripheral) {
44 | let service = Service(peripheral: peripheral, service: characteristic.service)
| |- error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
45 | self.init(characteristic: characteristic, service: service)
46 | }
[188/190] Compiling RxBluetoothKit Characteristic.swift
/Users/admin/builder/spi-builder-workspace/Source/CentralManagerRestoredState.swift:63:95: error: value of optional type 'CBPeripheral?' must be unwrapped to a value of type 'CBPeripheral'
61 | #endif
62 |
63 | return cbServices.map { Service(peripheral: centralManager.retrievePeripheral(for: $0.peripheral),
| |- error: value of optional type 'CBPeripheral?' must be unwrapped to a value of type 'CBPeripheral'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
64 | service: $0) }
65 | }
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:44:79: error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
42 |
43 | convenience init(characteristic: CBCharacteristic, peripheral: Peripheral) {
44 | let service = Service(peripheral: peripheral, service: characteristic.service)
| |- error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
45 | self.init(characteristic: characteristic, service: service)
46 | }
[189/190] Compiling RxBluetoothKit CharacteristicNotificationManager.swift
/Users/admin/builder/spi-builder-workspace/Source/CentralManagerRestoredState.swift:63:95: error: value of optional type 'CBPeripheral?' must be unwrapped to a value of type 'CBPeripheral'
61 | #endif
62 |
63 | return cbServices.map { Service(peripheral: centralManager.retrievePeripheral(for: $0.peripheral),
| |- error: value of optional type 'CBPeripheral?' must be unwrapped to a value of type 'CBPeripheral'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
64 | service: $0) }
65 | }
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:44:79: error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
42 |
43 | convenience init(characteristic: CBCharacteristic, peripheral: Peripheral) {
44 | let service = Service(peripheral: peripheral, service: characteristic.service)
| |- error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
45 | self.init(characteristic: characteristic, service: service)
46 | }
[190/190] Compiling RxBluetoothKit Connector.swift
/Users/admin/builder/spi-builder-workspace/Source/CentralManagerRestoredState.swift:63:95: error: value of optional type 'CBPeripheral?' must be unwrapped to a value of type 'CBPeripheral'
61 | #endif
62 |
63 | return cbServices.map { Service(peripheral: centralManager.retrievePeripheral(for: $0.peripheral),
| |- error: value of optional type 'CBPeripheral?' must be unwrapped to a value of type 'CBPeripheral'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
64 | service: $0) }
65 | }
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:44:79: error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
42 |
43 | convenience init(characteristic: CBCharacteristic, peripheral: Peripheral) {
44 | let service = Service(peripheral: peripheral, service: characteristic.service)
| |- error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
45 | self.init(characteristic: characteristic, service: service)
46 | }
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Example': File not found.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/137] Compiling RxSwift AddRef.swift
[3/137] Compiling RxSwift Amb.swift
[4/137] Compiling RxSwift AnonymousDisposable.swift
[5/137] Compiling RxSwift AnonymousObserver.swift
[6/137] Compiling RxSwift AnyObserver.swift
[7/137] Compiling RxSwift AsMaybe.swift
[8/137] Compiling RxSwift AsSingle.swift
[9/137] Compiling RxSwift AsyncLock.swift
[10/137] Compiling RxSwift AsyncSubject.swift
[11/137] Compiling RxSwift AtomicInt.swift
[12/137] Compiling RxSwift Bag+Rx.swift
[13/137] Compiling RxSwift Bag.swift
[14/137] Compiling RxSwift BehaviorSubject.swift
[15/137] Compiling RxSwift BinaryDisposable.swift
[16/137] Compiling RxSwift BooleanDisposable.swift
[17/152] Compiling RxSwift Sample.swift
[18/152] Compiling RxSwift Scan.swift
[19/152] Compiling RxSwift ScheduledDisposable.swift
[20/152] Compiling RxSwift ScheduledItem.swift
[21/152] Compiling RxSwift ScheduledItemType.swift
[22/152] Compiling RxSwift SchedulerServices+Emulation.swift
[23/152] Compiling RxSwift SchedulerType.swift
[24/152] Compiling RxSwift Sequence.swift
[25/152] Compiling RxSwift SerialDispatchQueueScheduler.swift
[26/152] Compiling RxSwift SerialDisposable.swift
[27/152] Compiling RxSwift ShareReplayScope.swift
[28/152] Compiling RxSwift Single.swift
[29/152] Compiling RxSwift SingleAssignmentDisposable.swift
[30/152] Compiling RxSwift SingleAsync.swift
[31/152] Compiling RxSwift Sink.swift
[32/152] Compiling RxSwift Skip.swift
[33/152] Compiling RxSwift SkipUntil.swift
[34/152] Compiling RxSwift SkipWhile.swift
[35/152] Compiling RxSwift StartWith.swift
[36/152] Compiling RxSwift SubjectType.swift
[37/152] Compiling RxSwift SubscribeOn.swift
[38/152] Compiling RxSwift SubscriptionDisposable.swift
[39/152] Compiling RxSwift SwiftSupport.swift
[40/152] Compiling RxSwift Switch.swift
[41/152] Compiling RxSwift SwitchIfEmpty.swift
[42/152] Compiling RxSwift SynchronizedDisposeType.swift
[43/152] Compiling RxSwift SynchronizedOnType.swift
[44/152] Compiling RxSwift SynchronizedUnsubscribeType.swift
[45/152] Compiling RxSwift TailRecursiveSink.swift
[46/152] Compiling RxSwift Take.swift
[47/152] Compiling RxSwift PriorityQueue.swift
[48/152] Compiling RxSwift Producer.swift
[49/152] Compiling RxSwift PublishSubject.swift
[50/152] Compiling RxSwift Queue.swift
[51/152] Compiling RxSwift Range.swift
[52/152] Compiling RxSwift Reactive.swift
[53/152] Compiling RxSwift RecursiveLock.swift
[54/152] Compiling RxSwift RecursiveScheduler.swift
[55/152] Compiling RxSwift Reduce.swift
[56/152] Compiling RxSwift RefCountDisposable.swift
[57/152] Compiling RxSwift Repeat.swift
[58/152] Compiling RxSwift ReplaySubject.swift
[59/152] Compiling RxSwift RetryWhen.swift
[60/152] Compiling RxSwift Rx.swift
[61/152] Compiling RxSwift RxMutableBox.swift
[62/152] Compiling RxSwift CurrentThreadScheduler.swift
[63/152] Compiling RxSwift Date+Dispatch.swift
[64/152] Compiling RxSwift Debounce.swift
[65/152] Compiling RxSwift Debug.swift
[66/152] Compiling RxSwift DefaultIfEmpty.swift
[67/152] Compiling RxSwift Deferred.swift
[68/152] Compiling RxSwift Delay.swift
[69/152] Compiling RxSwift DelaySubscription.swift
[70/152] Compiling RxSwift Dematerialize.swift
[71/152] Compiling RxSwift Deprecated.swift
[72/152] Compiling RxSwift DispatchQueue+Extensions.swift
[73/152] Compiling RxSwift DispatchQueueConfiguration.swift
[74/152] Compiling RxSwift Disposable.swift
[75/152] Compiling RxSwift Disposables.swift
[76/152] Compiling RxSwift DisposeBag.swift
[77/152] Compiling RxSwift NopDisposable.swift
[78/152] Compiling RxSwift Observable.swift
[79/152] Compiling RxSwift ObservableConvertibleType.swift
[80/152] Compiling RxSwift ObservableType+Extensions.swift
[81/152] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[82/152] Compiling RxSwift ObservableType.swift
[83/152] Compiling RxSwift ObserveOn.swift
[84/152] Compiling RxSwift ObserverBase.swift
[85/152] Compiling RxSwift ObserverType.swift
[86/152] Compiling RxSwift OperationQueueScheduler.swift
[87/152] Compiling RxSwift Optional.swift
[88/152] Compiling RxSwift Platform.Darwin.swift
[89/152] Compiling RxSwift Platform.Linux.swift
[90/152] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[91/152] Compiling RxSwift PrimitiveSequence.swift
[92/152] Compiling RxSwift Buffer.swift
[93/152] Compiling RxSwift Cancelable.swift
[94/152] Compiling RxSwift Catch.swift
[95/152] Compiling RxSwift CombineLatest+Collection.swift
[96/152] Compiling RxSwift CombineLatest+arity.swift
[97/152] Compiling RxSwift CombineLatest.swift
[98/152] Compiling RxSwift CompactMap.swift
[99/152] Compiling RxSwift Completable+AndThen.swift
[100/152] Compiling RxSwift Completable.swift
[101/152] Compiling RxSwift CompositeDisposable.swift
[102/152] Compiling RxSwift Concat.swift
[103/152] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[104/152] Compiling RxSwift ConcurrentMainScheduler.swift
[105/152] Compiling RxSwift ConnectableObservableType.swift
[106/152] Compiling RxSwift Create.swift
[107/152] Emitting module RxSwift
[108/152] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[109/152] Compiling RxSwift ImmediateSchedulerType.swift
[110/152] Compiling RxSwift InfiniteSequence.swift
[111/152] Compiling RxSwift InvocableScheduledItem.swift
[112/152] Compiling RxSwift InvocableType.swift
[113/152] Compiling RxSwift Just.swift
[114/152] Compiling RxSwift Lock.swift
[115/152] Compiling RxSwift LockOwnerType.swift
[116/152] Compiling RxSwift MainScheduler.swift
[117/152] Compiling RxSwift Map.swift
[118/152] Compiling RxSwift Materialize.swift
[119/152] Compiling RxSwift Maybe.swift
[120/152] Compiling RxSwift Merge.swift
[121/152] Compiling RxSwift Multicast.swift
[122/152] Compiling RxSwift Never.swift
[123/152] Compiling RxSwift DisposeBase.swift
[124/152] Compiling RxSwift DistinctUntilChanged.swift
[125/152] Compiling RxSwift Do.swift
[126/152] Compiling RxSwift ElementAt.swift
[127/152] Compiling RxSwift Empty.swift
[128/152] Compiling RxSwift Enumerated.swift
[129/152] Compiling RxSwift Error.swift
[130/152] Compiling RxSwift Errors.swift
[131/152] Compiling RxSwift Event.swift
[132/152] Compiling RxSwift Filter.swift
[133/152] Compiling RxSwift First.swift
[134/152] Compiling RxSwift Generate.swift
[135/152] Compiling RxSwift GroupBy.swift
[136/152] Compiling RxSwift GroupedObservable.swift
[137/152] Compiling RxSwift HistoricalScheduler.swift
[138/152] Compiling RxSwift TakeLast.swift
[139/152] Compiling RxSwift TakeUntil.swift
[140/152] Compiling RxSwift TakeWhile.swift
[141/152] Compiling RxSwift Throttle.swift
[142/152] Compiling RxSwift Timeout.swift
[143/152] Compiling RxSwift Timer.swift
[144/152] Compiling RxSwift ToArray.swift
[145/152] Compiling RxSwift Using.swift
[146/152] Compiling RxSwift VirtualTimeConverterType.swift
[147/152] Compiling RxSwift VirtualTimeScheduler.swift
[148/152] Compiling RxSwift Window.swift
[149/152] Compiling RxSwift WithLatestFrom.swift
[150/152] Compiling RxSwift Zip+Collection.swift
[151/152] Compiling RxSwift Zip+arity.swift
[152/152] Compiling RxSwift Zip.swift
[153/185] Emitting module RxBluetoothKit
/Users/admin/builder/spi-builder-workspace/Source/ManagerType.swift:5:30: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
3 | import CoreBluetooth
4 |
5 | public protocol ManagerType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
6 | associatedtype Manager
7 |
[154/188] Compiling RxBluetoothKit CentralManagerRestoredState.swift
/Users/admin/builder/spi-builder-workspace/Source/CentralManagerRestoredState.swift:63:95: error: value of optional type 'CBPeripheral?' must be unwrapped to a value of type 'CBPeripheral'
61 | #endif
62 |
63 | return cbServices.map { Service(peripheral: centralManager.retrievePeripheral(for: $0.peripheral),
| |- error: value of optional type 'CBPeripheral?' must be unwrapped to a value of type 'CBPeripheral'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
64 | service: $0) }
65 | }
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:44:79: error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
42 |
43 | convenience init(characteristic: CBCharacteristic, peripheral: Peripheral) {
44 | let service = Service(peripheral: peripheral, service: characteristic.service)
| |- error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
45 | self.init(characteristic: characteristic, service: service)
46 | }
[155/188] Compiling RxBluetoothKit Characteristic.swift
/Users/admin/builder/spi-builder-workspace/Source/CentralManagerRestoredState.swift:63:95: error: value of optional type 'CBPeripheral?' must be unwrapped to a value of type 'CBPeripheral'
61 | #endif
62 |
63 | return cbServices.map { Service(peripheral: centralManager.retrievePeripheral(for: $0.peripheral),
| |- error: value of optional type 'CBPeripheral?' must be unwrapped to a value of type 'CBPeripheral'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
64 | service: $0) }
65 | }
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:44:79: error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
42 |
43 | convenience init(characteristic: CBCharacteristic, peripheral: Peripheral) {
44 | let service = Service(peripheral: peripheral, service: characteristic.service)
| |- error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
45 | self.init(characteristic: characteristic, service: service)
46 | }
[156/188] Compiling RxBluetoothKit CharacteristicNotificationManager.swift
/Users/admin/builder/spi-builder-workspace/Source/CentralManagerRestoredState.swift:63:95: error: value of optional type 'CBPeripheral?' must be unwrapped to a value of type 'CBPeripheral'
61 | #endif
62 |
63 | return cbServices.map { Service(peripheral: centralManager.retrievePeripheral(for: $0.peripheral),
| |- error: value of optional type 'CBPeripheral?' must be unwrapped to a value of type 'CBPeripheral'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
64 | service: $0) }
65 | }
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:44:79: error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
42 |
43 | convenience init(characteristic: CBCharacteristic, peripheral: Peripheral) {
44 | let service = Service(peripheral: peripheral, service: characteristic.service)
| |- error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
45 | self.init(characteristic: characteristic, service: service)
46 | }
[157/188] Compiling RxBluetoothKit Connector.swift
/Users/admin/builder/spi-builder-workspace/Source/CentralManagerRestoredState.swift:63:95: error: value of optional type 'CBPeripheral?' must be unwrapped to a value of type 'CBPeripheral'
61 | #endif
62 |
63 | return cbServices.map { Service(peripheral: centralManager.retrievePeripheral(for: $0.peripheral),
| |- error: value of optional type 'CBPeripheral?' must be unwrapped to a value of type 'CBPeripheral'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
64 | service: $0) }
65 | }
/Users/admin/builder/spi-builder-workspace/Source/Characteristic.swift:44:79: error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
42 |
43 | convenience init(characteristic: CBCharacteristic, peripheral: Peripheral) {
44 | let service = Service(peripheral: peripheral, service: characteristic.service)
| |- error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
45 | self.init(characteristic: characteristic, service: service)
46 | }
[158/188] Compiling RxBluetoothKit PeripheralManagerRestoredState.swift
[159/188] Compiling RxBluetoothKit PeripheralProvider.swift
[160/188] Compiling RxBluetoothKit RestoredState.swift
[161/188] Compiling RxBluetoothKit AdvertisementData.swift
[162/188] Compiling RxBluetoothKit Array+Utils.swift
[163/188] Compiling RxBluetoothKit BluetoothError.swift
[164/188] Compiling RxBluetoothKit BluetoothState.swift
[165/188] Compiling RxBluetoothKit ManagerType.swift
/Users/admin/builder/spi-builder-workspace/Source/ManagerType.swift:5:30: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
3 | import CoreBluetooth
4 |
5 | public protocol ManagerType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
6 | associatedtype Manager
7 |
[166/188] Compiling RxBluetoothKit Observable+Absorb.swift
/Users/admin/builder/spi-builder-workspace/Source/ManagerType.swift:5:30: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
3 | import CoreBluetooth
4 |
5 | public protocol ManagerType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
6 | associatedtype Manager
7 |
[167/188] Compiling RxBluetoothKit Peripheral+Convenience.swift
/Users/admin/builder/spi-builder-workspace/Source/ManagerType.swift:5:30: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
3 | import CoreBluetooth
4 |
5 | public protocol ManagerType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
6 | associatedtype Manager
7 |
[168/188] Compiling RxBluetoothKit StartAdvertisingResult.swift
[169/188] Compiling RxBluetoothKit UUIDIdentifiable.swift
[170/188] Compiling RxBluetoothKit Unimplemented.swift
[171/188] Compiling RxBluetoothKit Descriptor.swift
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:32:90: error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
30 |
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
| |- error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
34 | self.init(descriptor: descriptor, characteristic: characteristic)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:32:75: error: value of optional type 'CBCharacteristic?' must be unwrapped to refer to member 'service' of wrapped base type 'CBCharacteristic'
30 |
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
| |- error: value of optional type 'CBCharacteristic?' must be unwrapped to refer to member 'service' of wrapped base type 'CBCharacteristic'
| `- note: chain the optional using '?' to access member 'service' only for non-'nil' base values
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
34 | self.init(descriptor: descriptor, characteristic: characteristic)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:33:72: error: value of optional type 'CBCharacteristic?' must be unwrapped to a value of type 'CBCharacteristic'
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
| |- error: value of optional type 'CBCharacteristic?' must be unwrapped to a value of type 'CBCharacteristic'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
34 | self.init(descriptor: descriptor, characteristic: characteristic)
35 | }
[172/188] Compiling RxBluetoothKit DeviceIdentifiers.swift
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:32:90: error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
30 |
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
| |- error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
34 | self.init(descriptor: descriptor, characteristic: characteristic)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:32:75: error: value of optional type 'CBCharacteristic?' must be unwrapped to refer to member 'service' of wrapped base type 'CBCharacteristic'
30 |
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
| |- error: value of optional type 'CBCharacteristic?' must be unwrapped to refer to member 'service' of wrapped base type 'CBCharacteristic'
| `- note: chain the optional using '?' to access member 'service' only for non-'nil' base values
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
34 | self.init(descriptor: descriptor, characteristic: characteristic)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:33:72: error: value of optional type 'CBCharacteristic?' must be unwrapped to a value of type 'CBCharacteristic'
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
| |- error: value of optional type 'CBCharacteristic?' must be unwrapped to a value of type 'CBCharacteristic'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
34 | self.init(descriptor: descriptor, characteristic: characteristic)
35 | }
[173/188] Compiling RxBluetoothKit Logger.swift
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:32:90: error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
30 |
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
| |- error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
34 | self.init(descriptor: descriptor, characteristic: characteristic)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:32:75: error: value of optional type 'CBCharacteristic?' must be unwrapped to refer to member 'service' of wrapped base type 'CBCharacteristic'
30 |
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
| |- error: value of optional type 'CBCharacteristic?' must be unwrapped to refer to member 'service' of wrapped base type 'CBCharacteristic'
| `- note: chain the optional using '?' to access member 'service' only for non-'nil' base values
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
34 | self.init(descriptor: descriptor, characteristic: characteristic)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:33:72: error: value of optional type 'CBCharacteristic?' must be unwrapped to a value of type 'CBCharacteristic'
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
| |- error: value of optional type 'CBCharacteristic?' must be unwrapped to a value of type 'CBCharacteristic'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
34 | self.init(descriptor: descriptor, characteristic: characteristic)
35 | }
[174/188] Compiling RxBluetoothKit Logging.swift
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:32:90: error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
30 |
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
| |- error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
34 | self.init(descriptor: descriptor, characteristic: characteristic)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:32:75: error: value of optional type 'CBCharacteristic?' must be unwrapped to refer to member 'service' of wrapped base type 'CBCharacteristic'
30 |
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
| |- error: value of optional type 'CBCharacteristic?' must be unwrapped to refer to member 'service' of wrapped base type 'CBCharacteristic'
| `- note: chain the optional using '?' to access member 'service' only for non-'nil' base values
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
34 | self.init(descriptor: descriptor, characteristic: characteristic)
/Users/admin/builder/spi-builder-workspace/Source/Descriptor.swift:33:72: error: value of optional type 'CBCharacteristic?' must be unwrapped to a value of type 'CBCharacteristic'
31 | convenience init(descriptor: CBDescriptor, peripheral: Peripheral) {
32 | let service = Service(peripheral: peripheral, service: descriptor.characteristic.service)
33 | let characteristic = Characteristic(characteristic: descriptor.characteristic, service: service)
| |- error: value of optional type 'CBCharacteristic?' must be unwrapped to a value of type 'CBCharacteristic'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
34 | self.init(descriptor: descriptor, characteristic: characteristic)
35 | }
[175/188] Compiling RxBluetoothKit RxBluetoothKitLogger.swift
[176/188] Compiling RxBluetoothKit ScannedPeripheral.swift
[177/188] Compiling RxBluetoothKit Service.swift
[178/188] Compiling RxBluetoothKit CBPeripheralDelegateWrapper.swift
[179/188] Compiling RxBluetoothKit CBPeripheralManagerDelegateWrapper.swift
[180/188] Compiling RxBluetoothKit CentralManager+RestoredState.swift
[181/188] Compiling RxBluetoothKit CentralManager.swift
[182/188] Compiling RxBluetoothKit Boxes.swift
[183/188] Compiling RxBluetoothKit CBCentral+Uuid.swift
[184/188] Compiling RxBluetoothKit CBCentralManagerDelegateWrapper.swift
[185/188] Compiling RxBluetoothKit CBPeripheral+Uuid.swift
[186/188] Compiling RxBluetoothKit Peripheral.swift
[187/188] Compiling RxBluetoothKit PeripheralManager+RestoredState.swift
[188/188] Compiling RxBluetoothKit PeripheralManager.swift
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Example': File not found.
BUILD FAILURE 6.1 macosSpm