this derivation will be built: /nix/store/14v53c2k2s4gf2520qmlx4r5dvqy7hrg-inspector-clang-tidy-0.1.0.drv building '/nix/store/14v53c2k2s4gf2520qmlx4r5dvqy7hrg-inspector-clang-tidy-0.1.0.drv' inspector-clang-tidy-0.1.0> tribuchet: building on mac02 inspector-clang-tidy-0.1.0> Running phase: unpackPhase inspector-clang-tidy-0.1.0> unpacking source archive /nix/store/nfpjdc8m0s0lhjwdp969zd9947kzv0w2-source inspector-clang-tidy-0.1.0> source root is source inspector-clang-tidy-0.1.0> Running phase: patchPhase inspector-clang-tidy-0.1.0> Running phase: updateAutotoolsGnuConfigScriptsPhase inspector-clang-tidy-0.1.0> Running phase: configurePhase inspector-clang-tidy-0.1.0> 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/08ggb2f0jcwy0fjc92px5a59ilprrsns-inspector-clang-tidy-0.1.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/08ggb2f0jcwy0fjc92px5a59ilprrsns-inspector-clang-tidy-0.1.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/08ggb2f0jcwy0fjc92px5a59ilprrsns-inspector-clang-tidy-0.1.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/08ggb2f0jcwy0fjc92px5a59ilprrsns-inspector-clang-tidy-0.1.0/share/doc/inspector-clang-tidy -DCMAKE_INSTALL_INFODIR=/nix/store/08ggb2f0jcwy0fjc92px5a59ilprrsns-inspector-clang-tidy-0.1.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/08ggb2f0jcwy0fjc92px5a59ilprrsns-inspector-clang-tidy-0.1.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/08ggb2f0jcwy0fjc92px5a59ilprrsns-inspector-clang-tidy-0.1.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/08ggb2f0jcwy0fjc92px5a59ilprrsns-inspector-clang-tidy-0.1.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/08ggb2f0jcwy0fjc92px5a59ilprrsns-inspector-clang-tidy-0.1.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/08ggb2f0jcwy0fjc92px5a59ilprrsns-inspector-clang-tidy-0.1.0/lib -DCMAKE_STRIP=/nix/store/whvnk9kkh8bqc9k2b3j52b3kqxcplvfp-clang-wrapper-23.1.3/bin/strip -DCMAKE_RANLIB=/nix/store/whvnk9kkh8bqc9k2b3j52b3kqxcplvfp-clang-wrapper-23.1.3/bin/ranlib -DCMAKE_AR=/nix/store/whvnk9kkh8bqc9k2b3j52b3kqxcplvfp-clang-wrapper-23.1.3/bin/ar -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/nix/store/08ggb2f0jcwy0fjc92px5a59ilprrsns-inspector-clang-tidy-0.1.0 -DCLANG_RESOURCE_DIR=/nix/store/1hpc5dxrdfl18yd084md6b2kwsh6xa2p-clang-23.1.3-lib/lib/clang/23 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DBUILD_TESTING=ON inspector-clang-tidy-0.1.0> -- The C compiler identification is Clang 23.1.3 inspector-clang-tidy-0.1.0> -- The CXX compiler identification is Clang 23.1.3 inspector-clang-tidy-0.1.0> -- Detecting C compiler ABI info inspector-clang-tidy-0.1.0> -- Detecting C compiler ABI info - done inspector-clang-tidy-0.1.0> -- Check for working C compiler: /nix/store/whvnk9kkh8bqc9k2b3j52b3kqxcplvfp-clang-wrapper-23.1.3/bin/clang - skipped inspector-clang-tidy-0.1.0> -- Detecting C compile features inspector-clang-tidy-0.1.0> -- Detecting C compile features - done inspector-clang-tidy-0.1.0> -- Detecting CXX compiler ABI info inspector-clang-tidy-0.1.0> -- Detecting CXX compiler ABI info - done inspector-clang-tidy-0.1.0> -- Check for working CXX compiler: /nix/store/whvnk9kkh8bqc9k2b3j52b3kqxcplvfp-clang-wrapper-23.1.3/bin/clang++ - skipped inspector-clang-tidy-0.1.0> -- Detecting CXX compile features inspector-clang-tidy-0.1.0> -- Detecting CXX compile features - done inspector-clang-tidy-0.1.0> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD inspector-clang-tidy-0.1.0> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success inspector-clang-tidy-0.1.0> -- Found Threads: TRUE inspector-clang-tidy-0.1.0> -- Performing Test HAVE_FFI_CALL inspector-clang-tidy-0.1.0> -- Performing Test HAVE_FFI_CALL - Success inspector-clang-tidy-0.1.0> -- Found FFI: /nix/store/2xyjpks2z1i91klny38h789j483fpz4x-libffi-40/lib/libffi.dylib inspector-clang-tidy-0.1.0> -- Found ZLIB: /nix/store/phb97pafnka8z1qpj12is214rshpql65-zlib-1.3.2/lib/libz.dylib (found version "1.3.2") inspector-clang-tidy-0.1.0> -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) inspector-clang-tidy-0.1.0> -- Using LLVM 23.1.3 from /nix/store/bqx9zsdd4ljr8jp4nljl2sp0f5k36f4g-llvm-23.1.3-dev/lib/cmake/llvm inspector-clang-tidy-0.1.0> -- Using Clang from /nix/store/86q2sfs8755f5sij10d58w331bhx9rik-clang-23.1.3-dev/lib/cmake/clang inspector-clang-tidy-0.1.0> -- Using clang resource dir /nix/store/1hpc5dxrdfl18yd084md6b2kwsh6xa2p-clang-23.1.3-lib/lib/clang/23 inspector-clang-tidy-0.1.0> -- Found GTest: /nix/store/rlin5x6kw1p30pkjr4l22rag6qp2dmfd-gtest-1.18.0-dev/lib/cmake/GTest/GTestConfig.cmake (found version "1.18.0") inspector-clang-tidy-0.1.0> -- Configuring done (1.6s) inspector-clang-tidy-0.1.0> -- Generating done (0.1s) inspector-clang-tidy-0.1.0> CMake Warning (unused-cli): inspector-clang-tidy-0.1.0> Manually-specified variables were not used by the project: inspector-clang-tidy-0.1.0> inspector-clang-tidy-0.1.0> CMAKE_EXPORT_NO_PACKAGE_REGISTRY inspector-clang-tidy-0.1.0> inspector-clang-tidy-0.1.0> inspector-clang-tidy-0.1.0> -- Build files have been written to: /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/build inspector-clang-tidy-0.1.0> cmake: enabled parallel building inspector-clang-tidy-0.1.0> cmake: enabled parallel installing inspector-clang-tidy-0.1.0> Running phase: buildPhase inspector-clang-tidy-0.1.0> Running clang-tidy in 10 threads for 20 files out of 31 in compilation database ... inspector-clang-tidy-0.1.0> [ 1/20][5.2s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/tools/repl/highlight.cpp inspector-clang-tidy-0.1.0> [ 2/20][6.7s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/tools/repl/connection.cpp inspector-clang-tidy-0.1.0> [ 3/20][7.0s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/test/e2e.cpp inspector-clang-tidy-0.1.0> [ 4/20][7.7s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/compat.cpp inspector-clang-tidy-0.1.0> [ 5/20][7.8s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/tools/repl/source.cpp inspector-clang-tidy-0.1.0> [ 6/20][2.6s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/tools/inspector/cxx_main.cpp inspector-clang-tidy-0.1.0> [ 7/20][11.4s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/members.cpp inspector-clang-tidy-0.1.0> [ 8/20][13.1s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/tools/inspector/driver.cpp inspector-clang-tidy-0.1.0> [ 9/20][8.8s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/test/history.cpp inspector-clang-tidy-0.1.0> [10/20][3.9s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/prompt.cpp inspector-clang-tidy-0.1.0> [11/20][11.1s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/tools/repl/command.cpp inspector-clang-tidy-0.1.0> [12/20][20.2s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/test/command.cpp inspector-clang-tidy-0.1.0> [13/20][21.9s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/tools/inspector/prebuild.cpp inspector-clang-tidy-0.1.0> [14/20][6.7s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/test/prelude.cpp inspector-clang-tidy-0.1.0> [15/20][14.9s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/tools/repl/main.cpp inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/tools/repl/main.cpp:102:3: error: no header providing "winsize" is directly included [misc-include-cleaner,-warnings-as-errors] inspector-clang-tidy-0.1.0> 26 | winsize size{}; inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> inspector-clang-tidy-0.1.0> [16/20][7.1s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/tools/inspector/main.cpp inspector-clang-tidy-0.1.0> [17/20][24.9s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/completer.cpp inspector-clang-tidy-0.1.0> [18/20][14.7s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/test/repl_tty.cpp inspector-clang-tidy-0.1.0> [19/20][23.2s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/test/driver.cpp inspector-clang-tidy-0.1.0> [20/20][24.9s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:522:6: error: function 'runRepl' has cognitive complexity of 30 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors] inspector-clang-tidy-0.1.0> 522 | void runRepl(Prompt &prompt, const char *path, unsigned lineNumber, inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:537:3: note: +1, including nesting penalty of 0, nesting level increased to 1 inspector-clang-tidy-0.1.0> 537 | for (const char *const *arg = includes; *arg != nullptr; ++arg) { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:543:3: note: +1, including nesting penalty of 0, nesting level increased to 1 inspector-clang-tidy-0.1.0> 543 | if (!compiler) { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:549:3: note: +1, including nesting penalty of 0, nesting level increased to 1 inspector-clang-tidy-0.1.0> 549 | if (!executor) { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:555:3: note: +1, including nesting penalty of 0, nesting level increased to 1 inspector-clang-tidy-0.1.0> 555 | if (!interp) { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:566:30: note: nesting level increased to 1 inspector-clang-tidy-0.1.0> 566 | const auto makeCompleter = [&]() -> void { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:567:5: note: +2, including nesting penalty of 1, nesting level increased to 2 inspector-clang-tidy-0.1.0> 567 | if (!completer) { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:575:3: note: +1, including nesting penalty of 0, nesting level increased to 1 inspector-clang-tidy-0.1.0> 575 | while (true) { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:577:5: note: +2, including nesting penalty of 1, nesting level increased to 2 inspector-clang-tidy-0.1.0> 577 | if (request.kind == Request::Kind::Prepare) { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:578:7: note: +3, including nesting penalty of 2, nesting level increased to 3 inspector-clang-tidy-0.1.0> 578 | if (!completer) { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:581:26: note: nesting level increased to 4 inspector-clang-tidy-0.1.0> 581 | std::jthread([&completer]() -> void { completer->prepare(); }); inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:585:5: note: +2, including nesting penalty of 1, nesting level increased to 2 inspector-clang-tidy-0.1.0> 585 | if (request.kind == Request::Kind::Complete) { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:587:7: note: +3, including nesting penalty of 2, nesting level increased to 3 inspector-clang-tidy-0.1.0> 587 | if (preparing.joinable()) { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:595:5: note: +2, including nesting penalty of 1, nesting level increased to 2 inspector-clang-tidy-0.1.0> 595 | if (request.kind == Request::Kind::Ls) { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:599:5: note: +2, including nesting penalty of 1, nesting level increased to 2 inspector-clang-tidy-0.1.0> 599 | if (request.kind == Request::Kind::Values) { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:601:7: note: +3, including nesting penalty of 2, nesting level increased to 3 inspector-clang-tidy-0.1.0> 601 | for (const auto &code : request.list) { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:609:5: note: +2, including nesting penalty of 1, nesting level increased to 2 inspector-clang-tidy-0.1.0> 609 | if (request.text == ".quit" || request.text == ".abort") { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:609:33: note: +1 inspector-clang-tidy-0.1.0> 609 | if (request.text == ".quit" || request.text == ".abort") { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:611:7: note: +3, including nesting penalty of 2, nesting level increased to 3 inspector-clang-tidy-0.1.0> 611 | if (request.text == ".abort") { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> error: Cannot build '/nix/store/14v53c2k2s4gf2520qmlx4r5dvqy7hrg-inspector-clang-tidy-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/08ggb2f0jcwy0fjc92px5a59ilprrsns-inspector-clang-tidy-0.1.0 Last 25 log lines: > /private/var/tb/3/scratch/6b75ca570868b2a2/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) { > | ^ > /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:587:7: note: +3, including nesting penalty of 2, nesting level increased to 3 > 587 | if (preparing.joinable()) { > | ^ > /private/var/tb/3/scratch/6b75ca570868b2a2/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) { > | ^ > /private/var/tb/3/scratch/6b75ca570868b2a2/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) { > | ^ > /private/var/tb/3/scratch/6b75ca570868b2a2/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) { > | ^ > /private/var/tb/3/scratch/6b75ca570868b2a2/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") { > | ^ > /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:609:33: note: +1 > 609 | if (request.text == ".quit" || request.text == ".abort") { > | ^ > /private/var/tb/3/scratch/6b75ca570868b2a2/build/source/lib/repl.cpp:611:7: note: +3, including nesting penalty of 2, nesting level increased to 3 > 611 | if (request.text == ".abort") { > | ^ > For full logs, run: nix log /nix/store/14v53c2k2s4gf2520qmlx4r5dvqy7hrg-inspector-clang-tidy-0.1.0.drv