nixbot

builds

failed inspector-clang-tidy-0.1.0 checks.aarch64-linux.clang-tidy · build #55 · raw

1tribuchet: building on eliza
unpackPhase
2unpacking source archive /nix/store/9bz7rsba4nz16yhnmz7xqsg8lp60k1rf-source3source root is source
configurePhase
4cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/gyh08rz7ila6320p63nj627r3zmlw2r3-inspector-clang-tidy-0.1.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/gyh08rz7ila6320p63nj627r3zmlw2r3-inspector-clang-tidy-0.1.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/gyh08rz7ila6320p63nj627r3zmlw2r3-inspector-clang-tidy-0.1.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/gyh08rz7ila6320p63nj627r3zmlw2r3-inspector-clang-tidy-0.1.0/share/doc/inspector-clang-tidy -DCMAKE_INSTALL_INFODIR=/nix/store/gyh08rz7ila6320p63nj627r3zmlw2r3-inspector-clang-tidy-0.1.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/gyh08rz7ila6320p63nj627r3zmlw2r3-inspector-clang-tidy-0.1.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/gyh08rz7ila6320p63nj627r3zmlw2r3-inspector-clang-tidy-0.1.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/gyh08rz7ila6320p63nj627r3zmlw2r3-inspector-clang-tidy-0.1.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/gyh08rz7ila6320p63nj627r3zmlw2r3-inspector-clang-tidy-0.1.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/gyh08rz7ila6320p63nj627r3zmlw2r3-inspector-clang-tidy-0.1.0/lib -DCMAKE_STRIP=/nix/store/q16hxlxb86p7hrm3kf8jhj54ayhk0wzr-clang-wrapper-23.1.3/bin/strip -DCMAKE_RANLIB=/nix/store/q16hxlxb86p7hrm3kf8jhj54ayhk0wzr-clang-wrapper-23.1.3/bin/ranlib -DCMAKE_AR=/nix/store/q16hxlxb86p7hrm3kf8jhj54ayhk0wzr-clang-wrapper-23.1.3/bin/ar -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/nix/store/gyh08rz7ila6320p63nj627r3zmlw2r3-inspector-clang-tidy-0.1.0 -DCLANG_RESOURCE_DIR=/nix/store/5v5diph1m5ddydjr3nvaisj6yfb7j34f-clang-23.1.3-lib/lib/clang/23 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DBUILD_TESTING=ON5-- The C compiler identification is Clang 23.1.36-- The CXX compiler identification is Clang 23.1.37-- Detecting C compiler ABI info8-- Detecting C compiler ABI info - done9-- Check for working C compiler: /nix/store/q16hxlxb86p7hrm3kf8jhj54ayhk0wzr-clang-wrapper-23.1.3/bin/clang - skipped10-- Detecting C compile features11-- Detecting C compile features - done12-- Detecting CXX compiler ABI info13-- Detecting CXX compiler ABI info - done14-- Check for working CXX compiler: /nix/store/q16hxlxb86p7hrm3kf8jhj54ayhk0wzr-clang-wrapper-23.1.3/bin/clang++ - skipped15-- Detecting CXX compile features16-- Detecting CXX compile features - done17-- Performing Test CMAKE_HAVE_LIBC_PTHREAD18-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success19-- Found Threads: TRUE20-- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL) 21-- Found ZLIB: /nix/store/7d907izyink96xhqazkbw4wicvgkm76c-zlib-1.3.2/lib/libz.so (found version "1.3.2")22-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) 23-- Using LLVM 23.1.3 from /nix/store/1x5bszx1qkw663kzax3qii14i3ldw6vy-llvm-23.1.3-dev/lib/cmake/llvm24-- Using Clang from /nix/store/7bpfr8z265jvn922d4vvbbnp4r5p2rsy-clang-23.1.3-dev/lib/cmake/clang25-- Using clang resource dir /nix/store/5v5diph1m5ddydjr3nvaisj6yfb7j34f-clang-23.1.3-lib/lib/clang/2326-- Found GTest: /nix/store/6nvynb78xv4sb7jmmxi9s1iilhfd0yyv-gtest-1.18.0-dev/lib/cmake/GTest/GTestConfig.cmake (found version "1.18.0")27-- Configuring done (6.6s)28-- Generating done (0.1s)29CMake Warning (unused-cli):30 Manually-specified variables were not used by the project:3132 CMAKE_EXPORT_NO_PACKAGE_REGISTRY333435-- Build files have been written to: /build/source/build36cmake: enabled parallel building37cmake: enabled parallel installing
buildPhase
38Running clang-tidy in 192 threads for 20 files out of 31 in compilation database ...39[ 1/20][7.9s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/cxx_main.cpp40[ 2/20][9.0s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/prompt.cpp41[ 3/20][12.7s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/highlight.cpp42[ 4/20][16.2s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/prelude.cpp43[ 5/20][16.4s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/e2e.cpp44[ 6/20][17.3s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/connection.cpp45[ 7/20][17.7s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/source.cpp46[ 8/20][17.7s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/driver.cpp47[ 9/20][18.4s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/history.cpp48[10/20][19.9s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/compat.cpp49[11/20][20.2s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/main.cpp50[12/20][21.9s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/main.cpp51/build/source/tools/repl/main.cpp:350:8: error: function 'run' has cognitive complexity of 27 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors]52 350 | void run() {53 | ^54/build/source/tools/repl/main.cpp:354:5: note: +1, including nesting penalty of 0, nesting level increased to 155 354 | if (!ready) {56 | ^57/build/source/tools/repl/main.cpp:366:5: note: +1, including nesting penalty of 0, nesting level increased to 158 366 | while (true) {59 | ^60/build/source/tools/repl/main.cpp:369:7: note: +2, including nesting penalty of 1, nesting level increased to 261 369 | if (raw == nullptr && errno == EAGAIN) {62 | ^63/build/source/tools/repl/main.cpp:369:26: note: +164 369 | if (raw == nullptr && errno == EAGAIN) {65 | ^66/build/source/tools/repl/main.cpp:372:48: note: +2, including nesting penalty of 1, nesting level increased to 267 372 | const std::string input = raw != nullptr ? raw : ".continue";68 | ^69/build/source/tools/repl/main.cpp:374:7: note: +2, including nesting penalty of 1, nesting level increased to 270 374 | if (cmd.empty()) {71 | ^72/build/source/tools/repl/main.cpp:379:7: note: +2, including nesting penalty of 1, nesting level increased to 273 379 | if (cmd == ".help") {74 | ^75/build/source/tools/repl/main.cpp:381:14: note: +1, nesting level increased to 276 381 | } else if (cmd == ".locals") {77 | ^78/build/source/tools/repl/main.cpp:383:14: note: +1, nesting level increased to 279 383 | } else if (const auto expr = argument(cmd, ".ls")) {80 | ^81/build/source/tools/repl/main.cpp:384:9: note: +3, including nesting penalty of 2, nesting level increased to 382 384 | if (expr->empty()) {83 | ^84/build/source/tools/repl/main.cpp:386:11: note: +1, nesting level increased to 385 386 | } else {86 | ^87/build/source/tools/repl/main.cpp:389:14: note: +1, nesting level increased to 288 389 | } else if (cmd == ".where") {89 | ^90/build/source/tools/repl/main.cpp:391:14: note: +1, nesting level increased to 291 391 | } else if (resumes(cmd)) {92 | ^93/build/source/tools/repl/main.cpp:394:48: note: +3, including nesting penalty of 2, nesting level increased to 394 394 | llvm::json::Object{{"input", abort ? ".abort" : ".quit"}});95 | ^96/build/source/tools/repl/main.cpp:395:29: note: +3, including nesting penalty of 2, nesting level increased to 397 395 | std::cout << (abort ? "program aborted.\n\n"98 | ^99/build/source/tools/repl/main.cpp:398:14: note: +1, nesting level increased to 2100 398 | } else if (const auto reply =101 | ^102/build/source/tools/repl/main.cpp:401:9: note: +1, nesting level increased to 2103 401 | } else {104 | ^105106[13/20][24.0s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/command.cpp107[14/20][24.5s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/members.cpp108[15/20][28.4s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/repl_tty.cpp109[16/20][29.5s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/command.cpp110[17/20][33.5s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/driver.cpp111[18/20][35.2s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/prebuild.cpp112[19/20][38.7s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/completer.cpp113[20/20][48.1s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/repl.cpp114/build/source/lib/repl.cpp:518:6: error: function 'runRepl' has cognitive complexity of 30 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors]115 518 | void runRepl(Prompt &prompt, const char *path, unsigned lineNumber,116 | ^117/build/source/lib/repl.cpp:533:3: note: +1, including nesting penalty of 0, nesting level increased to 1118 533 | for (const char *const *arg = includes; *arg != nullptr; ++arg) {119 | ^120/build/source/lib/repl.cpp:539:3: note: +1, including nesting penalty of 0, nesting level increased to 1121 539 | if (!compiler) {122 | ^123/build/source/lib/repl.cpp:545:3: note: +1, including nesting penalty of 0, nesting level increased to 1124 545 | if (!executor) {125 | ^126/build/source/lib/repl.cpp:551:3: note: +1, including nesting penalty of 0, nesting level increased to 1127 551 | if (!interp) {128 | ^129/build/source/lib/repl.cpp:562:30: note: nesting level increased to 1130 562 | const auto makeCompleter = [&]() -> void {131 | ^132/build/source/lib/repl.cpp:563:5: note: +2, including nesting penalty of 1, nesting level increased to 2133 563 | if (!completer) {134 | ^135/build/source/lib/repl.cpp:571:3: note: +1, including nesting penalty of 0, nesting level increased to 1136 571 | while (true) {137 | ^138/build/source/lib/repl.cpp:573:5: note: +2, including nesting penalty of 1, nesting level increased to 2139 573 | if (request.kind == Request::Kind::Prepare) {140 | ^141/build/source/lib/repl.cpp:574:7: note: +3, including nesting penalty of 2, nesting level increased to 3142 574 | if (!completer) {143 | ^144/build/source/lib/repl.cpp:577:26: note: nesting level increased to 4145 577 | std::jthread([&completer]() -> void { completer->prepare(); });146 | ^147/build/source/lib/repl.cpp:581:5: note: +2, including nesting penalty of 1, nesting level increased to 2148 581 | if (request.kind == Request::Kind::Complete) {149 | ^150/build/source/lib/repl.cpp:583:7: note: +3, including nesting penalty of 2, nesting level increased to 3151 583 | if (preparing.joinable()) {152 | ^153/build/source/lib/repl.cpp:591:5: note: +2, including nesting penalty of 1, nesting level increased to 2154 591 | if (request.kind == Request::Kind::Ls) {155 | ^156/build/source/lib/repl.cpp:595:5: note: +2, including nesting penalty of 1, nesting level increased to 2157 595 | if (request.kind == Request::Kind::Values) {158 | ^159/build/source/lib/repl.cpp:597:7: note: +3, including nesting penalty of 2, nesting level increased to 3160 597 | for (const auto &code : request.list) {161 | ^162/build/source/lib/repl.cpp:605:5: note: +2, including nesting penalty of 1, nesting level increased to 2163 605 | if (request.text == ".quit" || request.text == ".abort") {164 | ^165/build/source/lib/repl.cpp:605:33: note: +1166 605 | if (request.text == ".quit" || request.text == ".abort") {167 | ^168/build/source/lib/repl.cpp:607:7: note: +3, including nesting penalty of 2, nesting level increased to 3169 607 | if (request.text == ".abort") {170 | ^171