ninja: Entering directory `out/gn' [1/321] AR lib/libLLVMRISCVCodeGen.a [2/321] AR lib/libclangCodeGen.a [3/321] LINK obj/llvm/unittests/CGData/CodeGenDataTests [4/321] LINK ./bin/llvm-cxxmap [5/321] LINK ./bin/clang-offload-packager [6/321] LINK obj/llvm/unittests/DebugInfo/GSYM/DebugInfoGSYMTests [7/321] LINK obj/llvm/unittests/ExecutionEngine/JITLink/JITLinkTests [8/321] LINK ./bin/llvm-cxxdump [9/321] LINK ./bin/llvm-ar [10/321] LINK ./bin/llvm-ml [11/321] LINK obj/llvm/unittests/MC/MCTests [12/321] LINK obj/llvm/unittests/Target/RISCV/RISCVTests [13/321] LINK ./bin/llvm-rtdyld [14/321] LINK ./bin/llvm-libtool-darwin [15/321] LINK ./bin/llvm-lipo [16/321] LINK ./bin/llvm-xray [17/321] ACTION //llvm/tools/llvm-ar:llvm-lib(//llvm/utils/gn/build/toolchain:unix) [18/321] ACTION //llvm/tools/llvm-ar:llvm-dlltool(//llvm/utils/gn/build/toolchain:unix) [19/321] ACTION //llvm/tools/llvm-ml:llvm-ml64(//llvm/utils/gn/build/toolchain:unix) [20/321] LINK ./bin/llvm-mc [21/321] LINK ./bin/llvm-jitlink [22/321] ACTION //llvm/tools/llvm-ar:llvm-ranlib(//llvm/utils/gn/build/toolchain:unix) [23/321] LINK obj/llvm/unittests/tools/llvm-exegesis/RISCV/LLVMExegesisRISCVTests [24/321] LINK ./bin/llvm-bolt-heatmap [25/321] LINK obj/bolt/unittests/Core/CoreTests [26/321] LINK ./bin/llvm-exegesis [27/321] LINK obj/llvm/unittests/Passes/PassBuilderBindings/PassesBindingsTests [28/321] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [29/321] LINK ./bin/llvm-bolt [30/321] ACTION //bolt/tools/driver:perf2bolt(//llvm/utils/gn/build/toolchain:unix) [31/321] LINK ./bin/llc [32/321] ACTION //bolt/tools/driver:llvm-boltdiff(//llvm/utils/gn/build/toolchain:unix) [33/321] LINK ./bin/llvm-c-test [34/321] LINK ./bin/dsymutil [35/321] LINK ./bin/clang-nvlink-wrapper [36/321] LINK ./bin/llvm-lto [37/321] LINK ./bin/clang-scan-deps [38/321] LINK ./bin/bugpoint [39/321] LINK obj/clang/unittests/CrossTU/CrossTUTests [40/321] LINK obj/llvm/unittests/MIR/MIRTests [41/321] LINK obj/llvm/unittests/MI/MITests [42/321] LINK obj/llvm/unittests/Target/TargetMachineCTests [43/321] LINK ./bin/llvm-dwarfutil [44/321] LINK ./bin/clang-linker-wrapper [45/321] LINK ./bin/clang-import-test [46/321] LINK ./bin/llvm-reduce [47/321] SOLINK ./lib/libLTO.so [48/321] LINK ./bin/llvm-dwp [49/321] LINK ./bin/llvm-opt-fuzzer [50/321] LINK obj/lld/unittests/AsLibAll/LLDAsLibAllTests [51/321] LINK ./bin/llvm-lto2 [52/321] LINK ./bin/dexp [53/321] LINK obj/llvm/unittests/DebugInfo/DWARF/DebugInfoDWARFTests [54/321] LINK obj/llvm/unittests/CodeGen/CodeGenTests [55/321] LINK ./bin/llvm-gsymutil [56/321] LINK obj/llvm/unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests [57/321] LINK ./bin/opt [58/321] LINK obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests [59/321] LINK obj/clang/unittests/Driver/ClangDriverTests [60/321] LINK ./bin/clangd-indexer [61/321] LINK ./bin/llvm-isel-fuzzer [62/321] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [63/321] LINK ./bin/clang-sycl-linker [64/321] LINK ./bin/clangd [65/321] SOLINK ./lib/libclang.so [66/321] LINK obj/lld/unittests/AsLibELF/LLDAsLibELFTests [67/321] LINK ./bin/lld [68/321] LINK obj/clang/unittests/Frontend/FrontendTests [69/321] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [70/321] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [71/321] ACTION //lld/tools/lld:wasm-ld(//llvm/utils/gn/build/toolchain:unix) [72/321] ACTION //lld/tools/lld:ld64.lld(//llvm/utils/gn/build/toolchain:unix) [73/321] LINK ./bin/llvm-split [74/321] ACTION //lld/tools/lld:ld.lld(//llvm/utils/gn/build/toolchain:unix) [75/321] LINK obj/clang/unittests/libclang/libclangTests [76/321] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [77/321] ACTION //lld/tools/lld:lld-link(//llvm/utils/gn/build/toolchain:unix) [78/321] LINK ./bin/clang-check [79/321] LINK obj/clang/unittests/Tooling/ToolingTests [80/321] LINK ./bin/clang-repl [81/321] 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. [82/321] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [83/321] LINK ./bin/c-index-test [84/321] LINK ./bin/clang [85/321] CXX obj/lldb/source/Plugins/SymbolFile/DWARF/DWARF.DWARFASTParserClang.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.