github-actions[bot] wrote: <!--PREMERGE ADVISOR COMMENT: Linux--> # :penguin: Linux x64 Test Results
* 85880 tests passed * 1216 tests skipped * 2 tests failed ## Failed Tests (click on a test name to see its output) ### Clangd <details> <summary>Clangd.Clangd/protocol.test</summary> ``` Exit Code: 1 Command Output (stdout): -- # RUN: at line 1 not clangd -pretty -sync -enable-test-uri-scheme < /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/test/protocol.test | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -strict-whitespace /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/test/protocol.test # executed command: not clangd -pretty -sync -enable-test-uri-scheme # .---command stderr------------ # | I[23:37:15.314] clangd version 23.0.0git (https://github.com/llvm/llvm-project 6eaee2146fd88ff1c6cc382f702f7a2063f287ca) # | I[23:37:15.314] Features: linux+debug # | I[23:37:15.314] PID: 619817 # | I[23:37:15.314] Working directory: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/test # | I[23:37:15.314] argv[0]: clangd # | I[23:37:15.314] argv[1]: -pretty # | I[23:37:15.314] argv[2]: -sync # | I[23:37:15.314] argv[3]: -enable-test-uri-scheme # | I[23:37:15.314] Starting LSP over stdin/stdout # | I[23:37:15.314] <-- initialize(0) # | I[23:37:15.314] --> reply:initialize(0) 0 ms # | I[23:37:15.314] Warning: Missing Content-Length header, or zero-length message. # | I[23:37:15.314] <-- textDocument/didOpen # | I[23:37:15.315] Failed to find compilation database for /clangd-test/main.cpp # | I[23:37:15.315] ASTWorker building file /clangd-test/main.cpp version 1 with command clangd fallback # | [/clangd-test] # | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -resource-dir=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23 -- /clangd-test/main.cpp # | E[23:37:15.315] VFS: failed to set CWD to /clangd-test: No such file or directory # | E[23:37:15.316] VFS: failed to set CWD to /clangd-test: No such file or directory # | I[23:37:15.323] Built preamble of size 248508 for file /clangd-test/main.cpp version 1 in 0.01 seconds # | I[23:37:15.329] Indexing c++17 standard library in the context of /clangd-test/main.cpp # | clangd: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:109: static bool llvm::isa_impl_cl<clang::NonTypeTemplateParmDecl, const clang::NamedDecl *>::doit(const From *) [To = clang::NonTypeTemplateParmDecl, From = const clang::NamedDecl *]: Assertion `Val && "isa<> used on a null pointer"' failed. # | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug. # | Stack dump: # | 0. Program arguments: clangd -pretty -sync -enable-test-uri-scheme # | #0 0x00000000014be798 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13 # | #1 0x00000000014bbef5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18 # | #2 0x00000000014bf561 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38 # | #3 0x00007df17357d330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330) # | #4 0x00007df1735d6b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c) # | #5 0x00007df17357d27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e) # | #6 0x00007df1735608ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff) # | #7 0x00007df17356081b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b) # | #8 0x00007df173573517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517) # | #9 0x00000000037f3604 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clangd+0x37f3604) # | #10 0x00000000037f86f9 (anonymous namespace)::TypeIndexer::TraverseSubstTemplateTypeParmTypeLoc(clang::SubstTemplateTypeParmTypeLoc, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Index/IndexTypeSourceInfo.cpp:210:3 # | #11 0x00000000037f5e08 clang::RecursiveASTVisitor<(anonymous namespace)::TypeIndexer>::TraverseTypeLoc(clang::TypeLoc, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include/clang/AST/TypeNodes.inc:0:1 # | #12 0x00000000037f8b05 (anonymous namespace)::TypeIndexer::TraverseTemplateSpecializationTypeLoc(clang::TemplateSpecializationTypeLoc, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Index/IndexTypeSourceInfo.cpp:190:11 # | #13 0x00000000037f5baa clang::RecursiveASTVisitor<(anonymous namespace)::TypeIndexer>::TraverseTypeLoc(clang::TypeLoc, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:741:1 # | #14 0x00000000037f632d begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45 # | #15 0x00000000037f632d end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27 # | #16 0x00000000037f632d ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46 # | #17 0x00000000037f632d ~TypeIndexer /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Index/IndexTypeSourceInfo.cpp:23:7 # | #18 0x00000000037f632d indexTypeLoc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Index/IndexTypeSourceInfo.cpp:260:3 # | #19 0x00000000037f632d indexTypeSourceInfo /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Index/IndexTypeSourceInfo.cpp:247:3 # | #20 0x00000000037f632d clang::index::IndexingContext::indexTagDecl(clang::TagDecl const*, llvm::ArrayRef<clang::index::SymbolRelation>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Index/IndexTypeSourceInfo.cpp:301:11 # | #21 0x00000000037d00ab isPresent /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:616:53 # | #22 0x00000000037d00ab isPresent<llvm::PointerUnion<const clang::ASTTemplateArgumentListInfo *, clang::ExplicitInstantiationInfo *> > /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:624:10 # | #23 0x00000000037d00ab dyn_cast_if_present<clang::ExplicitInstantiationInfo *, llvm::PointerUnion<const clang::ASTTemplateArgumentListInfo *, clang::ExplicitInstantiationInfo *> > /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:733:8 # | #24 0x00000000037d00ab getTemplateArgsAsWritten /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/DeclTemplate.h:2051:13 # | #25 0x00000000037d00ab (anonymous namespace)::IndexingDeclVisitor::VisitClassTemplateSpecializationDecl(clang::ClassTemplateSpecializationDecl const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Index/IndexDecl.cpp:679:16 # | #26 0x00000000037ce461 clang::declvisitor::Base<llvm::make_const_ptr, (anonymous namespace)::IndexingDeclVisitor, bool>::Visit(clang::Decl const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/DeclVisitor.h:46:3 # | #27 0x00000000037d1c18 asInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:41:5 # | #28 0x00000000037d1c18 operator long /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:45:48 # | #29 0x00000000037d1c18 getInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:96:57 # | #30 0x00000000037d1c18 isPossible /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerUnion.h:224:18 # | #31 0x00000000037d1c18 isPossible /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:396:12 # | #32 0x00000000037d1c18 isa<clang::LazyGenerationalUpdatePtr<const clang::Decl *, clang::Decl *, &clang::ExternalASTSource::CompleteRedeclChain>, llvm::PointerUnion<llvm::PointerUnion<clang::Decl *, const void *>, clang::LazyGenerationalUpdatePtr<const clang::Decl *, clang::Decl *, &clang::ExternalASTSource::CompleteRedeclChain> > > /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:548:11 # | #33 0x00000000037d1c18 isFirst /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/Redeclarable.h:116:14 # | #34 0x00000000037d1c18 isFirstDecl /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/Redeclarable.h:220:48 # | #35 0x00000000037d1c18 operator++ /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/Redeclarable.h:260:20 # | #36 0x00000000037d1c18 (anonymous namespace)::IndexingDeclVisitor::VisitTemplateDecl(clang::TemplateDecl const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Index/IndexDecl.cpp:748:23 # | #37 0x00000000037ce379 clang::index::IndexingContext::indexDecl(clang::Decl const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Index/IndexDecl.cpp:811:7 # | #38 0x00000000037d04db indexDeclContext /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Index/IndexDecl.cpp:0:10 # | #39 0x00000000037d04db (anonymous namespace)::IndexingDeclVisitor::VisitNamespaceDecl(clang::NamespaceDecl const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Index/IndexDecl.cpp:595:14 # | #40 0x00000000037ce379 clang::index::IndexingContext::indexDecl(clang::Decl const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Index/IndexDecl.cpp:811:7 # | #41 0x00000000037ce5c0 clang::index::IndexingContext::indexTopLevelDecl(clang::Decl const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Index/IndexDecl.cpp:0:10 # | #42 0x00000000037ccf2c clang::index::indexTopLevelDecls(clang::ASTContext&, clang::Preprocessor&, llvm::ArrayRef<clang::Decl const*>, clang::index::IndexDataConsumer&, clang::index::IndexingOptions) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Index/IndexingAction.cpp:293:22 # | #43 0x0000000002b8ae62 ~_Function_base /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:243:11 # | #44 0x0000000002b8ae62 ~IndexingOptions /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Index/IndexingOptions.h:20:8 # | #45 0x0000000002b8ae62 clang::clangd::(anonymous namespace)::indexSymbols(clang::ASTContext&, clang::Preprocessor&, llvm::ArrayRef<clang::Decl*>, clang::clangd::MainFileMacros const*, clang::include_cleaner::PragmaIncludes const&, bool, llvm::StringRef, bool, clang::clangd::SymbolOrigin) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/index/FileIndex.cpp:82:3 # | #46 0x0000000002b8bcf6 _M_deallocate /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:389:6 # | #47 0x0000000002b8bcf6 ~_Vector_base /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:369:2 # | #48 0x0000000002b8bcf6 ~vector /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:738:7 # | #49 0x0000000002b8bcf6 clang::clangd::indexHeaderSymbols(llvm::StringRef, clang::ASTContext&, clang::Preprocessor&, clang::include_cleaner::PragmaIncludes const&, clang::clangd::SymbolOrigin) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/index/FileIndex.cpp:242:1 # | #50 0x0000000002bb3fce _M_head /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/tuple:269:66 # | #51 0x0000000002bb3fce __get_helper<0UL, clang::clangd::SymbolSlab, clang::clangd::RefSlab, clang::clangd::RelationSlab> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/tuple:1788:14 # | #52 0x0000000002bb3fce get<0UL, clang::clangd::SymbolSlab, clang::clangd::RefSlab, clang::clangd::RelationSlab> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/tuple:1804:14 # | #53 0x0000000002bb3fce clang::clangd::indexStandardLibrary(llvm::StringRef, std::unique_ptr<clang::CompilerInvocation, std::default_delete<clang::CompilerInvocation>>, clang::clangd::StdLibLocation const&, clang::clangd::ThreadsafeFS const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/index/StdLib.cpp:247:23 # | #54 0x0000000002bb59a8 ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:403:6 # | #55 0x0000000002bb59a8 clang::clangd::indexStandardLibrary(std::unique_ptr<clang::CompilerInvocation, std::default_delete<clang::CompilerInvocation>>, clang::clangd::StdLibLocation const&, clang::clangd::ThreadsafeFS const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/index/StdLib.cpp:269:3 # | #56 0x000000000283db2c clang::clangd::(anonymous namespace)::UpdateIndexCallbacks::indexStdlib(clang::CompilerInvocation const&, clang::clangd::StdLibLocation)::'lambda'()::operator()() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/ClangdServer.cpp:0:20 # | #57 0x000000000283b5e2 indexStdlib /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/ClangdServer.cpp:0:7 # | #58 0x000000000283b5e2 clang::clangd::(anonymous namespace)::UpdateIndexCallbacks::onPreambleAST(llvm::StringRef, llvm::StringRef, clang::clangd::CapturedASTCtx, std::shared_ptr<clang::include_cleaner::PragmaIncludes const>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/ClangdServer.cpp:88:7 # | #59 0x0000000002a77c05 ~__shared_count /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1070:6 # | #60 0x0000000002a77c05 ~__shared_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1524:31 # | #61 0x0000000002a77c05 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/TUScheduler.cpp:1092:9 # | #62 0x0000000002a77c05 __invoke_impl<void, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/TUScheduler.cpp:1090:7) &, clang::clangd::CapturedASTCtx, std::shared_ptr<const clang::include_cleaner::PragmaIncludes> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:61:14 # | #63 0x0000000002a77c05 __invoke_r<void, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/TUScheduler.cpp:1090:7) &, clang::clangd::CapturedASTCtx, std::shared_ptr<const clang::include_cleaner::PragmaIncludes> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:111:2 # | #64 0x0000000002a77c05 std::_Function_handler<void (clang::clangd::CapturedASTCtx, std::shared_ptr<clang::include_cleaner::PragmaIncludes const>), clang::clangd::(anonymous namespace)::PreambleThread::build(clang::clangd::(anonymous namespace)::PreambleThread::Request)::$_0>::_M_invoke(std::_Any_data const&, clang::clangd::CapturedASTCtx&&, std::shared_ptr<clang::include_cleaner::PragmaIncludes const>&&) /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:290:9 # | #65 0x00000000029ce1fc ~__shared_count /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1070:6 # | #66 0x00000000029ce1fc ~__shared_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1524:31 # | #67 0x00000000029ce1fc clang::clangd::buildPreamble(llvm::StringRef, clang::CompilerInvocation, clang::clangd::ParseInputs const&, bool, std::function<void (clang::clangd::CapturedASTCtx, std::shared_ptr<clang::include_cleaner::PragmaIncludes const>)>, clang::clangd::PreambleBuildStats*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/Preamble.cpp:709:7 # | #68 0x0000000002a76776 clang::clangd::(anonymous namespace)::PreambleThread::build(clang::clangd::(anonymous namespace)::PreambleThread::Request) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/TUScheduler.cpp:1088:17 # | #69 0x0000000002a7bcc1 update /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/TUScheduler.cpp:448:7 # | #70 0x0000000002a7bcc1 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/TUScheduler.cpp:949:18 # | #71 0x0000000002a7bcc1 void llvm::detail::UniqueFunctionBase<void>::CallImpl<clang::clangd::(anonymous namespace)::ASTWorker::update(clang::clangd::ParseInputs, clang::clangd::WantDiagnostics, bool)::$_0>(void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:212:12 # | #72 0x0000000002a74afc operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0:12 # | #73 0x0000000002a74afc clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/TUScheduler.cpp:1327:3 # | #74 0x0000000002a6d8ea asInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:41:5 # | #75 0x0000000002a6d8ea operator long /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:45:48 # | #76 0x0000000002a6d8ea getPointer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:94:58 # | #77 0x0000000002a6d8ea ~UniqueFunctionBase /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:274:32 # | #78 0x0000000002a6d8ea clang::clangd::(anonymous namespace)::ASTWorker::update(clang::clangd::ParseInputs, clang::clangd::WantDiagnostics, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/TUScheduler.cpp:970:3 # | #79 0x0000000002a6c828 _M_data /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:223:28 # | #80 0x0000000002a6c828 _M_is_local /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:264:6 # | #81 0x0000000002a6c828 _M_dispose /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:282:7 # | #82 0x0000000002a6c828 ~basic_string /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:804:9 # | #83 0x0000000002a6c828 ~ParseInputs /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/Compiler.h:49:8 # | #84 0x0000000002a6c828 clang::clangd::TUScheduler::update(llvm::StringRef, clang::clangd::ParseInputs, clang::clangd::WantDiagnostics) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/TUScheduler.cpp:1690:3 # | #85 0x000000000282de47 clang::clangd::ClangdServer::addDocument(llvm::StringRef, llvm::StringRef, llvm::StringRef, clang::clangd::WantDiagnostics, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/ClangdServer.cpp:316:33 # | #86 0x00000000027d23c5 _M_data /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:223:28 # | #87 0x00000000027d23c5 _M_is_local /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:264:6 # | #88 0x00000000027d23c5 _M_dispose /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:282:7 # | #89 0x00000000027d23c5 ~basic_string /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:804:9 # | #90 0x00000000027d23c5 clang::clangd::ClangdLSPServer::onDocumentDidOpen(clang::clangd::DidOpenTextDocumentParams const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/ClangdLSPServer.cpp:736:3 # | #91 0x00000000028143cb void clang::clangd::LSPBinder::notification<clang::clangd::DidOpenTextDocumentParams, clang::clangd::ClangdLSPServer>(llvm::StringLiteral, clang::clangd::ClangdLSPServer*, void (clang::clangd::ClangdLSPServer::*)(clang::clangd::DidOpenTextDocumentParams const&))::'lambda'(llvm::json::Value)::operator()(llvm::json::Value) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/LSPBinder.h:0:5 # | #92 0x0000000002814300 ~Value /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/JSON.h:385:14 # | #93 0x0000000002814300 void llvm::detail::UniqueFunctionBase<void, llvm::json::Value>::CallImpl<void clang::clangd::LSPBinder::notification<clang::clangd::DidOpenTextDocumentParams, clang::clangd::ClangdLSPServer>(llvm::StringLiteral, clang::clangd::ClangdLSPServer*, void (clang::clangd::ClangdLSPServer::*)(clang::clangd::DidOpenTextDocumentParams const&))::'lambda'(llvm::json::Value)>(void*, llvm::json::Value&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:212:5 # | #94 0x00000000027e762d ~Value /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/JSON.h:385:14 # | #95 0x00000000027e762d clang::clangd::ClangdLSPServer::MessageHandler::onNotify(llvm::StringRef, llvm::json::Value) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/ClangdLSPServer.cpp:219:7 # | #96 0x000000000298415f handleMessage /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/JSONTransport.cpp:195:18 # | #97 0x000000000298415f clang::clangd::(anonymous namespace)::JSONTransport::loop(clang::clangd::Transport::MessageHandler&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/JSONTransport.cpp:119:16 # | #98 0x00000000027e13ea getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42 # | #99 0x00000000027e13ea operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16 # | #100 0x00000000027e13ea clang::clangd::ClangdLSPServer::run() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/ClangdLSPServer.cpp:1758:12 # | #101 0x000000000274006c clang::clangd::clangdMain(int, char**) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/tool/ClangdMain.cpp:1067:18 # | #102 0x00007df1735621ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca) # | #103 0x00007df17356228b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b) # | #104 0x000000000134fba5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clangd+0x134fba5) # | Signalled while building preamble # | Filename: main.cpp # | Directory: /clangd-test # | Command Line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -resource-dir=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23 -- /clangd-test/main.cpp # | Version: 1 # | Signalled during AST worker action: Update # | Filename: main.cpp # | Directory: /clangd-test # | Command Line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -resource-dir=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23 -- /clangd-test/main.cpp # | Version: 1 # | Signalled while processing message: # | {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"test:///main.cpp","languageId":"cpp","version":1,"text":"struct fake { int a, bb, ccc; int f(int i, const float f) const; };\nint main() {\n fake f;\n f.\n}\n"}}} # `----------------------------- # error: command failed with exit status: 1 # executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -strict-whitespace /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/test/protocol.test # .---command stderr------------ # | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/test/protocol.test:32:16: error: CHECK: expected string not found in input # | # CHECK: "id": 1, # | ^ # | <stdin>:14:8: note: scanning from here # | }, # | ^ # | <stdin>:62:13: note: possible intended match here # | "legend": { # | ^ # | # | Input file: <stdin> # | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/test/protocol.test # | # | -dump-input=help explains the following input dump. # | # | Input was: # | <<<<<< # | . # | . # | . # | 9: "callHierarchyProvider": true, # | 10: "clangdInlayHintsProvider": true, # | 11: "codeActionProvider": true, # | 12: "compilationDatabase": { # | 13: "automaticReload": true # | 14: }, # | check:32'0 X~ error: no match found # | 15: "completionProvider": { # | check:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 16: "resolveProvider": false, # | check:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 17: "triggerCharacters": [ # | check:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 18: ".", # | check:32'0 ~~~~~~~~~~~~~~~ # | 19: "<", # | check:32'0 ~~~~~~~~~~~~~~~ # | . # | . # | . # | 57: "selectionRangeProvider": true, # | check:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 58: "semanticTokensProvider": { # | check:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 59: "full": { # | check:32'0 ~~~~~~~~~~~~~~~~~~ # | 60: "delta": true # | check:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~ # | 61: }, # | check:32'0 ~~~~~~~~~~~ # | 62: "legend": { # | check:32'0 ~~~~~~~~~~~~~~~~~~~~ # | check:32'1 ? possible intended match # | 63: "tokenModifiers": [ # | check:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 64: "declaration", # | check:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 65: "definition", # | check:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 66: "deprecated", # | check:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 67: "deduced", # | check:32'0 ~~~~~~~~~~~~~~~~~~~~~~~ # | . # | . # | . # | >>>>>> # `----------------------------- # error: command failed with exit status: 1 -- ``` </details> ### Clang <details> <summary>Clang.Index/index-template-specialization.cpp</summary> ``` Exit Code: 2 Command Output (stdout): -- # RUN: at line 20 env CINDEXTEST_INDEXIMPLICITTEMPLATEINSTANTIATIONS=1 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/c-index-test -index-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Index/index-template-specialization.cpp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Index/index-template-specialization.cpp # executed command: env CINDEXTEST_INDEXIMPLICITTEMPLATEINSTANTIATIONS=1 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/c-index-test -index-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Index/index-template-specialization.cpp # .---command stderr------------ # | c-index-test: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Index/IndexSymbol.cpp:54: bool clang::index::isFunctionLocalSymbol(const Decl *): Assertion `D' failed. # | libclang: crash detected during indexing source file: { # | 'source_filename' : '(null)' # | 'command_line_args' : ['clang', '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Index/index-template-specialization.cpp'], # | 'unsaved_files' : [], # | 'options' : 1, # | } # | c-index-test: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/Sema.cpp:590: clang::Sema::~Sema(): Assertion `InstantiatingSpecializations.empty() && "failed to clean up an InstantiatingTemplate?"' failed. # | #0 0x0000784654426a08 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13 # | #1 0x000078465442415c llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18 # | #2 0x00007846544277d1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38 # | #3 0x000078464b6dd330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330) # | #4 0x000078464b736b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c) # | #5 0x000078464b6dd27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e) # | #6 0x000078464b6c08ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff) # | #7 0x000078464b6c081b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b) # | #8 0x000078464b6d3517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517) # | #9 0x0000784651a4aad5 OpenMP /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/Sema.h:1504:5 # | #10 0x0000784651a4aad5 clang::Sema::~Sema() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/Sema.cpp:618:3 # | #11 0x000078465183c9d7 operator() /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:99:2 # | #12 0x000078465183c9d7 ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:404:4 # | #13 0x000078465183c9d7 clang::CompilerInstance::~CompilerInstance() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:86:1 # | #14 0x000078465183cf49 clang::CompilerInstance::~CompilerInstance() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:84:39 # | #15 0x00007846543939b2 llvm::CrashRecoveryContext::~CrashRecoveryContext() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:117:5 # | #16 0x0000784650e6f6cb clang_indexSourceFileFullArgv /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/libclang/Indexing.cpp:942:1 # | #17 0x0000784650e6f30f clang_indexSourceFile /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/libclang/Indexing.cpp:881:10 # | #18 0x0000000000e19dfe index_compile_args c-index-test.c:0:0 # | #19 0x0000000000e159ed index_file c-index-test.c:0:0 # | #20 0x0000000000e17f0d thread_runner (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/c-index-test+0xe17f0d) # | #21 0x0000784650defe02 operator() /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:99:2 # | #22 0x0000784650defe02 ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:404:4 # | #23 0x0000784650defe02 GenericThreadProxy<std::tuple<void (*)(void *), void *> > /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/thread.h:49:3 # | #24 0x0000784650defe02 void* llvm::thread::ThreadProxy<std::tuple<void (*)(void*), void*>>(void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/thread.h:62:5 # | #25 0x000078464b734aa4 (/lib/x86_64-linux-gnu/libc.so.6+0x9caa4) # | #26 0x000078464b7c1c6c (/lib/x86_64-linux-gnu/libc.so.6+0x129c6c) # `----------------------------- # error: command failed with exit status: -6 # executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Index/index-template-specialization.cpp # .---command stderr------------ # | FileCheck error: '<stdin>' is empty. # | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Index/index-template-specialization.cpp # `----------------------------- # error: command failed with exit status: 2 -- ``` </details> If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label. https://github.com/llvm/llvm-project/pull/177273 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
