Skip to content

Upgrade to Swift Syntax for Swift 6 #380

Upgrade to Swift Syntax for Swift 6

Upgrade to Swift Syntax for Swift 6 #380

Triggered via pull request September 9, 2024 18:52
Status Failure
Total duration 15m 30s
Artifacts 7

build-and-test.yml

on: pull_request
Build and Test Swift Package  /  Test using xcodebuild or run fastlane
2m 40s
Build and Test Swift Package / Test using xcodebuild or run fastlane
Build and Test Swift Package macOS  /  Test using xcodebuild or run fastlane
2m 12s
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 39s
Build and Test Swift Package visionOS / Test using xcodebuild or run fastlane
Build and Test UI Tests  /  Test using xcodebuild or run fastlane
2m 19s
Build and Test UI Tests / Test using xcodebuild or run fastlane
Build and Test UI Tests visionOS  /  Test using xcodebuild or run fastlane
2m 3s
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 40s
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
12m 39s
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

50 errors and 31 warnings
Build and Test Swift Package macOS / Test using xcodebuild or run fastlane: @__swiftmacro_12SpeziAccount1_8KeyEntryfMm_.swift#L1
'__Key_accountId' is not a member type of struct 'SpeziAccount.AccountDetails'
Build and Test Swift Package / Test using xcodebuild or run fastlane: Sources/SpeziAccount/Views/AccountOverview/PasswordValidationRuleFooter.swift#L40
cannot infer key path type from context; consider explicitly specifying a root type
Build and Test UI Tests / Test using xcodebuild or run fastlane: @__swiftmacro_12SpeziAccount1_8KeyEntryfMm_.swift#L1
'__Key_name' is not a member type of struct 'SpeziAccount.AccountDetails'
Build and Test UI Tests / Test using xcodebuild or run fastlane: @__swiftmacro_12SpeziAccount1_8KeyEntryfMm_.swift#L5
'__Key_name' is not a member type of struct 'SpeziAccount.AccountDetails'
Build and Test UI Tests / Test using xcodebuild or run fastlane: @__swiftmacro_12SpeziAccount1_8KeyEntryfMm_.swift#L1
'__Key_name' is not a member type of struct 'SpeziAccount.AccountDetails'
Build and Test UI Tests / Test using xcodebuild or run fastlane: @__swiftmacro_12SpeziAccount1_8KeyEntryfMm_.swift#L5
'__Key_name' is not a member type of struct 'SpeziAccount.AccountDetails'
Build and Test UI Tests / Test using xcodebuild or run fastlane: @__swiftmacro_12SpeziAccount1_8KeyEntryfMm_.swift#L1
'__Key_name' is not a member type of struct 'SpeziAccount.AccountDetails'
Build and Test UI Tests / Test using xcodebuild or run fastlane: @__swiftmacro_12SpeziAccount1_8KeyEntryfMm_.swift#L5
'__Key_name' is not a member type of struct 'SpeziAccount.AccountDetails'
Build and Test UI Tests / Test using xcodebuild or run fastlane: @__swiftmacro_12SpeziAccount1_8KeyEntryfMm_.swift#L1
'__Key_name' is not a member type of struct 'SpeziAccount.AccountDetails'
Build and Test UI Tests / Test using xcodebuild or run fastlane: @__swiftmacro_12SpeziAccount1_8KeyEntryfMm_.swift#L5
'__Key_name' is not a member type of struct 'SpeziAccount.AccountDetails'
Build and Test UI Tests / Test using xcodebuild or run fastlane: @__swiftmacro_12SpeziAccount1_8KeyEntryfMm_.swift#L1
'__Key_name' is not a member type of struct 'SpeziAccount.AccountDetails'
Build and Test UI Tests / Test using xcodebuild or run fastlane: @__swiftmacro_12SpeziAccount1_8KeyEntryfMm_.swift#L5
'__Key_name' is not a member type of struct 'SpeziAccount.AccountDetails'
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 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 / 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 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/AccountKeyOverviewRow.swift#L85
let 'key' 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

Artifacts

Produced during runtime
Name Size
SpeziAccount-Latest.xcresult Expired
500 KB
SpeziAccount-macOS.xcresult Expired
236 KB
SpeziAccount-visionOS.xcresult Expired
380 KB
SpeziAccount.xcresult Expired
378 KB
TestApp-iOS-Latest.xcresult Expired
5.78 MB
TestApp-iOS.xcresult Expired
310 KB
TestApp-visionOS.xcresult Expired
313 KB