Skip to content

Model Account Service as singleton with ability to provide multiple Identity Providers #347

Model Account Service as singleton with ability to provide multiple Identity Providers

Model Account Service as singleton with ability to provide multiple Identity Providers #347

Triggered via pull request August 15, 2024 17:14
Status Failure
Total duration 22m 5s
Artifacts 7

build-and-test.yml

on: pull_request
Build and Test Swift Package  /  Test using xcodebuild or run fastlane
2m 30s
Build and Test Swift Package / Test using xcodebuild or run fastlane
Build and Test Swift Package macOS  /  Test using xcodebuild or run fastlane
1m 55s
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane
Build and Test Swift Package visionOS  /  Test using xcodebuild or run fastlane
2m 33s
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane
Build and Test UI Tests  /  Test using xcodebuild or run fastlane
13m 51s
Build and Test UI Tests / Test using xcodebuild or run fastlane
Build and Test UI Tests visionOS  /  Test using xcodebuild or run fastlane
17m 47s
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
3m 8s
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane
Build and Test UI Tests Latest  /  Test using xcodebuild or run fastlane
19m 21s
Build and Test UI Tests 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

5 errors and 70 warnings
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test UI Tests Latest / 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/SpeziAccount/AccountService/Configuration/UserIdType.swift#L23
associated value 'custom' of 'Sendable'-conforming enum 'UserIdType' has non-sendable type 'LocalizedStringResource'
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/AccountValue/AccountKeyCategory.swift#L43
stored property 'categoryTitle' of 'Sendable'-conforming struct 'AccountKeyCategory' has non-sendable type 'LocalizedStringResource?'
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ExternalAccountStorage.swift#L41
stored property 'storageProvider' of 'Sendable'-conforming class 'ExternalAccountStorage' is mutable
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ViewModifier/AccountRequiredModifier.swift#L13
let '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/SpeziAccount/ViewModifier/AccountRequiredModifier.swift#L13
let '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/SpeziAccount/AccountService/Configuration/UserIdType.swift#L23
associated value 'custom' of 'Sendable'-conforming enum 'UserIdType' has non-sendable type 'LocalizedStringResource'
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/AccountValue/AccountKeyCategory.swift#L43
stored property 'categoryTitle' of 'Sendable'-conforming struct 'AccountKeyCategory' has non-sendable type 'LocalizedStringResource?'
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ExternalAccountStorage.swift#L41
stored property 'storageProvider' of 'Sendable'-conforming class 'ExternalAccountStorage' is mutable
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ExternalAccountStorage.swift#L167
passing argument of non-sendable type 'any AccountStorageProvider' outside of main actor-isolated context may introduce data races
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/Account.swift#L110
main actor-isolated property '__accountService' can not be mutated from a non-isolated context; this is an error in Swift 6
Build and Test Swift Package / Test using xcodebuild or run fastlane: Sources/SpeziAccount/AccountService/Configuration/UserIdType.swift#L23
associated value 'custom' of 'Sendable'-conforming enum 'UserIdType' has non-sendable type 'LocalizedStringResource'
Build and Test Swift Package / Test using xcodebuild or run fastlane: Sources/SpeziAccount/AccountValue/AccountKeyCategory.swift#L43
stored property 'categoryTitle' of 'Sendable'-conforming struct 'AccountKeyCategory' has non-sendable type 'LocalizedStringResource?'
Build and Test Swift Package / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ExternalAccountStorage.swift#L41
stored property 'storageProvider' of 'Sendable'-conforming class 'ExternalAccountStorage' is mutable
Build and Test Swift Package / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ViewModifier/AccountRequiredModifier.swift#L13
let '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 / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ExternalAccountStorage.swift#L41
stored property 'storageProvider' of 'Sendable'-conforming class 'ExternalAccountStorage' is mutable
Build and Test Swift Package / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ExternalAccountStorage.swift#L167
passing argument of non-sendable type 'any AccountStorageProvider' outside of main actor-isolated context may introduce data races
Build and Test Swift Package / Test using xcodebuild or run fastlane: Sources/SpeziAccount/Views/AccountOverview/PasswordChangeSheet.swift#L124
capture of 'newPassword' with non-sendable type 'Binding<String>' in a `@Sendable` closure
Build and Test Swift Package / Test using xcodebuild or run fastlane: Sources/SpeziAccount/Views/AccountOverview/View+AccountOverviewObjects.swift#L16
non-sendable type 'AccountDetailsBuilder' in asynchronous access to main actor-isolated property 'modifiedDetailsBuilder' cannot cross actor boundary
Build and Test Swift Package / Test using xcodebuild or run fastlane: Sources/SpeziAccount/Account.swift#L110
main actor-isolated property '__accountService' can not be mutated from a non-isolated context; this is an error in Swift 6
Build and Test Swift Package / Test using xcodebuild or run fastlane: Sources/SpeziAccount/AccountService/Configuration/UserIdType.swift#L23
associated value 'custom' of 'Sendable'-conforming enum 'UserIdType' has non-sendable type 'LocalizedStringResource'
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/AccountService/Configuration/UserIdType.swift#L23
associated value 'custom' of 'Sendable'-conforming enum 'UserIdType' has non-sendable type 'LocalizedStringResource'
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/AccountValue/AccountKeyCategory.swift#L43
stored property 'categoryTitle' of 'Sendable'-conforming struct 'AccountKeyCategory' has non-sendable type 'LocalizedStringResource?'
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ExternalAccountStorage.swift#L41
stored property 'storageProvider' of 'Sendable'-conforming class 'ExternalAccountStorage' is mutable
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ViewModifier/AccountRequiredModifier.swift#L13
let '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/SpeziAccount/ViewModifier/AccountRequiredModifier.swift#L13
let '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/SpeziAccount/Views/AccountOverview/PasswordChangeSheet.swift#L124
capture of 'newPassword' with non-sendable type 'Binding<String>' in a `@Sendable` closure
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/Views/AccountOverview/View+AccountOverviewObjects.swift#L16
non-sendable type 'AccountDetailsBuilder' in asynchronous access to main actor-isolated property 'modifiedDetailsBuilder' cannot cross actor boundary
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/Account.swift#L110
main actor-isolated property '__accountService' can not be mutated from a non-isolated context; this is an error in Swift 6
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ExternalAccountStorage.swift#L41
stored property 'storageProvider' of 'Sendable'-conforming class 'ExternalAccountStorage' is mutable
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ExternalAccountStorage.swift#L167
passing argument of non-sendable type 'any AccountStorageProvider' outside of main actor-isolated context may introduce data races
Build and Test UI Tests / Test using xcodebuild or run fastlane: Sources/SpeziAccount/AccountService/Configuration/UserIdType.swift#L23
associated value 'custom' of 'Sendable'-conforming enum 'UserIdType' has non-sendable type 'LocalizedStringResource'
Build and Test UI Tests / Test using xcodebuild or run fastlane: Sources/SpeziAccount/AccountValue/AccountKeyCategory.swift#L43
stored property 'categoryTitle' of 'Sendable'-conforming struct 'AccountKeyCategory' has non-sendable type 'LocalizedStringResource?'
Build and Test UI Tests / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ExternalAccountStorage.swift#L41
stored property 'storageProvider' of 'Sendable'-conforming class 'ExternalAccountStorage' is mutable
Build and Test UI Tests / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ViewModifier/AccountRequiredModifier.swift#L13
let '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 / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ExternalAccountStorage.swift#L41
stored property 'storageProvider' of 'Sendable'-conforming class 'ExternalAccountStorage' is mutable
Build and Test UI Tests / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ExternalAccountStorage.swift#L167
passing argument of non-sendable type 'any AccountStorageProvider' outside of main actor-isolated context may introduce data races
Build and Test UI Tests / Test using xcodebuild or run fastlane: Sources/SpeziAccount/Views/AccountOverview/PasswordChangeSheet.swift#L124
capture of 'newPassword' with non-sendable type 'Binding<String>' in a `@Sendable` closure
Build and Test UI Tests / Test using xcodebuild or run fastlane: Sources/SpeziAccount/Views/AccountOverview/View+AccountOverviewObjects.swift#L16
non-sendable type 'AccountDetailsBuilder' in asynchronous access to main actor-isolated property 'modifiedDetailsBuilder' cannot cross actor boundary
Build and Test UI Tests / Test using xcodebuild or run fastlane: Sources/SpeziAccount/AccountService/Configuration/UserIdType.swift#L23
associated value 'custom' of 'Sendable'-conforming enum 'UserIdType' has non-sendable type 'LocalizedStringResource'
Build and Test UI Tests / Test using xcodebuild or run fastlane: Sources/SpeziAccount/AccountValue/AccountKeyCategory.swift#L43
stored property 'categoryTitle' of 'Sendable'-conforming struct 'AccountKeyCategory' has non-sendable type 'LocalizedStringResource?'
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/AccountService/Configuration/UserIdType.swift#L23
associated value 'custom' of 'Sendable'-conforming enum 'UserIdType' has non-sendable type 'LocalizedStringResource'
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/AccountValue/AccountKeyCategory.swift#L43
stored property 'categoryTitle' of 'Sendable'-conforming struct 'AccountKeyCategory' has non-sendable type 'LocalizedStringResource?'
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ExternalAccountStorage.swift#L41
stored property 'storageProvider' of 'Sendable'-conforming class 'ExternalAccountStorage' is mutable
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ViewModifier/AccountRequiredModifier.swift#L13
let '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/SpeziAccount/Views/AccountOverview/PasswordChangeSheet.swift#L124
capture of 'newPassword' with non-sendable type 'Binding<String>' in a `@Sendable` closure
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/Views/AccountOverview/View+AccountOverviewObjects.swift#L16
non-sendable type 'AccountDetailsBuilder' in asynchronous access to main actor-isolated property 'modifiedDetailsBuilder' cannot cross actor boundary
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ViewModifier/AccountRequiredModifier.swift#L13
let '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/SpeziAccount/Account.swift#L110
main actor-isolated property '__accountService' can not be mutated from a non-isolated context; this is an error in Swift 6
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ExternalAccountStorage.swift#L41
stored property 'storageProvider' of 'Sendable'-conforming class 'ExternalAccountStorage' is mutable
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziAccount/ExternalAccountStorage.swift#L167
passing argument of non-sendable type 'any AccountStorageProvider' outside of main actor-isolated context may introduce data races

Artifacts

Produced during runtime
Name Size
SpeziAccount-Latest.xcresult
468 KB
SpeziAccount-macOS.xcresult
309 KB
SpeziAccount-visionOS.xcresult
443 KB
SpeziAccount.xcresult
444 KB
TestApp-iOS-Latest.xcresult
123 MB
TestApp-iOS.xcresult
7.63 MB
TestApp-visionOS.xcresult
178 MB