this derivation will be built: /nix/store/j408xgszc90q311aix5w9s4fs2r3jkb2-nix-grpc-store-clang-tidy-0.2.0.drv 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