The Swift Package Index logo.Swift Package Index

Build Information

Successful build of LittleBlueTooth, reference master (b8be23), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 14:28:09 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DrAma999/LittleBlueTooth.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DrAma999/LittleBlueTooth
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b8be234 Fix force unwrap crash in discover methods (#45)
Cloned https://github.com/DrAma999/LittleBlueTooth.git
Revision (git rev-parse @):
b8be234506eee294a69a9cbaa60be1c5ecdb99e5
SUCCESS checkout https://github.com/DrAma999/LittleBlueTooth.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/DrAma999/LittleBlueTooth.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 154]
[Planning deferred tasks]
[32 / 58]
[34 / 60] CoreBluetoothMock
[45 / 154]
[56 / 154]
[66 / 154]
[72 / 154]
[73 / 154]
[80 / 154]
[84 / 154]
[89 / 154]
[95 / 154]
[98 / 154]
[101 / 154]
[102 / 154]
[104 / 154]
[116 / 154] CoreBluetoothMock
[117 / 154] LittleBlueTooth
[118 / 154] CoreBluetoothMock
[121 / 154] LittleBlueTooth
[140 / 154] CoreBluetoothMock-product
[143 / 155] LittleBlueTooth
[143 / 155] LittleBlueToothForTest
[153 / 166] LittleBlueToothForTest
[156 / 166] LittleBlueToothForTest
[157 / 166] LittleBlueToothForTest
[163 / 166] LittleBlueToothForTest
Build complete! (9.98 sec)
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:26:10: warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead [#DeprecatedDeclaration]
24 |     dependencies: [
25 |         // Dependencies declare other packages that this package depends on.
26 |         .package(name: "CoreBluetoothMock",
   |          `- warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead [#DeprecatedDeclaration]
27 |                  url: "https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git",
28 |                  .upToNextMinor(from: "0.18.0")),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
[1/7863] Fetching ios-corebluetooth-mock
Fetched https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git (2.10s)
Computing version for https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Computed https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git at 0.18.0 (4.93s)
Creating working copy for https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Working copy of https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git resolved at 0.18.0
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Model/Peripheral.swift:152:71: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
149 |         } else {
150 |             let futKey = UUID()
151 |             let services = Deferred {
    |                                     |- note: 'self' implicitly strongly captured here
    |                                     `- note: add 'self' as a capture list item to silence
152 |                 Future<[CBService]?, LittleBluetoothError> { [unowned self, futKey] promise in
    |                                                                       |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                                       `- note: explicitly assign the capture list item to silence
153 |                     self.peripheralProxy.peripheralDiscoveredServicesPublisher
154 |                         .tryMap { (value) -> [CBService]? in
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Model/Peripheral.swift:233:73: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
230 |
231 |         let futKey = UUID()
232 |         let discovery = Deferred {
    |                                  |- note: 'self' implicitly strongly captured here
    |                                  `- note: add 'self' as a capture list item to silence
233 |             Future<[CBCharacteristic], LittleBluetoothError> { [unowned self, futKey] promise in
    |                                                                         |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                                         `- note: explicitly assign the capture list item to silence
234 |                 self.getService(serviceUUID: serviceUUID)
235 |                     .customPrint("[LBT] Discover service", isEnabled: isLogEnabled)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Model/Peripheral.swift:282:58: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
279 |     func readRSSI() -> AnyPublisher<Int, LittleBluetoothError> {
280 |         let futKey = UUID()
281 |         let readRSSI = Deferred {
    |                                 |- note: 'self' implicitly strongly captured here
    |                                 `- note: add 'self' as a capture list item to silence
282 |             Future<Int, LittleBluetoothError> { [unowned self, futKey] promise in
    |                                                          |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                          `- note: explicitly assign the capture list item to silence
283 |                 peripheralProxy.peripheralRSSIPublisher
284 |                     .tryMap { (value) -> Int in
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Model/Peripheral.swift:319:60: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
316 |     func read(from charateristicUUID: CBUUID, of serviceUUID: CBUUID) -> AnyPublisher<Data?, LittleBluetoothError> {
317 |         let futKey = UUID()
318 |         let read = Deferred {
    |                             |- note: 'self' implicitly strongly captured here
    |                             `- note: add 'self' as a capture list item to silence
319 |             Future<Data?, LittleBluetoothError> { [unowned self, futKey] promise in
    |                                                            |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                            `- note: explicitly assign the capture list item to silence
320 |                 discoverCharacteristics([charateristicUUID], fromService: serviceUUID)
321 |                     .flatMap { characteristics -> AnyPublisher<CBCharacteristic, LittleBluetoothError> in
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Model/Peripheral.swift:368:71: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
365 |
366 |         let futKey = UUID()
367 |         let write = Deferred {
    |                              |- note: 'self' implicitly strongly captured here
    |                              `- note: add 'self' as a capture list item to silence
368 |             Future<CBCharacteristic, LittleBluetoothError> { [unowned self, futKey] promise in
    |                                                                       |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                                       `- note: explicitly assign the capture list item to silence
369 |                 discoverCharacteristics([charateristicUUID], fromService: serviceUUID)
370 |                     .flatMap { characteristics -> AnyPublisher<CBCharacteristic, LittleBluetoothError> in
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Model/Peripheral.swift:431:71: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
428 |
429 |         let futKey = UUID()
430 |         let notifyStart = Deferred {
    |                                    |- note: 'self' implicitly strongly captured here
    |                                    `- note: add 'self' as a capture list item to silence
431 |             Future<CBCharacteristic, LittleBluetoothError> { [unowned self, futKey] promise in
    |                                                                       |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                                       `- note: explicitly assign the capture list item to silence
432 |                 discoverCharacteristics([charateristicUUID], fromService: serviceUUID)
433 |                     .flatMap { characteristics -> AnyPublisher<CBCharacteristic, LittleBluetoothError> in
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Model/Peripheral.swift:479:71: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
476 |     func stopListen(from charateristicUUID: CBUUID, of serviceUUID: CBUUID) -> AnyPublisher<CBCharacteristic, LittleBluetoothError> {
477 |         let futKey = UUID()
478 |         let notifyStop = Deferred {
    |                                   |- note: 'self' implicitly strongly captured here
    |                                   `- note: add 'self' as a capture list item to silence
479 |             Future<CBCharacteristic, LittleBluetoothError> { [unowned self, futKey] promise in
    |                                                                       |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                                       `- note: explicitly assign the capture list item to silence
480 |                 discoverCharacteristics([charateristicUUID], fromService: serviceUUID)
481 |                     .flatMap { characteristics -> AnyPublisher<CBCharacteristic, LittleBluetoothError> in
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Model/Peripheral.swift:527:60: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
524 |
525 |         let futKey = UUID()
526 |         let writeListen = Deferred {
    |                                    |- note: 'self' implicitly strongly captured here
    |                                    `- note: add 'self' as a capture list item to silence
527 |             Future<Data?, LittleBluetoothError> { [unowned self, futKey] promise in
    |                                                            |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                            `- note: explicitly assign the capture list item to silence
528 |                 startListen(from: charateristicUUID, of: serviceUUID)
529 |                     .flatMap { (_) -> AnyPublisher<CBCharacteristic, LittleBluetoothError> in
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueTooth/LittleBlueTooth.swift:656:59: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 653 |     /// - returns: A publisher when discovery has been stopped
 654 |     public func stopDiscovery() -> AnyPublisher<Void, LittleBluetoothError> {
 655 |         return Deferred {
     |                         |- note: 'self' implicitly strongly captured here
     |                         `- note: add 'self' as a capture list item to silence
 656 |             Future<Void, LittleBluetoothError> { [unowned self] promise in
     |                                                           |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
     |                                                           `- note: explicitly assign the capture list item to silence
 657 |                 self.cbCentral.stopScan()
 658 |                 self.scanning?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueTooth/LittleBlueTooth.swift:975:69: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 972 |
 973 |         let futKey = UUID()
 974 |         let future = Deferred {
     |                               |- note: 'self' implicitly strongly captured here
     |                               `- note: add 'self' as a capture list item to silence
 975 |             Future<BluetoothState, LittleBluetoothError> { [unowned self] prom in
     |                                                                     |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
     |                                                                     `- note: explicitly assign the capture list item to silence
 976 |                 self.centralProxy.centralStatePublisher
 977 |                 .customPrint("[LBT] CentralStatePublisher", isEnabled: isLogEnabled)
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:34:10: warning: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' contains non-Sendable type 'CBUUID'
32 |     case couldNotConnectToPeripheral(PeripheralIdentifier, Error?)
33 |     case couldNotReadRSSI(Error)
34 |     case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
   |          `- warning: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' contains non-Sendable type 'CBUUID'
35 |     case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
36 |     case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
 83 |  */
 84 | NS_CLASS_AVAILABLE(10_7, 5_0)
 85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
    |                            `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
 86 |
 87 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:35:10: warning: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' contains non-Sendable type 'CBUUID'
33 |     case couldNotReadRSSI(Error)
34 |     case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
35 |     case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
   |          `- warning: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' contains non-Sendable type 'CBUUID'
36 |     case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
37 |     case emptyData
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
 83 |  */
 84 | NS_CLASS_AVAILABLE(10_7, 5_0)
 85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
    |                            `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
 86 |
 87 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:36:10: warning: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' contains non-Sendable type 'CBUUID'
34 |     case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
35 |     case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
36 |     case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
   |          `- warning: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' contains non-Sendable type 'CBUUID'
37 |     case emptyData
38 |     case couldNotConvertDataToRead(data: Data, type: String)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
 83 |  */
 84 | NS_CLASS_AVAILABLE(10_7, 5_0)
 85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
    |                            `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
 86 |
 87 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:34:10: warning: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' contains non-Sendable type 'CBUUID'
32 |     case couldNotConnectToPeripheral(PeripheralIdentifier, Error?)
33 |     case couldNotReadRSSI(Error)
34 |     case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
   |          `- warning: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' contains non-Sendable type 'CBUUID'
35 |     case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
36 |     case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
 83 |  */
 84 | NS_CLASS_AVAILABLE(10_7, 5_0)
 85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
    |                            `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
 86 |
 87 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:35:10: warning: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' contains non-Sendable type 'CBUUID'
33 |     case couldNotReadRSSI(Error)
34 |     case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
35 |     case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
   |          `- warning: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' contains non-Sendable type 'CBUUID'
36 |     case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
37 |     case emptyData
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
 83 |  */
 84 | NS_CLASS_AVAILABLE(10_7, 5_0)
 85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
    |                            `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
 86 |
 87 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:36:10: warning: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' contains non-Sendable type 'CBUUID'
34 |     case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
35 |     case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
36 |     case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
   |          `- warning: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' contains non-Sendable type 'CBUUID'
37 |     case emptyData
38 |     case couldNotConvertDataToRead(data: Data, type: String)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h:85:28: note: class 'CBUUID' does not conform to the 'Sendable' protocol
 83 |  */
 84 | NS_CLASS_AVAILABLE(10_7, 5_0)
 85 | CB_EXTERN_CLASS @interface CBUUID : NSObject <NSCopying>
    |                            `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
 86 |
 87 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Model/Peripheral.swift:152:71: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
149 |         } else {
150 |             let futKey = UUID()
151 |             let services = Deferred {
    |                                     |- note: 'self' implicitly strongly captured here
    |                                     `- note: add 'self' as a capture list item to silence
152 |                 Future<[CBService]?, LittleBluetoothError> { [unowned self, futKey] promise in
    |                                                                       |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                                       `- note: explicitly assign the capture list item to silence
153 |                     self.peripheralProxy.peripheralDiscoveredServicesPublisher
154 |                         .tryMap { (value) -> [CBService]? in
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Model/Peripheral.swift:233:73: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
230 |
231 |         let futKey = UUID()
232 |         let discovery = Deferred {
    |                                  |- note: 'self' implicitly strongly captured here
    |                                  `- note: add 'self' as a capture list item to silence
233 |             Future<[CBCharacteristic], LittleBluetoothError> { [unowned self, futKey] promise in
    |                                                                         |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                                         `- note: explicitly assign the capture list item to silence
234 |                 self.getService(serviceUUID: serviceUUID)
235 |                     .customPrint("[LBT] Discover service", isEnabled: isLogEnabled)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Model/Peripheral.swift:282:58: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
279 |     func readRSSI() -> AnyPublisher<Int, LittleBluetoothError> {
280 |         let futKey = UUID()
281 |         let readRSSI = Deferred {
    |                                 |- note: 'self' implicitly strongly captured here
    |                                 `- note: add 'self' as a capture list item to silence
282 |             Future<Int, LittleBluetoothError> { [unowned self, futKey] promise in
    |                                                          |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                          `- note: explicitly assign the capture list item to silence
283 |                 peripheralProxy.peripheralRSSIPublisher
284 |                     .tryMap { (value) -> Int in
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Model/Peripheral.swift:319:60: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
316 |     func read(from charateristicUUID: CBUUID, of serviceUUID: CBUUID) -> AnyPublisher<Data?, LittleBluetoothError> {
317 |         let futKey = UUID()
318 |         let read = Deferred {
    |                             |- note: 'self' implicitly strongly captured here
    |                             `- note: add 'self' as a capture list item to silence
319 |             Future<Data?, LittleBluetoothError> { [unowned self, futKey] promise in
    |                                                            |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                            `- note: explicitly assign the capture list item to silence
320 |                 discoverCharacteristics([charateristicUUID], fromService: serviceUUID)
321 |                     .flatMap { characteristics -> AnyPublisher<CBCharacteristic, LittleBluetoothError> in
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Model/Peripheral.swift:368:71: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
365 |
366 |         let futKey = UUID()
367 |         let write = Deferred {
    |                              |- note: 'self' implicitly strongly captured here
    |                              `- note: add 'self' as a capture list item to silence
368 |             Future<CBCharacteristic, LittleBluetoothError> { [unowned self, futKey] promise in
    |                                                                       |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                                       `- note: explicitly assign the capture list item to silence
369 |                 discoverCharacteristics([charateristicUUID], fromService: serviceUUID)
370 |                     .flatMap { characteristics -> AnyPublisher<CBCharacteristic, LittleBluetoothError> in
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Model/Peripheral.swift:431:71: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
428 |
429 |         let futKey = UUID()
430 |         let notifyStart = Deferred {
    |                                    |- note: 'self' implicitly strongly captured here
    |                                    `- note: add 'self' as a capture list item to silence
431 |             Future<CBCharacteristic, LittleBluetoothError> { [unowned self, futKey] promise in
    |                                                                       |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                                       `- note: explicitly assign the capture list item to silence
432 |                 discoverCharacteristics([charateristicUUID], fromService: serviceUUID)
433 |                     .flatMap { characteristics -> AnyPublisher<CBCharacteristic, LittleBluetoothError> in
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Model/Peripheral.swift:479:71: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
476 |     func stopListen(from charateristicUUID: CBUUID, of serviceUUID: CBUUID) -> AnyPublisher<CBCharacteristic, LittleBluetoothError> {
477 |         let futKey = UUID()
478 |         let notifyStop = Deferred {
    |                                   |- note: 'self' implicitly strongly captured here
    |                                   `- note: add 'self' as a capture list item to silence
479 |             Future<CBCharacteristic, LittleBluetoothError> { [unowned self, futKey] promise in
    |                                                                       |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                                       `- note: explicitly assign the capture list item to silence
480 |                 discoverCharacteristics([charateristicUUID], fromService: serviceUUID)
481 |                     .flatMap { characteristics -> AnyPublisher<CBCharacteristic, LittleBluetoothError> in
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Model/Peripheral.swift:527:60: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
524 |
525 |         let futKey = UUID()
526 |         let writeListen = Deferred {
    |                                    |- note: 'self' implicitly strongly captured here
    |                                    `- note: add 'self' as a capture list item to silence
527 |             Future<Data?, LittleBluetoothError> { [unowned self, futKey] promise in
    |                                                            |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                            `- note: explicitly assign the capture list item to silence
528 |                 startListen(from: charateristicUUID, of: serviceUUID)
529 |                     .flatMap { (_) -> AnyPublisher<CBCharacteristic, LittleBluetoothError> in
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/LittleBlueTooth.swift:656:59: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 653 |     /// - returns: A publisher when discovery has been stopped
 654 |     public func stopDiscovery() -> AnyPublisher<Void, LittleBluetoothError> {
 655 |         return Deferred {
     |                         |- note: 'self' implicitly strongly captured here
     |                         `- note: add 'self' as a capture list item to silence
 656 |             Future<Void, LittleBluetoothError> { [unowned self] promise in
     |                                                           |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
     |                                                           `- note: explicitly assign the capture list item to silence
 657 |                 self.cbCentral.stopScan()
 658 |                 self.scanning?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/LittleBlueTooth.swift:975:69: warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 972 |
 973 |         let futKey = UUID()
 974 |         let future = Deferred {
     |                               |- note: 'self' implicitly strongly captured here
     |                               `- note: add 'self' as a capture list item to silence
 975 |             Future<BluetoothState, LittleBluetoothError> { [unowned self] prom in
     |                                                                     |- warning: 'unowned' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
     |                                                                     `- note: explicitly assign the capture list item to silence
 976 |                 self.centralProxy.centralStatePublisher
 977 |                 .customPrint("[LBT] CentralStatePublisher", isEnabled: isLogEnabled)
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "ios-corebluetooth-mock",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.18.0",
            "upper_bound" : "0.19.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git"
    }
  ],
  "manifest_display_name" : "LittleBlueTooth",
  "name" : "LittleBlueTooth",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "LittleBlueTooth",
      "targets" : [
        "LittleBlueTooth"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LittleBlueToothForTest",
      "targets" : [
        "LittleBlueToothForTest"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LittleBlueToothTests",
      "module_type" : "SwiftTarget",
      "name" : "LittleBlueToothTests",
      "path" : "Tests/LittleBlueToothTests",
      "product_dependencies" : [
        "CoreBluetoothMock"
      ],
      "sources" : [
        "ConnectionTest.swift",
        "CustomOperator.swift",
        "Extraction.swift",
        "ListenTest.swift",
        "LittleBlueToothTests.swift",
        "Mocks/MockPeripherals.swift",
        "ScanDiscoveryTest.swift",
        "StateRestoration.swift",
        "UtilityTest.swift",
        "WriteReadTest.swift",
        "WriteWithoutResponse.swift"
      ],
      "target_dependencies" : [
        "LittleBlueToothForTest"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LittleBlueToothForTest",
      "module_type" : "SwiftTarget",
      "name" : "LittleBlueToothForTest",
      "path" : "Sources/LittleBlueToothForTest",
      "product_dependencies" : [
        "CoreBluetoothMock"
      ],
      "product_memberships" : [
        "LittleBlueToothForTest"
      ],
      "sources" : [
        "Classes/CustomOperator/JustLittleBlueTooth.swift",
        "Classes/CustomOperator/Listen.swift",
        "Classes/CustomOperator/Log.swift",
        "Classes/CustomOperator/ReadAndWrite.swift",
        "Classes/CustomOperator/ScanAndConnection.swift",
        "Classes/Error/LittleBlueToothError.swift",
        "Classes/Extension/Helper.swift",
        "Classes/Model/AdvertisingData.swift",
        "Classes/Model/CentralRestorer.swift",
        "Classes/Model/LittleBlueToothCharacteristic.swift",
        "Classes/Model/LittleBluetoothConfiguration.swift",
        "Classes/Model/Loggable.swift",
        "Classes/Model/Peripheral.swift",
        "Classes/Model/PeripheralDiscovery.swift",
        "Classes/Proxies/CBCentralManagerDelegateProxy.swift",
        "Classes/Proxies/CBPeripheralProxy.swift",
        "Classes/Utilities/ShareAndReplayOperator/ReplaySubject.swift",
        "Classes/Utilities/ShareAndReplayOperator/ReplaySubjectSubscription.swift",
        "Classes/Utilities/ShareAndReplayOperator/ShareReplay.swift",
        "Classes/Utilities/Utilities.swift",
        "CoreBluetoothTypeAliases.swift",
        "LittleBlueTooth.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LittleBlueTooth",
      "module_type" : "SwiftTarget",
      "name" : "LittleBlueTooth",
      "path" : "Sources/LittleBlueTooth",
      "product_memberships" : [
        "LittleBlueTooth"
      ],
      "sources" : [
        "Classes/CustomOperator/JustLittleBlueTooth.swift",
        "Classes/CustomOperator/Listen.swift",
        "Classes/CustomOperator/Log.swift",
        "Classes/CustomOperator/ReadAndWrite.swift",
        "Classes/CustomOperator/ScanAndConnection.swift",
        "Classes/Error/LittleBlueToothError.swift",
        "Classes/Extension/Helper.swift",
        "Classes/Model/AdvertisingData.swift",
        "Classes/Model/CentralRestorer.swift",
        "Classes/Model/LittleBlueToothCharacteristic.swift",
        "Classes/Model/LittleBluetoothConfiguration.swift",
        "Classes/Model/Loggable.swift",
        "Classes/Model/Peripheral.swift",
        "Classes/Model/PeripheralDiscovery.swift",
        "Classes/Proxies/CBCentralManagerDelegateProxy.swift",
        "Classes/Proxies/CBPeripheralProxy.swift",
        "Classes/Utilities/ShareAndReplayOperator/ReplaySubject.swift",
        "Classes/Utilities/ShareAndReplayOperator/ReplaySubjectSubscription.swift",
        "Classes/Utilities/ShareAndReplayOperator/ShareReplay.swift",
        "Classes/Utilities/Utilities.swift",
        "CoreBluetoothTypeAliases.swift",
        "LittleBlueTooth.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:26:10: warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead [#DeprecatedDeclaration]
24 |     dependencies: [
25 |         // Dependencies declare other packages that this package depends on.
26 |         .package(name: "CoreBluetoothMock",
   |          `- warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead [#DeprecatedDeclaration]
27 |                  url: "https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git",
28 |                  .upToNextMinor(from: "0.18.0")),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Done.