github-actions[bot] wrote:

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

* 3168 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/bugprone/unsafe-api-functions-calls.c</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/bugprone/unsafe-api-functions-calls.c
 bugprone-unsafe-api-functions-calls 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp
# 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/bugprone/unsafe-api-functions-calls.c
 bugprone-unsafe-api-functions-calls 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp
# .---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/unsafe-api-functions-calls.c.tmp.c',
 '-fix', '--checks=-*,bugprone-unsafe-api-functions-calls', '--config={}', 
'--', '-std=c99', '-nostdinc++', '-isystem', 
'/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std']...
# | 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/unsafe-api-functions-calls.c.tmp.c
 -fix --checks=-*,bugprone-unsafe-api-functions-calls --config={} -- -std=c99 
-nostdinc++ -isystem 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std
 failed:
# | 20 errors generated.
# | Error while processing 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c.
# | error: too many errors emitted, stopping now [clang-diagnostic-error]
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:10:12:
 error: use of undeclared identifier 'BUFSIZ' [clang-diagnostic-error]
# |    10 |   char buf[BUFSIZ];
# |       |            ^~~~~~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:11:3:
 error: call to undeclared function 'setvbuf'; ISO C99 and later do not support 
implicit function declarations [clang-diagnostic-implicit-function-declaration]
# |    11 |   setvbuf(stdin, buf, _IOFBF, BUFSIZ);
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:11:11:
 error: use of undeclared identifier 'stdin' [clang-diagnostic-error]
# |    11 |   setvbuf(stdin, buf, _IOFBF, BUFSIZ);
# |       |           ^~~~~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:11:23:
 error: use of undeclared identifier '_IOFBF' [clang-diagnostic-error]
# |    11 |   setvbuf(stdin, buf, _IOFBF, BUFSIZ);
# |       |                       ^~~~~~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:11:31:
 error: use of undeclared identifier 'BUFSIZ' [clang-diagnostic-error]
# |    11 |   setvbuf(stdin, buf, _IOFBF, BUFSIZ);
# |       |                               ^~~~~~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:17:3:
 error: call to undeclared function 'setvbuf'; ISO C99 and later do not support 
implicit function declarations [clang-diagnostic-implicit-function-declaration]
# |    17 |   setvbuf(stdin, (void *)0, _IONBF, 0);
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:17:11:
 error: use of undeclared identifier 'stdin' [clang-diagnostic-error]
# |    17 |   setvbuf(stdin, (void *)0, _IONBF, 0);
# |       |           ^~~~~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:17:29:
 error: use of undeclared identifier '_IONBF' [clang-diagnostic-error]
# |    17 |   setvbuf(stdin, (void *)0, _IONBF, 0);
# |       |                             ^~~~~~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:18:11:
 error: use of undeclared identifier 'stdin' [clang-diagnostic-error]
# |    18 |   setvbuf(stdin, NULL, _IONBF, 0);
# |       |           ^~~~~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:18:24:
 error: use of undeclared identifier '_IONBF' [clang-diagnostic-error]
# |    18 |   setvbuf(stdin, NULL, _IONBF, 0);
# |       |                        ^~~~~~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:19:11:
 error: use of undeclared identifier 'stdin' [clang-diagnostic-error]
# |    19 |   setvbuf(stdin, 0, _IONBF, 0);
# |       |           ^~~~~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:19:21:
 error: use of undeclared identifier '_IONBF' [clang-diagnostic-error]
# |    19 |   setvbuf(stdin, 0, _IONBF, 0);
# |       |                     ^~~~~~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:24:23:
 error: call to undeclared library function 'malloc' with type 'void 
*(__size_t)' (aka 'void *(unsigned long)'); ISO C99 and later do not support 
implicit function declarations [clang-diagnostic-implicit-function-declaration]
# |    24 |   char *buf = (char *)malloc(BUFSIZ);
# |       |                       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:24:23:
 note: include the header <stdlib.h> or explicitly provide a declaration for 
'malloc'
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:24:30:
 error: use of undeclared identifier 'BUFSIZ' [clang-diagnostic-error]
# |    24 |   char *buf = (char *)malloc(BUFSIZ);
# |       |                              ^~~~~~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:25:3:
 error: call to undeclared function 'setvbuf'; ISO C99 and later do not support 
implicit function declarations [clang-diagnostic-implicit-function-declaration]
# |    25 |   setvbuf(stdin, buf, _IOFBF, BUFSIZ);
# |       |   ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:25:11:
 error: use of undeclared identifier 'stdin' [clang-diagnostic-error]
# |    25 |   setvbuf(stdin, buf, _IOFBF, BUFSIZ);
# |       |           ^~~~~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:25:23:
 error: use of undeclared identifier '_IOFBF' [clang-diagnostic-error]
# |    25 |   setvbuf(stdin, buf, _IOFBF, BUFSIZ);
# |       |                       ^~~~~~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:25:31:
 error: use of undeclared identifier 'BUFSIZ' [clang-diagnostic-error]
# |    25 |   setvbuf(stdin, buf, _IOFBF, BUFSIZ);
# |       |                               ^~~~~~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:30:23:
 error: call to undeclared library function 'calloc' with type 'void 
*(__size_t, __size_t)' (aka 'void *(unsigned long, unsigned long)'); ISO C99 
and later do not support implicit function declarations 
[clang-diagnostic-implicit-function-declaration]
# |    30 |   char *buf = (char *)calloc(1, BUFSIZ);
# |       |                       ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unsafe-api-functions-calls.c.tmp.c:30:23:
 note: include the header <stdlib.h> or explicitly provide a declaration for 
'calloc'
# | Found compiler errors, but -fix-errors was not specified.
# | Fixes have NOT been applied.
# | 
# | Found compiler error(s).
# | 
# `-----------------------------
# .---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 554, 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 550, 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 426, in run
# |     clang_tidy_output = self.run_clang_tidy()
# |                         ^^^^^^^^^^^^^^^^^^^^^
# |   File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
 line 289, in run_clang_tidy
# |     clang_tidy_output = try_run(args)
# |                         ^^^^^^^^^^^^^
# |   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 '['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/unsafe-api-functions-calls.c.tmp.c',
 '-fix', '--checks=-*,bugprone-unsafe-api-functions-calls', '--config={}', 
'--', '-std=c99', '-nostdinc++', '-isystem', 
'/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std']'
 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/187637
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to