tribuchet: building on jamie Running phase: unpackPhase unpacking source archive /nix/store/nfpjdc8m0s0lhjwdp969zd9947kzv0w2-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase cmake 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/gd04rmzz0p23x3s4w2frgp56w338izqp-inspector-clang-tidy-0.1.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/gd04rmzz0p23x3s4w2frgp56w338izqp-inspector-clang-tidy-0.1.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/gd04rmzz0p23x3s4w2frgp56w338izqp-inspector-clang-tidy-0.1.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/gd04rmzz0p23x3s4w2frgp56w338izqp-inspector-clang-tidy-0.1.0/share/doc/inspector-clang-tidy -DCMAKE_INSTALL_INFODIR=/nix/store/gd04rmzz0p23x3s4w2frgp56w338izqp-inspector-clang-tidy-0.1.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/gd04rmzz0p23x3s4w2frgp56w338izqp-inspector-clang-tidy-0.1.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/gd04rmzz0p23x3s4w2frgp56w338izqp-inspector-clang-tidy-0.1.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/gd04rmzz0p23x3s4w2frgp56w338izqp-inspector-clang-tidy-0.1.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/gd04rmzz0p23x3s4w2frgp56w338izqp-inspector-clang-tidy-0.1.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/gd04rmzz0p23x3s4w2frgp56w338izqp-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/gd04rmzz0p23x3s4w2frgp56w338izqp-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=ON -- The C compiler identification is Clang 23.1.3 -- The CXX compiler identification is Clang 23.1.3 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/zzhlv0lxmrxvj0frr5a9x36zggm3hgjy-clang-wrapper-23.1.3/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nix/store/zzhlv0lxmrxvj0frr5a9x36zggm3hgjy-clang-wrapper-23.1.3/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL) -- Found ZLIB: /nix/store/wgw25d181h0qks7qsfp1bh7c5nd3f0s7-zlib-1.3.2/lib/libz.so (found version "1.3.2") -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) -- Using LLVM 23.1.3 from /nix/store/bra57ln6x84pkc8hi4b4ymrbmjczksib-llvm-23.1.3-dev/lib/cmake/llvm -- Using Clang from /nix/store/gqzn0xrq15a20pqcb2b6brbi78nlg85p-clang-23.1.3-dev/lib/cmake/clang -- Using clang resource dir /nix/store/ga1c7khvpcw5nyp6zdhb8jl72xbxn4p8-clang-23.1.3-lib/lib/clang/23 -- Found GTest: /nix/store/bxcddj1bbg7s3kqjr7gnc0wdd0xjvzy1-gtest-1.18.0-dev/lib/cmake/GTest/GTestConfig.cmake (found version "1.18.0") -- Configuring done (3.9s) -- Generating done (0.1s) CMake Warning (unused-cli): Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY -- Build files have been written to: /build/source/build cmake: enabled parallel building cmake: enabled parallel installing Running phase: buildPhase Running clang-tidy in 384 threads for 20 files out of 31 in compilation database ... [ 1/20][1.8s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/cxx_main.cpp [ 2/20][3.4s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/prompt.cpp [ 3/20][4.5s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/highlight.cpp [ 4/20][6.1s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/prelude.cpp [ 5/20][7.1s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/e2e.cpp [ 6/20][8.1s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/source.cpp [ 7/20][8.4s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/history.cpp [ 8/20][8.5s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/connection.cpp [ 9/20][8.8s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/driver.cpp [10/20][9.4s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/main.cpp [11/20][9.8s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/compat.cpp [12/20][10.7s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/members.cpp [13/20][10.8s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/command.cpp [14/20][11.9s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/main.cpp [15/20][14.5s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/command.cpp [16/20][14.6s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/repl_tty.cpp [17/20][19.5s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/driver.cpp [18/20][19.9s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/prebuild.cpp [19/20][22.1s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/completer.cpp [20/20][28.6s] /nix/store/awizb3gi4l48spfiy6mzwjdq0n0pnc4v-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/repl.cpp /build/source/lib/repl.cpp:522:6: error: function 'runRepl' has cognitive complexity of 30 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors] 522 | void runRepl(Prompt &prompt, const char *path, unsigned lineNumber, | ^ /build/source/lib/repl.cpp:537:3: note: +1, including nesting penalty of 0, nesting level increased to 1 537 | for (const char *const *arg = includes; *arg != nullptr; ++arg) { | ^ /build/source/lib/repl.cpp:543:3: note: +1, including nesting penalty of 0, nesting level increased to 1 543 | if (!compiler) { | ^ /build/source/lib/repl.cpp:549:3: note: +1, including nesting penalty of 0, nesting level increased to 1 549 | if (!executor) { | ^ /build/source/lib/repl.cpp:555:3: note: +1, including nesting penalty of 0, nesting level increased to 1 555 | if (!interp) { | ^ /build/source/lib/repl.cpp:566:30: note: nesting level increased to 1 566 | const auto makeCompleter = [&]() -> void { | ^ /build/source/lib/repl.cpp:567:5: note: +2, including nesting penalty of 1, nesting level increased to 2 567 | if (!completer) { | ^ /build/source/lib/repl.cpp:575:3: note: +1, including nesting penalty of 0, nesting level increased to 1 575 | while (true) { | ^ /build/source/lib/repl.cpp:577:5: note: +2, including nesting penalty of 1, nesting level increased to 2 577 | if (request.kind == Request::Kind::Prepare) { | ^ /build/source/lib/repl.cpp:578:7: note: +3, including nesting penalty of 2, nesting level increased to 3 578 | if (!completer) { | ^ /build/source/lib/repl.cpp:581:26: note: nesting level increased to 4 581 | std::jthread([&completer]() -> void { completer->prepare(); }); | ^ /build/source/lib/repl.cpp:585:5: note: +2, including nesting penalty of 1, nesting level increased to 2 585 | if (request.kind == Request::Kind::Complete) { | ^ /build/source/lib/repl.cpp:587:7: note: +3, including nesting penalty of 2, nesting level increased to 3 587 | if (preparing.joinable()) { | ^ /build/source/lib/repl.cpp:595:5: note: +2, including nesting penalty of 1, nesting level increased to 2 595 | if (request.kind == Request::Kind::Ls) { | ^ /build/source/lib/repl.cpp:599:5: note: +2, including nesting penalty of 1, nesting level increased to 2 599 | if (request.kind == Request::Kind::Values) { | ^ /build/source/lib/repl.cpp:601:7: note: +3, including nesting penalty of 2, nesting level increased to 3 601 | for (const auto &code : request.list) { | ^ /build/source/lib/repl.cpp:609:5: note: +2, including nesting penalty of 1, nesting level increased to 2 609 | if (request.text == ".quit" || request.text == ".abort") { | ^ /build/source/lib/repl.cpp:609:33: note: +1 609 | if (request.text == ".quit" || request.text == ".abort") { | ^ /build/source/lib/repl.cpp:611:7: note: +3, including nesting penalty of 2, nesting level increased to 3 611 | if (request.text == ".abort") { | ^