github-actions[bot] wrote: <!--PREMERGE ADVISOR COMMENT: Linux--> # :penguin: Linux x64 Test Results
* 84773 tests passed * 1115 tests skipped * 1 test failed ## Failed Tests (click on a test name to see its output) ### Clang <details> <summary>Clang.Sema/warn-lifetime-safety.cpp</summary> ``` Exit Code: -11 Command Output (stdout): -- # RUN: at line 1 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -nostdsysteminc -fsyntax-only -fexperimental-lifetime-safety -Wexperimental-lifetime-safety -Wexperimental-lifetime-safety-suggestions -Wno-dangling -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/warn-lifetime-safety.cpp # executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -nostdsysteminc -fsyntax-only -fexperimental-lifetime-safety -Wexperimental-lifetime-safety -Wexperimental-lifetime-safety-suggestions -Wno-dangling -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/warn-lifetime-safety.cpp # .---command stderr------------ # | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. # | Stack dump: # | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -nostdsysteminc -fsyntax-only -fexperimental-lifetime-safety -Wexperimental-lifetime-safety -Wexperimental-lifetime-safety-suggestions -Wno-dangling -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/warn-lifetime-safety.cpp # | 1. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/warn-lifetime-safety.cpp:956:1: current parser token 'View' # | 2. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/warn-lifetime-safety.cpp:952:3: parsing function body 'return_view_directly' # | #0 0x0000000008d01718 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:834:13 # | #1 0x0000000008cfee25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:105:18 # | #2 0x0000000008d024e1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:426:38 # | #3 0x00007ba39f7a6330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330) # | #4 0x000000000bdf0ad2 clang::Expr::getExprLoc() const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/Expr.cpp:273:0 # | #5 0x000000000b087c6d clang::lifetimes::(anonymous namespace)::LifetimeSafetyReporterImpl::reportUseAfterReturn(clang::Expr const*, clang::Expr const*, clang::SourceLocation, clang::lifetimes::Confidence) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/AnalysisBasedWarnings.cpp:2878:14 # | #6 0x000000000b9a0fde isHandleInSync /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/EpochTracker.h:72:56 # | #7 0x000000000b9a0fde operator++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseMap.h:1234:5 # | #8 0x000000000b9a0fde issuePendingWarnings /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Analysis/LifetimeSafety/Checker.cpp:138:37 # | #9 0x000000000b9a0fde LifetimeChecker /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Analysis/LifetimeSafety/Checker.cpp:71:5 # | #10 0x000000000b9a0fde clang::lifetimes::internal::runLifetimeChecker(clang::lifetimes::internal::LoanPropagationAnalysis const&, clang::lifetimes::internal::LiveOriginsAnalysis const&, clang::lifetimes::internal::FactManager const&, clang::AnalysisDeclContext&, clang::lifetimes::LifetimeSafetyReporter*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Analysis/LifetimeSafety/Checker.cpp:172:19 # | #11 0x000000000b99a707 deallocateBuckets /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseMap.h:826:23 # | #12 0x000000000b99a707 ~DenseMap /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseMap.h:788:5 # | #13 0x000000000b99a707 ~FactsGenerator /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Analysis/Analyses/LifetimeSafety/FactsGenerator.h:27:7 # | #14 0x000000000b99a707 clang::lifetimes::internal::LifetimeSafetyAnalysis::run() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Analysis/LifetimeSafety/LifetimeSafety.cpp:70:1 # | #15 0x000000000b99a803 ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:403:6 # | #16 0x000000000b99a803 ~LifetimeSafetyAnalysis /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeSafety.h:70:7 # | #17 0x000000000b99a803 clang::lifetimes::runLifetimeSafetyAnalysis(clang::AnalysisDeclContext&, clang::lifetimes::LifetimeSafetyReporter*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Analysis/LifetimeSafety/LifetimeSafety.cpp:77:1 # | #18 0x000000000b073c0c clang::sema::AnalysisBasedWarnings::IssueWarnings(clang::sema::AnalysisBasedWarnings::Policy, clang::sema::FunctionScopeInfo*, clang::Decl const*, clang::QualType) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/AnalysisBasedWarnings.cpp:3125:7 # | #19 0x000000000b06717d clang::Sema::PopFunctionScopeInfo(clang::sema::AnalysisBasedWarnings::Policy const*, clang::Decl const*, clang::QualType) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/Sema.cpp:2456:3 # | #20 0x000000000b2356b0 ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:403:6 # | #21 0x000000000b2356b0 clang::Sema::ActOnFinishFunctionBody(clang::Decl*, clang::Stmt*, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDecl.cpp:16878:5 # | #22 0x000000000afbed78 clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseStmt.cpp:2439:18 # | #23 0x000000000af09a70 clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:0 # | #24 0x000000000af770e7 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:0:0 # | #25 0x000000000af08aea clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:10 # | #26 0x000000000af08306 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:1209:12 # | #27 0x000000000af072b7 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:14 # | #28 0x000000000af055a0 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:745:10 # | #29 0x000000000aef994e clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5 # | #30 0x00000000099c1ec6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1316:10 # | #31 0x0000000009929aad getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42 # | #32 0x0000000009929aad operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16 # | #33 0x0000000009929aad clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1003:23 # | #34 0x0000000009ab35bc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:310:25 # | #35 0x0000000006048593 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:301:15 # | #36 0x00000000060442e5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:225:12 # | #37 0x000000000604334d clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:268:12 # | #38 0x0000000006054337 main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10 # | #39 0x00007ba39f78b1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca) # | #40 0x00007ba39f78b28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b) # | #41 0x0000000006041d25 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x6041d25) # `----------------------------- # error: command failed with exit status: -11 -- ``` </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/169767 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
