Skip to content

Allow @Application in SwiftUI views and additional notifications support #738

Allow @Application in SwiftUI views and additional notifications support

Allow @Application in SwiftUI views and additional notifications support #738

Triggered via pull request September 13, 2024 13:15
Status Failure
Total duration 5m 37s
Artifacts 9

build-and-test.yml

on: pull_request
Build and Test Swift Package iOS  /  Test using xcodebuild or run fastlane
58s
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane
Build and Test Swift Package watchOS  /  Test using xcodebuild or run fastlane
50s
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 0s
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane
Build and Test Swift Package tvOS  /  Test using xcodebuild or run fastlane
51s
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 1s
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane
Build and Test UI Tests iOS  /  Test using xcodebuild or run fastlane
53s
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
Build and Test UI Tests visionOS  /  Test using xcodebuild or run fastlane
53s
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane
Build and Test Swift Package iOS Latest  /  Test using xcodebuild or run fastlane
1m 32s
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane
Build and Test UI Tests iOS Latest  /  Test using xcodebuild or run fastlane
2m 11s
Build and Test UI Tests 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

70 errors and 64 warnings
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Application.swift#L98
main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L91
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/SpeziNotificationCenterDelegate.swift#L43
non-sendable type 'UNUserNotificationCenter' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:willPresent:)' cannot cross actor boundary
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L43
non-sendable type 'UNNotification' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:willPresent:)' cannot cross actor boundary
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L15
non-sendable type 'UNUserNotificationCenter' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:didReceive:)' cannot cross actor boundary
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L15
non-sendable type 'UNNotificationResponse' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:didReceive:)' cannot cross actor boundary
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Utilities/DynamicReference.swift#L34
'nonisolated' is redundant on struct's stored properties; this is an error in Swift 6
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Application.swift#L98
main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L91
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#L43
non-sendable type 'UNUserNotificationCenter' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:willPresent:)' cannot cross actor boundary
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L43
non-sendable type 'UNNotification' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:willPresent:)' cannot cross actor boundary
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Sources/Spezi/Utilities/DynamicReference.swift#L34
'nonisolated' is redundant on struct's stored properties; this is an error in Swift 6
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Application.swift#L98
main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L91
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/SpeziNotificationCenterDelegate.swift#L43
non-sendable type 'UNUserNotificationCenter' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:willPresent:)' cannot cross actor boundary
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L43
non-sendable type 'UNNotification' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:willPresent:)' cannot cross actor boundary
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L15
non-sendable type 'UNUserNotificationCenter' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:didReceive:)' cannot cross actor boundary
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L15
non-sendable type 'UNNotificationResponse' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:didReceive:)' cannot cross actor boundary
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Utilities/DynamicReference.swift#L34
'nonisolated' is redundant on struct's stored properties; this is an error in Swift 6
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Utilities/DynamicReference.swift#L34
'nonisolated' is redundant on struct's stored properties; this is an error in Swift 6
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: @__swiftmacro_5SpeziAAC7storage18ObservationTrackedfMp_.swift#L9
stored property '_storage' of 'Sendable'-conforming class 'Spezi' is mutable
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Application.swift#L98
main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L91
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/SpeziNotificationCenterDelegate.swift#L43
non-sendable type 'UNUserNotificationCenter' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:willPresent:)' cannot cross actor boundary
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L43
non-sendable type 'UNNotification' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:willPresent:)' cannot cross actor boundary
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L15
non-sendable type 'UNUserNotificationCenter' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:didReceive:)' cannot cross actor boundary
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L15
non-sendable type 'UNNotificationResponse' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:didReceive:)' cannot cross actor boundary
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Utilities/DynamicReference.swift#L34
'nonisolated' is redundant on struct's stored properties; this is an error in Swift 6
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Application.swift#L98
main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Utilities/DynamicReference.swift#L34
'nonisolated' is redundant on struct's stored properties; this is an error in Swift 6
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Application.swift#L98
main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L91
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/SpeziNotificationCenterDelegate.swift#L43
non-sendable type 'UNUserNotificationCenter' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:willPresent:)' cannot cross actor boundary
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L43
non-sendable type 'UNNotification' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:willPresent:)' cannot cross actor boundary
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L15
non-sendable type 'UNUserNotificationCenter' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:didReceive:)' cannot cross actor boundary
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L15
non-sendable type 'UNNotificationResponse' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:didReceive:)' cannot cross actor boundary
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Utilities/DynamicReference.swift#L34
'nonisolated' is redundant on struct's stored properties; this is an error in Swift 6
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: @__swiftmacro_5SpeziAAC7storage18ObservationTrackedfMp_.swift#L9
stored property '_storage' of 'Sendable'-conforming class 'Spezi' is mutable
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: @__swiftmacro_5SpeziAAC7storage18ObservationTrackedfMp_.swift#L9
stored property '_storage' of 'Sendable'-conforming class 'Spezi' is mutable
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Application.swift#L98
main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L91
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#L43
non-sendable type 'UNUserNotificationCenter' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:willPresent:)' cannot cross actor boundary
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L43
non-sendable type 'UNNotification' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:willPresent:)' cannot cross actor boundary
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L15
non-sendable type 'UNUserNotificationCenter' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:didReceive:)' cannot cross actor boundary
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L15
non-sendable type 'UNNotificationResponse' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:didReceive:)' cannot cross actor boundary
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Utilities/DynamicReference.swift#L34
'nonisolated' is redundant on struct's stored properties; this is an error in Swift 6
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Utilities/DynamicReference.swift#L34
'nonisolated' is redundant on struct's stored properties; this is an error in Swift 6
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Application.swift#L98
main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L91
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/SpeziNotificationCenterDelegate.swift#L43
non-sendable type 'UNUserNotificationCenter' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:willPresent:)' cannot cross actor boundary
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L43
non-sendable type 'UNNotification' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:willPresent:)' cannot cross actor boundary
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L15
non-sendable type 'UNUserNotificationCenter' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:didReceive:)' cannot cross actor boundary
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L15
non-sendable type 'UNNotificationResponse' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:didReceive:)' cannot cross actor boundary
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Utilities/DynamicReference.swift#L34
'nonisolated' is redundant on struct's stored properties; this is an error in Swift 6
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Utilities/DynamicReference.swift#L34
'nonisolated' is redundant on struct's stored properties; this is an error in Swift 6
Build and Test UI Tests iOS Latest / Test using xcodebuild or run fastlane: Tests/UITests/TestApp/LifecycleHandler/LifecycleHandlerTestModule.swift#L46
'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 Latest / Test using xcodebuild or run fastlane: Tests/UITests/TestApp/LifecycleHandler/LifecycleHandlerTestModule.swift#L46
'LifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.

Artifacts

Produced during runtime
Name Size
Spezi-Package-iOS-Latest.xcresult
185 KB
Spezi-Package-iOS.xcresult
58.5 KB
Spezi-Package-macOS.xcresult
59.5 KB
Spezi-Package-tvOS.xcresult
58.4 KB
Spezi-Package-visionOS.xcresult
59.9 KB
Spezi-Package-watchOS.xcresult
59.8 KB
TestApp-iOS-Latest.xcresult
254 KB
TestApp-iOS.xcresult
64.3 KB
TestApp-visionOS.xcresult
67.6 KB