setup
checks.aarch64-linux.clang-tidy
· build #519
· raw
1this derivation will be built:2 /nix/store/hyrj7m8ma7jpgw2gw8ha41ivjqx3dj7c-nix-grpc-store-clang-tidy-0.1.0-beta.3.drv3Failed to find a machine for remote build!4derivation: hyrj7m8ma7jpgw2gw8ha41ivjqx3dj7c-nix-grpc-store-clang-tidy-0.1.0-beta.3.drv5required (system, features): (aarch64-linux, [])61 available machines:7(systems, maxjobs, supportedFeatures, mandatoryFeatures)8([aarch64-darwin, x86_64-darwin], 8, [big-parallel, recursive-nix], [])9error: Cannot build '/nix/store/hyrj7m8ma7jpgw2gw8ha41ivjqx3dj7c-nix-grpc-store-clang-tidy-0.1.0-beta.3.drv'.10 Reason: builder failed with exit code 1.11 Output paths:12 /nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.313 Last 25 log lines:14 > | const15 > ../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]16 > 65 | inline auto readCoalesced(int sourceFd, std::span<char> buf) -> ssize_t17 > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~18 > ../src/pump.hh:65:31: note: the first parameter in the range is 'sourceFd'19 > 65 | inline auto readCoalesced(int sourceFd, std::span<char> buf) -> ssize_t20 > | ^~~~~~~~21 > ../src/pump.hh:65:57: note: the last parameter in the range is 'buf'22 > 65 | inline auto readCoalesced(int sourceFd, std::span<char> buf) -> ssize_t23 > | ^~~24 > ../src/pump.hh:159:23: error: variable 'count' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]25 > 159 | ssize_t const count = readCoalesced(sourceFd, input);26 > | ^27 > | = 028 > ../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]29 > 276 | static auto makeInitialMsg(std::string initial) -> Msg30 > | ^31 > | const &32 > >>> /nix/store/7wgbxsfygsdmgsai483p205pkcpy6ls8-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/channel.cc33 > Errors encountered while running clang-tidy34 > [1/1] (1/2) Processing file /build/source/src/client/channel.cc.35 > [1/1] (2/2) Processing file /build/source/src/client/channel.cc.36 > FAILED: [code=1] meson-internal__clang-tidy37 > /nix/store/sc7hggvmvma7m8bbgmp8gsa1q1x37aq8-meson-1.10.2/bin/meson --internal clangtidy /build/source /build/source/build --color always38 > ninja: build stopped: subcommand failed.39 For full logs, run:40 nix log /nix/store/hyrj7m8ma7jpgw2gw8ha41ivjqx3dj7c-nix-grpc-store-clang-tidy-0.1.0-beta.3.drv