You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to build with Xcode 16 beta 6 and I am getting the following error:
/swift-dependencies/Sources/Dependencies/WithDependencies.swift:71:51: Returning a task-isolated '@noescape @async @callee_guaranteed @substituted <τ_0_0> () -> (@out τ_0_0, @error any Error) for <R>' value as a 'sending' result risks causing data races
Checklist
I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
If possible, I've reproduced the issue using the main branch of this package.
For a bit more info, this seems to be new to the 1.3.6 release in particular, as I don't experience this error in 1.3.5.
I can also repro this in Xcode 16.0.0-beta 1, so it doesn't seem specific to a particular beta version.
The Xcode betas are a moving target and so everyone must remember that they are using it at their own risk. This issue in particular already came up in a previous beta and was fixed with #256, and now a new beta has caused that fix to be a problem. That’s just the reality of using betas.
Hopefully #262 will fix things for people until the next problem.
Hi all, this has been fixed and released in 1.3.8. Going to close this for now, but please do open a discussion if you have questions or discover other problems.
Description
Trying to build with Xcode 16 beta 6 and I am getting the following error:
/swift-dependencies/Sources/Dependencies/WithDependencies.swift:71:51: Returning a task-isolated '@noescape @async @callee_guaranteed @substituted <τ_0_0> () -> (@out τ_0_0, @error any Error) for <R>' value as a 'sending' result risks causing data races
Checklist
main
branch of this package.Expected behavior
No response
Actual behavior
No response
Steps to reproduce
No response
Dependencies version information
1.3.7
Destination operating system
iOS 18 beta 7
Xcode version information
Xcode 16.0 beta 6
Swift Compiler version information
No response
The text was updated successfully, but these errors were encountered: