github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 51575 tests passed
* 877 tests skipped
* 2 tests failed

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

### Clang
<details>
<summary>Clang.Sema/warn-thread-safety-analysis.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\22\include -nostdsysteminc 
-fsyntax-only -verify -Wthread-safety -Wthread-safety-pointer 
-Wthread-safety-beta 
C:\_work\llvm-project\llvm-project\clang\test\Sema\warn-thread-safety-analysis.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\22\include' -nostdsysteminc 
-fsyntax-only -verify -Wthread-safety -Wthread-safety-pointer 
-Wthread-safety-beta 
'C:\_work\llvm-project\llvm-project\clang\test\Sema\warn-thread-safety-analysis.c'
# .---command stderr------------
# | error: 'expected-warning' diagnostics seen but not expected: 
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\Sema\warn-thread-safety-analysis.c
 Line 198: cast to smaller integer type 'unsigned long' from 'struct Mutex *'
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\Sema\warn-thread-safety-analysis.c
 Line 198: cast to 'int *' from smaller integer type 'unsigned long'
# | 2 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.SemaCXX/warn-thread-safety-analysis.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\22\include -nostdsysteminc 
-fsyntax-only -verify -std=c++11 -Wthread-safety -Wthread-safety-pointer 
-Wthread-safety-beta -Wno-thread-safety-negative -fcxx-exceptions 
-DUSE_CAPABILITY=0 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\22\include' -nostdsysteminc 
-fsyntax-only -verify -std=c++11 -Wthread-safety -Wthread-safety-pointer 
-Wthread-safety-beta -Wno-thread-safety-negative -fcxx-exceptions 
-DUSE_CAPABILITY=0 
'C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp'
# .---command stderr------------
# | error: 'expected-error' diagnostics seen but not expected: 
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7330: cast from pointer to smaller type 'unsigned long' loses information
# | error: 'expected-warning' diagnostics expected but not seen: 
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7390: writing variable 'data' requires holding mutex 'f->mu' exclusively
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7400: writing variable 'data' requires holding mutex 'f->mu' exclusively
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7412: writing variable 'data' requires holding mutex 'f->mu' exclusively
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7472: writing variable 'data' requires holding mutex 'ptr->mu' exclusively
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7472: mutex 'ptr->mu' is not held on every path through here
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7472: mutex 'returnsFoo().mu' is not held on every path through here
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7475: releasing mutex 'ptr->mu' that was not held
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7488: writing variable 'data' requires holding mutex 'f1.mu'
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7561: writing variable 'data' requires holding mutex 'f1->mu' exclusively
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7564: writing variable 'data' requires holding mutex 'f2->mu' exclusively
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7668: releasing mutex 'ptr->mu' that was not held
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7669: mutex 'f1->mu' is still held at the end of function
# | error: 'expected-note' diagnostics expected but not seen: 
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7390: found near match 'ptr->mu'
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7400: found near match 'ptr->mu'
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7412: found near match 'ptr->mu'
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7467: mutex acquired here
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7470: mutex acquired here
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7488: found near match 'f2.mu'
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7561: found near match 'ptr->mu'
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7564: found near match 'ptr->mu'
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\warn-thread-safety-analysis.cpp
 Line 7660: mutex acquired here
# | 22 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/172638
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to