ninja: Entering directory `out/gn' [1/427] AR lib/libclangSema.a [2/427] LINK obj/clang/unittests/Format/FormatTests [3/427] LINK obj/clang-tools-extra/unittests/clang-apply-replacements/ClangApplyReplacementsTests [4/427] LINK ./bin/clang-apply-replacements [5/427] LINK obj/clang/unittests/Parse/ParseTests [6/427] LINK obj/clang/unittests/Lex/LexTests [7/427] LINK obj/clang/unittests/AST/ByteCode/InterpTests [8/427] LINK obj/clang/unittests/Sema/SemaTests [9/427] LINK obj/clang/unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests [10/427] LINK ./bin/find-all-symbols [11/427] LINK ./bin/clang-installapi [12/427] LINK ./bin/clang-reorder-fields [13/427] LINK obj/clang-tools-extra/unittests/clang-move/ClangMoveTests [14/427] LINK obj/clang/unittests/Index/IndexTests [15/427] LINK obj/clang-tools-extra/unittests/clang-query/ClangQueryTests [16/427] LINK obj/clang/unittests/AST/ASTTests [17/427] LINK obj/clang/unittests/ASTMatchers/ASTMatchersTests [18/427] LINK obj/clang-tools-extra/unittests/clang-doc/ClangDocTests [19/427] LINK obj/clang/unittests/Support/ClangSupportTests [20/427] LINK ./bin/clang-query [21/427] LINK obj/clang-tools-extra/unittests/clang-include-fixer/ClangIncludeFixerTests [22/427] LINK ./bin/clang-move [23/427] LINK ./bin/clang-refactor [24/427] LINK ./bin/clang-include-fixer [25/427] LINK ./bin/clang-diff [26/427] LINK ./bin/pp-trace [27/427] LINK obj/clang/unittests/Serialization/SerializationTests [28/427] LINK ./bin/diagtool [29/427] LINK obj/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests [30/427] LINK ./bin/modularize [31/427] LINK obj/clang-tools-extra/unittests/clang-change-namespace/ClangChangeNamespaceTests [32/427] LINK obj/clang/unittests/Analysis/ClangAnalysisTests [33/427] LINK ./bin/clang-doc [34/427] LINK ./bin/clang-change-namespace [35/427] LINK obj/clang/unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests [36/427] LINK obj/clang/unittests/Rewrite/RewriteTests [37/427] LINK obj/clang-tools-extra/unittests/clang-tidy/ClangTidyTests [38/427] LINK obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests [39/427] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [40/427] LINK ./bin/lldb-server [41/427] ACTION //llvm/lib/Target/NVPTX/MCTargetDesc:NVPTXGenRegisterInfo(//llvm/utils/gn/build/toolchain:unix) [42/427] LINK ./bin/clang-import-test [43/427] ACTION //llvm/lib/Target/NVPTX/MCTargetDesc:NVPTXGenSubtargetInfo(//llvm/utils/gn/build/toolchain:unix) [44/427] ACTION //llvm/lib/Target/NVPTX/MCTargetDesc:NVPTXGenAsmWriter(//llvm/utils/gn/build/toolchain:unix) [45/427] 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. [46/427] ACTION //llvm/lib/Target/NVPTX:NVPTXGenDAGISel(//llvm/utils/gn/build/toolchain:unix) [47/427] ACTION //llvm/lib/Target/NVPTX/MCTargetDesc:NVPTXGenInstrInfo(//llvm/utils/gn/build/toolchain:unix) [48/427] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.TargetLowering.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.