nixbot

builds

failed inspector-clang-tidy-0.1.0 checks.aarch64-darwin.clang-tidy · build #51 · raw

1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/hahmmkwld4x0cgip8fzgn7cwj3cr03ia-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/0xsf4w56irp0zy41ipbl28csh4zr26j6-inspector-clang-tidy-0.1.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/0xsf4w56irp0zy41ipbl28csh4zr26j6-inspector-clang-tidy-0.1.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/0xsf4w56irp0zy41ipbl28csh4zr26j6-inspector-clang-tidy-0.1.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/0xsf4w56irp0zy41ipbl28csh4zr26j6-inspector-clang-tidy-0.1.0/share/doc/inspector-clang-tidy -DCMAKE_INSTALL_INFODIR=/nix/store/0xsf4w56irp0zy41ipbl28csh4zr26j6-inspector-clang-tidy-0.1.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/0xsf4w56irp0zy41ipbl28csh4zr26j6-inspector-clang-tidy-0.1.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/0xsf4w56irp0zy41ipbl28csh4zr26j6-inspector-clang-tidy-0.1.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/0xsf4w56irp0zy41ipbl28csh4zr26j6-inspector-clang-tidy-0.1.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/0xsf4w56irp0zy41ipbl28csh4zr26j6-inspector-clang-tidy-0.1.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/0xsf4w56irp0zy41ipbl28csh4zr26j6-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/0xsf4w56irp0zy41ipbl28csh4zr26j6-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=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/whvnk9kkh8bqc9k2b3j52b3kqxcplvfp-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/whvnk9kkh8bqc9k2b3j52b3kqxcplvfp-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-- Performing Test HAVE_FFI_CALL21-- Performing Test HAVE_FFI_CALL - Success22-- Found FFI: /nix/store/2xyjpks2z1i91klny38h789j483fpz4x-libffi-40/lib/libffi.dylib23-- Found ZLIB: /nix/store/phb97pafnka8z1qpj12is214rshpql65-zlib-1.3.2/lib/libz.dylib (found version "1.3.2")24-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) 25-- Using LLVM 23.1.3 from /nix/store/bqx9zsdd4ljr8jp4nljl2sp0f5k36f4g-llvm-23.1.3-dev/lib/cmake/llvm26-- Using Clang from /nix/store/86q2sfs8755f5sij10d58w331bhx9rik-clang-23.1.3-dev/lib/cmake/clang27-- Using clang resource dir /nix/store/1hpc5dxrdfl18yd084md6b2kwsh6xa2p-clang-23.1.3-lib/lib/clang/2328-- Found GTest: /nix/store/rlin5x6kw1p30pkjr4l22rag6qp2dmfd-gtest-1.18.0-dev/lib/cmake/GTest/GTestConfig.cmake (found version "1.18.0")29-- Configuring done (3.1s)30-- Generating done (0.2s)31CMake Warning (unused-cli):32 Manually-specified variables were not used by the project:3334 CMAKE_EXPORT_NO_PACKAGE_REGISTRY353637-- Build files have been written to: /private/var/tb/3/scratch/fde3d55db564f478/build/source/build38cmake: enabled parallel building39cmake: enabled parallel installing
buildPhase
40Running clang-tidy in 10 threads for 20 files out of 31 in compilation database ...41[ 1/20][8.9s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/highlight.cpp42[ 2/20][12.4s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/test/e2e.cpp43[ 3/20][14.1s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/test/history.cpp44[ 4/20][14.8s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/source.cpp45[ 5/20][5.9s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/inspector/cxx_main.cpp46[ 6/20][20.6s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/command.cpp47[ 7/20][20.8s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/lib/members.cpp48[ 8/20][21.2s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp49/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:100:3: error: no header providing "winsize" is directly included [misc-include-cleaner,-warnings-as-errors]50 25 | winsize size{};51 | ^52/private/var/tb/3/scratch/fde3d55db564f478/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]53 336 | void run() {54 | ^55/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:340:5: note: +1, including nesting penalty of 0, nesting level increased to 156 340 | if (!ready) {57 | ^58/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:348:5: note: +1, including nesting penalty of 0, nesting level increased to 159 348 | while (true) {60 | ^61/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:351:7: note: +2, including nesting penalty of 1, nesting level increased to 262 351 | if (raw == nullptr && errno == EAGAIN) {63 | ^64/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:351:26: note: +165 351 | if (raw == nullptr && errno == EAGAIN) {66 | ^67/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:354:48: note: +2, including nesting penalty of 1, nesting level increased to 268 354 | const std::string input = raw != nullptr ? raw : ".continue";69 | ^70/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:356:7: note: +2, including nesting penalty of 1, nesting level increased to 271 356 | if (cmd.empty()) {72 | ^73/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:362:7: note: +2, including nesting penalty of 1, nesting level increased to 274 362 | if (cmd == ".help") {75 | ^76/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:364:14: note: +1, nesting level increased to 277 364 | } else if (cmd == ".locals") {78 | ^79/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:366:14: note: +1, nesting level increased to 280 366 | } else if (const auto expr = argument(cmd, ".ls")) {81 | ^82/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:367:9: note: +3, including nesting penalty of 2, nesting level increased to 383 367 | if (expr->empty()) {84 | ^85/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:369:11: note: +1, nesting level increased to 386 369 | } else {87 | ^88/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:372:14: note: +1, nesting level increased to 289 372 | } else if (cmd == ".where") {90 | ^91/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:374:14: note: +1, nesting level increased to 292 374 | } else if (resumes(cmd)) {93 | ^94/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:377:48: note: +3, including nesting penalty of 2, nesting level increased to 395 377 | llvm::json::Object{{"input", abort ? ".abort" : ".quit"}});96 | ^97/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:378:29: note: +3, including nesting penalty of 2, nesting level increased to 398 378 | std::cout << (abort ? "program aborted.\n\n"99 | ^100/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:381:14: note: +1, nesting level increased to 2101 381 | } else if (const auto reply =102 | ^103/private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/main.cpp:384:9: note: +1, nesting level increased to 2104 384 | } else {105 | ^106107[ 9/20][26.2s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/inspector/driver.cpp108[10/20][20.0s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/lib/compat.cpp109[11/20][22.2s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/inspector/main.cpp110[12/20][9.3s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/lib/prompt.cpp111[13/20][17.6s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/test/prelude.cpp112[14/20][16.1s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/repl/connection.cpp113[15/20][43.2s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/test/command.cpp114[16/20][45.8s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/tools/inspector/prebuild.cpp115[17/20][31.5s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/test/repl_tty.cpp116[18/20][37.7s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/lib/completer.cpp117[19/20][43.5s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/test/driver.cpp118[20/20][47.9s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/3/scratch/fde3d55db564f478/build/source/lib/repl.cpp