Fix DemandBuffer Data Races #6116
Annotations
2 errors and 10 warnings
Debug:
Tests/ComposableArchitectureTests/DemandBufferTests.swift#L165
testConcurrentSendAndCompletion, XCTAssertEqual failed: ("999") is not equal to ("1000")
|
Debug
Process completed with exit code 2.
|
Debug:
Sources/ComposableArchitecture/SharedState/PersistenceKey/AppStorageKeyPathKey.swift#L28
stored property 'keyPath' of 'Sendable'-conforming generic struct 'AppStorageKeyPathKey' has non-sendable type '_SendableReferenceWritableKeyPath<UserDefaults, Value>' (aka 'ReferenceWritableKeyPath<UserDefaults, Value>')
|
Debug:
Sources/ComposableArchitecture/SharedState/Shared.swift#L17
stored property 'keyPath' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type '_SendableAnyKeyPath' (aka 'AnyKeyPath')
|
Debug:
Sources/ComposableArchitecture/SwiftUI/Binding.swift#L147
stored property 'keyPath' of 'Sendable'-conforming generic struct 'BindingAction' has non-sendable type '_SendablePartialKeyPath<Root>' (aka 'PartialKeyPath<Root>')
|
Debug:
Sources/ComposableArchitecture/SharedState/PersistenceKey/AppStorageKeyPathKey.swift#L28
stored property 'keyPath' of 'Sendable'-conforming generic struct 'AppStorageKeyPathKey' has non-sendable type '_SendableReferenceWritableKeyPath<UserDefaults, Value>' (aka 'ReferenceWritableKeyPath<UserDefaults, Value>')
|
Debug:
Sources/ComposableArchitecture/SharedState/Shared.swift#L17
stored property 'keyPath' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type '_SendableAnyKeyPath' (aka 'AnyKeyPath')
|
Debug:
Sources/ComposableArchitecture/SwiftUI/Binding.swift#L147
stored property 'keyPath' of 'Sendable'-conforming generic struct 'BindingAction' has non-sendable type '_SendablePartialKeyPath<Root>' (aka 'PartialKeyPath<Root>')
|
Debug:
var/folders/5q/zcc7tkt11f13mhczs1yfd4qc0000gn/T/swift-generated-sources/@__swiftmacro_27ComposableArchitectureTests019PresentationReducerC0C36TestEphemeralBindingDismissalFeature0E0fMe_.swift#L1
'PresentationReducerTests' is deprecated: TODO: Update to use case pathable syntax with Swift 5.9
|
Debug:
var/folders/5q/zcc7tkt11f13mhczs1yfd4qc0000gn/T/swift-generated-sources/@__swiftmacro_27ComposableArchitectureTests019PresentationReducerC0C36TestEphemeralBindingDismissalFeatureV5State010ObservableK0fMe_.swift#L1
'PresentationReducerTests' is deprecated: TODO: Update to use case pathable syntax with Swift 5.9
|
Debug:
var/folders/5q/zcc7tkt11f13mhczs1yfd4qc0000gn/T/swift-generated-sources/@__swiftmacro_27ComposableArchitectureTests019PresentationReducerC0C36TestEphemeralBindingDismissalFeatureV6Action12CasePathablefMe_.swift#L1
'PresentationReducerTests' is deprecated: TODO: Update to use case pathable syntax with Swift 5.9
|
Debug:
var/folders/5q/zcc7tkt11f13mhczs1yfd4qc0000gn/T/swift-generated-sources/@__swiftmacro_27ComposableArchitectureTests012StackReducerC0C23TestSiblingCannotCancelO5Child0E0fMe_.swift#L1
'StackReducerTests' is deprecated: TODO: Update to use case pathable syntax with Swift 5.9
|
Loading