Swift 6 introduces compile-time data race safety checking for any code that opts in to use the Swift 6 language mode.