Skip to content

Restructure @Dependency property and use BFS for DependencyManager #704

Restructure @Dependency property and use BFS for DependencyManager

Restructure @Dependency property and use BFS for DependencyManager #704

Triggered via pull request July 31, 2024 18:29
Status Failure
Total duration 15m 6s
Artifacts 8

build-and-test.yml

on: pull_request
Build and Test Swift Package iOS  /  Test using xcodebuild or run fastlane
14m 56s
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane
Build and Test Swift Package watchOS  /  Test using xcodebuild or run fastlane
58s
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane
Build and Test Swift Package visionOS  /  Test using xcodebuild or run fastlane
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
1m 1s
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 5s
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane
Build and Test UI Tests iOS  /  Test using xcodebuild or run fastlane
6m 5s
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
Build and Test UI Tests visionOS  /  Test using xcodebuild or run fastlane
5m 19s
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 56s
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
5m 48s
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

11 errors, 70 warnings, and 1 notice
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane: Tests/SpeziTests/DependenciesTests/DependencyTests.swift#L118
referencing initializer 'init(wrappedValue:_:)' on '_DependencyPropertyWrapper' requires that 'TestModule3?' conform to 'Module'
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Tests/SpeziTests/DependenciesTests/DependencyTests.swift#L118
referencing initializer 'init(wrappedValue:_:)' on '_DependencyPropertyWrapper' requires that 'TestModule3?' conform to 'Module'
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Tests/SpeziTests/DependenciesTests/DependencyTests.swift#L118
referencing initializer 'init(wrappedValue:_:)' on '_DependencyPropertyWrapper' requires that 'TestModule3?' conform to 'Module'
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Tests/SpeziTests/DependenciesTests/DependencyTests.swift#L118
referencing initializer 'init(wrappedValue:_:)' on '_DependencyPropertyWrapper' requires that 'TestModule3?' conform to 'Module'
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane: Tests/SpeziTests/DependenciesTests/DependencyTests.swift#L118
referencing initializer 'init(wrappedValue:_:)' on '_DependencyPropertyWrapper' requires that 'TestModule3?' conform to 'Module'
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane
The self-hosted runner: GitHub Runner 6 lost communication with the server. Verify the machine is running and has a healthy network connection. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
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#L87
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/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/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#L87
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#L65
'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#L71
'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 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#L87
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/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/Spezi/Spezi.swift#L87
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#L65
'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#L65
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: @__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/Spezi.swift#L87
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 Latest / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L65
'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 Latest / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L71
'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 Latest / Test using xcodebuild or run fastlane: Sources/XCTSpezi/DependencyResolution.swift#L37
'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 Latest / Test using xcodebuild or run fastlane: Sources/XCTSpezi/DependencyResolution.swift#L37
'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/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#L87
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/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/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+Preview.swift#L65
'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#L71
'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: @__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 visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi.swift#L87
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/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#L87
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/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: Sources/Spezi/Spezi/Spezi.swift#L87
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/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+Preview.swift#L65
'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#L65
initialization of immutable value 'lifecycleHandlers' was never used; consider replacing with assignment to '_' or removing it
Build and Test Swift Package watchOS / 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/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#L87
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 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 UI Tests 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 UI Tests 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 UI Tests visionOS / 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 visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L65
'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#L71
'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 iOS Latest / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L65
'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: Sources/Spezi/Spezi/Spezi+Preview.swift#L71
'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 iOS Latest / Test using xcodebuild or run fastlane: Sources/XCTSpezi/DependencyResolution.swift#L37
'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: Sources/XCTSpezi/DependencyResolution.swift#L37
'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 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.
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#L87
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/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/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+Preview.swift#L65
'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#L71
'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 iOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 3 total (34.772 seconds)

Artifacts

Produced during runtime
Name Size
Spezi-Package-iOS-Latest.xcresult
74.6 KB
Spezi-Package-macOS.xcresult
75.5 KB
Spezi-Package-tvOS.xcresult
78 KB
Spezi-Package-visionOS.xcresult
76 KB
Spezi-Package-watchOS.xcresult
76 KB
TestApp-iOS-Latest.xcresult
198 KB
TestApp-iOS.xcresult
196 KB
TestApp-visionOS.xcresult
205 KB