nixbot

builds
1this derivation will be built:2 /nix/store/camd7pb8dpks3c1f5qhygh49r2gnfq1h-nix-grpc-store-clang-tidy-0.2.0.drv3error: Cannot build '/nix/store/camd7pb8dpks3c1f5qhygh49r2gnfq1h-nix-grpc-store-clang-tidy-0.2.0.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.07 Last 25 log lines:8 > | ^9 > ../tests/sbpl-test.cc:65:5: note: frame #10: function 'main' calls function 'println<const char *>' here10 > 65 | std::println(stderr, "sbpl-test: {}", err.what());11 > | ^12 > ../tests/sbpl-test.cc:65:18: error: no header providing "stderr" is directly included [misc-include-cleaner,-warnings-as-errors]13 > 3 | std::println(stderr, "sbpl-test: {}", err.what());14 > | ^15 > >>> /nix/store/rnf8scxrdas1whzavr379xi6r7aj2pbd-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/build /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/src/daemon/sbpl.cc16 > [1/1] (1/2) Processing file /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/src/daemon/sbpl.cc.17 > [1/1] (2/2) Processing file /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/src/daemon/sbpl.cc.18 > >>> /nix/store/rnf8scxrdas1whzavr379xi6r7aj2pbd-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/build /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/src/client/channel.cc19 > [1/1] (1/2) Processing file /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/src/client/channel.cc.20 > [1/1] (2/2) Processing file /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/src/client/channel.cc.21 > >>> /nix/store/rnf8scxrdas1whzavr379xi6r7aj2pbd-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/build /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/src/daemon/main.cc22 > Errors encountered while running clang-tidy23 > ../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]24 > 894 | auto sandboxPolicy(const nixgrpc::Options & options, bool listenFdsEmpty) -> nixgrpc::sandbox::Policy25 > | ^26 > | static27 > ../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]28 > 914 | policy.listenSockets.push_back(CanonicalPath::from(addr.substr(5)));29 > | ^30 > FAILED: [code=1] meson-internal__clang-tidy31 > /nix/store/yjl5dwm08zmfsjrqyidrvcgm59qlgmxz-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/7/scratch/72aa3dc5186eb941/build/source /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/build --color always32 > ninja: build stopped: subcommand failed.33 For full logs, run:34 nix log /nix/store/camd7pb8dpks3c1f5qhygh49r2gnfq1h-nix-grpc-store-clang-tidy-0.2.0.drv