Build Information
Failed to build RxBluetoothKit, reference master (2a95bc
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 21:06:31 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/polidea/RxBluetoothKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/polidea/RxBluetoothKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2a95bce Merge pull request #387 from Polidea/new-example-app
Cloned https://github.com/polidea/RxBluetoothKit.git
Revision (git rev-parse @):
2a95bce60fb569df57d7bec41d215fe58f56e1d4
SUCCESS checkout https://github.com/polidea/RxBluetoothKit.git at master
Fetching https://github.com/ReactiveX/RxSwift.git
[1/52393] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (5.93s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.56s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.1.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "rxbluetoothkit",
"name": "RxBluetoothKit",
"url": "https://github.com/polidea/RxBluetoothKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RxBluetoothKit",
"dependencies": [
{
"identity": "rxswift",
"name": "RxSwift",
"url": "https://github.com/ReactiveX/RxSwift.git",
"version": "5.1.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RxSwift",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/polidea/RxBluetoothKit.git
[1/7555] Fetching rxbluetoothkit
Fetched https://github.com/polidea/RxBluetoothKit.git from cache (1.45s)
Fetching https://github.com/ReactiveX/RxSwift.git from cache
Fetched https://github.com/ReactiveX/RxSwift.git from cache (0.65s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.02s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.1.3
Creating working copy for https://github.com/polidea/RxBluetoothKit.git
Working copy of https://github.com/polidea/RxBluetoothKit.git resolved at master (2a95bce)
warning: '.resolve-product-dependencies': dependency 'rxbluetoothkit' is not used by any target
Found 1 product dependencies
- RxSwift
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/polidea/RxBluetoothKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[4/139] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[5/139] Compiling RxSwift ImmediateSchedulerType.swift
[6/139] Compiling RxSwift InfiniteSequence.swift
[7/139] Compiling RxSwift InvocableScheduledItem.swift
[8/139] Compiling RxSwift InvocableType.swift
[9/139] Compiling RxSwift Just.swift
[10/139] Compiling RxSwift Lock.swift
[11/139] Compiling RxSwift LockOwnerType.swift
[12/139] Compiling RxSwift MainScheduler.swift
[13/139] Compiling RxSwift Map.swift
[14/139] Compiling RxSwift Materialize.swift
[15/139] Compiling RxSwift Maybe.swift
[16/139] Compiling RxSwift Merge.swift
[17/139] Compiling RxSwift Multicast.swift
[18/139] Compiling RxSwift Never.swift
[19/154] Compiling RxSwift Skip.swift
[20/154] Compiling RxSwift SkipUntil.swift
[21/154] Compiling RxSwift SkipWhile.swift
[22/154] Compiling RxSwift StartWith.swift
[23/154] Compiling RxSwift SubjectType.swift
[24/154] Compiling RxSwift SubscribeOn.swift
[25/154] Compiling RxSwift SubscriptionDisposable.swift
[26/154] Compiling RxSwift SwiftSupport.swift
[27/154] Compiling RxSwift Switch.swift
[28/154] Compiling RxSwift SwitchIfEmpty.swift
[29/154] Compiling RxSwift SynchronizedDisposeType.swift
[30/154] Compiling RxSwift SynchronizedOnType.swift
[31/154] Compiling RxSwift SynchronizedUnsubscribeType.swift
[32/154] Compiling RxSwift TailRecursiveSink.swift
[33/154] Compiling RxSwift Take.swift
[34/154] Compiling RxSwift DisposeBase.swift
[35/154] Compiling RxSwift DistinctUntilChanged.swift
[36/154] Compiling RxSwift Do.swift
[37/154] Compiling RxSwift ElementAt.swift
[38/154] Compiling RxSwift Empty.swift
[39/154] Compiling RxSwift Enumerated.swift
[40/154] Compiling RxSwift Error.swift
[41/154] Compiling RxSwift Errors.swift
[42/154] Compiling RxSwift Event.swift
[43/154] Compiling RxSwift Filter.swift
[44/154] Compiling RxSwift First.swift
[45/154] Compiling RxSwift Generate.swift
[46/154] Compiling RxSwift GroupBy.swift
[47/154] Compiling RxSwift GroupedObservable.swift
[48/154] Compiling RxSwift HistoricalScheduler.swift
[49/154] Compiling RxSwift Buffer.swift
[50/154] Compiling RxSwift Cancelable.swift
[51/154] Compiling RxSwift Catch.swift
[52/154] Compiling RxSwift CombineLatest+Collection.swift
[53/154] Compiling RxSwift CombineLatest+arity.swift
[54/154] Compiling RxSwift CombineLatest.swift
[55/154] Compiling RxSwift CompactMap.swift
[56/154] Compiling RxSwift Completable+AndThen.swift
[57/154] Compiling RxSwift Completable.swift
[58/154] Compiling RxSwift CompositeDisposable.swift
[59/154] Compiling RxSwift Concat.swift
[60/154] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[61/154] Compiling RxSwift ConcurrentMainScheduler.swift
[62/154] Compiling RxSwift ConnectableObservableType.swift
[63/154] Compiling RxSwift Create.swift
[64/154] Compiling RxSwift CurrentThreadScheduler.swift
[65/154] Compiling RxSwift Date+Dispatch.swift
[66/154] Compiling RxSwift Debounce.swift
[67/154] Compiling RxSwift Debug.swift
[68/154] Compiling RxSwift DefaultIfEmpty.swift
[69/154] Compiling RxSwift Deferred.swift
[70/154] Compiling RxSwift Delay.swift
[71/154] Compiling RxSwift DelaySubscription.swift
[72/154] Compiling RxSwift Dematerialize.swift
[73/154] Compiling RxSwift Deprecated.swift
[74/154] Compiling RxSwift DispatchQueue+Extensions.swift
[75/154] Compiling RxSwift DispatchQueueConfiguration.swift
[76/154] Compiling RxSwift Disposable.swift
[77/154] Compiling RxSwift Disposables.swift
[78/154] Compiling RxSwift DisposeBag.swift
[79/154] Compiling RxSwift NopDisposable.swift
[80/154] Compiling RxSwift Observable.swift
[81/154] Compiling RxSwift ObservableConvertibleType.swift
[82/154] Compiling RxSwift ObservableType+Extensions.swift
[83/154] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[84/154] Compiling RxSwift ObservableType.swift
[85/154] Compiling RxSwift ObserveOn.swift
[86/154] Compiling RxSwift ObserverBase.swift
[87/154] Compiling RxSwift ObserverType.swift
[88/154] Compiling RxSwift OperationQueueScheduler.swift
[89/154] Compiling RxSwift Optional.swift
[90/154] Compiling RxSwift Platform.Darwin.swift
[91/154] Compiling RxSwift Platform.Linux.swift
[92/154] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[93/154] Compiling RxSwift PrimitiveSequence.swift
[94/154] Compiling RxSwift Sample.swift
[95/154] Compiling RxSwift Scan.swift
[96/154] Compiling RxSwift ScheduledDisposable.swift
[97/154] Compiling RxSwift ScheduledItem.swift
[98/154] Compiling RxSwift ScheduledItemType.swift
[99/154] Compiling RxSwift SchedulerServices+Emulation.swift
[100/154] Compiling RxSwift SchedulerType.swift
[101/154] Compiling RxSwift Sequence.swift
[102/154] Compiling RxSwift SerialDispatchQueueScheduler.swift
[103/154] Compiling RxSwift SerialDisposable.swift
[104/154] Compiling RxSwift ShareReplayScope.swift
[105/154] Compiling RxSwift Single.swift
[106/154] Compiling RxSwift SingleAssignmentDisposable.swift
[107/154] Compiling RxSwift SingleAsync.swift
[108/154] Compiling RxSwift Sink.swift
[109/154] Emitting module RxSwift
[110/154] Compiling RxSwift AddRef.swift
[111/154] Compiling RxSwift Amb.swift
[112/154] Compiling RxSwift AnonymousDisposable.swift
[113/154] Compiling RxSwift AnonymousObserver.swift
[114/154] Compiling RxSwift AnyObserver.swift
[115/154] Compiling RxSwift AsMaybe.swift
[116/154] Compiling RxSwift AsSingle.swift
[117/154] Compiling RxSwift AsyncLock.swift
[118/154] Compiling RxSwift AsyncSubject.swift
[119/154] Compiling RxSwift AtomicInt.swift
[120/154] Compiling RxSwift Bag+Rx.swift
[121/154] Compiling RxSwift Bag.swift
[122/154] Compiling RxSwift BehaviorSubject.swift
[123/154] Compiling RxSwift BinaryDisposable.swift
[124/154] Compiling RxSwift BooleanDisposable.swift
[125/154] Compiling RxSwift PriorityQueue.swift
[126/154] Compiling RxSwift Producer.swift
[127/154] Compiling RxSwift PublishSubject.swift
[128/154] Compiling RxSwift Queue.swift
[129/154] Compiling RxSwift Range.swift
[130/154] Compiling RxSwift Reactive.swift
[131/154] Compiling RxSwift RecursiveLock.swift
[132/154] Compiling RxSwift RecursiveScheduler.swift
[133/154] Compiling RxSwift Reduce.swift
[134/154] Compiling RxSwift RefCountDisposable.swift
[135/154] Compiling RxSwift Repeat.swift
[136/154] Compiling RxSwift ReplaySubject.swift
[137/154] Compiling RxSwift RetryWhen.swift
[138/154] Compiling RxSwift Rx.swift
[139/154] Compiling RxSwift RxMutableBox.swift
[140/154] Compiling RxSwift TakeLast.swift
[141/154] Compiling RxSwift TakeUntil.swift
[142/154] Compiling RxSwift TakeWhile.swift
[143/154] Compiling RxSwift Throttle.swift
[144/154] Compiling RxSwift Timeout.swift
[145/154] Compiling RxSwift Timer.swift
[146/154] Compiling RxSwift ToArray.swift
[147/154] Compiling RxSwift Using.swift
[148/154] Compiling RxSwift VirtualTimeConverterType.swift
[149/154] Compiling RxSwift VirtualTimeScheduler.swift
[150/154] Compiling RxSwift Window.swift
[151/154] Compiling RxSwift WithLatestFrom.swift
[152/154] Compiling RxSwift Zip+Collection.swift
[153/154] Compiling RxSwift Zip+arity.swift
[154/154] Compiling RxSwift Zip.swift
[155/187] Compiling RxBluetoothKit PeripheralManagerRestoredState.swift
[156/187] Compiling RxBluetoothKit PeripheralProvider.swift
[157/187] Compiling RxBluetoothKit RestoredState.swift
[158/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: annotate 'defaultLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[159/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: annotate 'defaultLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[160/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: annotate 'defaultLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[161/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
38 | }
39 | }
[162/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
38 | }
39 | }
[163/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
38 | }
39 | }
[164/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
38 | }
39 | }
[165/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 |
[166/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 |
[167/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 |
[168/190] Compiling RxBluetoothKit StartAdvertisingResult.swift
[169/190] Compiling RxBluetoothKit UUIDIdentifiable.swift
[170/190] Compiling RxBluetoothKit Unimplemented.swift
[171/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?)
CoreBluetooth.CBService:2:12: note: class 'CBService' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBService : CBAttribute {
| `- note: class 'CBService' does not conform to the 'Sendable' protocol
3 | weak open var peripheral: CBPeripheral? { get }
4 | open var isPrimary: Bool { get }
/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
[172/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?)
CoreBluetooth.CBService:2:12: note: class 'CBService' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBService : CBAttribute {
| `- note: class 'CBService' does not conform to the 'Sendable' protocol
3 | weak open var peripheral: CBPeripheral? { get }
4 | open var isPrimary: Bool { get }
/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
[173/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?)
CoreBluetooth.CBService:2:12: note: class 'CBService' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBService : CBAttribute {
| `- note: class 'CBService' does not conform to the 'Sendable' protocol
3 | weak open var peripheral: CBPeripheral? { get }
4 | open var isPrimary: Bool { get }
/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
[174/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?)
CoreBluetooth.CBService:2:12: note: class 'CBService' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBService : CBAttribute {
| `- note: class 'CBService' does not conform to the 'Sendable' protocol
3 | weak open var peripheral: CBPeripheral? { get }
4 | open var isPrimary: Bool { get }
/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
[175/190] 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?)
CoreBluetooth.CBService:2:12: note: class 'CBService' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBService : CBAttribute {
| `- note: class 'CBService' does not conform to the 'Sendable' protocol
3 | weak open var peripheral: CBPeripheral? { get }
4 | open var isPrimary: Bool { get }
/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: annotate 'subject' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[176/190] Compiling RxBluetoothKit CBPeripheralDelegateWrapper.swift
[177/190] Compiling RxBluetoothKit CBPeripheralManagerDelegateWrapper.swift
[178/190] Compiling RxBluetoothKit CentralManager+RestoredState.swift
[179/190] Compiling RxBluetoothKit CentralManager.swift
[180/190] 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: annotate 'subject' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'defaultLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[181/190] 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: annotate 'subject' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'defaultLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[182/190] 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: annotate 'subject' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'defaultLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[183/190] 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: annotate 'subject' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'defaultLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[184/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 | }
[185/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 | }
[186/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 | }
[187/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 | }
[188/190] Compiling RxBluetoothKit Peripheral.swift
[189/190] Compiling RxBluetoothKit PeripheralManager+RestoredState.swift
[190/190] Compiling RxBluetoothKit PeripheralManager.swift
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Example': File not found.
BUILD FAILURE 6.0 macosSpm