Skip to content

Fix race condition in FileStorageKey #6078

Fix race condition in FileStorageKey

Fix race condition in FileStorageKey #6078

Triggered via pull request November 4, 2024 16:25
Status Failure
Total duration 39m 21s
Artifacts

ci.yml

on: pull_request
Library (evolution)
3m 58s
Library (evolution)
Examples
39m 11s
Examples
Check Macro Compatibility
5m 2s
Check Macro Compatibility
Matrix: xcodebuild
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 26 warnings
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/FileStorageTests.swift#L550
'documentsDirectory' is only available in iOS 16.0 or newer
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/FileStorageTests.swift#L550
'appending(component:directoryHint:)' is only available in iOS 16.0 or newer
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/FileStorageTests.swift#L550
'documentsDirectory' is only available in iOS 16.0 or newer
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/FileStorageTests.swift#L550
'appending(component:directoryHint:)' is only available in iOS 16.0 or newer
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/FileStorageTests.swift#L550
'documentsDirectory' is only available in iOS 16.0 or newer
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/FileStorageTests.swift#L550
'appending(component:directoryHint:)' is only available in iOS 16.0 or newer
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/FileStorageTests.swift#L550
'documentsDirectory' is only available in iOS 16.0 or newer
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/FileStorageTests.swift#L550
'appending(component:directoryHint:)' is only available in iOS 16.0 or newer
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/FileStorageTests.swift#L550
'documentsDirectory' is only available in iOS 16.0 or newer
xcodebuild (test, IOS, 16.0): Tests/ComposableArchitectureTests/FileStorageTests.swift#L550
'appending(component:directoryHint:)' is only available in iOS 16.0 or newer
xcodebuild (test, VISIONOS, 15.4)
The job was canceled because "test_IOS_16_0" failed.
xcodebuild (test, WATCHOS, 15.4)
The job was canceled because "test_IOS_16_0" failed.
xcodebuild (test, TVOS, 15.4)
The job was canceled because "test_IOS_16_0" failed.
xcodebuild (test, MACOS, 16.0)
The job was canceled because "test_IOS_16_0" failed.
xcodebuild (test, MACOS, 15.4)
The job was canceled because "test_IOS_16_0" failed.
xcodebuild (test, MACOS, 15.4)
The operation was canceled.
xcodebuild (test, IOS, 15.4)
The job was canceled because "test_IOS_16_0" failed.
xcodebuild (test, IOS, 15.4)
The operation was canceled.
xcodebuild (test, MAC_CATALYST, 15.4)
The job was canceled because "test_IOS_16_0" failed.
xcodebuild (test, MAC_CATALYST, 15.4)
The operation was canceled.
Examples
Process completed with exit code 2.
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 '_SendableReferenceWritableKeyPath<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 '_SendableAnyKeyPath' (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 '_SendablePartialKeyPath<Root>' (aka 'PartialKeyPath<Root>')
xcodebuild (MACOS, 15.2): Sources/ComposableArchitecture/SwiftUI/Binding.swift#L147
stored property 'keyPath' of 'Sendable'-conforming generic struct 'BindingAction' has non-sendable type '_SendablePartialKeyPath<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 '_SendableReferenceWritableKeyPath<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 '_SendableAnyKeyPath' (aka 'AnyKeyPath')
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 '_SendableReferenceWritableKeyPath<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 '_SendableAnyKeyPath' (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 '_SendablePartialKeyPath<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 '_SendableReferenceWritableKeyPath<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 '_SendableAnyKeyPath' (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 '_SendablePartialKeyPath<Root>' (aka 'PartialKeyPath<Root>')
xcodebuild (test, IOS, 16.0)
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, 16.0): @__swiftmacro_27ComposableArchitectureTests019PresentationReducerC0C36TestEphemeralBindingDismissalFeature0E0fMe_.swift#L1
'PresentationReducerTests' is deprecated: TODO: Update to use case pathable syntax with Swift 5.9
xcodebuild (test, IOS, 16.0): @__swiftmacro_27ComposableArchitectureTests019PresentationReducerC0C36TestEphemeralBindingDismissalFeatureV5State010ObservableK0fMe_.swift#L1
'PresentationReducerTests' is deprecated: TODO: Update to use case pathable syntax with Swift 5.9
xcodebuild (test, IOS, 16.0): @__swiftmacro_27ComposableArchitectureTests019PresentationReducerC0C36TestEphemeralBindingDismissalFeatureV6Action12CasePathablefMe_.swift#L1
'PresentationReducerTests' is deprecated: TODO: Update to use case pathable syntax with Swift 5.9
xcodebuild (test, IOS, 16.0): @__swiftmacro_27ComposableArchitectureTests012StackReducerC0C23TestSiblingCannotCancelO5Child0E0fMe_.swift#L1
'StackReducerTests' is deprecated: TODO: Update to use case pathable syntax with Swift 5.9
xcodebuild (test, IOS, 16.0): @__swiftmacro_27ComposableArchitectureTests012StackReducerC0C23TestSiblingCannotCancelO5ChildV6Action12CasePathablefMe_.swift#L1
'StackReducerTests' is deprecated: TODO: Update to use case pathable syntax with Swift 5.9
xcodebuild (test, IOS, 16.0): @__swiftmacro_27ComposableArchitectureTests012StackReducerC0C23TestSiblingCannotCancelO4Path0E0fMe_.swift#L1
'StackReducerTests' is deprecated: TODO: Update to use case pathable syntax with Swift 5.9
xcodebuild (test, IOS, 16.0): @__swiftmacro_27ComposableArchitectureTests012StackReducerC0C23TestSiblingCannotCancelO4PathV5State12CasePathablefMe_.swift#L1
'StackReducerTests' is deprecated: TODO: Update to use case pathable syntax with Swift 5.9
xcodebuild (test, IOS, 16.0): @__swiftmacro_27ComposableArchitectureTests012StackReducerC0C23TestSiblingCannotCancelO4PathV6Action12CasePathablefMe_.swift#L1
'StackReducerTests' is deprecated: TODO: Update to use case pathable syntax with Swift 5.9
xcodebuild (test, IOS, 16.0): @__swiftmacro_27ComposableArchitectureTests012StackReducerC0C23TestSiblingCannotCancelO6Parent0E0fMe_.swift#L1
'StackReducerTests' is deprecated: TODO: Update to use case pathable syntax with Swift 5.9
xcodebuild (test, IOS, 16.0): @__swiftmacro_27ComposableArchitectureTests012StackReducerC0C23TestSiblingCannotCancelO6ParentV6Action12CasePathablefMe_.swift#L1
'StackReducerTests' is deprecated: TODO: Update to use case pathable syntax with Swift 5.9
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/