ninja: Entering directory `out/gn' [0/2] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:502: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/util.py:473: note: using SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk' llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:502: note: using ld.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:502: note: using lld-link: /Users/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:502: note: using ld64.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:502: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 19202 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. FAIL: Clang :: Interpreter/execute-stmts.cpp (2472 of 19202) ******************** TEST 'Clang :: Interpreter/execute-stmts.cpp' FAILED ******************** Exit Code: 2 Command Output (stderr): -- RUN: at line 3: cat /Users/thakis/src/llvm-project/clang/test/Interpreter/execute-stmts.cpp | /Users/thakis/src/llvm-project/out/gn/bin/clang-repl -Xcc -Xclang -Xcc -verify | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/execute-stmts.cpp + cat /Users/thakis/src/llvm-project/clang/test/Interpreter/execute-stmts.cpp + /Users/thakis/src/llvm-project/out/gn/bin/clang-repl -Xcc -Xclang -Xcc -verify + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/execute-stmts.cpp Assertion failed: ((!CachedInCodeGenModule || (CachedInCodeGenModule->empty() && CachedInCodeGenModule->global_empty() && CachedInCodeGenModule->alias_empty() && CachedInCodeGenModule->ifunc_empty() && CachedInCodeGenModule->named_metadata_empty())) && "CodeGen wrote to a readonly module"), function GenModule, file IncrementalParser.cpp, line 381. FileCheck error: '' is empty. FileCheck command line: /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/execute-stmts.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60 FAIL: Clang :: Interpreter/execute.cpp (2963 of 19202) ******************** TEST 'Clang :: Interpreter/execute.cpp' FAILED ******************** Exit Code: 2 Command Output (stderr): -- RUN: at line 4: /Users/thakis/src/llvm-project/out/gn/bin/clang-repl "int i = 10;" 'extern "C" int printf(const char*,...);' 'auto r1 = printf("i = %d\n", i);' | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck --check-prefix=CHECK-DRIVER /Users/thakis/src/llvm-project/clang/test/Interpreter/execute.cpp + /Users/thakis/src/llvm-project/out/gn/bin/clang-repl 'int i = 10;' 'extern "C" int printf(const char*,...);' 'auto r1 = printf("i = %d\n", i);' + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck --check-prefix=CHECK-DRIVER /Users/thakis/src/llvm-project/clang/test/Interpreter/execute.cpp Assertion failed: ((!CachedInCodeGenModule || (CachedInCodeGenModule->empty() && CachedInCodeGenModule->global_empty() && CachedInCodeGenModule->alias_empty() && CachedInCodeGenModule->ifunc_empty() && CachedInCodeGenModule->named_metadata_empty())) && "CodeGen wrote to a readonly module"), function GenModule, file IncrementalParser.cpp, line 381. FileCheck error: '' is empty. FileCheck command line: /Users/thakis/src/llvm-project/out/gn/bin/FileCheck --check-prefix=CHECK-DRIVER /Users/thakis/src/llvm-project/clang/test/Interpreter/execute.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. FAIL: Clang :: Interpreter/lambda.cpp (3964 of 19202) ******************** TEST 'Clang :: Interpreter/lambda.cpp' FAILED ******************** Exit Code: 2 Command Output (stderr): -- RUN: at line 3: cat /Users/thakis/src/llvm-project/clang/test/Interpreter/lambda.cpp | /Users/thakis/src/llvm-project/out/gn/bin/clang-repl | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/lambda.cpp + cat /Users/thakis/src/llvm-project/clang/test/Interpreter/lambda.cpp + /Users/thakis/src/llvm-project/out/gn/bin/clang-repl + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/lambda.cpp Assertion failed: ((!CachedInCodeGenModule || (CachedInCodeGenModule->empty() && CachedInCodeGenModule->global_empty() && CachedInCodeGenModule->alias_empty() && CachedInCodeGenModule->ifunc_empty() && CachedInCodeGenModule->named_metadata_empty())) && "CodeGen wrote to a readonly module"), function GenModule, file IncrementalParser.cpp, line 381. FileCheck error: '' is empty. FileCheck command line: /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/lambda.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70 FAIL: Clang :: Interpreter/const.cpp (4234 of 19202) ******************** TEST 'Clang :: Interpreter/const.cpp' FAILED ******************** Exit Code: 2 Command Output (stderr): -- RUN: at line 5: cat /Users/thakis/src/llvm-project/clang/test/Interpreter/const.cpp | /Users/thakis/src/llvm-project/out/gn/bin/clang-repl | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/const.cpp + cat /Users/thakis/src/llvm-project/clang/test/Interpreter/const.cpp + /Users/thakis/src/llvm-project/out/gn/bin/clang-repl + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/const.cpp Assertion failed: ((!CachedInCodeGenModule || (CachedInCodeGenModule->empty() && CachedInCodeGenModule->global_empty() && CachedInCodeGenModule->alias_empty() && CachedInCodeGenModule->ifunc_empty() && CachedInCodeGenModule->named_metadata_empty())) && "CodeGen wrote to a readonly module"), function GenModule, file IncrementalParser.cpp, line 381. FileCheck error: '' is empty. FileCheck command line: /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/const.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70 FAIL: Clang :: Interpreter/inline-virtual.cpp (4491 of 19202) ******************** TEST 'Clang :: Interpreter/inline-virtual.cpp' FAILED ******************** Exit Code: 2 Command Output (stderr): -- RUN: at line 6: cat /Users/thakis/src/llvm-project/clang/test/Interpreter/inline-virtual.cpp | /Users/thakis/src/llvm-project/out/gn/bin/clang-repl -Xcc -fno-rtti | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/inline-virtual.cpp + cat /Users/thakis/src/llvm-project/clang/test/Interpreter/inline-virtual.cpp + /Users/thakis/src/llvm-project/out/gn/bin/clang-repl -Xcc -fno-rtti + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/inline-virtual.cpp Assertion failed: ((!CachedInCodeGenModule || (CachedInCodeGenModule->empty() && CachedInCodeGenModule->global_empty() && CachedInCodeGenModule->alias_empty() && CachedInCodeGenModule->ifunc_empty() && CachedInCodeGenModule->named_metadata_empty())) && "CodeGen wrote to a readonly module"), function GenModule, file IncrementalParser.cpp, line 381. FileCheck error: '' is empty. FileCheck command line: /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/inline-virtual.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. FAIL: Clang :: Interpreter/incremental-mode.cpp (5951 of 19202) ******************** TEST 'Clang :: Interpreter/incremental-mode.cpp' FAILED ******************** Exit Code: 134 Command Output (stderr): -- RUN: at line 1: /Users/thakis/src/llvm-project/out/gn/bin/clang-repl -Xcc -E + /Users/thakis/src/llvm-project/out/gn/bin/clang-repl -Xcc -E Assertion failed: ((!CachedInCodeGenModule || (CachedInCodeGenModule->empty() && CachedInCodeGenModule->global_empty() && CachedInCodeGenModule->alias_empty() && CachedInCodeGenModule->ifunc_empty() && CachedInCodeGenModule->named_metadata_empty())) && "CodeGen wrote to a readonly module"), function GenModule, file IncrementalParser.cpp, line 381. /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Interpreter/Output/incremental-mode.cpp.script: line 3: 39158 Abort trap: 6 /Users/thakis/src/llvm-project/out/gn/bin/clang-repl -Xcc -E -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. FAIL: Clang :: Interpreter/fail.cpp (6045 of 19202) ******************** TEST 'Clang :: Interpreter/fail.cpp' FAILED ******************** Exit Code: 134 Command Output (stderr): -- RUN: at line 5: /Users/thakis/src/llvm-project/out/gn/bin/clang-repl "int x = 10;" "int y=7; err;" "int y = 10;" + /Users/thakis/src/llvm-project/out/gn/bin/clang-repl 'int x = 10;' 'int y=7; err;' 'int y = 10;' Assertion failed: ((!CachedInCodeGenModule || (CachedInCodeGenModule->empty() && CachedInCodeGenModule->global_empty() && CachedInCodeGenModule->alias_empty() && CachedInCodeGenModule->ifunc_empty() && CachedInCodeGenModule->named_metadata_empty())) && "CodeGen wrote to a readonly module"), function GenModule, file IncrementalParser.cpp, line 381. /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Interpreter/Output/fail.cpp.script: line 2: 39687 Abort trap: 6 /Users/thakis/src/llvm-project/out/gn/bin/clang-repl "int x = 10;" "int y=7; err;" "int y = 10;" -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80 FAIL: Clang :: Interpreter/global-dtor.cpp (7274 of 19202) ******************** TEST 'Clang :: Interpreter/global-dtor.cpp' FAILED ******************** Exit Code: 2 Command Output (stderr): -- RUN: at line 6: cat /Users/thakis/src/llvm-project/clang/test/Interpreter/global-dtor.cpp | /Users/thakis/src/llvm-project/out/gn/bin/clang-repl | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/global-dtor.cpp + cat /Users/thakis/src/llvm-project/clang/test/Interpreter/global-dtor.cpp + /Users/thakis/src/llvm-project/out/gn/bin/clang-repl + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/global-dtor.cpp Assertion failed: ((!CachedInCodeGenModule || (CachedInCodeGenModule->empty() && CachedInCodeGenModule->global_empty() && CachedInCodeGenModule->alias_empty() && CachedInCodeGenModule->ifunc_empty() && CachedInCodeGenModule->named_metadata_empty())) && "CodeGen wrote to a readonly module"), function GenModule, file IncrementalParser.cpp, line 381. FileCheck error: '' is empty. FileCheck command line: /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/global-dtor.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80 FAIL: Clang :: Interpreter/code-undo.cpp (7820 of 19202) ******************** TEST 'Clang :: Interpreter/code-undo.cpp' FAILED ******************** Exit Code: 2 Command Output (stderr): -- RUN: at line 2: cat /Users/thakis/src/llvm-project/clang/test/Interpreter/code-undo.cpp | /Users/thakis/src/llvm-project/out/gn/bin/clang-repl | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/code-undo.cpp + cat /Users/thakis/src/llvm-project/clang/test/Interpreter/code-undo.cpp + /Users/thakis/src/llvm-project/out/gn/bin/clang-repl + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/code-undo.cpp Assertion failed: ((!CachedInCodeGenModule || (CachedInCodeGenModule->empty() && CachedInCodeGenModule->global_empty() && CachedInCodeGenModule->alias_empty() && CachedInCodeGenModule->ifunc_empty() && CachedInCodeGenModule->named_metadata_empty())) && "CodeGen wrote to a readonly module"), function GenModule, file IncrementalParser.cpp, line 381. FileCheck error: '' is empty. FileCheck command line: /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/code-undo.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80 FAIL: Clang :: Interpreter/multiline.cpp (8236 of 19202) ******************** TEST 'Clang :: Interpreter/multiline.cpp' FAILED ******************** Exit Code: 2 Command Output (stderr): -- RUN: at line 3: cat /Users/thakis/src/llvm-project/clang/test/Interpreter/multiline.cpp | /Users/thakis/src/llvm-project/out/gn/bin/clang-repl | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/multiline.cpp + cat /Users/thakis/src/llvm-project/clang/test/Interpreter/multiline.cpp + /Users/thakis/src/llvm-project/out/gn/bin/clang-repl + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/multiline.cpp Assertion failed: ((!CachedInCodeGenModule || (CachedInCodeGenModule->empty() && CachedInCodeGenModule->global_empty() && CachedInCodeGenModule->alias_empty() && CachedInCodeGenModule->ifunc_empty() && CachedInCodeGenModule->named_metadata_empty())) && "CodeGen wrote to a readonly module"), function GenModule, file IncrementalParser.cpp, line 381. FileCheck error: '' is empty. FileCheck command line: /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/multiline.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80. FAIL: Clang :: Interpreter/execute-weak.cpp (8803 of 19202) ******************** TEST 'Clang :: Interpreter/execute-weak.cpp' FAILED ******************** Exit Code: 2 Command Output (stderr): -- RUN: at line 2: cat /Users/thakis/src/llvm-project/clang/test/Interpreter/execute-weak.cpp | /Users/thakis/src/llvm-project/out/gn/bin/clang-repl | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/execute-weak.cpp + cat /Users/thakis/src/llvm-project/clang/test/Interpreter/execute-weak.cpp + /Users/thakis/src/llvm-project/out/gn/bin/clang-repl + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/execute-weak.cpp Assertion failed: ((!CachedInCodeGenModule || (CachedInCodeGenModule->empty() && CachedInCodeGenModule->global_empty() && CachedInCodeGenModule->alias_empty() && CachedInCodeGenModule->ifunc_empty() && CachedInCodeGenModule->named_metadata_empty())) && "CodeGen wrote to a readonly module"), function GenModule, file IncrementalParser.cpp, line 381. FileCheck error: '' is empty. FileCheck command line: /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Interpreter/execute-weak.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (11): Clang :: Interpreter/code-undo.cpp Clang :: Interpreter/const.cpp Clang :: Interpreter/execute-stmts.cpp Clang :: Interpreter/execute-weak.cpp Clang :: Interpreter/execute.cpp Clang :: Interpreter/fail.cpp Clang :: Interpreter/global-dtor.cpp Clang :: Interpreter/incremental-mode.cpp Clang :: Interpreter/inline-virtual.cpp Clang :: Interpreter/lambda.cpp Clang :: Interpreter/multiline.cpp Testing Time: 413.70s Total Discovered Tests: 37106 Skipped : 35 (0.09%) Unsupported : 101 (0.27%) Passed : 36926 (99.51%) Expectedly Failed: 33 (0.09%) Failed : 11 (0.03%) FAILED: gen/clang/test/run-lit python3 bin/llvm-lit -sv ../../clang/test ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-clang']' returned non-zero exit status 1.