INFO:2025-03-22T12:08:14Z:root:pulling... From https://github.com/llvm/llvm-project * branch main -> FETCH_HEAD 2a4522229c7b..2909c420f6b1 main -> origin/main Switched to branch 'main' Your branch is behind 'origin/main' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) HEAD is now at 2909c420f6b1 [clang-tidy] modernize-use-starts-ends-with: fix false positives on `find` and `rfind` (#129564) INFO:2025-03-22T12:08:19Z:root:syncing... Deleted branch merge (was b5438c0aa912). Switched to a new branch 'merge' branch 'merge' set up to track 'origin/main'. [merge b60784760575] [gn build] Port 03557169e0ad 1 file changed, 1 insertion(+), 1 deletion(-) [merge 9d4a722203ff] [gn build] Port 30bb0c443e16 1 file changed, 1 insertion(+) [merge 1f7942c4b400] [gn build] Port 7f920e2e5f70 1 file changed, 10 insertions(+) [merge fa1981a0bb87] [gn build] Port f7a32b85b56b 1 file changed, 2 insertions(+) [gn build] Port 03557169e0ad -- https://github.com/llvm/llvm-project/commit/03557169e0ad [gn build] Port 30bb0c443e16 -- https://github.com/llvm/llvm-project/commit/30bb0c443e16 [gn build] Port 7f920e2e5f70 -- https://github.com/llvm/llvm-project/commit/7f920e2e5f70 [gn build] Port f7a32b85b56b -- https://github.com/llvm/llvm-project/commit/f7a32b85b56b INFO:2025-03-22T12:08:23Z:root:building ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/23] CXX obj/clang-tools-extra/clang-tidy/modernize/modernize.UseStartsEndsWithCheck.o [2/23] AR lib/libclangTidyModernizeModule.a [3/23] STAMP obj/clang-tools-extra/clang-tidy/all-checks.stamp [4/23] LINK obj/clang-tools-extra/clangd/unittests/xpc/ClangdXpcTests [5/23] LINK ./bin/dexp [6/23] LINK obj/clang-tools-extra/unittests/clang-tidy/ClangTidyTests [7/23] STAMP obj/clang-tools-extra/unittests/unittests.stamp [8/23] LINK ./bin/clangd [9/23] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangxpc_bundle_xpc_service_executable.stamp [10/23] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangd.xpc.inputdeps.stamp [11/23] COPY_BUNDLE_DATA bin/clangd gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc/Contents/MacOS/clangd [12/23] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangd.xpc.stamp [13/23] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangdxpc_bundle_xpc.stamp [14/23] LINK ./bin/clangd-indexer [15/23] STAMP obj/clang-tools-extra/clangd/xpc/framework/ClangdXPC.framework.inputdeps.stamp [16/23] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [17/23] COPY_BUNDLE_DATA gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc lib/ClangdXPC.framework/Versions/A/XPCServices/clangd.xpc [18/23] STAMP obj/clang-tools-extra/clangd/xpc/framework/ClangdXPC.framework.stamp [19/23] LINK ./bin/clangd-xpc-test-client [20/23] STAMP obj/clang-tools-extra/clangd/test/test.stamp [21/23] LINK ./bin/clang-tidy [22/23] STAMP obj/clang-tools-extra/test/test.stamp [23/23] STAMP obj/default.stamp INFO:2025-03-22T12:08:36Z:root:analyze skipping analyze because previous build was not green INFO:2025-03-22T12:08:36Z:root:testing INFO:2025-03-22T12:08:36Z:root:test check-clang 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:520: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find cir-opt in /Users/thakis/src/llvm-project/out/gn/bin:/Users/thakis/src/llvm-project/out/gn/bin 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:520: 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:520: 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:520: 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:520: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 21084 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 852.95s Total Discovered Tests: 46849 Skipped : 35 (0.07%) Unsupported : 136 (0.29%) Passed : 46644 (99.56%) Expectedly Failed: 34 (0.07%) INFO:2025-03-22T12:22:59Z:root:test check-clang-tools ninja: Entering directory `out/gn' [0/2] ACTION //clang-tools-extra/test:check-clang-tools(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang -- Testing: 1005 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 93.35s Total Discovered Tests: 1429 Unsupported : 3 (0.21%) Passed : 1425 (99.72%) Expectedly Failed: 1 (0.07%) INFO:2025-03-22T12:24:36Z:root:test check-clangd ninja: Entering directory `out/gn' [0/2] ACTION //clang-tools-extra/clangd/test:check-clangd(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang -- Testing: 99 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 22.10s Total Discovered Tests: 1371 Unsupported: 7 (0.51%) Passed : 1364 (99.49%) INFO:2025-03-22T12:25:02Z:root:test check-lld ninja: Entering directory `out/gn' [0/2] ACTION //lld/test:check-lld(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: 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:520: 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:520: 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:520: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 3070 tests, 8 workers -- Testing: FAIL: lld :: ELF/riscv-attributes.s (1 of 3070) ******************** TEST 'lld :: ELF/riscv-attributes.s' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 3: rm -rf /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/riscv-attributes.s.tmp && split-file /Users/thakis/src/llvm-project/lld/test/ELF/riscv-attributes.s /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/riscv-attributes.s.tmp && cd /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/riscv-attributes.s.tmp + rm -rf /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/riscv-attributes.s.tmp + split-file /Users/thakis/src/llvm-project/lld/test/ELF/riscv-attributes.s /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/riscv-attributes.s.tmp + cd /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/riscv-attributes.s.tmp RUN: at line 4: /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=riscv64 a.s -o a.o + /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=riscv64 a.s -o a.o RUN: at line 5: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld -e 0 a.o -o out 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/count 0 + /Users/thakis/src/llvm-project/out/gn/bin/ld.lld -e 0 a.o -o out + /Users/thakis/src/llvm-project/out/gn/bin/count 0 RUN: at line 6: /Users/thakis/src/llvm-project/out/gn/bin/llvm-readelf -S -l --arch-specific out | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/lld/test/ELF/riscv-attributes.s --check-prefixes=HDR,CHECK + /Users/thakis/src/llvm-project/out/gn/bin/llvm-readelf -S -l --arch-specific out + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/lld/test/ELF/riscv-attributes.s --check-prefixes=HDR,CHECK /Users/thakis/src/llvm-project/lld/test/ELF/riscv-attributes.s:107:8: error: HDR: expected string not found in input # HDR: .riscv.attributes RISCV_ATTRIBUTES 0000000000000000 000158 00005a 00 0 0 1{{$}} ^ :4:50: note: scanning from here [Nr] Name Type Address Off Size ES Flg Lk Inf Al ^ :7:7: note: possible intended match here [ 2] .riscv.attributes RISCV_ATTRIBUTES 0000000000000000 000158 000068 00 0 0 1 ^ Input file: Check file: /Users/thakis/src/llvm-project/lld/test/ELF/riscv-attributes.s -dump-input=help explains the following input dump. Input was: <<<<<< 1: There are 7 section headers, starting at offset 0x238: 2: 3: Section Headers: 4: [Nr] Name Type Address Off Size ES Flg Lk Inf Al check:107'0 X error: no match found 5: [ 0] NULL 0000000000000000 000000 000000 00 0 0 0 check:107'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: [ 1] .text PROGBITS 0000000000011158 000158 000000 00 AX 0 0 4 check:107'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: [ 2] .riscv.attributes RISCV_ATTRIBUTES 0000000000000000 000158 000068 00 0 0 1 check:107'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:107'1 ? possible intended match 8: [ 3] .comment PROGBITS 0000000000000000 0001c0 000008 01 MS 0 0 1 check:107'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: [ 4] .symtab SYMTAB 0000000000000000 0001c8 000030 18 6 2 8 check:107'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: [ 5] .shstrtab STRTAB 0000000000000000 0001f8 00003c 00 0 0 1 check:107'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: [ 6] .strtab STRTAB 0000000000000000 000234 000004 00 0 0 1 check:107'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12: Key to Flags: check:107'0 ~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: FAIL: lld :: ELF/lto/riscv-attributes.ll (2 of 3070) ******************** TEST 'lld :: ELF/lto/riscv-attributes.ll' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 3: rm -rf /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/lto/Output/riscv-attributes.ll.tmp && split-file /Users/thakis/src/llvm-project/lld/test/ELF/lto/riscv-attributes.ll /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/lto/Output/riscv-attributes.ll.tmp && cd /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/lto/Output/riscv-attributes.ll.tmp + rm -rf /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/lto/Output/riscv-attributes.ll.tmp + split-file /Users/thakis/src/llvm-project/lld/test/ELF/lto/riscv-attributes.ll /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/lto/Output/riscv-attributes.ll.tmp + cd /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/lto/Output/riscv-attributes.ll.tmp RUN: at line 4: /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=riscv32 1.s -o 1.o + /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=riscv32 1.s -o 1.o RUN: at line 5: /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=riscv32 2.s -o 2.o + /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=riscv32 2.s -o 2.o RUN: at line 6: /Users/thakis/src/llvm-project/out/gn/bin/llvm-as a.ll -o a.bc + /Users/thakis/src/llvm-project/out/gn/bin/llvm-as a.ll -o a.bc RUN: at line 7: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld 1.o 2.o a.bc -o out + /Users/thakis/src/llvm-project/out/gn/bin/ld.lld 1.o 2.o a.bc -o out RUN: at line 8: /Users/thakis/src/llvm-project/out/gn/bin/llvm-readelf --arch-specific out | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/lld/test/ELF/lto/riscv-attributes.ll + /Users/thakis/src/llvm-project/out/gn/bin/llvm-readelf --arch-specific out + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/lld/test/ELF/lto/riscv-attributes.ll /Users/thakis/src/llvm-project/lld/test/ELF/lto/riscv-attributes.ll:13:15: error: CHECK-NEXT: expected string not found in input ; CHECK-NEXT: SectionLength: 98 ^ :3:13: note: scanning from here Section 1 { ^ :4:2: note: possible intended match here SectionLength: 119 ^ Input file: Check file: /Users/thakis/src/llvm-project/lld/test/ELF/lto/riscv-attributes.ll -dump-input=help explains the following input dump. Input was: <<<<<< 1: BuildAttributes { 2: FormatVersion: 0x41 3: Section 1 { next:13'0 X error: no match found 4: SectionLength: 119 next:13'0 ~~~~~~~~~~~~~~~~~~~~ next:13'1 ? possible intended match 5: Vendor: riscv next:13'0 ~~~~~~~~~~~~~~~ 6: Tag: Tag_File (0x1) next:13'0 ~~~~~~~~~~~~~~~~~~~~~ 7: Size: 109 next:13'0 ~~~~~~~~~~~ 8: FileAttributes { next:13'0 ~~~~~~~~~~~~~~~~~~ 9: Attribute { next:13'0 ~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (2): lld :: ELF/lto/riscv-attributes.ll lld :: ELF/riscv-attributes.s Testing Time: 88.52s Total Discovered Tests: 3070 Unsupported : 25 (0.81%) Passed : 3042 (99.09%) Expectedly Failed: 1 (0.03%) Failed : 2 (0.07%) FAILED: gen/lld/test/run-lit python3 bin/llvm-lit -sv ../../lld/test ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-lld']' returned non-zero exit status 1.