Skip to content

Support Strict Concurrency #79

Support Strict Concurrency

Support Strict Concurrency #79

Triggered via pull request August 12, 2024 07:43
Status Failure
Total duration 11m 15s
Artifacts 2

build-and-test.yml

on: pull_request
Build and Test Swift Package  /  Test using xcodebuild or run fastlane
47s
Build and Test Swift Package / Test using xcodebuild or run fastlane
Build and Test UI Tests  /  Test using xcodebuild or run fastlane
11m 8s
Build and Test UI Tests / 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

4 errors and 17 warnings
Build and Test Swift Package / Test using xcodebuild or run fastlane: Tests/SpeziHealthKitTests/SpeziHealthKitTests.swift#L34
main actor-isolated property 'authorized' can not be referenced from a non-isolated autoclosure
Build and Test Swift Package / Test using xcodebuild or run fastlane: Tests/SpeziHealthKitTests/SpeziHealthKitTests.swift#L45
main actor-isolated property 'authorized' can not be referenced from a non-isolated autoclosure
Build and Test Swift Package / Test using xcodebuild or run fastlane: Tests/SpeziHealthKitTests/SpeziHealthKitTests.swift#L56
main actor-isolated property 'authorized' can not be referenced from a non-isolated autoclosure
Build and Test Swift Package / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test Swift Package / Test using xcodebuild or run fastlane: Sources/SpeziHealthKit/Logging/Logger+HealthKit.swift#L14
static property 'healthKit' 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 / Test using xcodebuild or run fastlane: Sources/SpeziHealthKit/Logging/Logger+HealthKit.swift#L14
static property 'healthKit' 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 / Test using xcodebuild or run fastlane: Sources/SpeziHealthKit/Logging/Logger+HealthKit.swift#L14
static property 'healthKit' 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 / Test using xcodebuild or run fastlane: Sources/SpeziHealthKit/HealthKit.swift#L193
passing argument of non-sendable type 'inout TaskGroup<Void>' outside of main actor-isolated context may introduce data races
Build and Test Swift Package / Test using xcodebuild or run fastlane: Sources/SpeziHealthKit/Logging/Logger+HealthKit.swift#L14
static property 'healthKit' 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 / Test using xcodebuild or run fastlane: Tests/SpeziHealthKitTests/SpeziHealthKitTests.swift#L20
main actor-isolated default value in a nonisolated context; this is an error in Swift 6
Build and Test Swift Package / Test using xcodebuild or run fastlane: Tests/SpeziHealthKitTests/SpeziHealthKitTests.swift#L20
main actor-isolated default value in a nonisolated context; this is an error in Swift 6
Build and Test UI Tests / Test using xcodebuild or run fastlane: Sources/SpeziHealthKit/Logging/Logger+HealthKit.swift#L14
static property 'healthKit' 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 UI Tests / Test using xcodebuild or run fastlane: Sources/SpeziHealthKit/Logging/Logger+HealthKit.swift#L14
static property 'healthKit' 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 UI Tests / Test using xcodebuild or run fastlane: Sources/SpeziHealthKit/Logging/Logger+HealthKit.swift#L14
static property 'healthKit' 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 UI Tests / Test using xcodebuild or run fastlane: Sources/SpeziHealthKit/HealthKit.swift#L193
passing argument of non-sendable type 'inout TaskGroup<Void>' outside of main actor-isolated context may introduce data races
Build and Test UI Tests / Test using xcodebuild or run fastlane: Sources/SpeziHealthKit/Logging/Logger+HealthKit.swift#L14
static property 'healthKit' 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 UI Tests / Test using xcodebuild or run fastlane: Tests/UITests/TestApp/HealthKitStore.swift#L22
reference to static property 'arguments' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
Build and Test UI Tests / Test using xcodebuild or run fastlane: Tests/UITests/TestApp/HealthKitTestAppStandard.swift#L16
'init()' is deprecated: Please explicitly specify the Module type.
Build and Test UI Tests / Test using xcodebuild or run fastlane: Tests/UITests/TestApp/HealthKitTestAppStandard.swift#L16
'init()' is deprecated: Please explicitly specify the Module type.
Build and Test UI Tests / Test using xcodebuild or run fastlane: Tests/UITests/TestApp/HealthKitTestAppStandard.swift#L20
passing argument of non-sendable type 'HealthKitStore' into main actor-isolated context may introduce data races
Build and Test UI Tests / Test using xcodebuild or run fastlane: Tests/UITests/TestApp/HealthKitTestAppStandard.swift#L24
passing argument of non-sendable type 'HealthKitStore' into main actor-isolated context may introduce data races

Artifacts

Produced during runtime
Name Size
SpeziHealthKit.xcresult Expired
71 KB
TestApp.xcresult Expired
1.44 MB