setup
checks.x86_64-linux.clang-tidy
· build #486
· raw
1this derivation will be built:2 /nix/store/vbn4iyas65r94hr08kbgv5w8bjjch9cm-nix-grpc-store-clang-tidy-0.1.0-beta.1.drv3error: Cannot build '/nix/store/vbn4iyas65r94hr08kbgv5w8bjjch9cm-nix-grpc-store-clang-tidy-0.1.0-beta.1.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/vk728xdilnx355rb6gbi93rfyykb97b1-nix-grpc-store-clang-tidy-0.1.0-beta.17 Last 25 log lines:8 > | ^~~~9 > >>> /nix/store/ck7w6mnxgy91d7kl1l3c531904k2nhk1-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/coordinator.cc10 > ../src/daemon/push.hh:136:46: error: 2 adjacent parameters of 'ack' of similar type ('const std::string &') are easily swapped by mistake [bugprone-easily-swappable-parameters,-warnings-as-errors]11 > 136 | auto ack(const std::string & status, const std::string & message, const std::string & path, std::set<std::string> sigs)12 > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~13 > ../src/daemon/push.hh:136:66: note: the first parameter in the range is 'message'14 > 136 | auto ack(const std::string & status, const std::string & message, const std::string & path, std::set<std::string> sigs)15 > | ^~~~~~~16 > ../src/daemon/push.hh:136:95: note: the last parameter in the range is 'path'17 > 136 | auto ack(const std::string & status, const std::string & message, const std::string & path, std::set<std::string> sigs)18 > | ^~~~19 > >>> /nix/store/ck7w6mnxgy91d7kl1l3c531904k2nhk1-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/main.cc20 > Errors encountered while running clang-tidy21 > ../src/daemon/push.hh:136:46: error: 2 adjacent parameters of 'ack' of similar type ('const std::string &') are easily swapped by mistake [bugprone-easily-swappable-parameters,-warnings-as-errors]22 > 136 | auto ack(const std::string & status, const std::string & message, const std::string & path, std::set<std::string> sigs)23 > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~24 > ../src/daemon/push.hh:136:66: note: the first parameter in the range is 'message'25 > 136 | auto ack(const std::string & status, const std::string & message, const std::string & path, std::set<std::string> sigs)26 > | ^~~~~~~27 > ../src/daemon/push.hh:136:95: note: the last parameter in the range is 'path'28 > 136 | auto ack(const std::string & status, const std::string & message, const std::string & path, std::set<std::string> sigs)29 > | ^~~~30 > FAILED: [code=1] meson-internal__clang-tidy31 > /nix/store/azf6s3lpx8f53si93y8135mpyykjj72b-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/vbn4iyas65r94hr08kbgv5w8bjjch9cm-nix-grpc-store-clang-tidy-0.1.0-beta.1.drv