github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
The build failed before running any tests. Click on a failure below to see the
details.
<details>
<summary>tools/lldb/unittests/DAP/CMakeFiles/DAPTests.dir/ProtocolRequestsTest.cpp.o</summary>
```
FAILED:
tools/lldb/unittests/DAP/CMakeFiles/DAPTests.dir/ProtocolRequestsTest.cpp.o
sccache /opt/llvm/bin/clang++ -DHAVE_ROUND -DLLVM_BUILD_STATIC -D_DEBUG
-D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/unittests/DAP
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/DAP
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/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/usr/include/python3.12
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../clang/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/../clang/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests
-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
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/tools/lldb-dap
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/tools/lldb-dap
-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 -Wno-unknown-pragmas
-Wno-strict-aliasing -Wno-vla-extension -O3 -DNDEBUG -std=c++17 -UNDEBUG
-Wno-suggest-override -Wno-variadic-macros
-Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables
-fno-rtti -MD -MT
tools/lldb/unittests/DAP/CMakeFiles/DAPTests.dir/ProtocolRequestsTest.cpp.o -MF
tools/lldb/unittests/DAP/CMakeFiles/DAPTests.dir/ProtocolRequestsTest.cpp.o.d
-o tools/lldb/unittests/DAP/CMakeFiles/DAPTests.dir/ProtocolRequestsTest.cpp.o
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/DAP/ProtocolRequestsTest.cpp
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/DAP/ProtocolRequestsTest.cpp:12:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Testing/Support/Error.h:13:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Testing/Support/SupportHelpers.h:17:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:274:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/include/gmock/internal/gmock-internal-utils.h:50:
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include/gtest/gtest.h:1379:11:
error: invalid operands to binary expression ('const
lldb_dap::protocol::var_ref_t' and 'const unsigned int')
1379 | if (lhs == rhs) {
| ~~~ ^ ~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include/gtest/gtest.h:1398:12:
note: in instantiation of function template specialization
'testing::internal::CmpHelperEQ<lldb_dap::protocol::var_ref_t, unsigned int>'
requested here
1398 | return CmpHelperEQ(lhs_expression, rhs_expression, lhs, rhs);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/DAP/ProtocolRequestsTest.cpp:426:3:
note: in instantiation of function template specialization
'testing::internal::EqHelper::Compare<lldb_dap::protocol::var_ref_t, unsigned
int, nullptr>' requested here
426 | EXPECT_EQ(expected->variablesReference, 42U);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include/gtest/gtest.h:1869:54:
note: expanded from macro 'EXPECT_EQ'
1869 | EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:144:23:
note: expanded from macro 'EXPECT_PRED_FORMAT2'
144 | GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:134:17:
note: expanded from macro 'GTEST_PRED_FORMAT2_'
134 | GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2), on_failure)
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:79:52:
note: expanded from macro 'GTEST_ASSERT_'
79 | if (const ::testing::AssertionResult gtest_ar = (expression)) \
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/tools/lldb-dap/Protocol/ProtocolBase.h:62:6:
note: candidate function not viable: no known conversion from 'const
lldb_dap::protocol::var_ref_t' to 'const Request' for 1st argument
62 | bool operator==(const Request &, const Request &);
| ^ ~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/tools/lldb-dap/Protocol/ProtocolBase.h:83:6:
note: candidate function not viable: no known conversion from 'const
lldb_dap::protocol::var_ref_t' to 'const Event' for 1st argument
83 | bool operator==(const Event &, const Event &);
| ^ ~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/tools/lldb-dap/Protocol/ProtocolBase.h:132:6:
note: candidate function not viable: no known conversion from 'const
lldb_dap::protocol::var_ref_t' to 'const Response' for 1st argument
132 | bool operator==(const Response &, const Response &);
| ^ ~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/tools/lldb-dap/Protocol/ProtocolBase.h:172:6:
note: candidate function not viable: no known conversion from 'const
lldb_dap::protocol::var_ref_t' to 'const Message' (aka 'const variant<Request,
Response, Event>') for 1st argument
172 | bool operator==(const Message &, const Message &);
| ^ ~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include/gtest/gtest.h:1371:13:
note: candidate function not viable: no known conversion from 'const
lldb_dap::protocol::var_ref_t' to 'faketype' for 1st argument
1371 | inline bool operator==(faketype, faketype) { return true; }
| ^ ~~~~~~~~
1 error 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/181968
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits