inspector-clang-tidy-0.1.0
checks.aarch64-linux.clang-tidy
· build #48
· raw
1tribuchet: building on eliza
unpackPhase
2unpacking source archive /nix/store/nfpjdc8m0s0lhjwdp969zd9947kzv0w2-source3source root is sourceconfigurePhase
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/fd94pzp6f0933ac30s2f659ca4dlhqc6-inspector-clang-tidy-0.1.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/fd94pzp6f0933ac30s2f659ca4dlhqc6-inspector-clang-tidy-0.1.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/fd94pzp6f0933ac30s2f659ca4dlhqc6-inspector-clang-tidy-0.1.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/fd94pzp6f0933ac30s2f659ca4dlhqc6-inspector-clang-tidy-0.1.0/share/doc/inspector-clang-tidy -DCMAKE_INSTALL_INFODIR=/nix/store/fd94pzp6f0933ac30s2f659ca4dlhqc6-inspector-clang-tidy-0.1.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/fd94pzp6f0933ac30s2f659ca4dlhqc6-inspector-clang-tidy-0.1.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/fd94pzp6f0933ac30s2f659ca4dlhqc6-inspector-clang-tidy-0.1.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/fd94pzp6f0933ac30s2f659ca4dlhqc6-inspector-clang-tidy-0.1.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/fd94pzp6f0933ac30s2f659ca4dlhqc6-inspector-clang-tidy-0.1.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/fd94pzp6f0933ac30s2f659ca4dlhqc6-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/fd94pzp6f0933ac30s2f659ca4dlhqc6-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 (2.3s)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 installingbuildPhase
38Running clang-tidy in 192 threads for 20 files out of 31 in compilation database ...39[ 1/20][2.9s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/cxx_main.cpp40[ 2/20][6.0s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/prompt.cpp41[ 3/20][7.6s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/highlight.cpp42[ 4/20][8.6s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/prelude.cpp43[ 5/20][9.8s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/e2e.cpp44[ 6/20][10.0s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/source.cpp45[ 7/20][10.6s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/history.cpp46[ 8/20][10.7s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/connection.cpp47[ 9/20][11.1s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/driver.cpp48[10/20][12.3s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/main.cpp49[11/20][13.1s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/compat.cpp50[12/20][13.5s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/members.cpp51[13/20][15.0s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/command.cpp52[14/20][16.2s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/main.cpp53[15/20][18.5s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/repl_tty.cpp54[16/20][18.9s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/command.cpp55[17/20][25.3s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/driver.cpp56[18/20][25.6s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/prebuild.cpp57[19/20][27.3s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/completer.cpp58[20/20][36.4s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/repl.cpp59/build/source/lib/repl.cpp:522:6: error: function 'runRepl' has cognitive complexity of 30 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors]60 522 | void runRepl(Prompt &prompt, const char *path, unsigned lineNumber,61 | ^62/build/source/lib/repl.cpp:537:3: note: +1, including nesting penalty of 0, nesting level increased to 163 537 | for (const char *const *arg = includes; *arg != nullptr; ++arg) {64 | ^65/build/source/lib/repl.cpp:543:3: note: +1, including nesting penalty of 0, nesting level increased to 166 543 | if (!compiler) {67 | ^68/build/source/lib/repl.cpp:549:3: note: +1, including nesting penalty of 0, nesting level increased to 169 549 | if (!executor) {70 | ^71/build/source/lib/repl.cpp:555:3: note: +1, including nesting penalty of 0, nesting level increased to 172 555 | if (!interp) {73 | ^74/build/source/lib/repl.cpp:566:30: note: nesting level increased to 175 566 | const auto makeCompleter = [&]() -> void {76 | ^77/build/source/lib/repl.cpp:567:5: note: +2, including nesting penalty of 1, nesting level increased to 278 567 | if (!completer) {79 | ^80/build/source/lib/repl.cpp:575:3: note: +1, including nesting penalty of 0, nesting level increased to 181 575 | while (true) {82 | ^83/build/source/lib/repl.cpp:577:5: note: +2, including nesting penalty of 1, nesting level increased to 284 577 | if (request.kind == Request::Kind::Prepare) {85 | ^86/build/source/lib/repl.cpp:578:7: note: +3, including nesting penalty of 2, nesting level increased to 387 578 | if (!completer) {88 | ^89/build/source/lib/repl.cpp:581:26: note: nesting level increased to 490 581 | std::jthread([&completer]() -> void { completer->prepare(); });91 | ^92/build/source/lib/repl.cpp:585:5: note: +2, including nesting penalty of 1, nesting level increased to 293 585 | if (request.kind == Request::Kind::Complete) {94 | ^95/build/source/lib/repl.cpp:587:7: note: +3, including nesting penalty of 2, nesting level increased to 396 587 | if (preparing.joinable()) {97 | ^98/build/source/lib/repl.cpp:595:5: note: +2, including nesting penalty of 1, nesting level increased to 299 595 | if (request.kind == Request::Kind::Ls) {100 | ^101/build/source/lib/repl.cpp:599:5: note: +2, including nesting penalty of 1, nesting level increased to 2102 599 | if (request.kind == Request::Kind::Values) {103 | ^104/build/source/lib/repl.cpp:601:7: note: +3, including nesting penalty of 2, nesting level increased to 3105 601 | for (const auto &code : request.list) {106 | ^107/build/source/lib/repl.cpp:609:5: note: +2, including nesting penalty of 1, nesting level increased to 2108 609 | if (request.text == ".quit" || request.text == ".abort") {109 | ^110/build/source/lib/repl.cpp:609:33: note: +1111 609 | if (request.text == ".quit" || request.text == ".abort") {112 | ^113/build/source/lib/repl.cpp:611:7: note: +3, including nesting penalty of 2, nesting level increased to 3114 611 | if (request.text == ".abort") {115 | ^116