Skip to content

Provide integration points for SpeziNotifications, Swift 6 and silence some warnings #740

Provide integration points for SpeziNotifications, Swift 6 and silence some warnings

Provide integration points for SpeziNotifications, Swift 6 and silence some warnings #740

Triggered via pull request September 16, 2024 16:35
Status Failure
Total duration 5m 2s
Artifacts 9

build-and-test.yml

on: pull_request
Build and Test Swift Package iOS  /  Test using xcodebuild or run fastlane
49s
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 5s
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane
Build and Test Swift Package visionOS  /  Test using xcodebuild or run fastlane
47s
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane
Build and Test Swift Package tvOS  /  Test using xcodebuild or run fastlane
45s
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane
Build and Test Swift Package macOS  /  Test using xcodebuild or run fastlane
58s
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane
Build and Test UI Tests iOS  /  Test using xcodebuild or run fastlane
52s
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
Build and Test UI Tests visionOS  /  Test using xcodebuild or run fastlane
46s
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 20s
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 19s
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

50 errors and 63 warnings
Build and Test Swift Package 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
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 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/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#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 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 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 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 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 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/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
186 KB
Spezi-Package-iOS.xcresult
57.5 KB
Spezi-Package-macOS.xcresult
56.7 KB
Spezi-Package-tvOS.xcresult
58.7 KB
Spezi-Package-visionOS.xcresult
57.8 KB
Spezi-Package-watchOS.xcresult
60 KB
TestApp-iOS-Latest.xcresult
259 KB
TestApp-iOS.xcresult
64.4 KB
TestApp-visionOS.xcresult
65.9 KB