nixbot

builds
1this derivation will be built:2 /nix/store/srfbdgdf2sb84p13iczm711d2fpbh1vw-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv3error: build of '/nix/store/srfbdgdf2sb84p13iczm711d2fpbh1vw-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/srfbdgdf2sb84p13iczm711d2fpbh1vw-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/7569wpihl3vmc7zl983c4r4an44zmp13-nix-grpc-store-clang-tidy-0.1.0-beta.47 Last 25 log lines:8 > | ^9 > ../src/daemon/log-spill.hh:148:24: error: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors]10 > 148 | auto const n = ::pread(fd, buf + done, len - done, static_cast<off_t>(offset + done));11 > | ^12 > ../src/daemon/log-spill.hh:148:44: error: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic,-warnings-as-errors]13 > 148 | auto const n = ::pread(fd, buf + done, len - done, static_cast<off_t>(offset + done));14 > | ^15 > ../src/daemon/log-spill.hh:148:64: error: either cast from 'size_t' (aka 'unsigned long') to 'off_t' (aka 'long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast,-warnings-as-errors]16 > 148 | auto const n = ::pread(fd, buf + done, len - done, static_cast<off_t>(offset + done));17 > | ^18 > ../src/daemon/log-spill.hh:175:31: error: parameter name 'cv' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors]19 > 175 | std::condition_variable & cv,20 > | ^21 > ../src/daemon/log-spill.hh:178:18: error: forwarding reference parameter 'cancelled' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors]22 > 178 | Cancelled && cancelled,23 > | ^24 > ../src/daemon/log-spill.hh:179:13: error: forwarding reference parameter 'emit' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors]25 > 179 | Emit && emit) -> bool26 > | ^27 > ../src/daemon/log-spill.hh:195: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]28 > 195 | cv.wait_for(lock, poll);29 > | ^30 > FAILED: [code=1] meson-internal__clang-tidy31 > /nix/store/j2s018h6gc2q0z3sw002br2zas3m1l9d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-46934-3544683814/source /nix/var/nix/builds/nix-46934-3544683814/source/build --color always32 > ninja: build stopped: subcommand failed.33 For full logs, run:34 nix log /nix/store/srfbdgdf2sb84p13iczm711d2fpbh1vw-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv35error: Cannot build '/nix/store/srfbdgdf2sb84p13iczm711d2fpbh1vw-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv'.36 Reason: builder failed with exit code 1.37 Output paths:38 /nix/store/7569wpihl3vmc7zl983c4r4an44zmp13-nix-grpc-store-clang-tidy-0.1.0-beta.4