this derivation will be built: /nix/store/20krwcxr1hs8rzn152fpfk46lnzfdznj-inspector-clang-tidy-0.1.0.drv building '/nix/store/20krwcxr1hs8rzn152fpfk46lnzfdznj-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/dgw0zwmigfrvplk04rg3qy02a2q0ix4q-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/ay8ais7pzsx8jacq1i5dzb50ccmbgx9k-inspector-clang-tidy-0.1.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/ay8ais7pzsx8jacq1i5dzb50ccmbgx9k-inspector-clang-tidy-0.1.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/ay8ais7pzsx8jacq1i5dzb50ccmbgx9k-inspector-clang-tidy-0.1.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/ay8ais7pzsx8jacq1i5dzb50ccmbgx9k-inspector-clang-tidy-0.1.0/share/doc/inspector-clang-tidy -DCMAKE_INSTALL_INFODIR=/nix/store/ay8ais7pzsx8jacq1i5dzb50ccmbgx9k-inspector-clang-tidy-0.1.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/ay8ais7pzsx8jacq1i5dzb50ccmbgx9k-inspector-clang-tidy-0.1.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/ay8ais7pzsx8jacq1i5dzb50ccmbgx9k-inspector-clang-tidy-0.1.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/ay8ais7pzsx8jacq1i5dzb50ccmbgx9k-inspector-clang-tidy-0.1.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/ay8ais7pzsx8jacq1i5dzb50ccmbgx9k-inspector-clang-tidy-0.1.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/ay8ais7pzsx8jacq1i5dzb50ccmbgx9k-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/ay8ais7pzsx8jacq1i5dzb50ccmbgx9k-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 (2.1s) 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/5/scratch/9994ff77212ed64d/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 14 files out of 25 in compilation database ... inspector-clang-tidy-0.1.0> [ 1/14][6.6s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/tools/inspector/cxx_main.cpp inspector-clang-tidy-0.1.0> [ 2/14][15.9s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/tools/repl/connection.cpp inspector-clang-tidy-0.1.0> [ 3/14][18.3s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/test/prelude.cpp inspector-clang-tidy-0.1.0> [ 4/14][21.7s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/tools/inspector/main.cpp inspector-clang-tidy-0.1.0> [ 5/14][25.0s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/test/e2e.cpp inspector-clang-tidy-0.1.0> /private/var/tb/5/scratch/9994ff77212ed64d/build/source/test/e2e.cpp:182: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> 182 | auto main(int argc, char **argv) -> 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:2702:5: note: frame #2: function '__grow_by_and_replace' calls function '__throw_length_error' here inspector-clang-tidy-0.1.0> 2702 | __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:2822:5: note: frame #3: function '__assign_external' calls function '__grow_by_and_replace' here inspector-clang-tidy-0.1.0> 2822 | __grow_by_and_replace(__cap, __n - __cap, __size, 0, __size, __n, __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/string:3001:10: note: frame #4: function '__assign_external' calls function '__assign_external' here inspector-clang-tidy-0.1.0> 3001 | return __assign_external(__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/string:3010:10: note: frame #5: function 'assign' calls function '__assign_external' here inspector-clang-tidy-0.1.0> 3010 | return __assign_external(__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/string:1239:12: note: frame #6: function 'operator=' calls function 'assign' here inspector-clang-tidy-0.1.0> 1239 | return assign(__s); inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> /private/var/tb/5/scratch/9994ff77212ed64d/build/source/test/e2e.cpp:189:13: note: frame #7: function 'main' calls function 'operator=' here inspector-clang-tidy-0.1.0> 189 | program() = argv[1]; inspector-clang-tidy-0.1.0> | ^ inspector-clang-tidy-0.1.0> inspector-clang-tidy-0.1.0> [ 6/14][9.3s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/lib/prompt.cpp inspector-clang-tidy-0.1.0> [ 7/14][28.1s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/tools/repl/main.cpp inspector-clang-tidy-0.1.0> [ 8/14][31.2s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/tools/inspector/driver.cpp inspector-clang-tidy-0.1.0> [ 9/14][31.6s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/test/driver.cpp inspector-clang-tidy-0.1.0> [10/14][12.5s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/tools/repl/highlight.cpp inspector-clang-tidy-0.1.0> [11/14][21.1s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/test/repl_tty.cpp inspector-clang-tidy-0.1.0> [12/14][40.5s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/lib/repl.cpp inspector-clang-tidy-0.1.0> [13/14][41.9s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/tools/inspector/prebuild.cpp inspector-clang-tidy-0.1.0> [14/14][37.2s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/lib/completer.cpp error: Cannot build '/nix/store/20krwcxr1hs8rzn152fpfk46lnzfdznj-inspector-clang-tidy-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/ay8ais7pzsx8jacq1i5dzb50ccmbgx9k-inspector-clang-tidy-0.1.0 Last 25 log lines: > /nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2822:5: note: frame #3: function '__assign_external' calls function '__grow_by_and_replace' here > 2822 | __grow_by_and_replace(__cap, __n - __cap, __size, 0, __size, __n, __s); > | ^ > /nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:3001:10: note: frame #4: function '__assign_external' calls function '__assign_external' here > 3001 | return __assign_external(__s, traits_type::length(__s)); > | ^ > /nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:3010:10: note: frame #5: function 'assign' calls function '__assign_external' here > 3010 | return __assign_external(__s); > | ^ > /nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1239:12: note: frame #6: function 'operator=' calls function 'assign' here > 1239 | return assign(__s); > | ^ > /private/var/tb/5/scratch/9994ff77212ed64d/build/source/test/e2e.cpp:189:13: note: frame #7: function 'main' calls function 'operator=' here > 189 | program() = argv[1]; > | ^ > > [ 6/14][9.3s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/lib/prompt.cpp > [ 7/14][28.1s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/tools/repl/main.cpp > [ 8/14][31.2s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/tools/inspector/driver.cpp > [ 9/14][31.6s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/test/driver.cpp > [10/14][12.5s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/tools/repl/highlight.cpp > [11/14][21.1s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/test/repl_tty.cpp > [12/14][40.5s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/lib/repl.cpp > [13/14][41.9s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/tools/inspector/prebuild.cpp > [14/14][37.2s] /nix/store/2kd1jz13ffjvaixlkfdf8ysqc6zmkfmd-clang-tools-23.1.3/bin/clang-tidy -p=. -quiet /private/var/tb/5/scratch/9994ff77212ed64d/build/source/lib/completer.cpp For full logs, run: nix log /nix/store/20krwcxr1hs8rzn152fpfk46lnzfdznj-inspector-clang-tidy-0.1.0.drv