github-actions[bot] wrote:

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

* 3057 tests passed
* 29 tests skipped

All executed tests passed, but another part of the build **failed**. Click on a 
failure below to see the details.

<details>
<summary>[code=1] 
tools/clang/unittests/Analysis/Scalable/CMakeFiles/ClangScalableAnalysisTests.dir/Serialization/JSONFormatTest/TUSummaryTest.cpp.obj</summary>

```
FAILED: [code=1] 
tools/clang/unittests/Analysis/Scalable/CMakeFiles/ClangScalableAnalysisTests.dir/Serialization/JSONFormatTest/TUSummaryTest.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe  /nologo -TP -DCLANG_BUILD_STATIC 
-DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE 
-D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS 
-D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE 
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-Itools\clang\unittests\Analysis\Scalable 
-IC:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable 
-IC:\_work\llvm-project\llvm-project\clang\include -Itools\clang\include 
-Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include 
-IC:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include 
-IC:\_work\llvm-project\llvm-project\third-party\unittest\googlemock\include 
/DWIN32 /D_WINDOWS   /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj 
/permissive- -Werror=unguarded-availability-new /W4  -Wextra 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type 
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override 
-Wstring-conversion -Wno-pass-failed -Wmisleading-indentation 
-Wctad-maybe-unsupported /Gw /O2 /Ob2  -MD -UNDEBUG 
-Wno-gnu-zero-variadic-macro-arguments /EHs-c- /GR- -Wno-suggest-override 
-std:c++17 /showIncludes 
/Fotools\clang\unittests\Analysis\Scalable\CMakeFiles\ClangScalableAnalysisTests.dir\Serialization\JSONFormatTest\TUSummaryTest.cpp.obj
 
/Fdtools\clang\unittests\Analysis\Scalable\CMakeFiles\ClangScalableAnalysisTests.dir\
 -c -- 
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(95,7):
 warning: abstract class is marked 'final' [-Wabstract-final-class]
95 | class JSONFormatTUSummaryTest final : public JSONFormatTest {
|       ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(329,16):
 note: unimplemented pure virtual method 'TestBody' in 'JSONFormatTUSummaryTest'
329 |   virtual void TestBody() = 0;
|                ^
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(240,8):
 error: base 'JSONFormatTUSummaryTest' is marked 'final'
240 | TEST_F(JSONFormatTUSummaryTest, NonexistentFile) {
|        ^
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(95,7):
 note: 'JSONFormatTUSummaryTest' declared here
95 | class JSONFormatTUSummaryTest final : public JSONFormatTest {
|       ^                       ~~~~~
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(240,1):
 error: only virtual member functions can be marked 'override'
240 | TEST_F(JSONFormatTUSummaryTest, NonexistentFile) {
| ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(2208,41):
 note: expanded from macro 'TEST_F'
2208 | #define TEST_F(test_fixture, test_name) GTEST_TEST_F(test_fixture, 
test_name)
|                                         ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(2205,3):
 note: expanded from macro 'GTEST_TEST_F'
2205 |   GTEST_TEST_(test_fixture, test_name, test_fixture, \
|   ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/internal/gtest-internal.h(1530,59):
 note: expanded from macro 'GTEST_TEST_'
1530 |     ~GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() override = 
default;  \
|                                                           ^
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(240,1):
 error: only virtual member functions can be marked 'override'
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(2208,41):
 note: expanded from macro 'TEST_F'
2208 | #define TEST_F(test_fixture, test_name) GTEST_TEST_F(test_fixture, 
test_name)
|                                         ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(2205,3):
 note: expanded from macro 'GTEST_TEST_F'
2205 |   GTEST_TEST_(test_fixture, test_name, test_fixture, \
|   ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/internal/gtest-internal.h(1543,21):
 note: expanded from macro 'GTEST_TEST_'
1543 |     void TestBody() override;                                            
      \
|                     ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/internal/gtest-internal.h(500,27):
 error: base 'JSONFormatTUSummaryTest' is marked 'final'
500 | struct SuiteApiResolver : T {
|                           ^
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(240,1):
 note: in instantiation of template class 
'testing::internal::SuiteApiResolver<(anonymous 
namespace)::JSONFormatTUSummaryTest>' requested here
240 | TEST_F(JSONFormatTUSummaryTest, NonexistentFile) {
| ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(2208,41):
 note: expanded from macro 'TEST_F'
2208 | #define TEST_F(test_fixture, test_name) GTEST_TEST_F(test_fixture, 
test_name)
|                                         ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(2205,3):
 note: expanded from macro 'GTEST_TEST_F'
2205 |   GTEST_TEST_(test_fixture, test_name, test_fixture, \
|   ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/internal/gtest-internal.h(1552,32):
 note: expanded from macro 'GTEST_TEST_'
1552 |           ::testing::internal::SuiteApiResolver<                         
      \
|                                ^
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(95,7):
 note: 'JSONFormatTUSummaryTest' declared here
95 | class JSONFormatTUSummaryTest final : public JSONFormatTest {
|       ^                       ~~~~~
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(241,17):
 error: use of undeclared identifier 'readTUSummaryFromFile'
241 |   auto Result = readTUSummaryFromFile("nonexistent.json");
|                 ^~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(248,8):
 error: base 'JSONFormatTUSummaryTest' is marked 'final'
248 | TEST_F(JSONFormatTUSummaryTest, PathIsDirectory) {
|        ^
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(95,7):
 note: 'JSONFormatTUSummaryTest' declared here
95 | class JSONFormatTUSummaryTest final : public JSONFormatTest {
|       ^                       ~~~~~
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(248,1):
 error: only virtual member functions can be marked 'override'
248 | TEST_F(JSONFormatTUSummaryTest, PathIsDirectory) {
| ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(2208,41):
 note: expanded from macro 'TEST_F'
2208 | #define TEST_F(test_fixture, test_name) GTEST_TEST_F(test_fixture, 
test_name)
|                                         ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(2205,3):
 note: expanded from macro 'GTEST_TEST_F'
2205 |   GTEST_TEST_(test_fixture, test_name, test_fixture, \
|   ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/internal/gtest-internal.h(1530,59):
 note: expanded from macro 'GTEST_TEST_'
1530 |     ~GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() override = 
default;  \
|                                                           ^
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(248,1):
 error: only virtual member functions can be marked 'override'
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(2208,41):
 note: expanded from macro 'TEST_F'
2208 | #define TEST_F(test_fixture, test_name) GTEST_TEST_F(test_fixture, 
test_name)
|                                         ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(2205,3):
 note: expanded from macro 'GTEST_TEST_F'
2205 |   GTEST_TEST_(test_fixture, test_name, test_fixture, \
|   ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/internal/gtest-internal.h(1543,21):
 note: expanded from macro 'GTEST_TEST_'
1543 |     void TestBody() override;                                            
      \
|                     ^
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(249,3):
 error: unknown type name 'PathString'; did you mean 
'JSONFormatTUSummaryTest::PathString'?
249 |   PathString DirName("test_directory.json");
|   ^~~~~~~~~~
|   JSONFormatTUSummaryTest::PathString
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\JSONFormatTest.h(41,9):
 note: 'JSONFormatTUSummaryTest::PathString' declared here
41 |   using PathString = SmallString<128>;
|         ^
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(251,26):
 error: use of undeclared identifier 'makeDirectory'
251 |   auto ExpectedDirPath = makeDirectory(DirName);
|                          ^~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(254,17):
 error: use of undeclared identifier 'readTUSummaryFromFile'
254 |   auto Result = readTUSummaryFromFile(DirName);
|                 ^~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(262,8):
 error: base 'JSONFormatTUSummaryTest' is marked 'final'
262 | TEST_F(JSONFormatTUSummaryTest, NotJsonExtension) {
|        ^
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(95,7):
 note: 'JSONFormatTUSummaryTest' declared here
95 | class JSONFormatTUSummaryTest final : public JSONFormatTest {
|       ^                       ~~~~~
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(262,1):
 error: only virtual member functions can be marked 'override'
262 | TEST_F(JSONFormatTUSummaryTest, NotJsonExtension) {
| ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(2208,41):
 note: expanded from macro 'TEST_F'
2208 | #define TEST_F(test_fixture, test_name) GTEST_TEST_F(test_fixture, 
test_name)
|                                         ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(2205,3):
 note: expanded from macro 'GTEST_TEST_F'
2205 |   GTEST_TEST_(test_fixture, test_name, test_fixture, \
|   ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/internal/gtest-internal.h(1530,59):
 note: expanded from macro 'GTEST_TEST_'
1530 |     ~GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() override = 
default;  \
|                                                           ^
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(262,1):
 error: only virtual member functions can be marked 'override'
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(2208,41):
 note: expanded from macro 'TEST_F'
2208 | #define TEST_F(test_fixture, test_name) GTEST_TEST_F(test_fixture, 
test_name)
|                                         ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(2205,3):
 note: expanded from macro 'GTEST_TEST_F'
2205 |   GTEST_TEST_(test_fixture, test_name, test_fixture, \
|   ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/internal/gtest-internal.h(1543,21):
 note: expanded from macro 'GTEST_TEST_'
1543 |     void TestBody() override;                                            
      \
|                     ^
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(263,3):
 error: unknown type name 'PathString'; did you mean 
'JSONFormatTUSummaryTest::PathString'?
263 |   PathString FileName("test.txt");
|   ^~~~~~~~~~
|   JSONFormatTUSummaryTest::PathString
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\JSONFormatTest.h(41,9):
 note: 'JSONFormatTUSummaryTest::PathString' declared here
41 |   using PathString = SmallString<128>;
|         ^
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(265,27):
 error: use of undeclared identifier 'writeJSON'
265 |   auto ExpectedFilePath = writeJSON("{}", FileName);
|                           ^~~~~~~~~
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(268,17):
 error: use of undeclared identifier 'readTUSummaryFromFile'
268 |   auto Result = readTUSummaryFromFile(FileName);
|                 ^~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(277,8):
 error: base 'JSONFormatTUSummaryTest' is marked 'final'
277 | TEST_F(JSONFormatTUSummaryTest, BrokenSymlink) {
|        ^
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(95,7):
 note: 'JSONFormatTUSummaryTest' declared here
95 | class JSONFormatTUSummaryTest final : public JSONFormatTest {
|       ^                       ~~~~~
C:\_work\llvm-project\llvm-project\clang\unittests\Analysis\Scalable\Serialization\JSONFormatTest\TUSummaryTest.cpp(277,1):
 error: only virtual member functions can be marked 'override'
277 | TEST_F(JSONFormatTUSummaryTest, BrokenSymlink) {
| ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(2208,41):
 note: expanded from macro 'TEST_F'
2208 | #define TEST_F(test_fixture, test_name) GTEST_TEST_F(test_fixture, 
test_name)
|                                         ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(2205,3):
 note: expanded from macro 'GTEST_TEST_F'
2205 |   GTEST_TEST_(test_fixture, test_name, test_fixture, \
|   ^
C:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include\gtest/internal/gtest-internal.h(1530,59):
 note: expanded from macro 'GTEST_TEST_'
1530 |     ~GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() override = 
default;  \
|                                                           ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
```
</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/182523
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to