Skip to content

Peripheral discovery as async operations #338

Peripheral discovery as async operations

Peripheral discovery as async operations #338

Triggered via pull request August 14, 2024 08:48
Status Failure
Total duration 2m 20s
Artifacts 5

build-and-test.yml

on: pull_request
Build and Test Swift Package iOS  /  Test using xcodebuild or run fastlane
1m 6s
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane
Build and Test iOS  /  Test using xcodebuild or run fastlane
1m 9s
Build and Test iOS / Test using xcodebuild or run fastlane
Build and Test macOS  /  Test using xcodebuild or run fastlane
1m 21s
Build and Test macOS / Test using xcodebuild or run fastlane
Build and Test Swift Package iOS Latest  /  Test using xcodebuild or run fastlane
1m 33s
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane
Build and Test iOS Latest  /  Test using xcodebuild or run fastlane
2m 10s
Build and Test iOS Latest / Test using xcodebuild or run fastlane
Upload Coverage Report  /  ...  /  Create and upload coverage report
Upload Coverage Report / Create and upload coverage report / Create and upload coverage report
Fit to window
Zoom out
Zoom in

Annotations

29 errors, 46 warnings, and 3 notices
Build and Test iOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test macOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/BluetoothPeripheral.swift#L849
incorrect argument label in call (have 'with:', expected 'throwing:')
Build and Test macOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/BluetoothPeripheral.swift#L849
argument type 'Result<Int, any Error>' does not conform to expected type 'Error'
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/Bluetooth.swift#L240
static property 'logger' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/Model/BluetoothManagerStorage.swift#L19
stored property '_discoveredPeripherals' of 'Sendable'-conforming class 'BluetoothManagerStorage' is mutable
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/Model/OnChangeRegistration.swift#L20
stored property 'peripheral' of 'Sendable'-conforming class 'OnChangeRegistration' is mutable
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/Model/PropertySupport/DeviceStatePeripheralInjection.swift#L21
non-sendable type 'DeviceState<Value>.KeyPathType' (aka 'KeyPath<BluetoothPeripheral, Value>') in asynchronous access to global actor 'SpeziBluetooth'-isolated property 'accessKeyPath' cannot cross actor boundary
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/Model/PropertySupport/DeviceStatePeripheralInjection.swift#L63
non-sendable type 'DeviceState<Value>.KeyPathType' (aka 'KeyPath<BluetoothPeripheral, Value>') in asynchronous access to global actor 'SpeziBluetooth'-isolated property 'accessKeyPath' cannot cross actor boundary
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/Model/PropertySupport/DeviceStateTestInjections.swift#L14
stored property '_subscriptions' of 'Sendable'-conforming generic class 'DeviceStateTestInjections' is mutable
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/Model/Properties/DeviceState.swift#L97
stored property 'keyPath' of 'Sendable'-conforming class 'Storage' has non-sendable type 'DeviceState<Value>.KeyPathType' (aka 'KeyPath<BluetoothPeripheral, Value>')
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/Bluetooth.swift#L240
static property 'logger' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/Model/PropertySupport/CharacteristicTestInjections.swift#L13
stored property '_writeClosure' of 'Sendable'-conforming generic class 'CharacteristicTestInjections' is mutable
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/Model/PropertySupport/DeviceActionTestInjections.swift#L13
stored property '_injectedClosure' of 'Sendable'-conforming generic class 'DeviceActionTestInjections' is mutable
Build and Test iOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/Bluetooth.swift#L240
static property 'logger' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
Build and Test iOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/Model/BluetoothManagerStorage.swift#L19
stored property '_discoveredPeripherals' of 'Sendable'-conforming class 'BluetoothManagerStorage' is mutable
Build and Test iOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/Model/OnChangeRegistration.swift#L20
stored property 'peripheral' of 'Sendable'-conforming class 'OnChangeRegistration' is mutable
Build and Test iOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/Model/Properties/Characteristic.swift#L185
'nonisolated' is redundant on struct's stored properties; this is an error in Swift 6
Build and Test iOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/Model/Properties/Characteristic.swift#L185
stored property 'characteristic' of 'Sendable'-conforming struct 'CharacteristicCaptureRetrieval' has non-sendable type 'GATTCharacteristic'
Build and Test iOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/Model/Properties/Characteristic.swift#L196
stored property '_value' of 'Sendable'-conforming class 'State' is mutable
Build and Test macOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/Bluetooth.swift#L240
static property 'logger' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
Build and Test macOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/BluetoothManager.swift#L526
capture of 'logger' with non-sendable type 'Logger' in a `@Sendable` closure
Build and Test macOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/BluetoothManager.swift#L619
capture of 'logger' with non-sendable type 'Logger' in a `@Sendable` closure
Build and Test macOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/BluetoothManager.swift#L676
capture of 'logger' with non-sendable type 'Logger' in a `@Sendable` closure
Build and Test macOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/BluetoothManager.swift#L703
capture of 'logger' with non-sendable type 'Logger' in a `@Sendable` closure
Build and Test macOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/BluetoothManager.swift#L728
capture of 'logger' with non-sendable type 'Logger' in a `@Sendable` closure
Build and Test macOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/BluetoothManager.swift#L755
capture of 'logger' with non-sendable type 'Logger' in a `@Sendable` closure
Build and Test macOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/BluetoothPeripheral.swift#L302
passing argument of non-sendable type 'inout ThrowingTaskGroup<Void, any Error>' outside of global actor 'SpeziBluetooth'-isolated context may introduce data races
Build and Test macOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/BluetoothPeripheral.swift#L1020
capture of 'logger' with non-sendable type 'Logger' in a `@Sendable` closure
Build and Test macOS / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/Model/BluetoothManagerStorage.swift#L19
stored property '_discoveredPeripherals' of 'Sendable'-conforming class 'BluetoothManagerStorage' is mutable
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/Utilities/SpeziBluetoothActor.swift#L14
static property 'key' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<SpeziBluetoothDispatchQueueKey>' may have shared mutable state; this is an error in the Swift 6 language mode
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: <unknown>#L1
pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: <unknown>#L1
pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: <unknown>#L1
pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: <unknown>#L1
pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: <unknown>#L1
pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: <unknown>#L1
pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: <unknown>#L1
pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: <unknown>#L1
pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
Build and Test iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/Utilities/SpeziBluetoothActor.swift#L14
static property 'key' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<SpeziBluetoothDispatchQueueKey>' may have shared mutable state; this is an error in the Swift 6 language mode
Build and Test iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziBluetooth/CoreBluetooth/Utilities/SpeziBluetoothActor.swift#L9
add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
Build and Test iOS Latest / Test using xcodebuild or run fastlane: <unknown>#L1
pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
Build and Test iOS Latest / Test using xcodebuild or run fastlane: <unknown>#L1
pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
Build and Test iOS Latest / Test using xcodebuild or run fastlane: <unknown>#L1
pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
Build and Test iOS Latest / Test using xcodebuild or run fastlane: <unknown>#L1
pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
Build and Test iOS Latest / Test using xcodebuild or run fastlane: <unknown>#L1
pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
Build and Test iOS Latest / Test using xcodebuild or run fastlane: <unknown>#L1
pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
Build and Test iOS Latest / Test using xcodebuild or run fastlane: <unknown>#L1
pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
Build and Test iOS Latest / Test using xcodebuild or run fastlane: <unknown>#L1
pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
Build and Test iOS Latest / Test using xcodebuild or run fastlane
Skipped TestAppUITests.BluetoothManagerTests.testSpeziBluetooth
Build and Test iOS Latest / Test using xcodebuild or run fastlane
Skipped TestAppUITests.SpeziBluetoothTests.testPairedDevice
Build and Test iOS Latest / Test using xcodebuild or run fastlane
Skipped TestAppUITests.SpeziBluetoothTests.testTestPeripheral

Artifacts

Produced during runtime
Name Size
SpeziBluetooth-Package-Latest.xcresult Expired
342 KB
SpeziBluetooth-Package.xcresult Expired
150 KB
TestApp-iOS-Latest.xcresult Expired
329 KB
TestApp-iOS.xcresult Expired
159 KB
TestApp-macOS.xcresult Expired
131 KB