Skip to content

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

Allow @Application in SwiftUI views and additional notifications support

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

Triggered via pull request September 13, 2024 13:22
Status Failure
Total duration 4m 23s
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
52s
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane
Build and Test Swift Package visionOS  /  Test using xcodebuild or run fastlane
55s
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane
Build and Test Swift Package tvOS  /  Test using xcodebuild or run fastlane
52s
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane
Build and Test Swift Package macOS  /  Test using xcodebuild or run fastlane
57s
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 4s
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
Build and Test UI Tests visionOS  /  Test using xcodebuild or run fastlane
55s
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 19s
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

52 errors and 60 warnings
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane
error: /Users/githubaction/runner/_work/Spezi/Spezi/.derivedData/Build/Intermediates.noindex/Spezi.build/Debug-iphonesimulator/Spezi.build/Objects-normal/arm64/Spezi.swiftmodule: No such file or directory (in target 'Spezi' from project 'Spezi')
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane
error: /Users/githubaction/runner/_work/Spezi/Spezi/.derivedData/Build/Intermediates.noindex/Spezi.build/Debug-iphonesimulator/Spezi.build/Objects-normal/arm64/Spezi.swiftdoc: No such file or directory (in target 'Spezi' from project 'Spezi')
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
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
Process completed with exit code 65.
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test UI Tests visionOS / 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/Application.swift#L99
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: @__swiftmacro_5SpeziAAC7storage18ObservationTrackedfMp_.swift#L9
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#L9
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/Application.swift#L99
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 iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Application.swift#L99
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/Capabilities/Application.swift#L99
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 visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Application.swift#L99
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/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#L99
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/Capabilities/Application.swift#L99
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: 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 UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Capabilities/Application.swift#L99
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#L99
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/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.1 KB
Spezi-Package-macOS.xcresult
58.3 KB
Spezi-Package-tvOS.xcresult
55.2 KB
Spezi-Package-visionOS.xcresult
57.3 KB
Spezi-Package-watchOS.xcresult
60.4 KB
TestApp-iOS-Latest.xcresult
252 KB
TestApp-iOS.xcresult
65.4 KB
TestApp-visionOS.xcresult
64 KB