github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 85163 tests passed
* 1180 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.Sema/warn-lifetime-safety-suggestions.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
rm -rf 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp
# executed command: rm -rf 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
split-file 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/warn-lifetime-safety-suggestions.cpp
 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp
# executed command: split-file 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/warn-lifetime-safety-suggestions.cpp
 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 3
/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 
-fexperimental-lifetime-safety-inference 
-Wexperimental-lifetime-safety-suggestions -Wexperimental-lifetime-safety 
-Wno-dangling 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp
 -verify 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.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 
-fexperimental-lifetime-safety-inference 
-Wexperimental-lifetime-safety-suggestions -Wexperimental-lifetime-safety 
-Wno-dangling 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp
 -verify 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
# .---command stderr------------
# | error: 'expected-error' diagnostics seen but not expected: 
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 30: function definition is not allowed here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 37: function definition is not allowed here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 41: function definition is not allowed here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 46: function definition is not allowed here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 50: function definition is not allowed here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 59: function definition is not allowed here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 62: function definition is not allowed here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 66: function definition is not allowed here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 71: function definition is not allowed here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 75: function definition is not allowed here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 79: function definition is not allowed here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 83: namespaces can only be defined in global or namespace scope
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 105: function definition is not allowed here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 127: function definition is not allowed here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 133: function definition is not allowed here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 142: namespaces can only be defined in global or namespace scope
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 152: namespaces can only be defined in global or namespace scope
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 165: namespaces can only be defined in global or namespace scope
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 178: namespaces can only be defined in global or namespace scope
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 194: namespaces can only be defined in global or namespace scope
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 212: namespaces can only be defined in global or namespace scope
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 234: function definition is not allowed here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 238: function definition is not allowed here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 244: function definition is not allowed here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 247: expected '}'
# | error: 'expected-warning' diagnostics expected but not seen: 
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_header.h
 Line 31: parameter in cross-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 28: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 29: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 37: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 41: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 50: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 62: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 66: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 71: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 75: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 79: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 85: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 94: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 100: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 105: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 143: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 147: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 160: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 173: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 179: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 183: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 189: address of stack memory is returned later
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 196: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 201: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 207: address of stack memory is returned later
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 214: parameter in intra-TU function should be marked 
[[clang::lifetimebound]]
# | error: 'expected-note' diagnostics expected but not seen: 
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 26: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 32: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 34: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 38: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 42: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 51: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 63: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 67: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 72: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 76: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 80: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 89: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 96: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 101: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 106: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 144: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 148: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 161: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 174: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 180: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 184: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 189 (directive at 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp:190):
 returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 197: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 202: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 207 (directive at 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp:208):
 returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 215: param returned here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 220: in instantiation of function template specialization 
'inference_with_templates::template_identity<MyObj>' requested here
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 226: in instantiation of function template specialization 
'inference_with_templates::template_caller<MyObj>' requested here
# | error: 'expected-note' diagnostics seen but not expected: 
# |   File 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Sema/Output/warn-lifetime-safety-suggestions.cpp.tmp/test_source.cpp
 Line 25: to match this '{'
# | 80 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</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/171972
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to