RussBaz
(Russ)
1
Hi everyone. I managed to crash the compiler with my Vapor project when I misspelled Model protocol name. I can't share the original code, but I managed to create a new Vapor project that suffers from the same problem.
It is not a valid Vapor project. It should generate errors, but it should not crash.
In order to reproduce, please clone https://github.com/RussBaz/SwiftCompilerBug1 and then run swift build from the root of that package. It will start compiling, and it will crash at the end of it.
I am running it on M1 Max MacBook Pro:
swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Target: arm64-apple-macosx14.0
macOS: 14.4.1 (23E224)
It also crashes on the Intel Mac.
How and where else should I report this?
Thank you!
2 Likes
Thank you for reporting the bug! You can file a bug report on Github too:
5 Likes
RussBaz
(Russ)
3
1 Like