github-actions[bot] wrote:

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

* 3062 tests passed
* 7 tests skipped
* 1 test failed

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

### Clang Tools
<details>
<summary>Clang 
Tools.clang-tidy/checkers/misc/use-internal-linkage-type.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
 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-type.cpp
 misc-use-internal-linkage 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp
 --    -config="{CheckOptions: {      
misc-use-internal-linkage.AnalyzeFunctions: false,      
misc-use-internal-linkage.AnalyzeVariables: false    }}" -- 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage
# 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
 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-type.cpp
 misc-use-internal-linkage 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp
 -- '-config={CheckOptions: {      misc-use-internal-linkage.AnalyzeFunctions: 
false,      misc-use-internal-linkage.AnalyzeVariables: false    }}' -- 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage
# .---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/misc/Output/use-internal-linkage-type.cpp.tmp.cpp',
 '-fix', '--checks=-*,misc-use-internal-linkage', '-config={CheckOptions: {     
 misc-use-internal-linkage.AnalyzeFunctions: false,      
misc-use-internal-linkage.AnalyzeVariables: false    }}', '--', 
'-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage',
 '-std=c++11', '-nostdinc++']...
# | ------------------------ clang-tidy output -----------------------
# | 13 warnings generated.
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp:42:8:
 warning: struct 'S' can be moved into an anonymous namespace to enforce 
internal linkage [misc-use-internal-linkage]
# |    42 | struct S {};
# |       |        ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp:44:7:
 warning: union 'U' can be moved into an anonymous namespace to enforce 
internal linkage [misc-use-internal-linkage]
# |    44 | union U {};
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp:46:7:
 warning: class 'C' can be moved into an anonymous namespace to enforce 
internal linkage [misc-use-internal-linkage]
# |    46 | class C {};
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp:48:6:
 warning: enum 'E' can be moved into an anonymous namespace to enforce internal 
linkage [misc-use-internal-linkage]
# |    48 | enum E {};
# |       |      ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp:52:7:
 warning: class 'Template' can be moved into an anonymous namespace to enforce 
internal linkage [misc-use-internal-linkage]
# |    52 | class Template {};
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp:55:8:
 warning: struct 'OuterStruct' can be moved into an anonymous namespace to 
enforce internal linkage [misc-use-internal-linkage]
# |    55 | struct OuterStruct {
# |       |        ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp:74:8:
 warning: struct 'S' can be moved into an anonymous namespace to enforce 
internal linkage [misc-use-internal-linkage]
# |    74 | struct S {};
# |       |        ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp:76:7:
 warning: union 'U' can be moved into an anonymous namespace to enforce 
internal linkage [misc-use-internal-linkage]
# |    76 | union U {};
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp:78:7:
 warning: class 'C' can be moved into an anonymous namespace to enforce 
internal linkage [misc-use-internal-linkage]
# |    78 | class C {};
# |       |       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp:80:6:
 warning: enum 'E' can be moved into an anonymous namespace to enforce internal 
linkage [misc-use-internal-linkage]
# |    80 | enum E {};
# |       |      ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp:85:9:
 warning: struct 'TypedefedStruct' can be moved into an anonymous namespace to 
enforce internal linkage [misc-use-internal-linkage]
# |    85 | typedef struct {} TypedefedStruct;
# |       |         ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp:88:8:
 warning: struct 'Named' can be moved into an anonymous namespace to enforce 
internal linkage [misc-use-internal-linkage]
# |    88 | struct Named {} Variable;
# |       |        ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp:99:1:
 warning: struct 'ClassDefinedInMacro' can be moved into an anonymous namespace 
to enforce internal linkage [misc-use-internal-linkage]
# |    99 | MACRO
# |       | ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp:97:22:
 note: expanded from macro 'MACRO'
# |    97 | #define MACRO struct ClassDefinedInMacro {};
# |       |                      ^
# | 
# | ------------------------------------------------------------------
# | ------------------------------ Fixes -----------------------------
# | 
# | ------------------------------------------------------------------
# | FileCheck 
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp
 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-type.cpp
 --check-prefixes=CHECK-FIXES --match-full-lines failed:
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-type.cpp:91:17:
 error: CHECK-FIXES: expected string not found in input
# | // CHECK-FIXES: static struct Named {} Variable;
# |                 ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp:1:1:
 note: scanning from here
# | // RUN: %check_clang_tidy %s misc-use-internal-linkage %t -- \
# | ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp:88:1:
 note: possible intended match here
# | struct Named {} Variable;
# | ^
# | 
# | Input file: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/use-internal-linkage-type.cpp.tmp.cpp
# | Check file: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-type.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: // RUN: %check_clang_tidy %s misc-use-internal-linkage %t -- 
\ 
# | check:91'0     
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match 
found
# |             2: // RUN: -config="{CheckOptions: { \ 
# | check:91'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             3: // RUN: misc-use-internal-linkage.AnalyzeFunctions: false, \ 
# | check:91'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             4: // RUN: misc-use-internal-linkage.AnalyzeVariables: false \ 
# | check:91'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             5: // RUN: }}" -- -I%S/Inputs/use-internal-linkage 
# | check:91'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6:  
# | check:91'0     ~
# |             .
# |             .
# |             .
# |            83: } // namespace ns 
# | check:91'0     ~~~~~~~~~~~~~~~~~~
# |            84:  
# | check:91'0     ~
# |            85: typedef struct {} TypedefedStruct; 
# | check:91'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            86: // 
# | check:91'0     ~~~
# |            87:  
# | check:91'0     ~
# |            88: struct Named {} Variable; 
# | check:91'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:91'1     ?                          possible intended match
# |            89: // 
# | check:91'0     ~~~
# |            90: // 
# | check:91'0     ~~~
# |            91: // 
# | check:91'0     ~~~
# |            92:  
# | check:91'0     ~
# |            93: struct {} VariableOfUnnamedType; 
# | check:91'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# | 
# `-----------------------------
# .---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 413, 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 409, 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 311, in run
# |     self.check_fixes()
# |   File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
 line 255, in check_fixes
# |     try_run(
# |   File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
 line 63, 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/misc/Output/use-internal-linkage-type.cpp.tmp.cpp',
 
'/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-type.cpp',
 '--check-prefixes=CHECK-FIXES', '--match-full-lines']' returned non-zero exit 
status 1.
# `-----------------------------
# 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/173310
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to