Open gfusee opened 1 month ago
Synced to Apple’s issue tracker as rdar://136183350
This appears to be an issue in the compiler, not in swift-syntax. I am able to reproduce with the following:
echo 'import Foundation' > /tmp/test.swift
/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swiftc /tmp/test.swift -sdk $(xcrun --show-sdk-path)
Moving to the compiler’s repo
I did some tests and it seems to be XCode 16 that causes the issue.
When XCode 16 is installed on my mac, the open source Swift 6.0 toolchain doesn't work with the above error. However, when I downgrade to XCode 15.4, while keep using the open source Swift 6.0 toolchain, it works
Also having a similar issue when trying to cross compile Swift NIO to x86 using xcrun --toolchain swift swift build --swift-sdk x86_64-swift-linux-musl
It doesn't work with the Command Line Tools for Xcode 16 either. Here are the 2 workarounds I found:
sudo rm -rf /Library/Developer/CommandLineTools
. After the installation make sure to have the command line tools selected: sudo xcode-select -s /Library/Developer/CommandLineTools
Then you can use the open source Swift 6.0 toolchain without the above error
This should be addressed by https://github.com/swiftlang/swift/pull/76552. It should land in the 6.0 Development toolchain on swift.org/download in a few days.
@shahmishal If there are any plans to release the Swift 6.0.1 toolchain? I noticed that the 6.0.1 tag has been released, but there is no corresponding toolchain build available.
Activity working on the release should be available soon.
The 6.0.1 toolchain with the fix is now available at https://www.swift.org/install/.
Description
When using the toolchain from https://www.swift.org/install/macos/ under "Package Installer", it is impossible to build swift-syntax. Here is the error:
error: 'swift-syntax': Invalid manifest (compiled with: ["/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/dz/v9byvtcx46j4cr0zrqfsrpwm0000gn/T/TemporaryDirectory.TC0OSK/vfs.yaml", "-L", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx13.0", "-I", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/macosx/testing", "-L", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/macosx/testing", "-plugin-path", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/host/plugins/testing", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk", "-F", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks", "-I", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-L", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-swift-version", "5", "-I", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk", "-package-description-version", "5.8.0", "/Users/quentin/IdeaProjects/SwiftToSolidityCall/swift-syntax/Package.swift", "-o", "/var/folders/dz/v9byvtcx46j4cr0zrqfsrpwm0000gn/T/TemporaryDirectory.569Ajp/swift-syntax-manifest"]) error: compile command failed due to signal 6 (use -v to see invocation) Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace. Stack dump:
DESERIALIZATION FAILURE If any module named here was modified in the SDK, please delete the new swiftmodule files from the SDK and keep only swiftinterfaces. module '_errno', builder version '6.0(6.0)/Apple Swift version 6.0 (swift-6.0-RELEASE)', built from swiftinterface, resilient, loaded from '/var/folders/dz/v9byvtcx46j4cr0zrqfsrpwm0000gn/C/clang/ModuleCache/_errno-UYQO2Q93GB2O.swiftmodule' SILFunction type mismatch for '$s6Darwin14POSIXErrorCodeO8rawValueACSgs5Int32V_tcfC': '$@convention(method) (Int32, @thin POSIXErrorCode.Type) -> Optional' != '$@convention(method) (Int32, @thin POSIXErrorCode.Type) -> Optional'
0 0x00000001064d9e28 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x1056c9e28)
swiftlang/swift-syntax#1 0x00000001064d85f4 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x1056c85f4) swiftlang/swift-syntax#2 0x00000001064da470 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x1056ca470) swiftlang/swift-syntax#3 0x00000001921cf584 (/usr/lib/system/libsystem_platform.dylib+0x180477584) swiftlang/swift-syntax#4 0x000000019219ec20 (/usr/lib/system/libsystem_pthread.dylib+0x180446c20) swiftlang/swift-syntax#5 0x00000001920aba30 (/usr/lib/system/libsystem_c.dylib+0x180353a30) swiftlang/swift-syntax#6 0x0000000101d95adc (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100f85adc) swiftlang/swift-syntax#7 0x0000000101d2b4dc (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100f1b4dc) swiftlang/swift-syntax#8 0x0000000101d6fa44 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100f5fa44) swiftlang/swift-syntax#9 0x0000000101d80bbc (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100f70bbc) swiftlang/swift-syntax#10 0x0000000101e1fbfc (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x10100fbfc) swiftlang/swift-syntax#11 0x0000000101e57d68 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x101047d68) swiftlang/swift-syntax#12 0x0000000101e57b54 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x101047b54) swiftlang/swift-syntax#13 0x0000000101ed343c (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x1010c343c) swiftlang/swift-syntax#14 0x0000000101b6f1e4 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100d5f1e4) swiftlang/swift-syntax#15 0x0000000101a3581c (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c2581c) swiftlang/swift-syntax#16 0x0000000101a37bc0 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c27bc0) swiftlang/swift-syntax#17 0x0000000101a325ac (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c225ac) swiftlang/swift-syntax#18 0x0000000101a3252c (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c2252c) swiftlang/swift-syntax#19 0x0000000101a6d934 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c5d934) swiftlang/swift-syntax#20 0x0000000101a4de90 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c3de90) swiftlang/swift-syntax#21 0x0000000101a32788 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c22788) swiftlang/swift-syntax#22 0x0000000101a50358 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c40358) swiftlang/swift-syntax#23 0x000000010126eff4 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x10045eff4) swiftlang/swift-syntax#24 0x000000010127a118 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x10046a118) swiftlang/swift-syntax#25 0x000000010127b74c (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x10046b74c) swiftlang/swift-syntax#26 0x0000000101286760 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100476760) swiftlang/swift-syntax#27 0x000000010127b4e0 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x10046b4e0) swiftlang/swift-syntax#28 0x0000000106450438 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x105640438) swiftlang/swift-syntax#29 0x0000000106450558 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x105640558) swiftlang/swift-syntax#30 0x0000000106450580 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x105640580) swiftlang/swift-syntax#31 0x000000019219ef94 (/usr/lib/system/libsystem_pthread.dylib+0x180446f94) swiftlang/swift-syntax#32 0x0000000192199d34 (/usr/lib/system/libsystem_pthread.dylib+0x180441d34) error: 'swift-syntax': Invalid manifest (compiled with: ["/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/dz/v9byvtcx46j4cr0zrqfsrpwm0000gn/T/TemporaryDirectory.YX41bV/vfs.yaml", "-L", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx13.0", "-I", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/macosx/testing", "-L", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/macosx/testing", "-plugin-path", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/host/plugins/testing", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk", "-F", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks", "-I", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-L", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-swift-version", "5", "-I", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk", "-package-description-version", "5.8.0", "/Users/quentin/IdeaProjects/SwiftToSolidityCall/swift-syntax/Package.swift", "-o", "/var/folders/dz/v9byvtcx46j4cr0zrqfsrpwm0000gn/T/TemporaryDirectory.BiY64Y/swift-syntax-manifest"]) error: compile command failed due to signal 6 (use -v to see invocation) Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace. Stack dump:
DESERIALIZATION FAILURE If any module named here was modified in the SDK, please delete the new swiftmodule files from the SDK and keep only swiftinterfaces. module '_errno', builder version '6.0(6.0)/Apple Swift version 6.0 (swift-6.0-RELEASE)', built from swiftinterface, resilient, loaded from '/var/folders/dz/v9byvtcx46j4cr0zrqfsrpwm0000gn/C/clang/ModuleCache/_errno-UYQO2Q93GB2O.swiftmodule' SILFunction type mismatch for '$s6Darwin14POSIXErrorCodeO8rawValueACSgs5Int32V_tcfC': '$@convention(method) (Int32, @thin POSIXErrorCode.Type) -> Optional' != '$@convention(method) (Int32, @thin POSIXErrorCode.Type) -> Optional'
0 0x0000000109801e28 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x1056c9e28)
swiftlang/swift-syntax#1 0x00000001098005f4 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x1056c85f4) swiftlang/swift-syntax#2 0x0000000109802470 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x1056ca470) swiftlang/swift-syntax#3 0x00000001921cf584 (/usr/lib/system/libsystem_platform.dylib+0x180477584) swiftlang/swift-syntax#4 0x000000019219ec20 (/usr/lib/system/libsystem_pthread.dylib+0x180446c20) swiftlang/swift-syntax#5 0x00000001920aba30 (/usr/lib/system/libsystem_c.dylib+0x180353a30) swiftlang/swift-syntax#6 0x00000001050bdadc (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100f85adc) swiftlang/swift-syntax#7 0x00000001050534dc (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100f1b4dc) swiftlang/swift-syntax#8 0x0000000105097a44 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100f5fa44) swiftlang/swift-syntax#9 0x00000001050a8bbc (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100f70bbc) swiftlang/swift-syntax#10 0x0000000105147bfc (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x10100fbfc) swiftlang/swift-syntax#11 0x000000010517fd68 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x101047d68) swiftlang/swift-syntax#12 0x000000010517fb54 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x101047b54) swiftlang/swift-syntax#13 0x00000001051fb43c (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x1010c343c) swiftlang/swift-syntax#14 0x0000000104e971e4 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100d5f1e4) swiftlang/swift-syntax#15 0x0000000104d5d81c (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c2581c) swiftlang/swift-syntax#16 0x0000000104d5fbc0 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c27bc0) swiftlang/swift-syntax#17 0x0000000104d5a5ac (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c225ac) swiftlang/swift-syntax#18 0x0000000104d5a52c (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c2252c) swiftlang/swift-syntax#19 0x0000000104d95934 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c5d934) swiftlang/swift-syntax#20 0x0000000104d75e90 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c3de90) swiftlang/swift-syntax#21 0x0000000104d5a788 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c22788) swiftlang/swift-syntax#22 0x0000000104d78358 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c40358) swiftlang/swift-syntax#23 0x0000000104596ff4 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x10045eff4) swiftlang/swift-syntax#24 0x00000001045a2118 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x10046a118) swiftlang/swift-syntax#25 0x00000001045a374c (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x10046b74c) swiftlang/swift-syntax#26 0x00000001045ae760 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100476760) swiftlang/swift-syntax#27 0x00000001045a34e0 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x10046b4e0) swiftlang/swift-syntax#28 0x0000000109778438 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x105640438) swiftlang/swift-syntax#29 0x0000000109778558 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x105640558) swiftlang/swift-syntax#30 0x0000000109778580 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x105640580) swiftlang/swift-syntax#31 0x000000019219ef94 (/usr/lib/system/libsystem_pthread.dylib+0x180446f94) swiftlang/swift-syntax#32 0x0000000192199d34 (/usr/lib/system/libsystem_pthread.dylib+0x180441d34) error: ExitCode(rawValue: 1) error: 'swift-syntax': Invalid manifest (compiled with: ["/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/dz/v9byvtcx46j4cr0zrqfsrpwm0000gn/T/TemporaryDirectory.yvtJET/vfs.yaml", "-L", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx13.0", "-I", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/macosx/testing", "-L", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/macosx/testing", "-plugin-path", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/host/plugins/testing", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk", "-F", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks", "-I", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-L", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-swift-version", "5", "-I", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk", "-package-description-version", "5.8.0", "/Users/quentin/IdeaProjects/SwiftToSolidityCall/swift-syntax/Package.swift", "-o", "/var/folders/dz/v9byvtcx46j4cr0zrqfsrpwm0000gn/T/TemporaryDirectory.60Ao1N/swift-syntax-manifest"]) error: compile command failed due to signal 6 (use -v to see invocation) Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace. Stack dump:
DESERIALIZATION FAILURE If any module named here was modified in the SDK, please delete the new swiftmodule files from the SDK and keep only swiftinterfaces. module '_errno', builder version '6.0(6.0)/Apple Swift version 6.0 (swift-6.0-RELEASE)', built from swiftinterface, resilient, loaded from '/var/folders/dz/v9byvtcx46j4cr0zrqfsrpwm0000gn/C/clang/ModuleCache/_errno-UYQO2Q93GB2O.swiftmodule' SILFunction type mismatch for '$s6Darwin14POSIXErrorCodeO8rawValueACSgs5Int32V_tcfC': '$@convention(method) (Int32, @thin POSIXErrorCode.Type) -> Optional' != '$@convention(method) (Int32, @thin POSIXErrorCode.Type) -> Optional'
0 0x0000000107ad9e28 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x1056c9e28)
swiftlang/swift-syntax#1 0x0000000107ad85f4 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x1056c85f4) swiftlang/swift-syntax#2 0x0000000107ada470 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x1056ca470) swiftlang/swift-syntax#3 0x00000001921cf584 (/usr/lib/system/libsystem_platform.dylib+0x180477584) swiftlang/swift-syntax#4 0x000000019219ec20 (/usr/lib/system/libsystem_pthread.dylib+0x180446c20) swiftlang/swift-syntax#5 0x00000001920aba30 (/usr/lib/system/libsystem_c.dylib+0x180353a30) swiftlang/swift-syntax#6 0x0000000103395adc (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100f85adc) swiftlang/swift-syntax#7 0x000000010332b4dc (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100f1b4dc) swiftlang/swift-syntax#8 0x000000010336fa44 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100f5fa44) swiftlang/swift-syntax#9 0x0000000103380bbc (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100f70bbc) swiftlang/swift-syntax#10 0x000000010341fbfc (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x10100fbfc) swiftlang/swift-syntax#11 0x0000000103457d68 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x101047d68) swiftlang/swift-syntax#12 0x0000000103457b54 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x101047b54) swiftlang/swift-syntax#13 0x00000001034d343c (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x1010c343c) swiftlang/swift-syntax#14 0x000000010316f1e4 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100d5f1e4) swiftlang/swift-syntax#15 0x000000010303581c (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c2581c) swiftlang/swift-syntax#16 0x0000000103037bc0 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c27bc0) swiftlang/swift-syntax#17 0x00000001030325ac (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c225ac) swiftlang/swift-syntax#18 0x000000010303252c (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c2252c) swiftlang/swift-syntax#19 0x000000010306d934 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c5d934) swiftlang/swift-syntax#20 0x000000010304de90 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c3de90) swiftlang/swift-syntax#21 0x0000000103032788 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c22788) swiftlang/swift-syntax#22 0x0000000103050358 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100c40358) swiftlang/swift-syntax#23 0x000000010286eff4 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x10045eff4) swiftlang/swift-syntax#24 0x000000010287a118 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x10046a118) swiftlang/swift-syntax#25 0x000000010287b74c (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x10046b74c) swiftlang/swift-syntax#26 0x0000000102886760 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x100476760) swiftlang/swift-syntax#27 0x000000010287b4e0 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x10046b4e0) swiftlang/swift-syntax#28 0x0000000107a50438 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x105640438) swiftlang/swift-syntax#29 0x0000000107a50558 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x105640558) swiftlang/swift-syntax#30 0x0000000107a50580 (/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swift-frontend+0x105640580) swiftlang/swift-syntax#31 0x000000019219ef94 (/usr/lib/system/libsystem_pthread.dylib+0x180446f94) swiftlang/swift-syntax#32 0x0000000192199d34 (/usr/lib/system/libsystem_pthread.dylib+0x180441d34)
Steps to Reproduce
1) Install the latest Swift 6.0 toolchain from the "Package Installer" section 2) Run the build command: /Library/Developer/Toolchains/swift-6.0-release.xctoolchain/usr/bin/swift build