Description
Description
Cloning the repo with Xcode 16 selected and CMake 3.30.3 fails to build using the following steps:
cmake -B build -GNinja
ninja -C build
Xcode Version 16.0 (16A242d)
swift-driver version: 1.115 Apple Swift version 6.0 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
Target: arm64-apple-macosx15.0
cmake version 3.30.3
ninja version: 1.12.1
The build fails in the same way on both:
main: 47b127f1c98a9f4ff593288c7ee0c6618a912e6b
release/6.0.2: 3755346b1da0f611d3a8bd531831ac48c126b9d4
Expected behavior
Same build as swift build
is produced
Actual behavior
Backtrace in the linked gist below
https://gist.github.com/ADKaster/8c62194d219a6f6599c2409d24e304e4
It appears to be a problem with swift-syntax?
1. Apple Swift version 6.0 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
2. Compiling with effective version 5.10
3. While evaluating request ExecuteSILPipelineRequest(Run pipelines { Non-Diagnostic Mandatory Optimizations, Serialization, Rest of Onone } on SIL for TestingMacros)
4. While running pass swiftlang/swift-testing#396 SILFunctionTransform "OwnershipModelEliminator" on SILFunction "@$s11SwiftSyntax9TokenKindO2eeoiySbAC_ACtFZ".
for '==(_:_:)' (in module 'SwiftSyntax')
Steps to reproduce
git clone
cd swift-testing
cmake -B build -GNinja
cmake --build build
swift-testing version/commit hash
47b127f1c98a9f4ff593288c7ee0c6618a912e6b
Swift & OS version (output of swift --version ; uname -a
)
swift-driver version: 1.115 Apple Swift version 6.0 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
Target: arm64-apple-macosx15.0
Darwin Andrews-MacBook-Pro.local 24.0.0 Darwin Kernel Version 24.0.0: Mon Aug 12 20:52:12 PDT 2024; root:xnu-11215.1.10~2/RELEASE_ARM64_T6020 arm64