The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LittleBlueTooth, reference master (b8be23), with Swift 6.0 for macOS (SPM) on 30 Mar 2026 20:10:26 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
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.0
Building package at path:  $PWD
https://github.com/DrAma999/LittleBlueTooth.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-5BDAB9E9C0126B9D.txt
[5/40] Emitting module LittleBlueTooth
[6/42] Compiling CoreBluetoothMock CBMPeripheralPreview.swift
[7/43] Compiling LittleBlueTooth ShareReplay.swift
[8/43] Compiling LittleBlueTooth Utilities.swift
[9/43] Compiling LittleBlueTooth ReplaySubject.swift
[10/43] Compiling LittleBlueTooth ReplaySubjectSubscription.swift
[11/43] Compiling CoreBluetoothMock CBMCentralManagerNative.swift
[12/43] Compiling CoreBluetoothMock CBMManagerTypes.swift
[13/43] Compiling CoreBluetoothMock CBMPeripheralDelegate.swift
[14/43] Compiling CoreBluetoothMock CBMPeer.swift
[15/43] Compiling CoreBluetoothMock CBMPeripheral.swift
[16/43] Compiling CoreBluetoothMock CBMPeripheralDelegateProxy.swift
[17/43] Compiling LittleBlueTooth JustLittleBlueTooth.swift
[18/43] Compiling LittleBlueTooth Listen.swift
[19/43] Compiling LittleBlueTooth Log.swift
[20/43] Compiling LittleBlueTooth CentralRestorer.swift
[21/43] Compiling CoreBluetoothMock CBMCentralManagerFactory.swift
[22/43] Compiling CoreBluetoothMock CBMCentralManagerMock.swift
[23/43] Emitting module CoreBluetoothMock
[24/43] Compiling CoreBluetoothMock CBMPeripheralSpec.swift
[30/43] Compiling LittleBlueTooth Peripheral.swift
[31/43] Compiling LittleBlueTooth PeripheralDiscovery.swift
[35/43] Compiling LittleBlueTooth LittleBluetoothConfiguration.swift
[36/43] Compiling LittleBlueTooth Loggable.swift
[39/43] Compiling LittleBlueTooth CBCentralManagerDelegateProxy.swift
[40/43] Compiling LittleBlueTooth CBPeripheralProxy.swift
[41/43] Compiling LittleBlueTooth CoreBluetoothTypeAliases.swift
[42/43] Compiling LittleBlueTooth LittleBlueTooth.swift
[43/43] Compiling CoreBluetoothMock CBMPeripheralSpecDelegate.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/64] 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, *)
[45/66] Compiling LittleBlueToothForTest JustLittleBlueTooth.swift
[46/66] Compiling LittleBlueToothForTest Listen.swift
[47/66] Compiling LittleBlueToothForTest Log.swift
[48/66] Compiling LittleBlueToothForTest CentralRestorer.swift
[49/66] Compiling LittleBlueToothForTest LittleBlueToothCharacteristic.swift
[50/66] Compiling LittleBlueToothForTest CBCentralManagerDelegateProxy.swift
[51/66] Compiling LittleBlueToothForTest CBPeripheralProxy.swift
[52/66] Compiling LittleBlueToothForTest ReplaySubject.swift
[53/66] Compiling LittleBlueToothForTest ReplaySubjectSubscription.swift
[54/66] Compiling LittleBlueToothForTest Peripheral.swift
[55/66] Compiling LittleBlueToothForTest PeripheralDiscovery.swift
[56/66] Compiling LittleBlueToothForTest Helper.swift
[57/66] Compiling LittleBlueToothForTest AdvertisingData.swift
[58/66] Compiling LittleBlueToothForTest ShareReplay.swift
[59/66] Compiling LittleBlueToothForTest Utilities.swift
[60/66] Compiling LittleBlueToothForTest LittleBluetoothConfiguration.swift
[61/66] Compiling LittleBlueToothForTest Loggable.swift
[62/66] 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, *)
[63/66] 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, *)
[64/66] 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, *)
[65/66] Compiling LittleBlueToothForTest CoreBluetoothTypeAliases.swift
[66/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")),
Fetching https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
[1/7168] Fetching ios-corebluetooth-mock
Fetched https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git from cache (1.61s)
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.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
BUILD FAILURE 6.0 macosSpm