Skip to content

Add explicit @mainactor to NavigationLink initializer #6027

Add explicit @mainactor to NavigationLink initializer

Add explicit @mainactor to NavigationLink initializer #6027

Re-run triggered October 9, 2024 04:51
Status Failure
Total duration 17m 20s
Artifacts

ci.yml

on: pull_request
Matrix: xcodebuild
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 63 warnings
Examples
Process completed with exit code 2.
xcodebuild (test, IOS, 15.4): Tests/ComposableArchitectureTests/EffectCancellationTests.swift#L410
testAsyncConcurrentCancels, XCTAssertTrue failed
xcodebuild (test, IOS, 15.4)
Process completed with exit code 2.
xcodebuild (test, VISIONOS, 15.4)
The job was canceled because "test_IOS_15_4" failed.
xcodebuild (test, WATCHOS, 15.4)
The job was canceled because "test_IOS_15_4" failed.
xcodebuild (test, TVOS, 15.4)
The job was canceled because "test_IOS_15_4" failed.
xcodebuild (test, MAC_CATALYST, 15.4)
The job was canceled because "test_IOS_15_4" failed.
xcodebuild (test, MAC_CATALYST, 15.4)
The operation was canceled.
xcodebuild (test, MACOS, 16.0)
The job was canceled because "test_IOS_15_4" failed.
xcodebuild (test, MACOS, 16.0)
The operation was canceled.
xcodebuild (test, MACOS, 15.4)
The job was canceled because "test_IOS_15_4" failed.
xcodebuild (test, MACOS, 15.4)
The operation was canceled.
xcodebuild (test, IOS, 16.0)
The job was canceled because "test_IOS_15_4" failed.
xcodebuild (MACOS, 15.2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
xcodebuild (MACOS, 15.2): Sources/ComposableArchitecture/SharedState/PersistenceKey/AppStorageKeyPathKey.swift#L28
stored property 'keyPath' of 'Sendable'-conforming generic struct 'AppStorageKeyPathKey' has non-sendable type '_ReferenceWritableKeyPath<UserDefaults, Value>' (aka 'ReferenceWritableKeyPath<UserDefaults, Value>')
xcodebuild (MACOS, 15.2): Sources/ComposableArchitecture/SharedState/Shared.swift#L17
stored property 'keyPath' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type '_AnyKeyPath' (aka 'AnyKeyPath')
xcodebuild (MACOS, 15.2): Sources/ComposableArchitecture/SwiftUI/Binding.swift#L147
stored property 'keyPath' of 'Sendable'-conforming generic struct 'BindingAction' has non-sendable type '_PartialKeyPath<Root>' (aka 'PartialKeyPath<Root>')
xcodebuild (MACOS, 15.2): Sources/ComposableArchitecture/SharedState/PersistenceKey/AppStorageKeyPathKey.swift#L28
stored property 'keyPath' of 'Sendable'-conforming generic struct 'AppStorageKeyPathKey' has non-sendable type '_ReferenceWritableKeyPath<UserDefaults, Value>' (aka 'ReferenceWritableKeyPath<UserDefaults, Value>')
xcodebuild (MACOS, 15.2): Sources/ComposableArchitecture/SharedState/Shared.swift#L17
stored property 'keyPath' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type '_AnyKeyPath' (aka 'AnyKeyPath')
xcodebuild (MACOS, 15.2): Sources/ComposableArchitecture/SharedState/Shared.swift#L67
'unsafeBitCast' from 'AnyKeyPath' to '_AnyKeyPath' (aka 'AnyKeyPath') is unnecessary and can be removed
xcodebuild (MACOS, 15.2): Sources/ComposableArchitecture/SharedState/Shared.swift#L183
'unsafeBitCast' from 'AnyKeyPath' to '_AnyKeyPath' (aka 'AnyKeyPath') is unnecessary and can be removed
xcodebuild (MACOS, 15.2): Sources/ComposableArchitecture/SharedState/Shared.swift#L466
'unsafeBitCast' from 'AnyKeyPath' to '_AnyKeyPath' (aka 'AnyKeyPath') is unnecessary and can be removed
xcodebuild (MACOS, 15.2): Sources/ComposableArchitecture/SwiftUI/Binding.swift#L147
stored property 'keyPath' of 'Sendable'-conforming generic struct 'BindingAction' has non-sendable type '_PartialKeyPath<Root>' (aka 'PartialKeyPath<Root>')
xcodebuild (IOS, 15.2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
xcodebuild (IOS, 15.2): Sources/ComposableArchitecture/SharedState/PersistenceKey/AppStorageKeyPathKey.swift#L28
stored property 'keyPath' of 'Sendable'-conforming generic struct 'AppStorageKeyPathKey' has non-sendable type '_ReferenceWritableKeyPath<UserDefaults, Value>' (aka 'ReferenceWritableKeyPath<UserDefaults, Value>')
xcodebuild (IOS, 15.2): Sources/ComposableArchitecture/SharedState/Shared.swift#L17
stored property 'keyPath' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type '_AnyKeyPath' (aka 'AnyKeyPath')
xcodebuild (IOS, 15.2): Sources/ComposableArchitecture/SwiftUI/Binding.swift#L147
stored property 'keyPath' of 'Sendable'-conforming generic struct 'BindingAction' has non-sendable type '_PartialKeyPath<Root>' (aka 'PartialKeyPath<Root>')
xcodebuild (IOS, 15.2): Sources/ComposableArchitecture/SwiftUI/Binding.swift#L147
stored property 'keyPath' of 'Sendable'-conforming generic struct 'BindingAction' has non-sendable type '_PartialKeyPath<Root>' (aka 'PartialKeyPath<Root>')
xcodebuild (IOS, 15.2): Sources/ComposableArchitecture/SharedState/PersistenceKey/AppStorageKeyPathKey.swift#L28
stored property 'keyPath' of 'Sendable'-conforming generic struct 'AppStorageKeyPathKey' has non-sendable type '_ReferenceWritableKeyPath<UserDefaults, Value>' (aka 'ReferenceWritableKeyPath<UserDefaults, Value>')
xcodebuild (IOS, 15.2): Sources/ComposableArchitecture/SharedState/Shared.swift#L17
stored property 'keyPath' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type '_AnyKeyPath' (aka 'AnyKeyPath')
xcodebuild (IOS, 15.2): Sources/ComposableArchitecture/SharedState/Shared.swift#L67
'unsafeBitCast' from 'AnyKeyPath' to '_AnyKeyPath' (aka 'AnyKeyPath') is unnecessary and can be removed
xcodebuild (IOS, 15.2): Sources/ComposableArchitecture/SharedState/Shared.swift#L183
'unsafeBitCast' from 'AnyKeyPath' to '_AnyKeyPath' (aka 'AnyKeyPath') is unnecessary and can be removed
xcodebuild (IOS, 15.2): Sources/ComposableArchitecture/SharedState/Shared.swift#L466
'unsafeBitCast' from 'AnyKeyPath' to '_AnyKeyPath' (aka 'AnyKeyPath') is unnecessary and can be removed
Examples
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
xcodebuild (test, IOS, 15.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
xcodebuild (test, IOS, 15.4): Sources/ComposableArchitecture/SharedState/PersistenceKey/AppStorageKeyPathKey.swift#L28
stored property 'keyPath' of 'Sendable'-conforming generic struct 'AppStorageKeyPathKey' has non-sendable type '_ReferenceWritableKeyPath<UserDefaults, Value>' (aka 'ReferenceWritableKeyPath<UserDefaults, Value>')
xcodebuild (test, IOS, 15.4): Sources/ComposableArchitecture/SharedState/Shared.swift#L17
stored property 'keyPath' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type '_AnyKeyPath' (aka 'AnyKeyPath')
xcodebuild (test, IOS, 15.4): Sources/ComposableArchitecture/SwiftUI/Binding.swift#L147
stored property 'keyPath' of 'Sendable'-conforming generic struct 'BindingAction' has non-sendable type '_PartialKeyPath<Root>' (aka 'PartialKeyPath<Root>')
xcodebuild (test, IOS, 15.4): Sources/ComposableArchitecture/SharedState/PersistenceKey/AppStorageKeyPathKey.swift#L28
stored property 'keyPath' of 'Sendable'-conforming generic struct 'AppStorageKeyPathKey' has non-sendable type '_ReferenceWritableKeyPath<UserDefaults, Value>' (aka 'ReferenceWritableKeyPath<UserDefaults, Value>')
xcodebuild (test, IOS, 15.4): Sources/ComposableArchitecture/SharedState/Shared.swift#L17
stored property 'keyPath' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type '_AnyKeyPath' (aka 'AnyKeyPath')
xcodebuild (test, IOS, 15.4): Sources/ComposableArchitecture/SharedState/Shared.swift#L67
'unsafeBitCast' from 'AnyKeyPath' to '_AnyKeyPath' (aka 'AnyKeyPath') is unnecessary and can be removed
xcodebuild (test, IOS, 15.4): Sources/ComposableArchitecture/SharedState/Shared.swift#L183
'unsafeBitCast' from 'AnyKeyPath' to '_AnyKeyPath' (aka 'AnyKeyPath') is unnecessary and can be removed
xcodebuild (test, IOS, 15.4): Sources/ComposableArchitecture/SharedState/Shared.swift#L466
'unsafeBitCast' from 'AnyKeyPath' to '_AnyKeyPath' (aka 'AnyKeyPath') is unnecessary and can be removed
xcodebuild (test, IOS, 15.4): Sources/ComposableArchitecture/SwiftUI/Binding.swift#L147
stored property 'keyPath' of 'Sendable'-conforming generic struct 'BindingAction' has non-sendable type '_PartialKeyPath<Root>' (aka 'PartialKeyPath<Root>')
xcodebuild (test, MAC_CATALYST, 15.4): Sources/ComposableArchitecture/SharedState/PersistenceKey/AppStorageKeyPathKey.swift#L28
stored property 'keyPath' of 'Sendable'-conforming generic struct 'AppStorageKeyPathKey' has non-sendable type '_ReferenceWritableKeyPath<UserDefaults, Value>' (aka 'ReferenceWritableKeyPath<UserDefaults, Value>')
xcodebuild (test, MAC_CATALYST, 15.4): Sources/ComposableArchitecture/SharedState/Shared.swift#L17
stored property 'keyPath' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type '_AnyKeyPath' (aka 'AnyKeyPath')
xcodebuild (test, MAC_CATALYST, 15.4): Sources/ComposableArchitecture/SwiftUI/Binding.swift#L147
stored property 'keyPath' of 'Sendable'-conforming generic struct 'BindingAction' has non-sendable type '_PartialKeyPath<Root>' (aka 'PartialKeyPath<Root>')
xcodebuild (test, MAC_CATALYST, 15.4): Sources/ComposableArchitecture/SharedState/PersistenceKey/AppStorageKeyPathKey.swift#L28
stored property 'keyPath' of 'Sendable'-conforming generic struct 'AppStorageKeyPathKey' has non-sendable type '_ReferenceWritableKeyPath<UserDefaults, Value>' (aka 'ReferenceWritableKeyPath<UserDefaults, Value>')
xcodebuild (test, MAC_CATALYST, 15.4): Sources/ComposableArchitecture/SharedState/Shared.swift#L17
stored property 'keyPath' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type '_AnyKeyPath' (aka 'AnyKeyPath')
xcodebuild (test, MAC_CATALYST, 15.4): Sources/ComposableArchitecture/SharedState/Shared.swift#L67
'unsafeBitCast' from 'AnyKeyPath' to '_AnyKeyPath' (aka 'AnyKeyPath') is unnecessary and can be removed
xcodebuild (test, MAC_CATALYST, 15.4): Sources/ComposableArchitecture/SharedState/Shared.swift#L183
'unsafeBitCast' from 'AnyKeyPath' to '_AnyKeyPath' (aka 'AnyKeyPath') is unnecessary and can be removed
xcodebuild (test, MAC_CATALYST, 15.4): Sources/ComposableArchitecture/SharedState/Shared.swift#L466
'unsafeBitCast' from 'AnyKeyPath' to '_AnyKeyPath' (aka 'AnyKeyPath') is unnecessary and can be removed
xcodebuild (test, MAC_CATALYST, 15.4): Sources/ComposableArchitecture/SwiftUI/Binding.swift#L147
stored property 'keyPath' of 'Sendable'-conforming generic struct 'BindingAction' has non-sendable type '_PartialKeyPath<Root>' (aka 'PartialKeyPath<Root>')
xcodebuild (test, MAC_CATALYST, 15.4): Sources/ComposableArchitecture/SharedState/PersistenceKey/AppStorageKeyPathKey.swift#L28
stored property 'keyPath' of 'Sendable'-conforming generic struct 'AppStorageKeyPathKey' has non-sendable type '_ReferenceWritableKeyPath<UserDefaults, Value>' (aka 'ReferenceWritableKeyPath<UserDefaults, Value>')
xcodebuild (test, MAC_CATALYST, 15.4): Sources/ComposableArchitecture/SharedState/Shared.swift#L17
stored property 'keyPath' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type '_AnyKeyPath' (aka 'AnyKeyPath')
xcodebuild (test, MAC_CATALYST, 15.4): Sources/ComposableArchitecture/SharedState/Shared.swift#L67
'unsafeBitCast' from 'AnyKeyPath' to '_AnyKeyPath' (aka 'AnyKeyPath') is unnecessary and can be removed
xcodebuild (test, MAC_CATALYST, 15.4): Sources/ComposableArchitecture/SharedState/Shared.swift#L183
'unsafeBitCast' from 'AnyKeyPath' to '_AnyKeyPath' (aka 'AnyKeyPath') is unnecessary and can be removed
xcodebuild (test, IOS, 16.0)
Runner GitHub Actions 2 did not respond to a cancelation request with 00:05:00.
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/BindingLocalTests.swift#L30
call to main actor-isolated initializer 'init(initialState:reducer:withDependencies:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/BindingLocalTests.swift#L31
call to main actor-isolated initializer 'init(_:observe:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/BindingLocalTests.swift#L33
call to main actor-isolated instance method 'binding(get:send:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/BindingLocalTests.swift#L38
main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/CompatibilityTests.swift#L54
call to main actor-isolated initializer 'init(initialState:reducer:withDependencies:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/CompatibilityTests.swift#L58
call to main actor-isolated initializer 'init(_:observe:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/CompatibilityTests.swift#L60
call to main actor-isolated instance method 'send' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/CompatibilityTests.swift#L61
call to main actor-isolated instance method 'send' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/Reducers/BindingReducerTests.swift#L65
call to main actor-isolated initializer 'init(initialState:reducer:withDependencies:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/Reducers/BindingReducerTests.swift#L68
call to main actor-isolated initializer 'init(_:observe:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode