INFO:2024-11-13T21:02:07Z:root:pulling... From github.com:llvm/llvm-project * branch main -> FETCH_HEAD dc4185fe2f96..17c6ec6db143 main -> origin/main Switched to branch 'main' Your branch is behind 'origin/main' by 2 commits, and can be fast-forwarded. (use "git pull" to update your local branch) HEAD is now at 17c6ec6db143 [NFC][Clang] Use StringRef instead of string in ClangDiagnosticEmitter (#115959) INFO:2024-11-13T21:02:13Z:root:syncing... Deleted branch merge (was dc4185fe2f96). Switched to a new branch 'merge' branch 'merge' set up to track 'origin/main'. INFO:2024-11-13T21:02:13Z:root:building ninja: Entering directory `out/gn' [1/2631] CXX obj/clang/utils/TableGen/clang-tblgen.ClangDiagnosticsEmitter.o [2/2631] LINK ./bin/clang-tblgen [3/2631] ACTION //clang/include/clang/AST:StmtNodes(//llvm/utils/gn/build/toolchain:unix) [4/2630] ACTION //clang/include/clang/AST:AbstractBasicWriter(//llvm/utils/gn/build/toolchain:unix) [5/2629] ACTION //clang/include/clang/AST:CommentCommandList(//llvm/utils/gn/build/toolchain:unix) [6/2628] ACTION //clang/include/clang/AST:CommentHTMLTags(//llvm/utils/gn/build/toolchain:unix) [7/2627] ACTION //clang/include/clang/AST:CommentHTMLTagsProperties(//llvm/utils/gn/build/toolchain:unix) [8/2626] ACTION //clang/include/clang/AST:CommentNodes(//llvm/utils/gn/build/toolchain:unix) [9/2625] ACTION //clang/include/clang/AST:DeclNodes(//llvm/utils/gn/build/toolchain:unix) [10/2624] ACTION //clang/include/clang/AST:TypeNodes(//llvm/utils/gn/build/toolchain:unix) [11/2623] ACTION //clang/include/clang/Basic:BuiltinsRISCV(//llvm/utils/gn/build/toolchain:unix) [12/2622] ACTION //clang/include/clang/Basic:BuiltinsX86(//llvm/utils/gn/build/toolchain:unix) [13/2621] ACTION //clang/include/clang/Basic:arm_fp16(//llvm/utils/gn/build/toolchain:unix) [14/2620] ACTION //clang/include/clang/AST:AbstractBasicReader(//llvm/utils/gn/build/toolchain:unix) [15/2619] ACTION //clang/include/clang/AST:AbstractTypeReader(//llvm/utils/gn/build/toolchain:unix) [16/2618] ACTION //clang/include/clang/AST:AbstractTypeWriter(//llvm/utils/gn/build/toolchain:unix) [17/2617] ACTION //clang/include/clang/AST:CommentCommandInfo(//llvm/utils/gn/build/toolchain:unix) [18/2615] ACTION //clang/include/clang/AST:CommentHTMLNamedCharacterReferences(//llvm/utils/gn/build/toolchain:unix) [19/2614] ACTION //clang/include/clang/AST:StmtDataCollectors(//llvm/utils/gn/build/toolchain:unix) [20/2613] ACTION //clang/include/clang/Basic:AttrList(//llvm/utils/gn/build/toolchain:unix) [21/2612] ACTION //clang/include/clang/Basic:BuiltinsBPF(//llvm/utils/gn/build/toolchain:unix) [22/2611] ACTION //clang/include/clang/Basic:arm_cde_builtin_aliases(//llvm/utils/gn/build/toolchain:unix) [23/2610] ACTION //clang/include/clang/Basic:arm_cde_builtin_cg(//llvm/utils/gn/build/toolchain:unix) [24/2609] ACTION //clang/include/clang/Basic:arm_cde_builtin_sema(//llvm/utils/gn/build/toolchain:unix) [25/2608] ACTION //clang/include/clang/Basic:arm_cde_builtins(//llvm/utils/gn/build/toolchain:unix) [26/2607] ACTION //clang/include/clang/Basic:arm_sme_builtins_za_state(//llvm/utils/gn/build/toolchain:unix) [27/2606] ACTION //clang/include/clang/Basic:arm_sme_streaming_attrs(//llvm/utils/gn/build/toolchain:unix) [28/2605] ACTION //clang/include/clang/AST:AttrNodeTraverse(//llvm/utils/gn/build/toolchain:unix) [29/2604] ACTION //clang/include/clang/AST:AttrTextNodeDump(//llvm/utils/gn/build/toolchain:unix) [30/2603] ACTION //clang/include/clang/AST:AttrVisitor(//llvm/utils/gn/build/toolchain:unix) [31/2602] ACTION //clang/include/clang/Basic:AttrHasAttributeImpl(//llvm/utils/gn/build/toolchain:unix) [32/2601] ACTION //clang/include/clang/Basic:AttrSubMatchRulesList(//llvm/utils/gn/build/toolchain:unix) [33/2600] ACTION //clang/include/clang/Basic:Builtins(//llvm/utils/gn/build/toolchain:unix) [34/2598] ACTION //clang/include/clang/Basic:RegularKeywordAttrInfo(//llvm/utils/gn/build/toolchain:unix) [35/2571] ACTION //clang/include/clang/Basic:arm_sme_sema_rangechecks(//llvm/utils/gn/build/toolchain:unix) [36/2570] ACTION //clang/include/clang/Basic:arm_sve_typeflags(//llvm/utils/gn/build/toolchain:unix) [37/2569] ACTION //clang/include/clang/Basic:riscv_sifive_vector_builtin_cg(//llvm/utils/gn/build/toolchain:unix) [38/2568] ACTION //clang/include/clang/Basic:riscv_sifive_vector_builtin_sema(//llvm/utils/gn/build/toolchain:unix) [39/2567] ACTION //clang/include/clang/AST:Attrs(//llvm/utils/gn/build/toolchain:unix) [40/2566] ACTION //clang/include/clang/Basic:arm_immcheck_types(//llvm/utils/gn/build/toolchain:unix) [41/2565] ACTION //clang/include/clang/Basic:arm_sme_builtin_cg(//llvm/utils/gn/build/toolchain:unix) [42/2564] ACTION //clang/include/clang/Basic:arm_sme_builtins(//llvm/utils/gn/build/toolchain:unix) [43/2563] ACTION //clang/include/clang/Basic:riscv_sifive_vector_builtins(//llvm/utils/gn/build/toolchain:unix) [44/2562] ACTION //clang/include/clang/Basic:arm_mve_builtins(//llvm/utils/gn/build/toolchain:unix) [45/2561] ACTION //clang/include/clang/Basic:arm_mve_builtin_aliases(//llvm/utils/gn/build/toolchain:unix) [46/2560] ACTION //clang/include/clang/Basic:arm_mve_builtin_sema(//llvm/utils/gn/build/toolchain:unix) [47/2559] ACTION //clang/include/clang/AST:AttrImpl(//llvm/utils/gn/build/toolchain:unix) [48/2558] ACTION //clang/include/clang/Basic:arm_neon(//llvm/utils/gn/build/toolchain:unix) [49/2557] ACTION //clang/include/clang/Tooling/Syntax:Nodes(//llvm/utils/gn/build/toolchain:unix) [50/2556] ACTION //clang/include/clang/Parse:AttrSubMatchRulesParserStringSwitches(//llvm/utils/gn/build/toolchain:unix) [51/2555] ACTION //clang/lib/Headers:arm_cde(//llvm/utils/gn/build/toolchain:unix) [52/2553] ACTION //clang/include/clang/Tooling/Syntax:NodeClasses(//llvm/utils/gn/build/toolchain:unix) [53/2550] ACTION //clang/include/clang/Serialization:AttrPCHRead(//llvm/utils/gn/build/toolchain:unix) [54/2549] ACTION //clang/lib/Headers:arm_bf16(//llvm/utils/gn/build/toolchain:unix) [55/2547] ACTION //clang/include/clang/Sema:AttrParsedAttrKinds(//llvm/utils/gn/build/toolchain:unix) [56/2546] ACTION //clang/include/clang/Basic:arm_sve_streaming_attrs(//llvm/utils/gn/build/toolchain:unix) [57/2545] ACTION //clang/lib/Headers:arm_fp16(//llvm/utils/gn/build/toolchain:unix) [58/2543] ACTION //clang/include/clang/StaticAnalyzer/Checkers:Checkers(//llvm/utils/gn/build/toolchain:unix) [59/2541] ACTION //clang/lib/AST:AttrDocTable(//llvm/utils/gn/build/toolchain:unix) [60/2540] ACTION //clang/include/clang/Parse:AttrParserStringSwitches(//llvm/utils/gn/build/toolchain:unix) [61/2539] ACTION //clang/include/clang/Sema:AttrSpellingListIndex(//llvm/utils/gn/build/toolchain:unix) [62/2538] ACTION //clang/include/clang/Basic:arm_mve_builtin_cg(//llvm/utils/gn/build/toolchain:unix) [63/2537] ACTION //clang/include/clang/Sema:AttrParsedAttrList(//llvm/utils/gn/build/toolchain:unix) [64/2535] ACTION //clang/include/clang/Basic:DiagnosticGroups(//llvm/utils/gn/build/toolchain:unix) [65/2533] ACTION //clang/lib/AST:Opcodes(//llvm/utils/gn/build/toolchain:unix) [66/2532] ACTION //clang/lib/Headers:arm_vector_types(//llvm/utils/gn/build/toolchain:unix) [67/2530] ACTION //clang/include/clang/Sema:AttrTemplateInstantiate(//llvm/utils/gn/build/toolchain:unix) [68/2529] ACTION //clang/lib/Headers:arm_sme(//llvm/utils/gn/build/toolchain:unix) [69/2527] ACTION //clang/include/clang/Serialization:AttrPCHWrite(//llvm/utils/gn/build/toolchain:unix) [70/2526] ACTION //clang/include/clang/Basic:DiagnosticCommentKinds(//llvm/utils/gn/build/toolchain:unix) [71/2525] ACTION //clang/include/clang/Basic:DiagnosticFrontendKinds(//llvm/utils/gn/build/toolchain:unix) [72/2524] ACTION //clang/include/clang/Basic:DiagnosticIndexName(//llvm/utils/gn/build/toolchain:unix) [73/2523] ACTION //clang/include/clang/Basic:DiagnosticSerializationKinds(//llvm/utils/gn/build/toolchain:unix) [74/2522] ACTION //clang/include/clang/Basic:DiagnosticDriverKinds(//llvm/utils/gn/build/toolchain:unix) [75/2521] ACTION //clang/include/clang/Sema:AttrParsedAttrImpl(//llvm/utils/gn/build/toolchain:unix) [76/2520] ACTION //clang/include/clang/Basic:DiagnosticASTKinds(//llvm/utils/gn/build/toolchain:unix) [77/2519] ACTION //clang/include/clang/Basic:DiagnosticAnalysisKinds(//llvm/utils/gn/build/toolchain:unix) [78/2518] ACTION //clang/include/clang/Basic:DiagnosticSemaKinds(//llvm/utils/gn/build/toolchain:unix) [79/2517] ACTION //clang/include/clang/Basic:DiagnosticCrossTUKinds(//llvm/utils/gn/build/toolchain:unix) [80/2516] ACTION //clang/include/clang/Basic:DiagnosticCommonKinds(//llvm/utils/gn/build/toolchain:unix) [81/719] ACTION //clang/include/clang/Basic:DiagnosticInstallAPIKinds(//llvm/utils/gn/build/toolchain:unix) [82/714] ACTION //clang/include/clang/Basic:DiagnosticLexKinds(//llvm/utils/gn/build/toolchain:unix) [83/695] ACTION //clang/include/clang/Basic:DiagnosticParseKinds(//llvm/utils/gn/build/toolchain:unix) [84/666] ACTION //clang/include/clang/Basic:DiagnosticRefactoringKinds(//llvm/utils/gn/build/toolchain:unix) [85/649] ACTION //clang/lib/Headers:arm_mve(//llvm/utils/gn/build/toolchain:unix) [86/647] ACTION //clang/lib/Headers:riscv_vector(//llvm/utils/gn/build/toolchain:unix) [87/645] ACTION //clang/lib/Headers:arm_sve(//llvm/utils/gn/build/toolchain:unix) [88/643] ACTION //clang/include/clang/Basic:arm_sve_sema_rangechecks(//llvm/utils/gn/build/toolchain:unix) [89/642] ACTION //clang/include/clang/Basic:arm_sve_builtin_cg(//llvm/utils/gn/build/toolchain:unix) [90/641] ACTION //clang/include/clang/Basic:arm_sve_builtins(//llvm/utils/gn/build/toolchain:unix) [91/640] ACTION //clang/lib/Sema:OpenCLBuiltins(//llvm/utils/gn/build/toolchain:unix) [92/638] ACTION //clang/lib/Headers:arm_neon(//llvm/utils/gn/build/toolchain:unix) [93/634] ACTION //clang/include/clang/Basic:riscv_vector_builtins(//llvm/utils/gn/build/toolchain:unix) [94/542] ACTION //clang/include/clang/Basic:riscv_vector_builtin_sema(//llvm/utils/gn/build/toolchain:unix) [95/420] ACTION //clang/include/clang/Basic:riscv_vector_builtin_cg(//llvm/utils/gn/build/toolchain:unix) [96/97] STAMP obj/clang/test/test.stamp [97/97] STAMP obj/default.stamp INFO:2024-11-13T21:02:18Z:root:analyze skipping analyze because previous build was not green INFO:2024-11-13T21:02:18Z:root:testing INFO:2024-11-13T21:02:18Z:root:test check-clang ninja: Entering directory `out/gn' [0/2] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 21649 tests, 64 workers -- Testing: FAIL: Clang :: AST/ast-print-openacc-combined-construct.cpp (1 of 21649) ******************** TEST 'Clang :: AST/ast-print-openacc-combined-construct.cpp' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20/include -nostdsysteminc -fopenacc -Wno-openacc-deprecated-clause-alias -ast-print /usr/local/google/home/thakis/src/llvm-project/clang/test/AST/ast-print-openacc-combined-construct.cpp -o - | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/AST/ast-print-openacc-combined-construct.cpp + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20/include -nostdsysteminc -fopenacc -Wno-openacc-deprecated-clause-alias -ast-print /usr/local/google/home/thakis/src/llvm-project/clang/test/AST/ast-print-openacc-combined-construct.cpp -o - + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/AST/ast-print-openacc-combined-construct.cpp /usr/local/google/home/thakis/src/llvm-project/clang/test/AST/ast-print-openacc-combined-construct.cpp:77:11: error: CHECK: expected string not found in input // CHECK: #pragma acc parallel self(i == 3) ^ :40:3: note: scanning from here ; ^ :43:2: note: possible intended match here #pragma acc parallel loop self(i == 3) ^ Input file: Check file: /usr/local/google/home/thakis/src/llvm-project/clang/test/AST/ast-print-openacc-combined-construct.cpp -dump-input=help explains the following input dump. Input was: <<<<<< . . . 35: #pragma acc serial loop device_type(SomeStructImpl) 36: for (int i = 0; i < 5; ++i) 37: ; 38: #pragma acc kernels loop dtype(AnotherIdent) 39: for (int i = 0; i < 5; ++i) 40: ; check:77'0 X error: no match found 41: int i; check:77'0 ~~~~~~~~ 42: float array[5]; check:77'0 ~~~~~~~~~~~~~~~~~ 43: #pragma acc parallel loop self(i == 3) check:77'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:77'1 ? possible intended match 44: for (int i = 0; i < 5; ++i) check:77'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 45: ; check:77'0 ~~~ 46: #pragma acc kernels if(i == array[1]) check:77'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47: for (int i = 0; i < 5; ++i) check:77'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 48: ; check:77'0 ~~~ 49: } check:77'0 ~~ >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): Clang :: AST/ast-print-openacc-combined-construct.cpp Testing Time: 140.53s Total Discovered Tests: 45896 Skipped : 4 (0.01%) Unsupported : 105 (0.23%) Passed : 45756 (99.69%) Expectedly Failed: 30 (0.07%) Failed : 1 (0.00%) 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.