setup
checks.aarch64-darwin.clang-tidy
· build #519
· raw
1this derivation will be built:2 /nix/store/4fmaf8xkwbmazm7lh4w6yg4952xjw91i-nix-grpc-store-clang-tidy-0.1.0-beta.3.drv3error: build of '/nix/store/4fmaf8xkwbmazm7lh4w6yg4952xjw91i-nix-grpc-store-clang-tidy-0.1.0-beta.3.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/4fmaf8xkwbmazm7lh4w6yg4952xjw91i-nix-grpc-store-clang-tidy-0.1.0-beta.3.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.37 Last 25 log lines:8 > | const &9 > ../src/path-info-wire.hh:35:5: error: variable 'path' of type 'nix::StorePath' can be declared 'const' [misc-const-correctness,-warnings-as-errors]10 > 35 | nix::StorePath path(entry.path());11 > | ^12 > | const13 > ../src/pump.hh:65:27: error: 2 adjacent parameters of 'readCoalesced' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters,-warnings-as-errors]14 > 65 | inline auto readCoalesced(int sourceFd, std::span<char> buf) -> ssize_t15 > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~16 > ../src/pump.hh:65:31: note: the first parameter in the range is 'sourceFd'17 > 65 | inline auto readCoalesced(int sourceFd, std::span<char> buf) -> ssize_t18 > | ^~~~~~~~19 > ../src/pump.hh:65:57: note: the last parameter in the range is 'buf'20 > 65 | inline auto readCoalesced(int sourceFd, std::span<char> buf) -> ssize_t21 > | ^~~22 > ../src/pump.hh:159:23: error: variable 'count' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]23 > 159 | ssize_t const count = readCoalesced(sourceFd, input);24 > | ^25 > | = 026 > ../src/pump.hh:276:44: error: the parameter 'initial' of type 'std::string' (aka 'basic_string<char>') is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]27 > 276 | static auto makeInitialMsg(std::string initial) -> Msg28 > | ^29 > | const &30 > FAILED: [code=1] meson-internal__clang-tidy31 > /nix/store/j2s018h6gc2q0z3sw002br2zas3m1l9d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-12824-4142853305/source /nix/var/nix/builds/nix-12824-4142853305/source/build --color always32 > ninja: build stopped: subcommand failed.33 For full logs, run:34 nix log /nix/store/4fmaf8xkwbmazm7lh4w6yg4952xjw91i-nix-grpc-store-clang-tidy-0.1.0-beta.3.drv35error: Cannot build '/nix/store/4fmaf8xkwbmazm7lh4w6yg4952xjw91i-nix-grpc-store-clang-tidy-0.1.0-beta.3.drv'.36 Reason: builder failed with exit code 1.37 Output paths:38 /nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3