Xcode 16 beta 6 incremental mode crashes the compiler

Hello,

I'm trying to upgrade my project to xcode 16 beta 6 but the compiler crashes project uses many spm packages and swift 5. Change compilation mode from incremental to whole module for debug the project builds.

Any ideas?

8.	While evaluating request DefaultArgumentExprRequest
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend           0x00000001064bf0fc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  swift-frontend           0x00000001064bd350 llvm::sys::RunSignalHandlers() + 112
2  swift-frontend           0x00000001064bf6c8 SignalHandler(int) + 292
3  libsystem_platform.dylib 0x000000018d5d3584 _sigtramp + 56
4  swift-frontend           0x0000000102710090 swift::DiagnosticEngine::formatDiagnosticText(llvm::raw_ostream&, llvm::StringRef, llvm::ArrayRef<swift::DiagnosticArgument>, swift::DiagnosticFormatOptions) + 464
5  swift-frontend           0x0000000102710bc4 swift::DiagnosticEngine::formatDiagnosticText(llvm::raw_ostream&, llvm::StringRef, llvm::ArrayRef<swift::DiagnosticArgument>, swift::DiagnosticFormatOptions) + 3332
6  swift-frontend           0x00000001012237b0 swift::AccumulatingFileDiagnosticConsumer::addDiagnostic(swift::SourceManager&, swift::DiagnosticInfo const&) + 944
7  swift-frontend           0x00000001012233c8 swift::AccumulatingFileDiagnosticConsumer::handleDiagnostic(swift::SourceManager&, swift::DiagnosticInfo const&) + 32
8  swift-frontend           0x0000000102713278 swift::DiagnosticEngine::emitDiagnostic(swift::Diagnostic const&) + 4276
9  swift-frontend           0x00000001017c3890 swift::DiagnosticTransaction::~DiagnosticTransaction() + 184
10 swift-frontend           0x00000001021e5ad8 swift::TypeChecker::typeCheckParameterDefault(swift::Expr*&, swift::DeclContext*, swift::Type, bool, bool) + 508
11 swift-frontend           0x0000000102235c24 swift::DefaultArgumentExprRequest::evaluate(swift::Evaluator&, swift::ParamDecl*) const + 1168
12 swift-frontend           0x00000001026d941c swift::DefaultArgumentExprRequest::OutputType swift::Evaluator::getResultUncached<swift::DefaultArgumentExprRequest, swift::DefaultArgumentExprRequest::OutputType swift::evaluateOrDefault<swift::DefaultArgumentExprRequest>(swift::Evaluator&, swift::DefaultArgumentExprRequest, swift::DefaultArgumentExprRequest::OutputType)::'lambda'()>(swift::DefaultArgumentExprRequest const&, swift::DefaultArgumentExprRequest::OutputType swift::evaluateOrDefault<swift::DefaultArgumentExprRequest>(swift::Evaluator&, swift::DefaultArgumentExprRequest, swift::DefaultArgumentExprRequest::OutputType)::'lambda'()) + 628
13 swift-frontend           0x000000010264bfcc swift::ParamDecl::getTypeCheckedDefaultExpr() const + 256
14 swift-frontend           0x000000010224eb60 checkDefaultArguments(swift::ParameterList*) + 152
15 swift-frontend           0x0000000102246a64 (anonymous namespace)::DeclChecker::visitConstructorDecl(swift::ConstructorDecl*) + 2920
16 swift-frontend           0x0000000102239620 (anonymous namespace)::DeclChecker::visit(swift::Decl*) + 2676
17 swift-frontend           0x0000000102243688 (anonymous namespace)::DeclChecker::visitClassDecl(swift::ClassDecl*) + 1592
18 swift-frontend           0x0000000102239a2c (anonymous namespace)::DeclChecker::visit(swift::Decl*) + 3712
19 swift-frontend           0x000000010223e414 (anonymous namespace)::DeclChecker::visit(swift::Decl*) + 22632
20 swift-frontend           0x0000000102238b9c swift::TypeChecker::typeCheckDecl(swift::Decl*) + 152
21 swift-frontend           0x000000010231fd5c swift::TypeCheckSourceFileRequest::evaluate(swift::Evaluator&, swift::SourceFile*) const + 660
22 swift-frontend           0x00000001023273c0 swift::TypeCheckSourceFileRequest::OutputType swift::Evaluator::getResultUncached<swift::TypeCheckSourceFileRequest, swift::TypeCheckSourceFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckSourceFileRequest>(swift::Evaluator&, swift::TypeCheckSourceFileRequest, swift::TypeCheckSourceFileRequest::OutputType)::'lambda'()>(swift::TypeCheckSourceFileRequest const&, swift::TypeCheckSourceFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckSourceFileRequest>(swift::Evaluator&, swift::TypeCheckSourceFileRequest, swift::TypeCheckSourceFileRequest::OutputType)::'lambda'()) + 620
23 swift-frontend           0x000000010231faac swift::performTypeChecking(swift::SourceFile&) + 328
24 swift-frontend           0x000000010123ece0 swift::CompilerInstance::performSema() + 260
25 swift-frontend           0x0000000100e6c190 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 1528
26 swift-frontend           0x0000000100e6af58 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3572
27 swift-frontend           0x0000000100df201c swift::mainEntry(int, char const**) + 3680
28 dyld                     0x000000018d21a0e0 start + 2360