setup
checks.x86_64-linux.clang-tidy
· build #559
· raw
1this derivation will be built:2 /nix/store/x98h8a2n78fhp0sqzcl289a1gqkw6ms5-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv3error: Cannot build '/nix/store/x98h8a2n78fhp0sqzcl289a1gqkw6ms5-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/7f9lrbkzx5grxihsfnl2s0miapp42aya-nix-grpc-store-clang-tidy-0.1.0-beta.47 Last 25 log lines:8 > | [[nodiscard]]9 > ../src/daemon/log-spill.hh:185:24: error: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors]10 > 185 | auto const n = ::pread(fd_.get(), out.data(), out.size(), static_cast<off_t>(offset));11 > | ^12 > ../src/daemon/log-spill.hh:212:31: error: parameter name 'cv' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors]13 > 212 | std::condition_variable & cv,14 > | ^15 > ../src/daemon/log-spill.hh:215:18: error: forwarding reference parameter 'cancelled' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors]16 > 215 | Cancelled && cancelled,17 > | ^18 > ../src/daemon/log-spill.hh:216:13: error: forwarding reference parameter 'emit' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors]19 > 216 | Emit && emit) -> bool20 > | ^21 > ../src/daemon/log-spill.hh:232:16: error: 'wait_for' should be placed inside a while statement or used with a conditional parameter [bugprone-spuriously-wake-up-functions,cert-con36-c,cert-con54-cpp,-warnings-as-errors]22 > 232 | cv.wait_for(lock, poll);23 > | ^24 > ../src/daemon/main.cc:96:41: error: no header providing "nixgrpc::SpillKind" is directly included [misc-include-cleaner,-warnings-as-errors]25 > 71 | static_assert(static_cast<int>(nixgrpc::SpillKind::line) == static_cast<int>(nixgrpc::BuildEvent::Kind::line));26 > | ^27 > ../src/daemon/main.cc:507:41: error: no header providing "nixgrpc::followSpill" is directly included [misc-include-cleaner,-warnings-as-errors]28 > 507 | auto const completed = nixgrpc::followSpill(29 > | ^30 > FAILED: [code=1] meson-internal__clang-tidy31 > /nix/store/jaa89dphx07w3r26y7gh79a7b1mld5p4-meson-1.10.2/bin/meson --internal clangtidy /build/source /build/source/build --color always32 > ninja: build stopped: subcommand failed.33 For full logs, run:34 nix log /nix/store/x98h8a2n78fhp0sqzcl289a1gqkw6ms5-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv