github-actions[bot] wrote:

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

* 36438 tests passed
* 510 tests skipped

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

<details>
<summary>tools/clang/unittests/Analysis/Scalable/CMakeFiles/ClangScalableAnalysisTests.dir/Serialization/JSONFormatTest/TUSummaryTest.cpp.o</summary>

```
FAILED: 
tools/clang/unittests/Analysis/Scalable/CMakeFiles/ClangScalableAnalysisTests.dir/Serialization/JSONFormatTest/TUSummaryTest.cpp.o
sccache /opt/llvm/bin/clang++ -DLLVM_BUILD_STATIC -D_DEBUG 
-D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE 
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Analysis/Scalable
 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Analysis/Scalable
 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include
 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include
 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/include
 -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror 
-Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 
-fdiagnostics-color -ffunction-sections -fdata-sections -fno-common 
-Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG 
-Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions 
-funwind-tables -fno-rtti -Wno-suggest-override -MD -MT 
tools/clang/unittests/Analysis/Scalable/CMakeFiles/ClangScalableAnalysisTests.dir/Serialization/JSONFormatTest/TUSummaryTest.cpp.o
 -MF 
tools/clang/unittests/Analysis/Scalable/CMakeFiles/ClangScalableAnalysisTests.dir/Serialization/JSONFormatTest/TUSummaryTest.cpp.o.d
 -o 
tools/clang/unittests/Analysis/Scalable/CMakeFiles/ClangScalableAnalysisTests.dir/Serialization/JSONFormatTest/TUSummaryTest.cpp.o
 -c 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Analysis/Scalable/Serialization/JSONFormatTest/TUSummaryTest.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Analysis/Scalable/Serialization/JSONFormatTest/TUSummaryTest.cpp:95:7:
 error: abstract class is marked 'final' [-Werror,-Wabstract-final-class]
95 | class JSONFormatTUSummaryTest final : public JSONFormatTest {
|       ^
/home/gha/actions-runner/_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;
|                ^
/home/gha/actions-runner/_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) {
|        ^
/home/gha/actions-runner/_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 {
|       ^                       ~~~~~
/home/gha/actions-runner/_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) {
| ^
/home/gha/actions-runner/_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)
|                                         ^
/home/gha/actions-runner/_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, \
|   ^
/home/gha/actions-runner/_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;  \
|                                                           ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Analysis/Scalable/Serialization/JSONFormatTest/TUSummaryTest.cpp:240:1:
 error: only virtual member functions can be marked 'override'
/home/gha/actions-runner/_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)
|                                         ^
/home/gha/actions-runner/_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, \
|   ^
/home/gha/actions-runner/_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;                                            
      \
|                     ^
/home/gha/actions-runner/_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 {
|                           ^
/home/gha/actions-runner/_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) {
| ^
/home/gha/actions-runner/_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)
|                                         ^
/home/gha/actions-runner/_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, \
|   ^
/home/gha/actions-runner/_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<                         
      \
|                                ^
/home/gha/actions-runner/_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 {
|       ^                       ~~~~~
/home/gha/actions-runner/_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");
|                 ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_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) {
|        ^
/home/gha/actions-runner/_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 {
|       ^                       ~~~~~
/home/gha/actions-runner/_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) {
| ^
/home/gha/actions-runner/_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)
|                                         ^
/home/gha/actions-runner/_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, \
|   ^
/home/gha/actions-runner/_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;  \
|                                                           ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Analysis/Scalable/Serialization/JSONFormatTest/TUSummaryTest.cpp:248:1:
 error: only virtual member functions can be marked 'override'
/home/gha/actions-runner/_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)
|                                         ^
/home/gha/actions-runner/_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, \
|   ^
/home/gha/actions-runner/_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;                                            
      \
|                     ^
/home/gha/actions-runner/_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
/home/gha/actions-runner/_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>;
|         ^
/home/gha/actions-runner/_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);
|                          ^~~~~~~~~~~~~
/home/gha/actions-runner/_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);
|                 ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_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) {
|        ^
/home/gha/actions-runner/_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 {
|       ^                       ~~~~~
/home/gha/actions-runner/_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) {
| ^
/home/gha/actions-runner/_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)
|                                         ^
/home/gha/actions-runner/_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, \
|   ^
/home/gha/actions-runner/_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;  \
|                                                           ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Analysis/Scalable/Serialization/JSONFormatTest/TUSummaryTest.cpp:262:1:
 error: only virtual member functions can be marked 'override'
/home/gha/actions-runner/_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)
|                                         ^
/home/gha/actions-runner/_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, \
|   ^
/home/gha/actions-runner/_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;                                            
      \
|                     ^
/home/gha/actions-runner/_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
/home/gha/actions-runner/_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>;
|         ^
/home/gha/actions-runner/_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);
|                           ^~~~~~~~~
/home/gha/actions-runner/_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);
|                 ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_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) {
|        ^
/home/gha/actions-runner/_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 {
|       ^                       ~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
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