tribuchet: building on eliza Running phase: unpackPhase unpacking source archive /nix/store/kvxfmryyn5qz4pznh5q0mi01280fsbn4-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/7dvlj7k68s6cic8cfkm8jfl7bwmfsnq8-inspector-clang-tidy-0.1.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/7dvlj7k68s6cic8cfkm8jfl7bwmfsnq8-inspector-clang-tidy-0.1.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/7dvlj7k68s6cic8cfkm8jfl7bwmfsnq8-inspector-clang-tidy-0.1.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/7dvlj7k68s6cic8cfkm8jfl7bwmfsnq8-inspector-clang-tidy-0.1.0/share/doc/inspector-clang-tidy -DCMAKE_INSTALL_INFODIR=/nix/store/7dvlj7k68s6cic8cfkm8jfl7bwmfsnq8-inspector-clang-tidy-0.1.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/7dvlj7k68s6cic8cfkm8jfl7bwmfsnq8-inspector-clang-tidy-0.1.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/7dvlj7k68s6cic8cfkm8jfl7bwmfsnq8-inspector-clang-tidy-0.1.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/7dvlj7k68s6cic8cfkm8jfl7bwmfsnq8-inspector-clang-tidy-0.1.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/7dvlj7k68s6cic8cfkm8jfl7bwmfsnq8-inspector-clang-tidy-0.1.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/7dvlj7k68s6cic8cfkm8jfl7bwmfsnq8-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/7dvlj7k68s6cic8cfkm8jfl7bwmfsnq8-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=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/q16hxlxb86p7hrm3kf8jhj54ayhk0wzr-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/q16hxlxb86p7hrm3kf8jhj54ayhk0wzr-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/7d907izyink96xhqazkbw4wicvgkm76c-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/1x5bszx1qkw663kzax3qii14i3ldw6vy-llvm-23.1.3-dev/lib/cmake/llvm -- Using Clang from /nix/store/7bpfr8z265jvn922d4vvbbnp4r5p2rsy-clang-23.1.3-dev/lib/cmake/clang -- Using clang resource dir /nix/store/5v5diph1m5ddydjr3nvaisj6yfb7j34f-clang-23.1.3-lib/lib/clang/23 -- Found GTest: /nix/store/6nvynb78xv4sb7jmmxi9s1iilhfd0yyv-gtest-1.18.0-dev/lib/cmake/GTest/GTestConfig.cmake (found version "1.18.0") -- Configuring done (4.2s) -- 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 192 threads for 20 files out of 31 in compilation database ... [ 1/20][4.6s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/cxx_main.cpp [ 2/20][10.4s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/highlight.cpp [ 3/20][16.3s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/source.cpp [ 4/20][17.0s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/prompt.cpp [ 5/20][17.6s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/prelude.cpp [ 6/20][18.7s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/history.cpp [ 7/20][18.9s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/main.cpp [ 8/20][19.8s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/main.cpp /build/source/tools/repl/main.cpp:335:8: error: function 'run' has cognitive complexity of 27 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors] 335 | void run() { | ^ /build/source/tools/repl/main.cpp:339:5: note: +1, including nesting penalty of 0, nesting level increased to 1 339 | if (!ready) { | ^ /build/source/tools/repl/main.cpp:349:5: note: +1, including nesting penalty of 0, nesting level increased to 1 349 | while (true) { | ^ /build/source/tools/repl/main.cpp:352:7: note: +2, including nesting penalty of 1, nesting level increased to 2 352 | if (raw == nullptr && errno == EAGAIN) { | ^ /build/source/tools/repl/main.cpp:352:26: note: +1 352 | if (raw == nullptr && errno == EAGAIN) { | ^ /build/source/tools/repl/main.cpp:355:48: note: +2, including nesting penalty of 1, nesting level increased to 2 355 | const std::string input = raw != nullptr ? raw : ".continue"; | ^ /build/source/tools/repl/main.cpp:357:7: note: +2, including nesting penalty of 1, nesting level increased to 2 357 | if (cmd.empty()) { | ^ /build/source/tools/repl/main.cpp:362:7: note: +2, including nesting penalty of 1, nesting level increased to 2 362 | if (cmd == ".help") { | ^ /build/source/tools/repl/main.cpp:364:14: note: +1, nesting level increased to 2 364 | } else if (cmd == ".locals") { | ^ /build/source/tools/repl/main.cpp:366:14: note: +1, nesting level increased to 2 366 | } else if (const auto expr = argument(cmd, ".ls")) { | ^ /build/source/tools/repl/main.cpp:367:9: note: +3, including nesting penalty of 2, nesting level increased to 3 367 | if (expr->empty()) { | ^ /build/source/tools/repl/main.cpp:369:11: note: +1, nesting level increased to 3 369 | } else { | ^ /build/source/tools/repl/main.cpp:372:14: note: +1, nesting level increased to 2 372 | } else if (cmd == ".where") { | ^ /build/source/tools/repl/main.cpp:374:14: note: +1, nesting level increased to 2 374 | } else if (resumes(cmd)) { | ^ /build/source/tools/repl/main.cpp:377:48: note: +3, including nesting penalty of 2, nesting level increased to 3 377 | llvm::json::Object{{"input", abort ? ".abort" : ".quit"}}); | ^ /build/source/tools/repl/main.cpp:378:29: note: +3, including nesting penalty of 2, nesting level increased to 3 378 | std::cout << (abort ? "program aborted.\n\n" | ^ /build/source/tools/repl/main.cpp:381:14: note: +1, nesting level increased to 2 381 | } else if (const auto reply = | ^ /build/source/tools/repl/main.cpp:384:9: note: +1, nesting level increased to 2 384 | } else { | ^ [ 9/20][19.9s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/e2e.cpp [10/20][20.5s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/driver.cpp [11/20][20.6s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/connection.cpp [12/20][24.6s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/repl/command.cpp [13/20][25.0s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/compat.cpp [14/20][27.2s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/members.cpp [15/20][29.7s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/command.cpp [16/20][30.0s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/repl_tty.cpp [17/20][36.0s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/test/driver.cpp [18/20][41.8s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/completer.cpp [19/20][42.0s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/tools/inspector/prebuild.cpp [20/20][51.7s] /nix/store/j1382p77r411gv0nblxg3ap9sqfak6b7-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /build/source/lib/repl.cpp