llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `lldb-remote-linux-ubuntu` running on `as-builder-9` while building `lldb` at step 7 "build-default".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/195/builds/20101 <details> <summary>Here is the relevant piece of the build log for the reference</summary> ``` Step 7 (build-default) failure: cmake (failure) ... /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/tools/lldb-dap/Protocol/ProtocolEvents.cpp:93:1: warning: control reaches end of non-void function [-Wreturn-type] 93 | } | ^ 28.799 [237/63/5413] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/OutputRedirector.cpp.o /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/tools/lldb-dap/OutputRedirector.cpp: In member function ‘void lldb_dap::OutputRedirector::Stop()’: /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/tools/lldb-dap/OutputRedirector.cpp:108:18: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 108 | (void)::write(fd, kCloseSentinel.data(), kCloseSentinel.size()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28.815 [237/62/5414] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Transport.cpp.o 28.967 [237/61/5415] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Handler/DataBreakpointInfoRequestHandler.cpp.o FAILED: tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Handler/DataBreakpointInfoRequestHandler.cpp.o ccache /usr/bin/c++ -DHAVE_ROUND -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/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/tools/lldb/tools/lldb-dap -I/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/tools/lldb-dap -I/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/include -I/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/tools/lldb/include -I/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/include -I/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/llvm/include -I/usr/include/python3.12 -I/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/llvm/../clang/include -I/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/tools/lldb/../clang/include -D__OPTIMIZE__ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-stringop-truncation -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Handler/DataBreakpointInfoRequestHandler.cpp.o -MF tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Handler/DataBreakpointInfoRequestHandler.cpp.o.d -o tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Handler/DataBreakpointInfoRequestHandler.cpp.o -c /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/tools/lldb-dap/Handler/DataBreakpointInfoRequestHandler.cpp /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/tools/lldb-dap/Handler/DataBreakpointInfoRequestHandler.cpp: In member function ‘virtual llvm::Expected<lldb_dap::protocol::DataBreakpointInfoResponseBody> lldb_dap::DataBreakpointInfoRequestHandler::Run(const lldb_dap::protocol::DataBreakpointInfoArguments&) const’: /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/tools/lldb-dap/Handler/DataBreakpointInfoRequestHandler.cpp:97:46: error: invalid user-defined conversion from ‘const lldb_dap::protocol::String’ to ‘const std::string&’ {aka ‘const std::__cxx11::basic_string<char>&’} [-fpermissive] 97 | return llvm::make_error<DAPError>(args.name + " is not a valid address", | ~~~~~^~~~ In file included from /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/tools/lldb-dap/Protocol/DAPTypes.h:19, from /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/tools/lldb-dap/Protocol/ProtocolTypes.h:23, from /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/tools/lldb-dap/ExceptionBreakpoint.h:13, from /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/tools/lldb-dap/DAP.h:14, from /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/tools/lldb-dap/Handler/DataBreakpointInfoRequestHandler.cpp:9: /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/tools/lldb-dap/Protocol/ProtocolBase.h:66:3: note: candidate is: ‘lldb_dap::protocol::String::operator std::string&()’ (near match) 66 | operator std::string &() { return m_str; } | ^~~~~~~~ /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/tools/lldb-dap/Protocol/ProtocolBase.h:66:3: note: passing ‘const lldb_dap::protocol::String*’ as ‘this’ argument discards qualifiers /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/tools/lldb-dap/Handler/DataBreakpointInfoRequestHandler.cpp:97:53: error: passing ‘const lldb_dap::protocol::String’ as ‘this’ argument discards qualifiers [-fpermissive] 97 | return llvm::make_error<DAPError>(args.name + " is not a valid address", | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/tools/lldb-dap/Protocol/ProtocolBase.h:66:3: note: in call to ‘lldb_dap::protocol::String::operator std::string&()’ 66 | operator std::string &() { return m_str; } | ^~~~~~~~ /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/tools/lldb-dap/Protocol/ProtocolBase.h:122:44: note: initializing argument 1 of ‘lldb_dap::protocol::String lldb_dap::protocol::operator+(const std::string&, const String&)’ 122 | inline String operator+(const std::string &LHS, const String &RHS) { | ~~~~~~~~~~~~~~~~~~~^~~ 28.981 [237/60/5416] Linking CXX executable bin/llvm-mc 29.019 [237/59/5417] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Breakpoint.cpp.o 29.058 [237/58/5418] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Handler/CompileUnitsRequestHandler.cpp.o 29.121 [237/57/5419] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/SourceBreakpoint.cpp.o 29.184 [237/56/5420] Linking CXX executable bin/llvm-cgdata 29.237 [237/55/5421] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Handler/DisconnectRequestHandler.cpp.o 29.262 [237/54/5422] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Handler/PauseRequestHandler.cpp.o 29.295 [237/53/5423] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Handler/NextRequestHandler.cpp.o 29.313 [237/52/5424] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Handler/StepOutRequestHandler.cpp.o 29.339 [237/51/5425] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Handler/TestGetTargetBreakpointsRequestHandler.cpp.o 29.357 [237/50/5426] Linking CXX executable bin/llvm-mca 29.363 [237/49/5427] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Handler/InitializeRequestHandler.cpp.o 29.367 [237/48/5428] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/ProtocolUtils.cpp.o 29.418 [237/47/5429] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Handler/RequestHandler.cpp.o FAILED: tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Handler/RequestHandler.cpp.o ``` </details> https://github.com/llvm/llvm-project/pull/181261 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
