Skip to content

Allow to dynamically load and unload Modules #655

Allow to dynamically load and unload Modules

Allow to dynamically load and unload Modules #655

Triggered via pull request June 4, 2024 12:04
Status Failure
Total duration 8m 28s
Artifacts 7

build-and-test.yml

on: pull_request
Build and Test Swift Package iOS  /  Test using xcodebuild or run fastlane
1m 23s
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 28s
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 37s
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 36s
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 12s
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane
Build and Test UI Tests iOS  /  Test using xcodebuild or run fastlane
2m 51s
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 59s
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane
Upload Coverage Report  /  ...  /  Create and upload coverage report
3m 14s
Upload Coverage Report / Create and upload coverage report / Create and upload coverage report
Fit to window
Zoom out
Zoom in

Annotations

1 error, 45 warnings, and 7 notices
Upload Coverage Report / Create and upload coverage report / Create and upload coverage report
Codecov: Failed to properly upload: The process '/Users/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
'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#L63
initialization of immutable value 'lifecycleHandlers' was never used; consider replacing with assignment to '_' or removing it
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
'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#L69
'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/XCTSpezi/DependencyResolution.swift#L36
'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/XCTSpezi/DependencyResolution.swift#L36
'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#L63
'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#L63
initialization of immutable value 'lifecycleHandlers' was never used; consider replacing with assignment to '_' or removing it
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
'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#L69
'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/XCTSpezi/DependencyResolution.swift#L36
'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/XCTSpezi/DependencyResolution.swift#L36
'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 watchOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
'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#L63
initialization of immutable value 'lifecycleHandlers' was never used; consider replacing with assignment to '_' or removing it
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
'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#L69
'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: Sources/XCTSpezi/DependencyResolution.swift#L36
'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/XCTSpezi/DependencyResolution.swift#L36
'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/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: Tests/UITests/TestApp/ModelTests/ModuleWithModel.swift#L14
static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Tests/UITests/TestApp/ModelTests/ModuleWithModel.swift#L14
static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
Build and Test UI Tests iOS / 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/Dependencies/DependencyManager.swift#L16
Todo Violation: TODOs should be resolved (existing modules collection, o...) (todo)
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/Spezi/Dependencies/DependencyManager.swift#L89
Todo Violation: TODOs should be resolved (mark as "dangling"?) (todo)
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Spezi/Spezi+Preview.swift#L63
'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#L69
'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/XCTSpezi/DependencyResolution.swift#L36
'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/XCTSpezi/DependencyResolution.swift#L36
'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: Tests/UITests/TestApp/ModelTests/ModuleWithModel.swift#L14
static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
Build and Test UI Tests visionOS / 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 visionOS / Test using xcodebuild or run fastlane: Tests/UITests/TestApp/ModelTests/ModuleWithModel.swift#L14
static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
Build and Test UI Tests visionOS / 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 visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Dependencies/DependencyManager.swift#L16
Todo Violation: TODOs should be resolved (existing modules collection, o...) (todo)
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/Spezi/Dependencies/DependencyManager.swift#L89
Todo Violation: TODOs should be resolved (mark as "dangling"?) (todo)
Upload Coverage Report / Create and upload coverage report / Create and upload coverage report
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 37 total (2.884 seconds)
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 37 total (2.878 seconds)
Build and Test Swift Package tvOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 37 total (2.875 seconds)
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 37 total (3.604 seconds)
Build and Test Swift Package watchOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 37 total (2.990 seconds)
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 3 total (29.392 seconds)
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane
Tests Passed: 0 failed, 0 skipped, 3 total (24.807 seconds)

Artifacts

Produced during runtime
Name Size
Spezi-Package-iOS.xcresult Expired
105 KB
Spezi-Package-macOS.xcresult Expired
101 KB
Spezi-Package-tvOS.xcresult Expired
101 KB
Spezi-Package-visionOS.xcresult Expired
104 KB
Spezi-Package-watchOS.xcresult Expired
103 KB
TestApp-iOS.xcresult Expired
187 KB
TestApp-visionOS.xcresult Expired
184 KB