nixbot

builds

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

1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/1mrjwzi37glflw7hncjmk6p3l8q1aphn-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/i91b8ksdfyv5hx8ih7g5v13ab6i7qr0d-inspector-clang-tidy-0.1.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/i91b8ksdfyv5hx8ih7g5v13ab6i7qr0d-inspector-clang-tidy-0.1.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/i91b8ksdfyv5hx8ih7g5v13ab6i7qr0d-inspector-clang-tidy-0.1.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/i91b8ksdfyv5hx8ih7g5v13ab6i7qr0d-inspector-clang-tidy-0.1.0/share/doc/inspector-clang-tidy -DCMAKE_INSTALL_INFODIR=/nix/store/i91b8ksdfyv5hx8ih7g5v13ab6i7qr0d-inspector-clang-tidy-0.1.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/i91b8ksdfyv5hx8ih7g5v13ab6i7qr0d-inspector-clang-tidy-0.1.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/i91b8ksdfyv5hx8ih7g5v13ab6i7qr0d-inspector-clang-tidy-0.1.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/i91b8ksdfyv5hx8ih7g5v13ab6i7qr0d-inspector-clang-tidy-0.1.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/i91b8ksdfyv5hx8ih7g5v13ab6i7qr0d-inspector-clang-tidy-0.1.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/i91b8ksdfyv5hx8ih7g5v13ab6i7qr0d-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/i91b8ksdfyv5hx8ih7g5v13ab6i7qr0d-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-- Found Python3: /nix/store/rhpnfhn79scgcfxc50yyyng2shpcg404-python3-3.14.7-env/bin/python3.14 (found version "3.14.7") found components: Interpreter18-- Performing Test HAVE_FFI_CALL19-- Performing Test HAVE_FFI_CALL - Success20-- Found FFI: /nix/store/2xyjpks2z1i91klny38h789j483fpz4x-libffi-40/lib/libffi.dylib21-- Found ZLIB: /nix/store/phb97pafnka8z1qpj12is214rshpql65-zlib-1.3.2/lib/libz.dylib (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/bqx9zsdd4ljr8jp4nljl2sp0f5k36f4g-llvm-23.1.3-dev/lib/cmake/llvm24-- Using Clang from /nix/store/86q2sfs8755f5sij10d58w331bhx9rik-clang-23.1.3-dev/lib/cmake/clang25-- Using clang resource dir /nix/store/1hpc5dxrdfl18yd084md6b2kwsh6xa2p-clang-23.1.3-lib/lib/clang/2326-- Performing Test CMAKE_HAVE_LIBC_PTHREAD27-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success28-- Found Threads: TRUE29-- Configuring done (10.0s)30-- Generating done (0.1s)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/2/scratch/bc40f8523822b032/build/source/build38cmake: enabled parallel building39cmake: enabled parallel installing
buildPhase
40Running clang-tidy in 10 threads for 3 files out of 3 in compilation database ...41[1/3][1.0s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/2/scratch/bc40f8523822b032/build/source/lib/prompt.cpp42/private/var/tb/2/scratch/bc40f8523822b032/build/source/lib/prompt.cpp:18:1: error: included header types.h is not used directly [misc-include-cleaner,-warnings-as-errors]43 18 | #include <sys/types.h>44 | ^~~~~~~~~~~~~~~~~~~~~~45 19 | #include <sys/un.h>46/private/var/tb/2/scratch/bc40f8523822b032/build/source/lib/prompt.cpp:61:3: error: no header providing "fcntl" is directly included [misc-include-cleaner,-warnings-as-errors]47 17 | fcntl(fd, F_SETFD, FD_CLOEXEC); // NOLINT(cppcoreguidelines-pro-type-vararg)48 | ^49/private/var/tb/2/scratch/bc40f8523822b032/build/source/lib/prompt.cpp:61:13: error: no header providing "F_SETFD" is directly included [misc-include-cleaner,-warnings-as-errors]50 61 | fcntl(fd, F_SETFD, FD_CLOEXEC); // NOLINT(cppcoreguidelines-pro-type-vararg)51 | ^52/private/var/tb/2/scratch/bc40f8523822b032/build/source/lib/prompt.cpp:61:22: error: no header providing "FD_CLOEXEC" is directly included [misc-include-cleaner,-warnings-as-errors]53 61 | fcntl(fd, F_SETFD, FD_CLOEXEC); // NOLINT(cppcoreguidelines-pro-type-vararg)54 | ^55/private/var/tb/2/scratch/bc40f8523822b032/build/source/lib/prompt.cpp:90:11: error: no header providing "ssize_t" is directly included [misc-include-cleaner,-warnings-as-errors]56 17 | const ssize_t sent = ::send(fd, left.data(), left.size(), MSG_NOSIGNAL);57 | ^5859[2/3][2.6s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/2/scratch/bc40f8523822b032/build/source/test/prelude.cpp60/private/var/tb/2/scratch/bc40f8523822b032/build/source/test/prelude.cpp:9:6: error: an exception may be thrown in function 'main' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]61 9 | auto main() -> int {62 | ^63/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/stdexcept:244:3: note: frame #0: unhandled exception of type 'length_error' may be thrown in function '__throw_length_error' here64 244 | throw length_error(__msg);65 | ^66/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2473:5: note: frame #1: function '__throw_length_error' calls function '__throw_length_error' here67 2473 | std::__throw_length_error("basic_string");68 | ^69/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2549:5: note: frame #2: function '__init' calls function '__throw_length_error' here70 2549 | this->__throw_length_error();71 | ^72/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1063:5: note: frame #3: function 'basic_string<0>' calls function '__init' here73 1063 | __init(__s, traits_type::length(__s));74 | ^75/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__utility/pair.h:165:9: note: frame #4: function 'pair<const char (&)[2], int, 0>' calls function 'basic_string<0>' here76 165 | : first(std::forward<_U1>(__u1)), second(std::forward<_U2>(__u2)) {77 | ^78/private/var/tb/2/scratch/bc40f8523822b032/build/source/test/prelude.cpp:12:66: note: frame #5: function 'main' calls function 'pair<const char (&)[2], int, 0>' here79 12 | std::vector<std::map<std::string, int>>{{{"a", 1}}});80 | ^8182[3/3][7.3s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/2/scratch/bc40f8523822b032/build/source/lib/repl.cpp