Skip to content

Swift 6 compatibility #675

Swift 6 compatibility

Swift 6 compatibility #675

Triggered via pull request July 10, 2024 10:20
Status Failure
Total duration 3m 16s
Artifacts 7

build-and-test.yml

on: pull_request
Build and Test Swift Package iOS  /  Test using xcodebuild or run fastlane
1m 43s
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 14s
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 42s
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane
Build and Test Swift Package tvOS  /  Test using xcodebuild or run fastlane
1m 42s
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 42s
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane
Build and Test UI Tests iOS  /  Test using xcodebuild or run fastlane
1m 20s
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
Build and Test UI Tests visionOS  /  Test using xcodebuild or run fastlane
1m 15s
Build and Test UI Tests visionOS / 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

15 errors and 63 warnings
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
call to main actor-isolated initializer 'init(standard:modules:storage:)' in a synchronous nonisolated context
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L59
call to main actor-isolated initializer 'init(from:storage:)' in a synchronous nonisolated context
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
call to main actor-isolated initializer 'init(standard:modules:storage:)' in a synchronous nonisolated context
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
call to main actor-isolated initializer 'init(standard:modules:storage:)' in a synchronous nonisolated context
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
call to main actor-isolated initializer 'init(standard:modules:storage:)' in a synchronous nonisolated context
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
call to main actor-isolated initializer 'init(standard:modules:storage:)' in a synchronous nonisolated context
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
call to main actor-isolated initializer 'init(standard:modules:storage:)' in a synchronous nonisolated context
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
call to main actor-isolated initializer 'init(standard:modules:storage:)' in a synchronous nonisolated context
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
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/Spezi/SpeziAppDelegate.swift#L52
static property 'appDelegate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziAppDelegate.swift#L53
static property 'notificationDelegate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
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/Spezi/Spezi+Preview.swift#L64
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L64
initialization of immutable value 'lifecycleHandlers' was never used; consider replacing with assignment to '_' or removing it
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 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/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 tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L64
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L70
'willFinishLaunchingWithOptions(_:launchOptions:)' is deprecated: Please use the new @Application(\.launchOptions) property wrapper within your Module to access launchOptions in a platform independent way.
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L70
capture of 'lifecycleHandlers' with non-sendable type '[any LifecycleHandler]' in a `@Sendable` closure
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 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/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/Spezi+Preview.swift#L64
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L70
'willFinishLaunchingWithOptions(_:launchOptions:)' is deprecated: Please use the new @Application(\.launchOptions) property wrapper within your Module to access launchOptions in a platform independent way.
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L70
capture of 'lifecycleHandlers' with non-sendable type '[any LifecycleHandler]' in a `@Sendable` closure
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: @__swiftmacro_5SpeziAAC7storage18ObservationTrackedfMp_.swift#L4
stored property '_storage' of 'Sendable'-conforming class 'Spezi' is mutable
Build and Test Swift Package visionOS / 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 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/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/Spezi/Spezi+Preview.swift#L64
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L70
'willFinishLaunchingWithOptions(_:launchOptions:)' is deprecated: Please use the new @Application(\.launchOptions) property wrapper within your Module to access launchOptions in a platform independent way.
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L70
capture of 'lifecycleHandlers' with non-sendable type '[any LifecycleHandler]' in a `@Sendable` closure
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 iOS / 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 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/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/Spezi+Preview.swift#L64
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L64
initialization of immutable value 'lifecycleHandlers' was never used; consider replacing with assignment to '_' or removing it
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: 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: Sources/Spezi/Spezi/Spezi+Preview.swift#L64
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L70
'willFinishLaunchingWithOptions(_:launchOptions:)' is deprecated: Please use the new @Application(\.launchOptions) property wrapper within your Module to access launchOptions in a platform independent way.
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L70
capture of 'lifecycleHandlers' with non-sendable type '[any LifecycleHandler]' in a `@Sendable` closure
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: 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 UI Tests 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 UI Tests iOS / 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/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 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: Sources/Spezi/Spezi/Spezi+Preview.swift#L64
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L70
'willFinishLaunchingWithOptions(_:launchOptions:)' is deprecated: Please use the new @Application(\.launchOptions) property wrapper within your Module to access launchOptions in a platform independent way.

Artifacts

Produced during runtime
Name Size
Spezi-Package-iOS.xcresult
70.7 KB
Spezi-Package-macOS.xcresult
70.4 KB
Spezi-Package-tvOS.xcresult
71.7 KB
Spezi-Package-visionOS.xcresult
72.4 KB
Spezi-Package-watchOS.xcresult
68.5 KB
TestApp-iOS.xcresult
75.4 KB
TestApp-visionOS.xcresult
73.5 KB