Describe the bug
On macos-14 GHA runners, building swift-subprocess 1.0.0 as a dependency for a SwiftPM 6.3 project reports the following error (I can supply the log, if necessary):
.build/checkouts/swift-subprocess/Sources/Subprocess/SubprocessFoundation/Input+Foundation.swift:154:42: error: value of type 'Data' has no member 'bytes'
swift-subprocess 0.5.0 does not produce this error.
To Reproduce
I imagine the error should occur when building on any macOS 14.
I set up the Swift 6.3 toolchain using:
swiftly init -ny
swiftly link latest
Building on macos-26 & macos-26-intel GHA runners did not output any errors.
I don't know about macos-15 & macos-15-intel, because the macos-14 failure canceled those before they finished.
I do not get any errors building with swift from Xcode 26.6 on my macOS 26.6.1 M4 Max Studio.
Expected behavior
No build error.
Environment (please complete the following information):
- OS [e.g. macOS 15]: macOS 14.8.7 (on macos-14 GHA runner)
- Swift version (run
swift --version): Swift 6.3.3 installed via Swiftly
Additional context
Using Data.withUnsafeBytes(_:) instead of Data.bytes should solve this.
Describe the bug
On macos-14 GHA runners, building swift-subprocess 1.0.0 as a dependency for a SwiftPM 6.3 project reports the following error (I can supply the log, if necessary):
swift-subprocess 0.5.0 does not produce this error.
To Reproduce
I imagine the error should occur when building on any macOS 14.
I set up the Swift 6.3 toolchain using:
Building on macos-26 & macos-26-intel GHA runners did not output any errors.
I don't know about macos-15 & macos-15-intel, because the macos-14 failure canceled those before they finished.
I do not get any errors building with
swiftfrom Xcode 26.6 on my macOS 26.6.1 M4 Max Studio.Expected behavior
No build error.
Environment (please complete the following information):
swift --version): Swift 6.3.3 installed via SwiftlyAdditional context
Using
Data.withUnsafeBytes(_:)instead ofData.bytesshould solve this.