Skip to content

Upgrade to Swift Syntax for Swift 6 #381

Upgrade to Swift Syntax for Swift 6

Upgrade to Swift Syntax for Swift 6 #381

Triggered via pull request September 9, 2024 20:11
Status Failure
Total duration 19m 48s
Artifacts 7

build-and-test.yml

on: pull_request
Build and Test Swift Package  /  Test using xcodebuild or run fastlane
2m 49s
Build and Test Swift Package / Test using xcodebuild or run fastlane
Build and Test Swift Package macOS  /  Test using xcodebuild or run fastlane
2m 23s
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane
Build and Test Swift Package visionOS  /  Test using xcodebuild or run fastlane
3m 5s
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane
Build and Test UI Tests  /  Test using xcodebuild or run fastlane
14m 52s
Build and Test UI Tests / Test using xcodebuild or run fastlane
Build and Test UI Tests visionOS  /  Test using xcodebuild or run fastlane
16m 43s
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
2m 51s
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
15m 3s
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

10 errors and 70 warnings
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Tests/SpeziAccountMacrosTests/AccountKeyMacroTests.swift#L24
testAccountKeyGeneration, failed - Macro expansion did not produce the expected expanded source
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Tests/SpeziAccountMacrosTests/AccountKeyMacroTests.swift#L102
testAccountKeyGenerationPublic, failed - Macro expansion did not produce the expected expanded source
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Tests/SpeziAccountMacrosTests/AccountKeyMacroTests.swift#L60
testAccountKeyId, failed - Macro expansion did not produce the expected expanded source
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Tests/SpeziAccountMacrosTests/AccountKeyMacroTests.swift#L199
testCustomUI, failed - Macro expansion did not produce the expected expanded source
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Tests/SpeziAccountMacrosTests/AccountKeyMacroTests.swift#L264
testCustomUINameCollision, failed - Macro expansion did not produce the expected expanded source
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Tests/SpeziAccountMacrosTests/AccountKeyMacroTests.swift#L382
testGeneralDiagnostics, failed - Macro expansion did not produce the expected expanded source
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Tests/SpeziAccountMacrosTests/AccountKeyMacroTests.swift#L171
testNotMatchingTypes, failed - Macro expansion did not produce the expected expanded source
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: Tests/SpeziAccountMacrosTests/AccountKeyMacroTests.swift#L138
testRequiredAccountKey, failed - Macro expansion did not produce the expected expanded source
Build and Test Swift Package macOS / 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/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 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 / 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/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/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/Views/AccountOverview/PasswordChangeSheet.swift#L132
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/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/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/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/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/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/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/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/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/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/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/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#L132
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/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
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'

Artifacts

Produced during runtime
Name Size
SpeziAccount-Latest.xcresult Expired
499 KB
SpeziAccount-macOS.xcresult Expired
46.8 MB
SpeziAccount-visionOS.xcresult Expired
475 KB
SpeziAccount.xcresult Expired
471 KB
TestApp-iOS-Latest.xcresult Expired
5.91 MB
TestApp-iOS.xcresult Expired
5.91 MB
TestApp-visionOS.xcresult Expired
3.87 MB