Build Information
Failed to build LittleBlueTooth, reference master (46d950
), with Swift 6.0 for macOS (SPM) on 5 Jan 2025 16:36:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.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 46d9502 Merge branch 'develop'
Cloned https://github.com/DrAma999/LittleBlueTooth.git
Revision (git rev-parse @):
46d9502515f18001207121935d2ea1f659fc3e33
SUCCESS checkout https://github.com/DrAma999/LittleBlueTooth.git at master
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:26:10: warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead
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
27 | url: "https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git",
28 | .upToNextMinor(from: "0.18.0")),
Fetching https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
[1/5083] Fetching ios-corebluetooth-mock
Fetched https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git from cache (1.36s)
Computing version for https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Computed https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git at 0.18.0 (2.81s)
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
========================================
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": "littlebluetooth",
"name": "LittleBlueTooth",
"url": "https://github.com/DrAma999/LittleBlueTooth.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LittleBlueTooth",
"dependencies": [
{
"identity": "ios-corebluetooth-mock",
"name": "CoreBluetoothMock",
"url": "https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git",
"version": "0.18.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IOS-CoreBluetooth-Mock",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/DrAma999/LittleBlueTooth.git
[1/1786] Fetching littlebluetooth
Fetched https://github.com/DrAma999/LittleBlueTooth.git from cache (1.14s)
warning: 'littlebluetooth': /Package.swift:26:10: warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead
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
27 | url: "https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git",
28 | .upToNextMinor(from: "0.18.0")),
Fetching https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git from cache
Fetched https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git from cache (0.49s)
Computing version for https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Computed https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git at 0.18.0 (0.02s)
Creating working copy for https://github.com/DrAma999/LittleBlueTooth.git
Working copy of https://github.com/DrAma999/LittleBlueTooth.git resolved at master (46d9502)
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
warning: 'littlebluetooth': /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LittleBlueTooth/Package.swift:26:10: warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead
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
27 | url: "https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git",
28 | .upToNextMinor(from: "0.18.0")),
warning: '.resolve-product-dependencies': dependency 'littlebluetooth' is not used by any target
Found 1 product dependencies
- CoreBluetoothMock
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/DrAma999/LittleBlueTooth.git
https://github.com/DrAma999/LittleBlueTooth.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-5BDAB9E9C0126B9D.txt
[5/40] Compiling CoreBluetoothMock CBMPeripheralSpec.swift
[6/40] Compiling CoreBluetoothMock CBMPeripheralDelegate.swift
[7/41] Compiling CoreBluetoothMock CBMPeripheralSpecDelegate.swift
[8/41] Compiling CoreBluetoothMock CBMPeripheralDelegateProxy.swift
[9/41] Compiling LittleBlueTooth JustLittleBlueTooth.swift
[10/41] Compiling LittleBlueTooth Listen.swift
[11/41] Compiling LittleBlueTooth Log.swift
[12/41] Compiling LittleBlueTooth Helper.swift
[13/41] Compiling CoreBluetoothMock CBMCentralManagerNative.swift
[14/41] Compiling CoreBluetoothMock CBMManagerTypes.swift
[15/41] Emitting module CoreBluetoothMock
[16/41] Compiling CoreBluetoothMock CBMAttributes.swift
[17/41] Compiling CoreBluetoothMock CBMCentralManager.swift
[18/41] Compiling CoreBluetoothMock CBMCentralManagerDelegate.swift
[19/41] Compiling LittleBlueTooth ReadAndWrite.swift
[20/41] Compiling CoreBluetoothMock CBMPeripheralPreview.swift
[21/60] Compiling LittleBlueTooth ShareReplay.swift
[22/60] Compiling LittleBlueTooth Utilities.swift
[23/64] Compiling LittleBlueToothForTest ReplaySubject.swift
[24/64] Compiling LittleBlueToothForTest ReplaySubjectSubscription.swift
[25/64] Compiling LittleBlueToothForTest Peripheral.swift
[26/64] Compiling LittleBlueToothForTest PeripheralDiscovery.swift
[27/64] Compiling LittleBlueToothForTest CBCentralManagerDelegateProxy.swift
[28/64] Compiling LittleBlueToothForTest CBPeripheralProxy.swift
[29/64] Emitting module LittleBlueTooth
[30/64] Compiling LittleBlueToothForTest LittleBluetoothConfiguration.swift
[31/64] Compiling LittleBlueToothForTest Loggable.swift
[32/64] Compiling LittleBlueToothForTest CentralRestorer.swift
[33/64] Compiling LittleBlueToothForTest LittleBlueToothCharacteristic.swift
[34/64] Compiling LittleBlueToothForTest JustLittleBlueTooth.swift
[35/64] Compiling LittleBlueToothForTest Listen.swift
[36/64] Compiling LittleBlueToothForTest Log.swift
[37/64] Compiling LittleBlueToothForTest Helper.swift
[38/64] Compiling LittleBlueToothForTest AdvertisingData.swift
[39/64] Compiling LittleBlueToothForTest ReadAndWrite.swift
[40/64] Compiling LittleBlueToothForTest ScanAndConnection.swift
[41/64] Compiling LittleBlueToothForTest LittleBlueToothError.swift
[42/64] Compiling LittleBlueToothForTest ShareReplay.swift
[43/64] Compiling LittleBlueToothForTest Utilities.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/66] Emitting module LittleBlueToothForTest
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:34:10: error: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
32 | case couldNotConnectToPeripheral(PeripheralIdentifier, Error?)
33 | case couldNotReadRSSI(Error)
34 | case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
| `- error: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
35 | case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
36 | case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:35:10: error: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
33 | case couldNotReadRSSI(Error)
34 | case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
35 | case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
| `- error: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
36 | case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
37 | case emptyData
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:36:10: error: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has 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)
| `- error: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
37 | case emptyData
38 | case couldNotConvertDataToRead(data: Data, type: String)
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:34:10: error: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
32 | case couldNotConnectToPeripheral(PeripheralIdentifier, Error?)
33 | case couldNotReadRSSI(Error)
34 | case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
| `- error: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
35 | case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
36 | case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:35:10: error: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
33 | case couldNotReadRSSI(Error)
34 | case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
35 | case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
| `- error: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
36 | case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
37 | case emptyData
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:36:10: error: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has 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)
| `- error: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
37 | case emptyData
38 | case couldNotConvertDataToRead(data: Data, type: String)
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:34:10: error: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
32 | case couldNotConnectToPeripheral(PeripheralIdentifier, Error?)
33 | case couldNotReadRSSI(Error)
34 | case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
| `- error: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
35 | case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
36 | case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:35:10: error: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
33 | case couldNotReadRSSI(Error)
34 | case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
35 | case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
| `- error: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
36 | case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
37 | case emptyData
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:36:10: error: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has 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)
| `- error: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
37 | case emptyData
38 | case couldNotConvertDataToRead(data: Data, type: String)
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:34:10: error: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
32 | case couldNotConnectToPeripheral(PeripheralIdentifier, Error?)
33 | case couldNotReadRSSI(Error)
34 | case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
| `- error: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
35 | case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
36 | case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:35:10: error: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
33 | case couldNotReadRSSI(Error)
34 | case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
35 | case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
| `- error: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
36 | case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
37 | case emptyData
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:36:10: error: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has 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)
| `- error: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
37 | case emptyData
38 | case couldNotConvertDataToRead(data: Data, type: String)
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
[63/66] Compiling LittleBlueToothForTest CoreBluetoothTypeAliases.swift
[64/66] Compiling LittleBlueToothForTest LittleBlueTooth.swift
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:26:10: warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead
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
27 | url: "https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git",
28 | .upToNextMinor(from: "0.18.0")),
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/37] Compiling LittleBlueTooth LittleBluetoothConfiguration.swift
[3/37] Compiling LittleBlueTooth Loggable.swift
[4/39] Compiling CoreBluetoothMock CBMPeripheralDelegateProxy.swift
[5/39] Compiling CoreBluetoothMock CBMPeripheralSpec.swift
[6/39] Compiling CoreBluetoothMock CBMPeripheralPreview.swift
[7/39] Compiling LittleBlueTooth CentralRestorer.swift
[8/39] Compiling LittleBlueTooth LittleBlueToothCharacteristic.swift
[9/39] Compiling CoreBluetoothMock CBMPeripheralDelegate.swift
[10/40] Emitting module LittleBlueTooth
[11/40] Compiling LittleBlueTooth JustLittleBlueTooth.swift
[12/40] Compiling LittleBlueTooth Listen.swift
[13/40] Compiling LittleBlueTooth Log.swift
[14/40] Compiling CoreBluetoothMock CBMCentralManagerNative.swift
[15/40] Compiling CoreBluetoothMock CBMManagerTypes.swift
[16/40] Compiling CoreBluetoothMock CBMAttributes.swift
[19/40] Compiling LittleBlueTooth CBCentralManagerDelegateProxy.swift
[20/40] Compiling LittleBlueTooth CBPeripheralProxy.swift
[21/40] Compiling LittleBlueTooth ReplaySubject.swift
[22/40] Compiling LittleBlueTooth ReplaySubjectSubscription.swift
[23/40] Compiling LittleBlueTooth ShareReplay.swift
[24/40] Compiling LittleBlueTooth Utilities.swift
[25/40] Compiling LittleBlueTooth Helper.swift
[26/40] Compiling LittleBlueTooth AdvertisingData.swift
[27/40] Compiling LittleBlueTooth Peripheral.swift
[28/40] Compiling LittleBlueTooth PeripheralDiscovery.swift
[29/40] Compiling CoreBluetoothMock CBMPeripheralSpecDelegate.swift
[30/40] Compiling LittleBlueTooth CoreBluetoothTypeAliases.swift
[31/40] Compiling LittleBlueTooth LittleBlueTooth.swift
[36/40] Emitting module CoreBluetoothMock
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/61] Emitting module LittleBlueToothForTest
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:34:10: error: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
32 | case couldNotConnectToPeripheral(PeripheralIdentifier, Error?)
33 | case couldNotReadRSSI(Error)
34 | case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
| `- error: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
35 | case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
36 | case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:35:10: error: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
33 | case couldNotReadRSSI(Error)
34 | case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
35 | case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
| `- error: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
36 | case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
37 | case emptyData
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:36:10: error: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has 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)
| `- error: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
37 | case emptyData
38 | case couldNotConvertDataToRead(data: Data, type: String)
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
[42/63] Compiling LittleBlueToothForTest ShareReplay.swift
[43/63] Compiling LittleBlueToothForTest Utilities.swift
[44/63] Compiling LittleBlueToothForTest ReplaySubject.swift
[45/63] Compiling LittleBlueToothForTest ReplaySubjectSubscription.swift
[46/63] Compiling LittleBlueToothForTest LittleBluetoothConfiguration.swift
[47/63] Compiling LittleBlueToothForTest Loggable.swift
[48/63] Compiling LittleBlueToothForTest Helper.swift
[49/63] Compiling LittleBlueToothForTest AdvertisingData.swift
[50/63] Compiling LittleBlueToothForTest ReadAndWrite.swift
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:34:10: error: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
32 | case couldNotConnectToPeripheral(PeripheralIdentifier, Error?)
33 | case couldNotReadRSSI(Error)
34 | case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
| `- error: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
35 | case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
36 | case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:35:10: error: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
33 | case couldNotReadRSSI(Error)
34 | case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
35 | case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
| `- error: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
36 | case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
37 | case emptyData
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:36:10: error: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has 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)
| `- error: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
37 | case emptyData
38 | case couldNotConvertDataToRead(data: Data, type: String)
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
[51/63] Compiling LittleBlueToothForTest ScanAndConnection.swift
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:34:10: error: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
32 | case couldNotConnectToPeripheral(PeripheralIdentifier, Error?)
33 | case couldNotReadRSSI(Error)
34 | case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
| `- error: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
35 | case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
36 | case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:35:10: error: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
33 | case couldNotReadRSSI(Error)
34 | case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
35 | case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
| `- error: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
36 | case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
37 | case emptyData
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:36:10: error: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has 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)
| `- error: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
37 | case emptyData
38 | case couldNotConvertDataToRead(data: Data, type: String)
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
[52/63] Compiling LittleBlueToothForTest LittleBlueToothError.swift
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:34:10: error: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
32 | case couldNotConnectToPeripheral(PeripheralIdentifier, Error?)
33 | case couldNotReadRSSI(Error)
34 | case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
| `- error: associated value 'couldNotReadFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
35 | case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
36 | case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:35:10: error: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
33 | case couldNotReadRSSI(Error)
34 | case couldNotReadFromCharacteristic(characteristic: CBUUID, error: Error)
35 | case couldNotWriteFromCharacteristic(characteristic: CBUUID, error: Error)
| `- error: associated value 'couldNotWriteFromCharacteristic(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
36 | case couldNotUpdateListenState(characteristic: CBUUID, error: Error)
37 | case emptyData
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/LittleBlueToothForTest/Classes/Error/LittleBlueToothError.swift:36:10: error: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has 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)
| `- error: associated value 'couldNotUpdateListenState(characteristic:error:)' of 'Sendable'-conforming enum 'LittleBluetoothError' has non-sendable type 'CBUUID'
37 | case emptyData
38 | case couldNotConvertDataToRead(data: Data, type: String)
CoreBluetooth.CBUUID:2:12: note: class 'CBUUID' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBUUID : NSObject, NSCopying {
| `- note: class 'CBUUID' does not conform to the 'Sendable' protocol
3 | open var data: Data { get }
4 | @available(macOS 10.10, *)
[53/63] Compiling LittleBlueToothForTest CBCentralManagerDelegateProxy.swift
[54/63] Compiling LittleBlueToothForTest CBPeripheralProxy.swift
[55/63] Compiling LittleBlueToothForTest CentralRestorer.swift
[56/63] Compiling LittleBlueToothForTest LittleBlueToothCharacteristic.swift
[57/63] Compiling LittleBlueToothForTest JustLittleBlueTooth.swift
[58/63] Compiling LittleBlueToothForTest Listen.swift
[59/63] Compiling LittleBlueToothForTest Log.swift
[60/63] Compiling LittleBlueToothForTest Peripheral.swift
[61/63] Compiling LittleBlueToothForTest PeripheralDiscovery.swift
[62/63] Compiling LittleBlueToothForTest CoreBluetoothTypeAliases.swift
[63/63] Compiling LittleBlueToothForTest LittleBlueTooth.swift
BUILD FAILURE 6.0 macosSpm