ninja: Entering directory `out/gn' [1/237] AR lib/liblldbPluginSymbolFileDWARF.a [2/237] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [3/237] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [4/237] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [5/237] ACTION //libcxx/src:cxx_symlink(//llvm/utils/gn/build/toolchain:stage2_unix) [6/237] ACTION //compiler-rt/test/hwasan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [7/237] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [8/237] ACTION //compiler-rt/test/builtins:builtins_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [9/237] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [10/237] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [11/237] ACTION //llvm/include/llvm/Config:AsmParsers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [12/237] ACTION //llvm/include/llvm/Config:AsmPrinters.def(//llvm/utils/gn/build/toolchain:stage2_unix) [13/237] ACTION //llvm/include/llvm/Config:Disassemblers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [14/237] ACTION //llvm/include/llvm/Config:TargetExegesis.def(//llvm/utils/gn/build/toolchain:stage2_unix) [15/237] ACTION //llvm/include/llvm/Config:TargetMCAs.def(//llvm/utils/gn/build/toolchain:stage2_unix) [16/237] ACTION //llvm/include/llvm/Config:Targets(//llvm/utils/gn/build/toolchain:stage2_unix) [17/237] ACTION //llvm/include/llvm/Config:Targets.def(//llvm/utils/gn/build/toolchain:stage2_unix) [18/237] ACTION //llvm/include/llvm/Support:write_extension_def(//llvm/utils/gn/build/toolchain:stage2_unix) [19/237] ACTION //llvm/include/llvm/Config:abi-breaking(//llvm/utils/gn/build/toolchain:stage2_unix) [20/237] ACTION //llvm/include/llvm/Config:llvm-config(//llvm/utils/gn/build/toolchain:stage2_unix) [21/66] ACTION //llvm/include/llvm/Support:write_vcsrevision(//llvm/utils/gn/build/toolchain:stage2_unix) [22/66] ACTION //libcxx/src:cxx_linker_script(//llvm/utils/gn/build/toolchain:stage2_unix) [23/66] ACTION //llvm/include/llvm/Config:config(//llvm/utils/gn/build/toolchain:stage2_unix) [24/33] ACTION //compiler-rt/lib/ubsan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [25/33] ACTION //compiler-rt/lib/hwasan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [26/33] LINK ./bin/lldb-server [27/33] LINK ./bin/lldb-dap [28/33] LINK ./bin/lldb-test [29/33] CXX obj/llvm/unittests/Support/SupportTests.DebugLogTest.o FAILED: obj/llvm/unittests/Support/SupportTests.DebugLogTest.o ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/llvm/unittests/Support/SupportTests.DebugLogTest.o.d -o obj/llvm/unittests/Support/SupportTests.DebugLogTest.o -c ../../llvm/unittests/Support/DebugLogTest.cpp -DGTEST_HAS_RTTI=0 -I../../llvm/include -Igen/llvm/include -I../../third-party/unittest/googlemock/include -I../../third-party/unittest/googletest/include -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -fdebug-compilation-dir=. --sysroot=../../sysroot -Wpoison-system-directories -fPIC -Wcovered-switch-default -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti In file included from ../../llvm/unittests/Support/DebugLogTest.cpp:14: ../../llvm/include/llvm/Support/DebugLog.h:71:12: error: a type specifier is required for all declarations 71 | explicit raw_ldbg_ostream(std::string Prefix, raw_ostream &Os, | ~~~~~~~~ ^ ../../llvm/include/llvm/Support/DebugLog.h:77:4: error: identifier 'raw_ldbg_ostream' after '~' in destructor name does not name a type 77 | ~raw_ldbg_ostream() final { flushEol(); } | ^~~~~~~~~~~~~~~~ | LogWithNewline ../../llvm/include/llvm/Support/DebugLog.h:71:12: note: non-type declaration found by destructor name lookup 71 | explicit raw_ldbg_ostream(std::string Prefix, raw_ostream &Os, | ^ ../../llvm/include/llvm/Support/DebugLog.h:54:9: error: member initializer 'os' does not name a non-static data member or base class 54 | : os(os) { | ^~~~~~ ../../llvm/include/llvm/Support/DebugLog.h:59:23: error: use of undeclared identifier 'os' 59 | ~LogWithNewline() { os << '\n'; } | ^ ../../llvm/include/llvm/Support/DebugLog.h:61:12: error: use of undeclared identifier 'os' 61 | return os << t; | ^ ../../llvm/include/llvm/Support/DebugLog.h:73:7: error: only constructors take base initializers 73 | : Prefix(std::move(Prefix)), Os(Os), | ^ ../../llvm/include/llvm/Support/DebugLog.h:75:5: error: use of undeclared identifier 'SetUnbuffered' 75 | SetUnbuffered(); | ^ ../../llvm/unittests/Support/DebugLogTest.cpp:35:42: error: too many arguments provided to function-like macro invocation 35 | DEBUGLOG_WITH_STREAM_AND_TYPE(os, 0, nullptr) << "NoType"; | ^ ../../llvm/include/llvm/Support/DebugLog.h:44:9: note: macro 'DEBUGLOG_WITH_STREAM_AND_TYPE' defined here 44 | #define DEBUGLOG_WITH_STREAM_AND_TYPE(STREAM, TYPE) \ | ^ ../../llvm/unittests/Support/DebugLogTest.cpp:35:5: error: use of undeclared identifier 'DEBUGLOG_WITH_STREAM_AND_TYPE' 35 | DEBUGLOG_WITH_STREAM_AND_TYPE(os, 0, nullptr) << "NoType"; | ^ ../../llvm/unittests/Support/DebugLogTest.cpp:44:42: error: too many arguments provided to function-like macro invocation 44 | DEBUGLOG_WITH_STREAM_AND_TYPE(os, 0, "A") << "A"; | ^ ../../llvm/include/llvm/Support/DebugLog.h:44:9: note: macro 'DEBUGLOG_WITH_STREAM_AND_TYPE' defined here 44 | #define DEBUGLOG_WITH_STREAM_AND_TYPE(STREAM, TYPE) \ | ^ ../../llvm/unittests/Support/DebugLogTest.cpp:44:5: error: use of undeclared identifier 'DEBUGLOG_WITH_STREAM_AND_TYPE' 44 | DEBUGLOG_WITH_STREAM_AND_TYPE(os, 0, "A") << "A"; | ^ ../../llvm/unittests/Support/DebugLogTest.cpp:45:42: error: too many arguments provided to function-like macro invocation 45 | DEBUGLOG_WITH_STREAM_AND_TYPE(os, 0, "B") << "B"; | ^ ../../llvm/include/llvm/Support/DebugLog.h:44:9: note: macro 'DEBUGLOG_WITH_STREAM_AND_TYPE' defined here 44 | #define DEBUGLOG_WITH_STREAM_AND_TYPE(STREAM, TYPE) \ | ^ ../../llvm/unittests/Support/DebugLogTest.cpp:45:5: error: use of undeclared identifier 'DEBUGLOG_WITH_STREAM_AND_TYPE' 45 | DEBUGLOG_WITH_STREAM_AND_TYPE(os, 0, "B") << "B"; | ^ ../../llvm/unittests/Support/DebugLogTest.cpp:56:44: error: too many arguments provided to function-like macro invocation 56 | DEBUGLOG_WITH_STREAM_AND_TYPE(os, 0, "A") << "A"; | ^ ../../llvm/include/llvm/Support/DebugLog.h:44:9: note: macro 'DEBUGLOG_WITH_STREAM_AND_TYPE' defined here 44 | #define DEBUGLOG_WITH_STREAM_AND_TYPE(STREAM, TYPE) \ | ^ ../../llvm/unittests/Support/DebugLogTest.cpp:56:7: error: use of undeclared identifier 'DEBUGLOG_WITH_STREAM_AND_TYPE' 56 | DEBUGLOG_WITH_STREAM_AND_TYPE(os, 0, "A") << "A"; | ^ ../../llvm/unittests/Support/DebugLogTest.cpp:58:44: error: too many arguments provided to function-like macro invocation 58 | DEBUGLOG_WITH_STREAM_AND_TYPE(os, 0, "A") << "B"; | ^ ../../llvm/include/llvm/Support/DebugLog.h:44:9: note: macro 'DEBUGLOG_WITH_STREAM_AND_TYPE' defined here 44 | #define DEBUGLOG_WITH_STREAM_AND_TYPE(STREAM, TYPE) \ | ^ ../../llvm/unittests/Support/DebugLogTest.cpp:58:7: error: use of undeclared identifier 'DEBUGLOG_WITH_STREAM_AND_TYPE' 58 | DEBUGLOG_WITH_STREAM_AND_TYPE(os, 0, "A") << "B"; | ^ ../../llvm/unittests/Support/DebugLogTest.cpp:59:42: error: too many arguments provided to function-like macro invocation 59 | DEBUGLOG_WITH_STREAM_AND_TYPE(os, 0, "B") << "B"; | ^ ../../llvm/include/llvm/Support/DebugLog.h:44:9: note: macro 'DEBUGLOG_WITH_STREAM_AND_TYPE' defined here 44 | #define DEBUGLOG_WITH_STREAM_AND_TYPE(STREAM, TYPE) \ | ^ ../../llvm/unittests/Support/DebugLogTest.cpp:59:5: error: use of undeclared identifier 'DEBUGLOG_WITH_STREAM_AND_TYPE' 59 | DEBUGLOG_WITH_STREAM_AND_TYPE(os, 0, "B") << "B"; | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [30/33] LINK ./bin/lldb [31/33] SOLINK lib/clang/22/lib/linux/libclang_rt.ubsan_standalone-x86_64.so [32/33] SOLINK lib/clang/22/lib/linux/libclang_rt.hwasan_aliases-x86_64.so ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.