this derivation will be built: /nix/store/j408xgszc90q311aix5w9s4fs2r3jkb2-nix-grpc-store-clang-tidy-0.2.0.drv building '/nix/store/j408xgszc90q311aix5w9s4fs2r3jkb2-nix-grpc-store-clang-tidy-0.2.0.drv' nix-grpc-store-clang-tidy-0.2.0> tribuchet: building on eliza nix-grpc-store-clang-tidy-0.2.0> Running phase: unpackPhase nix-grpc-store-clang-tidy-0.2.0> unpacking source archive /nix/store/ys890fh4kjmab903b75i1swn9ji5w8k3-source nix-grpc-store-clang-tidy-0.2.0> source root is source nix-grpc-store-clang-tidy-0.2.0> Running phase: patchPhase nix-grpc-store-clang-tidy-0.2.0> Running phase: updateAutotoolsGnuConfigScriptsPhase nix-grpc-store-clang-tidy-0.2.0> Running phase: configurePhase nix-grpc-store-clang-tidy-0.2.0> mesonConfigurePhase flags: --prefix=/nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0 --libdir=/nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0/lib --libexecdir=/nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0/libexec --bindir=/nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0/bin --sbindir=/nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0/sbin --includedir=/nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0/include --mandir=/nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0/share/man --infodir=/nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0/share/info --localedir=/nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false nix-grpc-store-clang-tidy-0.2.0> The Meson build system nix-grpc-store-clang-tidy-0.2.0> Version: 1.12.1 nix-grpc-store-clang-tidy-0.2.0> Source dir: /build/source nix-grpc-store-clang-tidy-0.2.0> Build dir: /build/source/build nix-grpc-store-clang-tidy-0.2.0> Build type: native build nix-grpc-store-clang-tidy-0.2.0> WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead nix-grpc-store-clang-tidy-0.2.0> Project name: nix-grpc-store nix-grpc-store-clang-tidy-0.2.0> Project version: 0.2.0 nix-grpc-store-clang-tidy-0.2.0> C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8") nix-grpc-store-clang-tidy-0.2.0> C++ linker for the host machine: clang++ ld.bfd 2.46 nix-grpc-store-clang-tidy-0.2.0> Host machine cpu family: aarch64 nix-grpc-store-clang-tidy-0.2.0> Host machine cpu: aarch64 nix-grpc-store-clang-tidy-0.2.0> Found pkg-config: YES (/nix/store/h82n3d0wdrgskdc3yvmz5l3c50h2snvp-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency grpc++ found: YES 1.83.1 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency protobuf found: YES 36.2.0 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency libzstd found: YES 1.5.7 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency threads found: YES nix-grpc-store-clang-tidy-0.2.0> Run-time dependency libcrypto found: YES 3.5.8 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency prometheus-cpp-core found: YES 1.3.0 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency prometheus-cpp-pull found: YES 1.3.0 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency absl_flat_hash_map found: YES 20260817 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency absl_hash found: YES 20260817 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency absl_synchronization found: YES 20260817 nix-grpc-store-clang-tidy-0.2.0> Compiler for C++ supports arguments -Werror=thread-safety: YES nix-grpc-store-clang-tidy-0.2.0> Run-time dependency nix-store found: YES 2.36.0pre20261004_b010dc99 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency nix-util found: YES 2.36.0pre20261004_b010dc99 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency jemalloc found: YES 5.3.1_0 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency libcurl found: YES 8.22.0 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency nlohmann_json found: YES 3.12.0 nix-grpc-store-clang-tidy-0.2.0> Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES nix-grpc-store-clang-tidy-0.2.0> Program protoc found: YES (/nix/store/8lbx3nmylh18yw8vh0c7fhv7bqjjlh3q-protobuf-36.2/bin/protoc) nix-grpc-store-clang-tidy-0.2.0> Program grpc_cpp_plugin found: YES (/nix/store/hjj2bin7r66rmvq2jw1pmfdm8bpx637b-grpc-1.83.1/bin/grpc_cpp_plugin) nix-grpc-store-clang-tidy-0.2.0> Program mold found: YES (/nix/store/gbq334xbibaz4gn184j7gs58m2spgwi7-mold-unwrapped-wrapper-2.42.1/bin/mold) nix-grpc-store-clang-tidy-0.2.0> Run-time dependency dl found: YES nix-grpc-store-clang-tidy-0.2.0> Program tests/farm-client-test.sh found: YES (/build/source/tests/farm-client-test.sh) nix-grpc-store-clang-tidy-0.2.0> Program tests/oidc-test.sh found: YES (/build/source/tests/oidc-test.sh) nix-grpc-store-clang-tidy-0.2.0> Build targets in project: 20 nix-grpc-store-clang-tidy-0.2.0> WARNING: Project specifies no minimum version but uses features which were added in versions: nix-grpc-store-clang-tidy-0.2.0> * 1.1: {'meson.options file'} nix-grpc-store-clang-tidy-0.2.0> nix-grpc-store-clang-tidy-0.2.0> nix-grpc-store 0.2.0 nix-grpc-store-clang-tidy-0.2.0> nix-grpc-store-clang-tidy-0.2.0> User defined options nix-grpc-store-clang-tidy-0.2.0> auto_features: enabled nix-grpc-store-clang-tidy-0.2.0> b_pch : false nix-grpc-store-clang-tidy-0.2.0> bindir : /nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0/bin nix-grpc-store-clang-tidy-0.2.0> buildtype : plain nix-grpc-store-clang-tidy-0.2.0> includedir : /nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0/include nix-grpc-store-clang-tidy-0.2.0> infodir : /nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0/share/info nix-grpc-store-clang-tidy-0.2.0> libdir : /nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0/lib nix-grpc-store-clang-tidy-0.2.0> libexecdir : /nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0/libexec nix-grpc-store-clang-tidy-0.2.0> localedir : /nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0/share/locale nix-grpc-store-clang-tidy-0.2.0> mandir : /nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0/share/man nix-grpc-store-clang-tidy-0.2.0> prefix : /nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0 nix-grpc-store-clang-tidy-0.2.0> sbindir : /nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0/sbin nix-grpc-store-clang-tidy-0.2.0> wrap_mode : nodownload nix-grpc-store-clang-tidy-0.2.0> nix-grpc-store-clang-tidy-0.2.0> Found ninja-1.13.2 at /nix/store/lfkdyggn1ffslfd830l35jrvapr5lzri-ninja-1.13.2/bin/ninja nix-grpc-store-clang-tidy-0.2.0> mesonConfigurePhase: enabled\ parallel\ building nix-grpc-store-clang-tidy-0.2.0> Running phase: buildPhase nix-grpc-store-clang-tidy-0.2.0> [1/2] Generating eds_proto with a custom command nix-grpc-store-clang-tidy-0.2.0> [2/2] Generating nix_remote_proto with a custom command nix-grpc-store-clang-tidy-0.2.0> [0/1] /nix/store/av7nrlz2yrbwwn4xmpdaz0swnqp36j1f-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always nix-grpc-store-clang-tidy-0.2.0> >>> /nix/store/w7xl1p79akq4c6d2j6wpn7avfiiv2szw-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/sbpl-test.cc nix-grpc-store-clang-tidy-0.2.0> ../tests/sbpl-test.cc:18:6: error: an exception may be thrown in function 'main' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 18 | auto main() -> int nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/format:243:5: note: frame #0: unhandled exception of type 'format_error' may be thrown in function '__throw_format_error' here nix-grpc-store-clang-tidy-0.2.0> 243 | { _GLIBCXX_THROW_OR_ABORT(format_error(__what)); } nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/aarch64-unknown-linux-gnu/bits/c++config.h:262:42: note: expanded from macro '_GLIBCXX_THROW_OR_ABORT' nix-grpc-store-clang-tidy-0.2.0> 262 | # define _GLIBCXX_THROW_OR_ABORT(_EXC) (throw (_EXC)) nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/format:264:5: note: frame #1: function '__conflicting_indexing_in_format_string' calls function '__throw_format_error' here nix-grpc-store-clang-tidy-0.2.0> 264 | { __throw_format_error("format error: conflicting indexing style in format string"); } nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/format:315:4: note: frame #2: function 'next_arg_id' calls function '__conflicting_indexing_in_format_string' here nix-grpc-store-clang-tidy-0.2.0> 315 | __format::__conflicting_indexing_in_format_string(); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/format:5051:20: note: frame #3: function '_M_scan' calls function 'next_arg_id' here nix-grpc-store-clang-tidy-0.2.0> 5051 | _M_format_arg(_M_pc.next_arg_id()); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/format:5325:7: note: frame #4: function '__do_vformat_to' calls function '_M_scan' here nix-grpc-store-clang-tidy-0.2.0> 5325 | __scanner._M_scan(); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/format:5356:11: note: frame #5: function '__do_vformat_to, char, std::basic_format_context, char>>' calls function '__do_vformat_to' here nix-grpc-store-clang-tidy-0.2.0> 5356 | return __format::__do_vformat_to(__out, __fmt, __ctx); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/format:5445:14: note: frame #6: function 'vformat_to>' calls function '__do_vformat_to, char, std::basic_format_context, char>>' here nix-grpc-store-clang-tidy-0.2.0> 5445 | { return __format::__do_vformat_to(std::move(__out), __fmt, __args); } nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/print:147:2: note: frame #7: function 'println' calls function 'vformat_to>' here nix-grpc-store-clang-tidy-0.2.0> 147 | std::vformat_to(__format::_File_sink(__stream, true).out(), nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/sbpl-test.cc:65:5: note: frame #8: function 'main' calls function 'println' here nix-grpc-store-clang-tidy-0.2.0> 65 | std::println(stderr, "sbpl-test: {}", err.what()); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> >>> /nix/store/w7xl1p79akq4c6d2j6wpn7avfiiv2szw-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/sandbox-test.cc nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:7:1: error: included header cstdlib is not used directly [misc-include-cleaner,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 7 | #include nix-grpc-store-clang-tidy-0.2.0> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.0> 8 | #include nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:19:1: error: included header types.h is not used directly [misc-include-cleaner,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 19 | #include nix-grpc-store-clang-tidy-0.2.0> | ^~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.0> 20 | #include nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:42:29: error: do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 42 | return static_cast(::syscall(SYS_landlock_create_ruleset, nullptr, 0, versionFlag)); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:53:61: error: do not cast '' to 'const sockaddr *' through 'const void *'; use reinterpret_cast instead [bugprone-casting-through-void,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 53 | return ::bind(sock.get(), static_cast(static_cast(&addr)), sizeof(addr)) == 0; nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:93:5: error: no header providing "pid_t" is directly included [misc-include-cleaner,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 14 | pid_t const pid = ::fork(); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:105:12: error: no header providing "WIFEXITED" is directly included [misc-include-cleaner,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 105 | return WIFEXITED(status) ? WEXITSTATUS(status) : 2; nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:105:32: error: no header providing "WEXITSTATUS" is directly included [misc-include-cleaner,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 105 | return WIFEXITED(status) ? WEXITSTATUS(status) : 2; nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:132:40: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 132 | static_cast(::write(ready[1], &byte, 1)); nix-grpc-store-clang-tidy-0.2.0> | ^~~ nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:133:41: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 133 | static_cast(::read(rotated[0], &byte, 1)); nix-grpc-store-clang-tidy-0.2.0> | ^~~ nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:137:35: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 137 | static_cast(::read(ready[0], &byte, 1)); nix-grpc-store-clang-tidy-0.2.0> | ^~~ nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:140:38: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 140 | static_cast(::write(rotated[1], &byte, 1)); nix-grpc-store-clang-tidy-0.2.0> | ^~~ nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:143:20: error: variable name 'fd' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 143 | for (int const fd : {ready[0], ready[1], rotated[0], rotated[1]}) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:143:31: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 143 | for (int const fd : {ready[0], ready[1], rotated[0], rotated[1]}) { nix-grpc-store-clang-tidy-0.2.0> | ^~~ nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:143:41: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 143 | for (int const fd : {ready[0], ready[1], rotated[0], rotated[1]}) { nix-grpc-store-clang-tidy-0.2.0> | ^~~ nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:143:53: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 143 | for (int const fd : {ready[0], ready[1], rotated[0], rotated[1]}) { nix-grpc-store-clang-tidy-0.2.0> | ^~~ nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:143:65: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 143 | for (int const fd : {ready[0], ready[1], rotated[0], rotated[1]}) { nix-grpc-store-clang-tidy-0.2.0> | ^~~ nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:151:6: error: an exception may be thrown in function 'main' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 151 | auto main() -> int nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/format:243:5: note: frame #0: unhandled exception of type 'format_error' may be thrown in function '__throw_format_error' here nix-grpc-store-clang-tidy-0.2.0> 243 | { _GLIBCXX_THROW_OR_ABORT(format_error(__what)); } nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/aarch64-unknown-linux-gnu/bits/c++config.h:262:42: note: expanded from macro '_GLIBCXX_THROW_OR_ABORT' nix-grpc-store-clang-tidy-0.2.0> 262 | # define _GLIBCXX_THROW_OR_ABORT(_EXC) (throw (_EXC)) nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/format:264:5: note: frame #1: function '__conflicting_indexing_in_format_string' calls function '__throw_format_error' here nix-grpc-store-clang-tidy-0.2.0> 264 | { __throw_format_error("format error: conflicting indexing style in format string"); } nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/format:315:4: note: frame #2: function 'next_arg_id' calls function '__conflicting_indexing_in_format_string' here nix-grpc-store-clang-tidy-0.2.0> 315 | __format::__conflicting_indexing_in_format_string(); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/format:5051:20: note: frame #3: function '_M_scan' calls function 'next_arg_id' here nix-grpc-store-clang-tidy-0.2.0> 5051 | _M_format_arg(_M_pc.next_arg_id()); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/format:5325:7: note: frame #4: function '__do_vformat_to' calls function '_M_scan' here nix-grpc-store-clang-tidy-0.2.0> 5325 | __scanner._M_scan(); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/format:5356:11: note: frame #5: function '__do_vformat_to, char, std::basic_format_context, char>>' calls function '__do_vformat_to' here nix-grpc-store-clang-tidy-0.2.0> 5356 | return __format::__do_vformat_to(__out, __fmt, __ctx); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/format:5445:14: note: frame #6: function 'vformat_to>' calls function '__do_vformat_to, char, std::basic_format_context, char>>' here nix-grpc-store-clang-tidy-0.2.0> 5445 | { return __format::__do_vformat_to(std::move(__out), __fmt, __args); } nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/print:147:2: note: frame #7: function 'println' calls function 'vformat_to>' here nix-grpc-store-clang-tidy-0.2.0> 147 | std::vformat_to(__format::_File_sink(__stream, true).out(), nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:219:5: note: frame #8: function 'main' calls function 'println' here nix-grpc-store-clang-tidy-0.2.0> 219 | std::println(stderr, "sandbox-test: {}", err.what()); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/sandbox-test.cc:165:34: error: no header providing "mkdtemp" is directly included [misc-include-cleaner,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 13 | auto const base = fs::path(::mkdtemp(tmpl.data())); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> >>> /nix/store/w7xl1p79akq4c6d2j6wpn7avfiiv2szw-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/channel.cc nix-grpc-store-clang-tidy-0.2.0> [1/1] (1/2) Processing file /build/source/src/client/channel.cc. nix-grpc-store-clang-tidy-0.2.0> [1/1] (2/2) Processing file /build/source/src/client/channel.cc. nix-grpc-store-clang-tidy-0.2.0> >>> /nix/store/w7xl1p79akq4c6d2j6wpn7avfiiv2szw-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/sandbox-linux.cc nix-grpc-store-clang-tidy-0.2.0> [1/1] (1/2) Processing file /build/source/src/daemon/sandbox-linux.cc. nix-grpc-store-clang-tidy-0.2.0> [1/1] (2/2) Processing file /build/source/src/daemon/sandbox-linux.cc. nix-grpc-store-clang-tidy-0.2.0> ../src/daemon/sandbox-linux.cc:151:22: error: do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 151 | auto const res = ::syscall(number, args...); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/daemon/sandbox-linux.cc:167:16: error: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 167 | return nix::AutoCloseFD(static_cast(ruleset)); nix-grpc-store-clang-tidy-0.2.0> | ^~~~~~~~~~~~~~~~~ ~ nix-grpc-store-clang-tidy-0.2.0> | { } nix-grpc-store-clang-tidy-0.2.0> ../src/daemon/sandbox-linux.cc:224:30: error: parameter name 'fd' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 224 | Ruleset(nix::AutoCloseFD fd, Fs handledFs) nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/daemon/sandbox-linux.cc:234:39: error: do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 234 | nix::AutoCloseFD const target(::open(path.c_str(), O_PATH | O_CLOEXEC)); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> >>> /nix/store/w7xl1p79akq4c6d2j6wpn7avfiiv2szw-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/main.cc nix-grpc-store-clang-tidy-0.2.0> Errors encountered while running clang-tidy nix-grpc-store-clang-tidy-0.2.0> ../src/daemon/main.cc:894:6: error: function 'sandboxPolicy' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 894 | auto sandboxPolicy(const nixgrpc::Options & options, bool listenFdsEmpty) -> nixgrpc::sandbox::Policy nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> | static nix-grpc-store-clang-tidy-0.2.0> ../src/daemon/main.cc:914:76: error: 5 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 914 | policy.listenSockets.push_back(CanonicalPath::from(addr.substr(5))); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> FAILED: [code=1] meson-internal__clang-tidy nix-grpc-store-clang-tidy-0.2.0> /nix/store/av7nrlz2yrbwwn4xmpdaz0swnqp36j1f-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always nix-grpc-store-clang-tidy-0.2.0> ninja: build stopped: subcommand failed. error: Cannot build '/nix/store/j408xgszc90q311aix5w9s4fs2r3jkb2-nix-grpc-store-clang-tidy-0.2.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/prhmsw586s9i50vml5ldfjs0dss9k6fp-nix-grpc-store-clang-tidy-0.2.0 Last 25 log lines: > ../src/daemon/sandbox-linux.cc:151:22: error: do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg,-warnings-as-errors] > 151 | auto const res = ::syscall(number, args...); > | ^ > ../src/daemon/sandbox-linux.cc:167:16: error: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list,-warnings-as-errors] > 167 | return nix::AutoCloseFD(static_cast(ruleset)); > | ^~~~~~~~~~~~~~~~~ ~ > | { } > ../src/daemon/sandbox-linux.cc:224:30: error: parameter name 'fd' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] > 224 | Ruleset(nix::AutoCloseFD fd, Fs handledFs) > | ^ > ../src/daemon/sandbox-linux.cc:234:39: error: do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg,-warnings-as-errors] > 234 | nix::AutoCloseFD const target(::open(path.c_str(), O_PATH | O_CLOEXEC)); > | ^ > >>> /nix/store/w7xl1p79akq4c6d2j6wpn7avfiiv2szw-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/main.cc > Errors encountered while running clang-tidy > ../src/daemon/main.cc:894:6: error: function 'sandboxPolicy' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage,-warnings-as-errors] > 894 | auto sandboxPolicy(const nixgrpc::Options & options, bool listenFdsEmpty) -> nixgrpc::sandbox::Policy > | ^ > | static > ../src/daemon/main.cc:914:76: error: 5 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors] > 914 | policy.listenSockets.push_back(CanonicalPath::from(addr.substr(5))); > | ^ > FAILED: [code=1] meson-internal__clang-tidy > /nix/store/av7nrlz2yrbwwn4xmpdaz0swnqp36j1f-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always > ninja: build stopped: subcommand failed. For full logs, run: nix log /nix/store/j408xgszc90q311aix5w9s4fs2r3jkb2-nix-grpc-store-clang-tidy-0.2.0.drv