nixbot

builds

failed inspector-clang-tidy-0.1.0 checks.x86_64-linux.clang-tidy · build #53 · raw

1tribuchet: building on jamie
unpackPhase
2unpacking source archive /nix/store/8201n8ycra0xslkr0m8s4mn3az4r2w44-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/g6g2asvxjnzick5ka4rmkmkam063g9sl-inspector-clang-tidy-0.1.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/g6g2asvxjnzick5ka4rmkmkam063g9sl-inspector-clang-tidy-0.1.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/g6g2asvxjnzick5ka4rmkmkam063g9sl-inspector-clang-tidy-0.1.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/g6g2asvxjnzick5ka4rmkmkam063g9sl-inspector-clang-tidy-0.1.0/share/doc/inspector-clang-tidy -DCMAKE_INSTALL_INFODIR=/nix/store/g6g2asvxjnzick5ka4rmkmkam063g9sl-inspector-clang-tidy-0.1.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/g6g2asvxjnzick5ka4rmkmkam063g9sl-inspector-clang-tidy-0.1.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/g6g2asvxjnzick5ka4rmkmkam063g9sl-inspector-clang-tidy-0.1.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/g6g2asvxjnzick5ka4rmkmkam063g9sl-inspector-clang-tidy-0.1.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/g6g2asvxjnzick5ka4rmkmkam063g9sl-inspector-clang-tidy-0.1.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/g6g2asvxjnzick5ka4rmkmkam063g9sl-inspector-clang-tidy-0.1.0/lib -DCMAKE_STRIP=/nix/store/zzhlv0lxmrxvj0frr5a9x36zggm3hgjy-clang-wrapper-23.1.3/bin/strip -DCMAKE_RANLIB=/nix/store/zzhlv0lxmrxvj0frr5a9x36zggm3hgjy-clang-wrapper-23.1.3/bin/ranlib -DCMAKE_AR=/nix/store/zzhlv0lxmrxvj0frr5a9x36zggm3hgjy-clang-wrapper-23.1.3/bin/ar -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/nix/store/g6g2asvxjnzick5ka4rmkmkam063g9sl-inspector-clang-tidy-0.1.0 -DCLANG_RESOURCE_DIR=/nix/store/ga1c7khvpcw5nyp6zdhb8jl72xbxn4p8-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/zzhlv0lxmrxvj0frr5a9x36zggm3hgjy-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/zzhlv0lxmrxvj0frr5a9x36zggm3hgjy-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/wgw25d181h0qks7qsfp1bh7c5nd3f0s7-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/bra57ln6x84pkc8hi4b4ymrbmjczksib-llvm-23.1.3-dev/lib/cmake/llvm24-- Using Clang from /nix/store/gqzn0xrq15a20pqcb2b6brbi78nlg85p-clang-23.1.3-dev/lib/cmake/clang25-- Using clang resource dir /nix/store/ga1c7khvpcw5nyp6zdhb8jl72xbxn4p8-clang-23.1.3-lib/lib/clang/2326-- Found GTest: /nix/store/bxcddj1bbg7s3kqjr7gnc0wdd0xjvzy1-gtest-1.18.0-dev/lib/cmake/GTest/GTestConfig.cmake (found version "1.18.0")27-- Configuring done (5.1s)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 384 threads for 20 files out of 31 in compilation database ...39[ 1/20][3.9s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/cxx_main.cpp40[ 2/20][6.2s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/highlight.cpp41[ 3/20][9.0s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/history.cpp42[ 4/20][10.5s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/driver.cpp43[ 5/20][10.7s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/prelude.cpp44[ 6/20][10.9s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/connection.cpp45[ 7/20][11.5s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/prompt.cpp46[ 8/20][12.0s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/e2e.cpp47[ 9/20][13.0s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/main.cpp48/build/source/tools/repl/main.cpp:336:8: error: function 'run' has cognitive complexity of 27 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors]49 336 | void run() {50 | ^51/build/source/tools/repl/main.cpp:340:5: note: +1, including nesting penalty of 0, nesting level increased to 152 340 | if (!ready) {53 | ^54/build/source/tools/repl/main.cpp:348:5: note: +1, including nesting penalty of 0, nesting level increased to 155 348 | while (true) {56 | ^57/build/source/tools/repl/main.cpp:351:7: note: +2, including nesting penalty of 1, nesting level increased to 258 351 | if (raw == nullptr && errno == EAGAIN) {59 | ^60/build/source/tools/repl/main.cpp:351:26: note: +161 351 | if (raw == nullptr && errno == EAGAIN) {62 | ^63/build/source/tools/repl/main.cpp:354:48: note: +2, including nesting penalty of 1, nesting level increased to 264 354 | const std::string input = raw != nullptr ? raw : ".continue";65 | ^66/build/source/tools/repl/main.cpp:356:7: note: +2, including nesting penalty of 1, nesting level increased to 267 356 | if (cmd.empty()) {68 | ^69/build/source/tools/repl/main.cpp:362:7: note: +2, including nesting penalty of 1, nesting level increased to 270 362 | if (cmd == ".help") {71 | ^72/build/source/tools/repl/main.cpp:364:14: note: +1, nesting level increased to 273 364 | } else if (cmd == ".locals") {74 | ^75/build/source/tools/repl/main.cpp:366:14: note: +1, nesting level increased to 276 366 | } else if (const auto expr = argument(cmd, ".ls")) {77 | ^78/build/source/tools/repl/main.cpp:367:9: note: +3, including nesting penalty of 2, nesting level increased to 379 367 | if (expr->empty()) {80 | ^81/build/source/tools/repl/main.cpp:369:11: note: +1, nesting level increased to 382 369 | } else {83 | ^84/build/source/tools/repl/main.cpp:372:14: note: +1, nesting level increased to 285 372 | } else if (cmd == ".where") {86 | ^87/build/source/tools/repl/main.cpp:374:14: note: +1, nesting level increased to 288 374 | } else if (resumes(cmd)) {89 | ^90/build/source/tools/repl/main.cpp:377:48: note: +3, including nesting penalty of 2, nesting level increased to 391 377 | llvm::json::Object{{"input", abort ? ".abort" : ".quit"}});92 | ^93/build/source/tools/repl/main.cpp:378:29: note: +3, including nesting penalty of 2, nesting level increased to 394 378 | std::cout << (abort ? "program aborted.\n\n"95 | ^96/build/source/tools/repl/main.cpp:381:14: note: +1, nesting level increased to 297 381 | } else if (const auto reply =98 | ^99/build/source/tools/repl/main.cpp:384:9: note: +1, nesting level increased to 2100 384 | } else {101 | ^102103[10/20][16.3s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/main.cpp104[11/20][24.8s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/command.cpp105[12/20][26.1s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/source.cpp106[13/20][29.6s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/compat.cpp107[14/20][29.6s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/members.cpp108[15/20][30.6s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/command.cpp109[16/20][30.7s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/prebuild.cpp110[17/20][34.4s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/repl_tty.cpp111[18/20][36.0s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/completer.cpp112[19/20][39.5s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/driver.cpp113[20/20][41.7s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/repl.cpp