ninja: Entering directory `out/gn' [1/326] COPY ../../libcxxabi/include/cxxabi.h include/c++/v1/cxxabi.h [2/326] COPY ../../libcxxabi/include/__cxxabi_config.h include/c++/v1/__cxxabi_config.h [3/326] ACTION //libcxx/include:copy_headers(//llvm/utils/gn/build/toolchain:unix) [4/326] CXX obj/clang/lib/AST/ByteCode/AST.Interp.o [5/326] AR lib/libclangAST.a [6/326] LINK obj/clang/unittests/InstallAPI/InstallAPITests [7/326] LINK ./bin/clang-offload-bundler [8/326] LINK obj/clang-tools-extra/unittests/clang-apply-replacements/ClangApplyReplacementsTests [9/326] LINK obj/clang/unittests/DependencyScanning/ClangDependencyScanningTests [10/326] LINK ./bin/clang-apply-replacements [11/326] LINK obj/clang/unittests/Format/FormatTests [12/326] LINK ./bin/clang-ssaf-analyzer [13/326] LINK ./bin/clang-ssaf-linker [14/326] LINK ./bin/clang-ssaf-format [15/326] LINK obj/clang/unittests/Parse/ParseTests [16/326] LINK ./bin/clang-refactor [17/326] LINK obj/clang-tools-extra/unittests/clang-move/ClangMoveTests [18/326] LINK ./bin/clang-reorder-fields [19/326] LINK obj/clang/unittests/ScalableStaticAnalysis/ClangScalableAnalysisTests [20/326] LINK ./bin/diagtool [21/326] LINK obj/clang/unittests/Lex/LexTests [22/326] LINK ./bin/clang-change-namespace [23/326] LINK ./bin/clang-query [24/326] LINK ./bin/pp-trace [25/326] LINK obj/clang-tools-extra/unittests/clang-doc/ClangDocTests [26/326] LINK obj/clang-tools-extra/unittests/clang-query/ClangQueryTests [27/326] LINK ./bin/clang-diff [28/326] LINK obj/clang-tools-extra/unittests/clang-change-namespace/ClangChangeNamespaceTests [29/326] LINK obj/clang/unittests/Index/IndexTests [30/326] LINK obj/clang/unittests/Sema/SemaTests [31/326] LINK obj/clang/unittests/Serialization/SerializationTests [32/326] LINK obj/clang/unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests [33/326] LINK obj/clang/unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests [34/326] LINK obj/clang/unittests/Support/ClangSupportTests [35/326] LINK obj/clang/unittests/AST/ByteCode/InterpTests [36/326] LINK obj/clang-tools-extra/unittests/clang-tidy/ClangTidyTests [37/326] LINK ./bin/clang-doc [38/326] LINK ./bin/clang-include-fixer [39/326] LINK obj/clang-tools-extra/unittests/clang-include-fixer/ClangIncludeFixerTests [40/326] LINK obj/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests [41/326] LINK ./bin/modularize [42/326] LINK ./bin/find-all-symbols [43/326] LINK obj/clang/unittests/Analysis/ClangAnalysisTests [44/326] LINK obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests [45/326] LINK ./bin/dexp [46/326] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [47/326] LINK ./bin/clang-move [48/326] LINK ./bin/clangd-remap [49/326] LINK obj/clang/unittests/ASTMatchers/ASTMatchersTests [50/326] LINK obj/clang/unittests/Rewrite/RewriteTests [51/326] LINK ./bin/clang-installapi [52/326] LINK ./bin/clang-extdef-mapping [53/326] LINK ./bin/clang-scan-deps [54/326] LINK obj/clang/unittests/AST/ASTTests [55/326] LINK obj/clang/unittests/CrossTU/CrossTUTests [56/326] LINK obj/clang/unittests/Frontend/FrontendTests [57/326] LINK ./bin/clangd [58/326] LINK ./bin/clang-import-test [59/326] LINK ./bin/clangd-indexer [60/326] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [61/326] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [62/326] LINK ./bin/clang-tidy [63/326] LINK ./bin/lldb-server [64/326] LINK ./bin/clang-check [65/326] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [66/326] LINK ./bin/lldb-test [67/326] SOLINK ./lib/libclang.so [68/326] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [69/326] LINK obj/clang/unittests/Tooling/ToolingTests [70/326] LINK obj/clang/unittests/libclang/libclangTests [71/326] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [72/326] LINK ./bin/lldb-dap [73/326] LINK ./bin/clang-repl [74/326] LINK ./bin/clang [75/326] LINK obj/clang/unittests/Driver/ClangDriverTests [76/326] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [77/326] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [78/326] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [79/326] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [80/326] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [81/326] ACTION //llvm/include/llvm/Config:AsmPrinters.def(//llvm/utils/gn/build/toolchain:stage2_unix) [82/326] ACTION //llvm/include/llvm/Support:write_extension_def(//llvm/utils/gn/build/toolchain:stage2_unix) [83/326] ACTION //llvm/include/llvm/Config:AsmParsers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [84/326] ACTION //llvm/include/llvm/Config:TargetMCAs.def(//llvm/utils/gn/build/toolchain:stage2_unix) [85/326] ACTION //llvm/include/llvm/Config:TargetExegesis.def(//llvm/utils/gn/build/toolchain:stage2_unix) [86/326] ACTION //llvm/include/llvm/Config:Targets.def(//llvm/utils/gn/build/toolchain:stage2_unix) [87/326] ACTION //compiler-rt/test/builtins:builtins_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [88/326] ACTION //compiler-rt/test/hwasan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [89/326] ACTION //compiler-rt/lib/ubsan:ubsan_static_cxx_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [90/326] ACTION //llvm/include/llvm/Config:Disassemblers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [91/326] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [92/326] ACTION //llvm/include/llvm/Config:llvm-config(//llvm/utils/gn/build/toolchain:stage2_unix) [93/281] ACTION //llvm/include/llvm/Config:Targets(//llvm/utils/gn/build/toolchain:stage2_unix) [94/281] ACTION //llvm/include/llvm/Config:abi-breaking(//llvm/utils/gn/build/toolchain:stage2_unix) [95/143] ACTION //compiler-rt/lib/ubsan:ubsan_loop_detect_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [96/143] ACTION //llvm/include/llvm/Support:write_vcsrevision(//llvm/utils/gn/build/toolchain:stage2_unix) [97/143] ACTION //compiler-rt/lib/ubsan:ubsan_static_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [98/143] ACTION //compiler-rt/lib/ubsan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [99/143] ACTION //compiler-rt/lib/hwasan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [100/143] ACTION //llvm/include/llvm/Config:config(//llvm/utils/gn/build/toolchain:stage2_unix) [101/110] LINK ./bin/c-index-test [102/110] LINK ./bin/lldb [103/110] SOLINK lib/clang/23/lib/linux/libclang_rt.ubsan_standalone-x86_64.so [104/110] SOLINK lib/clang/23/lib/linux/libclang_rt.hwasan_aliases-x86_64.so [105/110] CXX stage2_unix/obj/libcxx/src/cxx_static.text_encoding.o FAILED: stage2_unix/obj/libcxx/src/cxx_static.text_encoding.o ./bin/clang++ -MMD -MF stage2_unix/obj/libcxx/src/cxx_static.text_encoding.o.d -o stage2_unix/obj/libcxx/src/cxx_static.text_encoding.o -c ../../libcxx/src/text_encoding.cpp -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -DLIBCXX_BUILDING_LIBCXXABI -DLIBC_NAMESPACE=__llvm_libc_common_utils -I../../libcxx/src -I../../llvm/include -Istage2_unix/gen/llvm/include -I../../libcxxabi/include -I../../libc -Iinclude/c++/v1 -fvisibility=hidden -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 -Wall -Wextra -W -Wwrite-strings -Wno-unused-parameter -Wno-long-long -Werror=return-type -Wextra-semi -Wno-user-defined-literals -Wno-covered-switch-default -Wno-nullability-completeness -fvisibility-global-new-delete=force-hidden -std=c++17 -fvisibility-inlines-hidden -std=c++23 -nostdinc++ ../../libcxx/src/text_encoding.cpp:21:8: error: unknown type name 'text_encoding' 21 | static text_encoding __make_text_encoding(const char* __name) { | ^ ../../libcxx/src/text_encoding.cpp:23:12: error: use of undeclared identifier 'text_encoding' 23 | return text_encoding{}; | ^~~~~~~~~~~~~ ../../libcxx/src/text_encoding.cpp:25:3: error: unknown type name 'string_view' 25 | string_view __name_view(__name); | ^ ../../libcxx/src/text_encoding.cpp:26:28: error: use of undeclared identifier 'text_encoding' 26 | if (__name_view.size() > text_encoding::max_name_length) | ^ ../../libcxx/src/text_encoding.cpp:27:12: error: use of undeclared identifier 'text_encoding' 27 | return text_encoding{}; | ^~~~~~~~~~~~~ ../../libcxx/src/text_encoding.cpp:32:6: error: no type named 'text_encoding' in namespace 'std' 32 | std::text_encoding __get_locale_encoding(const char* __name) { | ~~~~~^ ../../libcxx/src/text_encoding.cpp:45:12: error: use of undeclared identifier 'text_encoding' 45 | return text_encoding{}; | ^~~~~~~~~~~~~ 7 errors generated. [106/110] CXX stage2_unix/obj/libcxx/src/cxx_shared.text_encoding.o FAILED: stage2_unix/obj/libcxx/src/cxx_shared.text_encoding.o ./bin/clang++ -MMD -MF stage2_unix/obj/libcxx/src/cxx_shared.text_encoding.o.d -o stage2_unix/obj/libcxx/src/cxx_shared.text_encoding.o -c ../../libcxx/src/text_encoding.cpp -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -DLIBCXX_BUILDING_LIBCXXABI -DLIBC_NAMESPACE=__llvm_libc_common_utils -I../../libcxx/src -I../../llvm/include -Istage2_unix/gen/llvm/include -I../../libcxxabi/include -I../../libc -Iinclude/c++/v1 -fPIC -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 -Wall -Wextra -W -Wwrite-strings -Wno-unused-parameter -Wno-long-long -Werror=return-type -Wextra-semi -Wno-user-defined-literals -Wno-covered-switch-default -Wno-nullability-completeness -std=c++17 -fvisibility-inlines-hidden -std=c++23 -nostdinc++ ../../libcxx/src/text_encoding.cpp:21:8: error: unknown type name 'text_encoding' 21 | static text_encoding __make_text_encoding(const char* __name) { | ^ ../../libcxx/src/text_encoding.cpp:23:12: error: use of undeclared identifier 'text_encoding' 23 | return text_encoding{}; | ^~~~~~~~~~~~~ ../../libcxx/src/text_encoding.cpp:25:3: error: unknown type name 'string_view' 25 | string_view __name_view(__name); | ^ ../../libcxx/src/text_encoding.cpp:26:28: error: use of undeclared identifier 'text_encoding' 26 | if (__name_view.size() > text_encoding::max_name_length) | ^ ../../libcxx/src/text_encoding.cpp:27:12: error: use of undeclared identifier 'text_encoding' 27 | return text_encoding{}; | ^~~~~~~~~~~~~ ../../libcxx/src/text_encoding.cpp:32:6: error: no type named 'text_encoding' in namespace 'std' 32 | std::text_encoding __get_locale_encoding(const char* __name) { | ~~~~~^ ../../libcxx/src/text_encoding.cpp:45:12: error: use of undeclared identifier 'text_encoding' 45 | return text_encoding{}; | ^~~~~~~~~~~~~ 7 errors generated. ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.