Skip to content

Swift 6 compatibility #680

Swift 6 compatibility

Swift 6 compatibility #680

Triggered via pull request July 10, 2024 10:55
Status Success
Total duration 10m 4s
Artifacts 7

build-and-test.yml

on: pull_request
Build and Test Swift Package iOS  /  Test using xcodebuild or run fastlane
3m 40s
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane
Build and Test Swift Package watchOS  /  Test using xcodebuild or run fastlane
1m 45s
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane
Build and Test Swift Package visionOS  /  Test using xcodebuild or run fastlane
1m 58s
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane
Build and Test Swift Package tvOS  /  Test using xcodebuild or run fastlane
2m 24s
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane
Build and Test Swift Package macOS  /  Test using xcodebuild or run fastlane
1m 39s
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane
Build and Test UI Tests iOS  /  Test using xcodebuild or run fastlane
3m 43s
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
Build and Test UI Tests visionOS  /  Test using xcodebuild or run fastlane
3m 1s
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane
Upload Coverage Report  /  ...  /  Create and upload coverage report
3m 6s
Upload Coverage Report / Create and upload coverage report / Create and upload coverage report
Fit to window
Zoom out
Zoom in

Annotations

71 warnings and 7 notices
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Notifications/RegisterRemoteNotificationsAction.swift#L19
stored property 'continuation' of 'Sendable'-conforming class 'RemoteNotificationContinuation' is mutable
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L123
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 visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type 'any NotificationHandler' outside of main actor-isolated context may introduce data races
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type '[AnyHashable : Any]' outside of main actor-isolated context may introduce data races
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type '[AnyHashable : Any]' outside of main actor-isolated context may introduce data races
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L175
passing argument of non-sendable type 'inout TaskGroup<BackgroundFetchResult>' (aka 'inout TaskGroup<UIBackgroundFetchResult>') outside of main actor-isolated context may introduce data races
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L25
passing argument of non-sendable type 'any NotificationHandler' outside of main actor-isolated context may introduce data races
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L29
passing argument of non-sendable type 'inout TaskGroup<Void>' outside of main actor-isolated context may introduce data races
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L46
passing argument of non-sendable type 'any NotificationHandler' outside of main actor-isolated context may introduce data races
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Notifications/RegisterRemoteNotificationsAction.swift#L19
stored property 'continuation' of 'Sendable'-conforming class 'RemoteNotificationContinuation' is mutable
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L123
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 tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type 'any NotificationHandler' outside of main actor-isolated context may introduce data races
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type '[AnyHashable : Any]' outside of main actor-isolated context may introduce data races
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type '[AnyHashable : Any]' outside of main actor-isolated context may introduce data races
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L175
passing argument of non-sendable type 'inout TaskGroup<BackgroundFetchResult>' (aka 'inout TaskGroup<UIBackgroundFetchResult>') outside of main actor-isolated context may introduce data races
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L46
passing argument of non-sendable type 'any NotificationHandler' outside of main actor-isolated context may introduce data races
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L53
passing argument of non-sendable type 'inout TaskGroup<UNNotificationPresentationOptions?>' outside of main actor-isolated context may introduce data races
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L123
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/Spezi/Capabilities/Notifications/RegisterRemoteNotificationsAction.swift#L19
stored property 'continuation' of 'Sendable'-conforming class 'RemoteNotificationContinuation' is mutable
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L123
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/Spezi/Capabilities/Notifications/RegisterRemoteNotificationsAction.swift#L19
stored property 'continuation' of 'Sendable'-conforming class 'RemoteNotificationContinuation' is mutable
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type 'any NotificationHandler' outside of main actor-isolated context may introduce data races
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type '[AnyHashable : Any]' outside of main actor-isolated context may introduce data races
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type '[AnyHashable : Any]' outside of main actor-isolated context may introduce data races
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L175
passing argument of non-sendable type 'inout TaskGroup<BackgroundFetchResult>' (aka 'inout TaskGroup<UIBackgroundFetchResult>') outside of main actor-isolated context may introduce data races
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L25
passing argument of non-sendable type 'any NotificationHandler' outside of main actor-isolated context may introduce data races
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L29
passing argument of non-sendable type 'inout TaskGroup<Void>' outside of main actor-isolated context may introduce data races
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Notifications/RegisterRemoteNotificationsAction.swift#L19
stored property 'continuation' of 'Sendable'-conforming class 'RemoteNotificationContinuation' is mutable
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L123
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 macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Notifications/RegisterRemoteNotificationsAction.swift#L19
stored property 'continuation' of 'Sendable'-conforming class 'RemoteNotificationContinuation' is mutable
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: @__swiftmacro_5SpeziAAC7storage18ObservationTrackedfMp_.swift#L4
stored property '_storage' of 'Sendable'-conforming class 'Spezi' is mutable
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L123
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 macOS / Test using xcodebuild or run fastlane: @__swiftmacro_5SpeziAAC7storage18ObservationTrackedfMp_.swift#L4
stored property '_storage' of 'Sendable'-conforming class 'Spezi' is mutable
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: @__swiftmacro_5SpeziAAC7storage18ObservationTrackedfMp_.swift#L4
stored property '_storage' of 'Sendable'-conforming class 'Spezi' is mutable
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L25
passing argument of non-sendable type 'any NotificationHandler' outside of main actor-isolated context may introduce data races
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L29
passing argument of non-sendable type 'inout TaskGroup<Void>' outside of main actor-isolated context may introduce data races
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Notifications/RegisterRemoteNotificationsAction.swift#L19
stored property 'continuation' of 'Sendable'-conforming class 'RemoteNotificationContinuation' is mutable
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L123
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 watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type 'any NotificationHandler' outside of main actor-isolated context may introduce data races
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type '[AnyHashable : Any]' outside of main actor-isolated context may introduce data races
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type '[AnyHashable : Any]' outside of main actor-isolated context may introduce data races
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L175
passing argument of non-sendable type 'inout TaskGroup<BackgroundFetchResult>' (aka 'inout TaskGroup<WKBackgroundFetchResult>') outside of main actor-isolated context may introduce data races
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L25
passing argument of non-sendable type 'any NotificationHandler' outside of main actor-isolated context may introduce data races
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L29
passing argument of non-sendable type 'inout TaskGroup<Void>' outside of main actor-isolated context may introduce data races
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L46
passing argument of non-sendable type 'any NotificationHandler' outside of main actor-isolated context may introduce data races
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Notifications/RegisterRemoteNotificationsAction.swift#L19
stored property 'continuation' of 'Sendable'-conforming class 'RemoteNotificationContinuation' is mutable
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L123
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 UI Tests iOS / Test using xcodebuild or run fastlane: @__swiftmacro_5SpeziAAC7storage18ObservationTrackedfMp_.swift#L4
stored property '_storage' of 'Sendable'-conforming class 'Spezi' is mutable
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L123
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 UI Tests iOS / Test using xcodebuild or run fastlane: @__swiftmacro_5SpeziAAC7storage18ObservationTrackedfMp_.swift#L4
stored property '_storage' of 'Sendable'-conforming class 'Spezi' is mutable
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: @__swiftmacro_5SpeziAAC7storage18ObservationTrackedfMp_.swift#L4
stored property '_storage' of 'Sendable'-conforming class 'Spezi' is mutable
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type 'any NotificationHandler' outside of main actor-isolated context may introduce data races
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type '[AnyHashable : Any]' outside of main actor-isolated context may introduce data races
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type '[AnyHashable : Any]' outside of main actor-isolated context may introduce data races
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Notifications/RegisterRemoteNotificationsAction.swift#L19
stored property 'continuation' of 'Sendable'-conforming class 'RemoteNotificationContinuation' is mutable
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L123
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 UI Tests visionOS / Test using xcodebuild or run fastlane: @__swiftmacro_5SpeziAAC7storage18ObservationTrackedfMp_.swift#L4
stored property '_storage' of 'Sendable'-conforming class 'Spezi' is mutable
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L123
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 UI Tests visionOS / Test using xcodebuild or run fastlane: @__swiftmacro_5SpeziAAC7storage18ObservationTrackedfMp_.swift#L4
stored property '_storage' of 'Sendable'-conforming class 'Spezi' is mutable
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: @__swiftmacro_5SpeziAAC7storage18ObservationTrackedfMp_.swift#L4
stored property '_storage' of 'Sendable'-conforming class 'Spezi' is mutable
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type 'any NotificationHandler' outside of main actor-isolated context may introduce data races
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type '[AnyHashable : Any]' outside of main actor-isolated context may introduce data races
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L170
passing argument of non-sendable type '[AnyHashable : Any]' outside of main actor-isolated context may introduce data races
Upload Coverage Report / Create and upload coverage report / Create and upload coverage report
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 40 total (3.258 seconds)
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 40 total (3.443 seconds)
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 40 total (3.485 seconds)
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 40 total (2.924 seconds)
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 40 total (2.964 seconds)
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 3 total (28.354 seconds)
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 3 total (23.530 seconds)

Artifacts

Produced during runtime
Name Size
Spezi-Package-iOS.xcresult Expired
141 KB
Spezi-Package-macOS.xcresult Expired
135 KB
Spezi-Package-tvOS.xcresult Expired
140 KB
Spezi-Package-visionOS.xcresult Expired
139 KB
Spezi-Package-watchOS.xcresult Expired
137 KB
TestApp-iOS.xcresult Expired
194 KB
TestApp-visionOS.xcresult Expired
195 KB