github-actions[bot] wrote:

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

* 3335 tests passed
* 7 tests skipped
* 2 tests failed

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

### Clang Tools
<details>
<summary>Clang 
Tools.clang-tidy/checkers/bugprone/misplaced-widening-cast-explicit-only.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/usr/bin/python3 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py
 -check-suffix=DEFAULT 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/misplaced-widening-cast-explicit-only.cpp
 bugprone-misplaced-widening-cast 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp
 -- -config="{CheckOptions: 
{bugprone-misplaced-widening-cast.CheckImplicitCasts: false}}" --
# executed command: /usr/bin/python3 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py
 -check-suffix=DEFAULT 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/misplaced-widening-cast-explicit-only.cpp
 bugprone-misplaced-widening-cast 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp
 -- '-config={CheckOptions: 
{bugprone-misplaced-widening-cast.CheckImplicitCasts: false}}' --
# .---command stdout------------
# | Running ['clang-tidy', '--experimental-custom-checks', 
'/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp',
 '-fix', '--checks=-*,bugprone-misplaced-widening-cast', 
'-config={CheckOptions: {bugprone-misplaced-widening-cast.CheckImplicitCasts: 
false}}', '--', '-std=c++11', '-nostdinc++', '-isystem', 
'/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std']...
# | ------------------------ clang-tidy output -----------------------
# | 11 warnings generated.
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:10:7:
 warning: either cast from 'int' to 'long' is ineffective, or there is loss of 
precision before the conversion [bugprone-misplaced-widening-cast]
# |    10 |   l = (long)(a * b);
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:15:7:
 warning: either cast from 'int' to 'long' is ineffective, or there is loss of 
precision before the conversion [bugprone-misplaced-widening-cast]
# |    15 |   l = (long)(a << 8);
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:19:7:
 warning: either cast from 'int' to 'long' is ineffective, or there is loss of 
precision before the conversion [bugprone-misplaced-widening-cast]
# |    19 |   l = static_cast<long>(a * b);
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:28:7:
 warning: either cast from 'int' to 'long' is ineffective, or there is loss of 
precision before the conversion [bugprone-misplaced-widening-cast]
# |    28 |   l = (long)(a * b) == c;
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:30:12:
 warning: either cast from 'int' to 'long' is ineffective, or there is loss of 
precision before the conversion [bugprone-misplaced-widening-cast]
# |    30 |   l = c == (long)(a * b);
# |       |            ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:38:13:
 warning: either cast from 'unsigned int' to 'long' is ineffective, or there is 
loss of precision before the conversion [bugprone-misplaced-widening-cast]
# |    38 |   long l2 = (long)(n << 8);
# |       |             ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:45:8:
 warning: either cast from 'unsigned int' to 'long' is ineffective, or there is 
loss of precision before the conversion [bugprone-misplaced-widening-cast]
# |    45 |   func((long)(n << 8));
# |       |        ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:54:12:
 warning: either cast from 'int' to 'long' is ineffective, or there is loss of 
precision before the conversion [bugprone-misplaced-widening-cast]
# |    54 |     return (long)(a * 1000);
# |       |            ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:89:12:
 warning: either cast from 'int' to 'long' is ineffective, or there is loss of 
precision before the conversion [bugprone-misplaced-widening-cast]
# |    89 |   long l = static_cast<long>(x * 2);
# |       |            ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:96:12:
 warning: either cast from 'int' to 'long' is ineffective, or there is loss of 
precision before the conversion [bugprone-misplaced-widening-cast]
# |    96 |   long l = static_cast<long>(x * 2);
# |       |            ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:103:12:
 warning: either cast from 'int' to 'long' is ineffective, or there is loss of 
precision before the conversion [bugprone-misplaced-widening-cast]
# |   103 |   long l = static_cast<long>(x * 2);
# |       |            ^
# | 
# | ------------------------------------------------------------------
# | ------------------------------ Fixes -----------------------------
# | 
# | ------------------------------------------------------------------
# | FileCheck 
-input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp.msg
 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/misplaced-widening-cast-explicit-only.cpp
 -check-prefixes=CHECK-MESSAGES-DEFAULT -implicit-check-not={{warning|error}}: 
failed:
# | command line:1:22: error: IMPLICIT-CHECK-NOT: excluded string found in input
# | -implicit-check-not='{{warning|error}}:'
# |                      ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp.msg:2:185:
 note: found here
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:10:7:
 warning: either cast from 'int' to 'long' is ineffective, or there is loss of 
precision before the conversion [bugprone-misplaced-widening-cast]
# |                                                                             
                                                                                
                            ^~~~~~~~
# | 
# | Input file: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp.msg
# | Check file: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/misplaced-widening-cast-explicit-only.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: 11 warnings generated. 
# | not:imp1'0    {                         search range start (exclusive)
# |             2: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:10:7:
 warning: either cast from 'int' to 'long' is ineffective, or there is loss of 
precision before the conversion [bugprone-misplaced-widening-cast] 
# | not:imp1'1                                                                  
                                                                                
                                           !~~~~~~~                             
                                                                                
                              error: no match expected
# |             3:  10 | l = (long)(a * b); 
# |             4:  | ^ 
# |             5: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:15:7:
 warning: either cast from 'int' to 'long' is ineffective, or there is loss of 
precision before the conversion [bugprone-misplaced-widening-cast] 
# |             6:  15 | l = (long)(a << 8); 
# |             7:  | ^ 
# |             .
# |             .
# |             .
# |            21:  45 | func((long)(n << 8)); 
# |            22:  | ^ 
# |            23: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:54:12:
 warning: either cast from 'int' to 'long' is ineffective, or there is loss of 
precision before the conversion [bugprone-misplaced-widening-cast] 
# |            24:  54 | return (long)(a * 1000); 
# |            25:  | ^ 
# |            26: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:89:12:
 warning: either cast from 'int' to 'long' is ineffective, or there is loss of 
precision before the conversion [bugprone-misplaced-widening-cast] 
# | not:imp1'2                                                                  
                                                                                
                                    }                                           
                                                                                
                               search range end (exclusive)
# |            27:  89 | long l = static_cast<long>(x * 2); 
# |            28:  | ^ 
# |            29: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:96:12:
 warning: either cast from 'int' to 'long' is ineffective, or there is loss of 
precision before the conversion [bugprone-misplaced-widening-cast] 
# |            30:  96 | long l = static_cast<long>(x * 2); 
# |            31:  | ^ 
# |            32: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp:103:12:
 warning: either cast from 'int' to 'long' is ineffective, or there is loss of 
precision before the conversion [bugprone-misplaced-widening-cast] 
# | 
# | ...
# `---data was truncated (10240/10327) (change limit with -D output_limit=N)
# .---command stderr------------
# | Traceback (most recent call last):
# |   File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
 line 558, in <module>
# |     main()
# |   File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
 line 554, in main
# |     CheckRunner(args, extra_args).run()
# |   File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
 line 433, in run
# |     self.check_messages(main_output)
# |   File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
 line 358, in check_messages
# |     try_run(
# |   File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
 line 64, in try_run
# |     process_output = subprocess.check_output(args, 
stderr=subprocess.STDOUT).decode(
# |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# |   File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
# |     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
# |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# |   File "/usr/lib/python3.12/subprocess.py", line 571, in run
# |     raise CalledProcessError(retcode, process.args,
# | subprocess.CalledProcessError: Command '['FileCheck', 
'-input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/misplaced-widening-cast-explicit-only.cpp.tmp.cpp.msg',
 
'/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/misplaced-widening-cast-explicit-only.cpp',
 '-check-prefixes=CHECK-MESSAGES-DEFAULT', 
'-implicit-check-not={{warning|error}}:']' returned non-zero exit status 1.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang Tools.clang-tidy/infrastructure/alphabetical-order.test</summary>

```
Exit Code: 3

Command Output (stdout):
--
# RUN: at line 1
/usr/bin/python3 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../clang-tidy/tool/check_alphabetical_order.py
 -o 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/alphabetical-order.test.tmp.clang-tidy-checks-list.rst
# executed command: /usr/bin/python3 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../clang-tidy/tool/check_alphabetical_order.py
 -o 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/alphabetical-order.test.tmp.clang-tidy-checks-list.rst
# note: command had no output on stdout or stderr
# RUN: at line 2
diff --strip-trailing-cr 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../docs/clang-tidy/checks/list.rst
 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/alphabetical-order.test.tmp.clang-tidy-checks-list.rst
# executed command: diff --strip-trailing-cr 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../docs/clang-tidy/checks/list.rst
 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/alphabetical-order.test.tmp.clang-tidy-checks-list.rst
# note: command had no output on stdout or stderr
# RUN: at line 4
/usr/bin/python3 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../clang-tidy/tool/check_alphabetical_order.py
 -o 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/alphabetical-order.test.tmp.ReleaseNotes.rst
# executed command: /usr/bin/python3 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../clang-tidy/tool/check_alphabetical_order.py
 -o 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/alphabetical-order.test.tmp.ReleaseNotes.rst
# .---command stderr------------
# | Error: Duplicate entries in 'Changes in existing checks'.
# | 
# | Please merge these entries into a single bullet point.
# | 
# | -- Duplicate: - Improved :doc:`bugprone-misplaced-widening-cast
# | 
# | - At line 415:
# | - Improved :doc:`bugprone-misplaced-widening-cast
# |   <clang-tidy/checks/bugprone/misplaced-widening-cast>` check by fixing a 
false
# |   positive on bit field assignments when the `CheckImplicitCasts` option is
# |   enabled. The check now uses the actual bit field width instead of the
# |   declared type to determine if widening occurs.
# |   
# | - At line 421:
# | - Improved :doc:`bugprone-misplaced-widening-cast
# |   <clang-tidy/checks/bugprone/misplaced-widening-cast>` check by adding the
# |   :option:`IgnoreConstexprOverflowProven` option to suppress false positives
# |   when the calculation operand is a ``constexpr`` variable whose 
compile-time
# |   value provably fits inside the narrower type without overflow. The check
# |   still warns when the operand is a non-``constexpr`` ``const``, or when the
# |   ``constexpr`` value is negative or overflows.
# | 
# `-----------------------------
# error: command failed with exit status: 3

--

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

Reply via email to