INFO:2024-11-17T21:42:18Z:root:pulling... From https://github.com/llvm/llvm-project * branch main -> FETCH_HEAD 93a4244523b1..315519917368 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 315519917368 Thread safety analysis: Eliminate unneeded const_cast, NFC INFO:2024-11-17T21:42:19Z:root:syncing... Deleted branch merge (was 93a4244523b1). Switched to a new branch 'merge' branch 'merge' set up to track 'origin/main'. INFO:2024-11-17T21:42:19Z:root:building ninja: Entering directory `out/gn' [1/122] CXX obj/clang/lib/Analysis/Analysis.ThreadSafetyLogical.o [2/122] CXX obj/clang/lib/Analysis/Analysis.ThreadSafetyTIL.o [3/122] CXX obj/clang/lib/Analysis/Analysis.ThreadSafetyCommon.o [4/122] CXX obj/clang/lib/Analysis/Analysis.ThreadSafety.o [5/122] AR lib/libclangAnalysis.a [6/122] LINK obj/clang-tools-extra/unittests/clang-apply-replacements/ClangApplyReplacementsTests [7/122] LINK obj/clang-tools-extra/clangd/unittests/xpc/ClangdXpcTests [8/122] LINK ./bin/modularize [9/122] LINK ./bin/pp-trace [10/122] LINK obj/clang-tools-extra/unittests/clang-change-namespace/ClangChangeNamespaceTests [11/122] LINK obj/clang-tools-extra/unittests/clang-doc/ClangDocTests [12/122] LINK ./bin/lldb-server [13/122] LINK obj/clang-tools-extra/unittests/clang-include-fixer/ClangIncludeFixerTests [14/122] LINK obj/clang-tools-extra/unittests/clang-move/ClangMoveTests [15/122] LINK obj/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests [16/122] LINK obj/clang-tools-extra/unittests/clang-query/ClangQueryTests [17/122] LINK ./bin/clang-apply-replacements [18/122] LINK ./bin/lldb-dap [19/122] LINK ./bin/lldb-test [20/122] LINK ./bin/lldb [21/122] LINK obj/clang-tools-extra/unittests/clang-tidy/ClangTidyTests [22/122] STAMP obj/clang-tools-extra/unittests/unittests.stamp [23/122] LINK ./bin/dexp [24/122] LINK ./bin/clang-change-namespace [25/122] LINK ./bin/clangd-indexer [26/122] LINK ./bin/clangd [27/122] LINK ./bin/clang-tidy [28/122] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangxpc_bundle_xpc_service_executable.stamp [29/122] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangd.xpc.inputdeps.stamp [30/122] COPY_BUNDLE_DATA bin/clangd gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc/Contents/MacOS/clangd [31/122] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangd.xpc.stamp [32/122] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangdxpc_bundle_xpc.stamp [33/122] STAMP obj/clang-tools-extra/clangd/xpc/framework/ClangdXPC.framework.inputdeps.stamp [34/122] LINK ./bin/clang-include-fixer [35/122] LINK ./bin/clang-doc [36/122] LINK ./bin/find-all-symbols [37/122] LINK ./bin/clang-move [38/122] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [39/122] LINK ./bin/clang-query [40/122] COPY_BUNDLE_DATA gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc lib/ClangdXPC.framework/Versions/A/XPCServices/clangd.xpc [41/122] STAMP obj/clang-tools-extra/clangd/xpc/framework/ClangdXPC.framework.stamp [42/122] LINK ./bin/clang-reorder-fields [43/122] LINK ./bin/clangd-xpc-test-client [44/122] STAMP obj/clang-tools-extra/clangd/test/test.stamp [45/122] LINK obj/clang/unittests/Format/FormatTests [46/122] LINK obj/clang/unittests/Index/IndexTests [47/122] LINK obj/clang/unittests/Lex/LexTests [48/122] LINK obj/clang/unittests/Rewrite/RewriteTests [49/122] LINK obj/clang/unittests/Sema/SemaTests [50/122] LINK obj/clang/unittests/Serialization/SerializationTests [51/122] LINK obj/clang/unittests/Support/ClangSupportTests [52/122] LINK obj/clang/unittests/Frontend/FrontendTests [53/122] LINK obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests [54/122] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [55/122] LINK ./bin/arcmt-test [56/122] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [57/122] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [58/122] LINK ./bin/clang-diff [59/122] LINK ./bin/clang-installapi [60/122] LINK ./bin/clang-refactor [61/122] LINK ./bin/clang-extdef-mapping [62/122] LINK ./bin/diagtool [63/122] LINK ./bin/clang-import-test [64/122] LINK obj/clang/unittests/AST/ByteCode/InterpTests [65/122] LINK ./bin/clang-check [66/122] LINK ./bin/clang-scan-deps [67/122] LINK obj/clang/unittests/ASTMatchers/ASTMatchersTests [68/122] LINK ./bin/clang-repl [69/122] LINK obj/clang/unittests/Tooling/ToolingTests [70/122] LINK obj/clang/unittests/AST/ASTTests [71/122] LINK obj/clang/unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests [72/122] LINK obj/clang/unittests/Analysis/ClangAnalysisTests [73/122] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [74/122] LINK obj/clang/unittests/CrossTU/CrossTUTests [75/122] LINK ./bin/clang [76/122] SOLINK ./lib/libclang.dylib [77/122] LINK ./bin/c-arcmt-test [78/122] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [79/122] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [80/122] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [81/122] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [82/122] STAMP obj/clang/tools/driver/clangxx.stamp [83/122] STAMP obj/clang/tools/driver/clang-cl.stamp [84/122] STAMP obj/clang/tools/driver/clang-cpp.stamp [85/122] STAMP obj/clang/tools/driver/symlinks.stamp [86/122] STAMP obj/clang.stamp [87/122] STAMP obj/bolt/test/test.stamp [88/122] STAMP obj/lldb/test/test.stamp [89/122] LINK obj/clang/unittests/libclang/libclangTests [90/122] STAMP stage2_ios_aarch64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [91/122] STAMP stage2_baremetal_aarch64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [92/122] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/cxx_sources.inputdeps.stamp [93/122] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/sources.inputdeps.stamp [94/122] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/standalone_sources.inputdeps.stamp [95/122] STAMP stage2_unix/obj/libunwind/src/unwind_shared.inputdeps.stamp [96/122] STAMP stage2_unix/obj/libunwind/src/unwind_static.inputdeps.stamp [97/122] STAMP stage2_unix/obj/libunwind/src/unwind_static_exported.inputdeps.stamp [98/122] STAMP stage2_iossim_x64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [99/122] STAMP stage2_unix/obj/compiler-rt/lib/interception/sources.inputdeps.stamp [100/122] STAMP stage2_unix/obj/compiler-rt/lib/profile/profile.inputdeps.stamp [101/122] STAMP stage2_unix/obj/compiler-rt/lib/lsan/common_sources.inputdeps.stamp [102/122] STAMP stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.inputdeps.stamp [103/122] STAMP stage2_unix/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [104/122] STAMP stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.inputdeps.stamp [105/122] STAMP stage2_unix/obj/compiler-rt/lib/asan/asan_shared_library.inputdeps.stamp [106/122] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [107/121] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [108/118] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [109/115] LINK obj/clang/unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests [110/115] LINK obj/clang/unittests/Driver/ClangDriverTests [111/115] STAMP obj/clang/unittests/unittests.stamp [112/115] LINK ./bin/c-index-test [113/115] STAMP obj/clang-tools-extra/test/test.stamp [114/115] STAMP obj/clang/test/test.stamp [115/115] STAMP obj/default.stamp INFO:2024-11-17T21:42:32Z:root:analyze gn analyze output: { "compile_targets": [], "status": "No dependency", "test_targets": [] } gn analyze input: { "files": [ "//clang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h" ], "test_targets": [ "//clang-tools-extra/clangd/test:check-clangd", "//clang-tools-extra/test:check-clang-tools", "//clang/test:check-clang", "//lld/test:check-lld", "//llvm/test:check-llvm" ], "additional_compile_targets": [] } running all tests due to change to blacklisted file INFO:2024-11-17T21:42:32Z:root:testing INFO:2024-11-17T21:42:32Z: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:506: 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:506: 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:506: 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:506: 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:506: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 20562 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 419.45s Total Discovered Tests: 45951 Skipped : 35 (0.08%) Unsupported : 97 (0.21%) Passed : 45785 (99.64%) Expectedly Failed: 34 (0.07%) INFO:2024-11-17T21:50:01Z: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:506: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang -- Testing: 978 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 52.44s Total Discovered Tests: 1402 Unsupported : 3 (0.21%) Passed : 1398 (99.71%) Expectedly Failed: 1 (0.07%) INFO:2024-11-17T21:51:00Z: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:506: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang -- Testing: 98 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40 FAIL: Clangd :: xpc/initialize.test (5 of 98) ******************** TEST 'Clangd :: xpc/initialize.test' FAILED ******************** Exit Code: 2 Command Output (stderr): -- RUN: at line 1: clangd-xpc-test-client < /Users/thakis/src/llvm-project/clang-tools-extra/clangd/test/xpc/initialize.test | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang-tools-extra/clangd/test/xpc/initialize.test + clangd-xpc-test-client + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang-tools-extra/clangd/test/xpc/initialize.test Received XPC_ERROR_CONNECTION_INVALID.FileCheck error: '' is empty. FileCheck command line: /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang-tools-extra/clangd/test/xpc/initialize.test -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): Clangd :: xpc/initialize.test Testing Time: 15.91s Total Discovered Tests: 1353 Unsupported: 7 (0.52%) Passed : 1345 (99.41%) Failed : 1 (0.07%) FAILED: gen/clang-tools-extra/clangd/test/run-lit python3 bin/llvm-lit -sv gen/clang-tools-extra/clangd/test gen/clang-tools-extra/clangd/unittests ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-clangd']' returned non-zero exit status 1.