On macos-14 GHA runners, building swift-system 1.8.0 as a dependency for a SwiftPM 6.3 project reports 10 of the following error in .build/checkouts/swift-system/Sources/System/MachPort.swift (I can supply the log, if necessary):
error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
I set up the Swift 6.3 toolchain using:
swiftly init -ny
git reset --hard HEAD # to undo unnecessary changes to .swift-version
swiftly link latest
I do not know if other GHA runners also report the same error (or other errors), because the macos-14 failure canceled the builds on other runners.
I do not get any errors building with swift from Xcode 26.6 on my macOS 26.6.1 M4 Max Studio.
On macos-14 GHA runners, building swift-system 1.8.0 as a dependency for a SwiftPM 6.3 project reports 10 of the following error in
.build/checkouts/swift-system/Sources/System/MachPort.swift(I can supply the log, if necessary):I set up the Swift 6.3 toolchain using:
swiftly init -ny git reset --hard HEAD # to undo unnecessary changes to .swift-version swiftly link latestI do not know if other GHA runners also report the same error (or other errors), because the macos-14 failure canceled the builds on other runners.
I do not get any errors building with
swiftfrom Xcode 26.6 on my macOS 26.6.1 M4 Max Studio.