this derivation will be built: /nix/store/53dg39lp5cg72wnxinz02s0wzf68ns9m-inspector-clang-tidy-0.1.0.drv these 2 paths will be fetched (8.8 MiB download, 44.2 MiB unpacked): /nix/store/sh82pfc86dk99imy3h79pkffrsfiacwi-clang-23.1.3-python /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3 building '/nix/store/53dg39lp5cg72wnxinz02s0wzf68ns9m-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/1mrjwzi37glflw7hncjmk6p3l8q1aphn-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/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=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> -- Found Python3: /nix/store/rhpnfhn79scgcfxc50yyyng2shpcg404-python3-3.14.7-env/bin/python3.14 (found version "3.14.7") found components: Interpreter 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> -- 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> -- Configuring done (10.0s) 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/2/scratch/bc40f8523822b032/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 3 files out of 3 in compilation database ... inspector-clang-tidy-0.1.0> [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.cpp inspector-clang-tidy-0.1.0> /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] inspector-clang-tidy-0.1.0> 18 | #include inspector-clang-tidy-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~ inspector-clang-tidy-0.1.0> 19 | #include inspector-clang-tidy-0.1.0> /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] inspector-clang-tidy-0.1.0> 17 | fcntl(fd, F_SETFD, FD_CLOEXEC); // NOLINT(cppcoreguidelines-pro-type-vararg) inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /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] inspector-clang-tidy-0.1.0> 61 | fcntl(fd, F_SETFD, FD_CLOEXEC); // NOLINT(cppcoreguidelines-pro-type-vararg) inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /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] inspector-clang-tidy-0.1.0> 61 | fcntl(fd, F_SETFD, FD_CLOEXEC); // NOLINT(cppcoreguidelines-pro-type-vararg) inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /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] inspector-clang-tidy-0.1.0> 17 | const ssize_t sent = ::send(fd, left.data(), left.size(), MSG_NOSIGNAL); inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> inspector-clang-tidy-0.1.0> [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.cpp inspector-clang-tidy-0.1.0> /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] inspector-clang-tidy-0.1.0> 9 | auto main() -> int { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /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' here inspector-clang-tidy-0.1.0> 244 | throw length_error(__msg); inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /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' here inspector-clang-tidy-0.1.0> 2473 | std::__throw_length_error("basic_string"); inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /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' here inspector-clang-tidy-0.1.0> 2549 | this->__throw_length_error(); inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /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' here inspector-clang-tidy-0.1.0> 1063 | __init(__s, traits_type::length(__s)); inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__utility/pair.h:165:9: note: frame #4: function 'pair' calls function 'basic_string<0>' here inspector-clang-tidy-0.1.0> 165 | : first(std::forward<_U1>(__u1)), second(std::forward<_U2>(__u2)) { inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/2/scratch/bc40f8523822b032/build/source/test/prelude.cpp:12:66: note: frame #5: function 'main' calls function 'pair' here inspector-clang-tidy-0.1.0> 12 | std::vector>{{{"a", 1}}}); inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> inspector-clang-tidy-0.1.0> [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 error: Cannot build '/nix/store/53dg39lp5cg72wnxinz02s0wzf68ns9m-inspector-clang-tidy-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/i91b8ksdfyv5hx8ih7g5v13ab6i7qr0d-inspector-clang-tidy-0.1.0 Last 25 log lines: > > [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.cpp > /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] > 9 | auto main() -> int { > | ^ > /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' here > 244 | throw length_error(__msg); > | ^ > /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' here > 2473 | std::__throw_length_error("basic_string"); > | ^ > /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' here > 2549 | this->__throw_length_error(); > | ^ > /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' here > 1063 | __init(__s, traits_type::length(__s)); > | ^ > /nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__utility/pair.h:165:9: note: frame #4: function 'pair' calls function 'basic_string<0>' here > 165 | : first(std::forward<_U1>(__u1)), second(std::forward<_U2>(__u2)) { > | ^ > /private/var/tb/2/scratch/bc40f8523822b032/build/source/test/prelude.cpp:12:66: note: frame #5: function 'main' calls function 'pair' here > 12 | std::vector>{{{"a", 1}}}); > | ^ > > [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 For full logs, run: nix log /nix/store/53dg39lp5cg72wnxinz02s0wzf68ns9m-inspector-clang-tidy-0.1.0.drv