setup
checks.aarch64-darwin.clang-tidy
· build #487
· raw
1this derivation will be built:2 /nix/store/az6hj0pify56s80v9i6jfx56vm94pq1s-nix-grpc-store-clang-tidy-0.1.0-beta.1.drv3error: build of '/nix/store/az6hj0pify56s80v9i6jfx56vm94pq1s-nix-grpc-store-clang-tidy-0.1.0-beta.1.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/az6hj0pify56s80v9i6jfx56vm94pq1s-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/w3g7mcksa653p0b8mvx4pcwf3hpbs5nd-nix-grpc-store-clang-tidy-0.1.0-beta.17 Last 25 log lines:8 > | ^~~~9 > >>> /nix/store/d8f8g6pnqn4rn18ma7341afkdk0hbj07-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-4645-1352799090/source/build /nix/var/nix/builds/nix-4645-1352799090/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/d8f8g6pnqn4rn18ma7341afkdk0hbj07-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-4645-1352799090/source/build /nix/var/nix/builds/nix-4645-1352799090/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/735yy09gy9j1wzwrsd1v1xrgf6izyr5d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-4645-1352799090/source /nix/var/nix/builds/nix-4645-1352799090/source/build --color always32 > ninja: build stopped: subcommand failed.33 For full logs, run:34 nix log /nix/store/az6hj0pify56s80v9i6jfx56vm94pq1s-nix-grpc-store-clang-tidy-0.1.0-beta.1.drv35error: Cannot build '/nix/store/az6hj0pify56s80v9i6jfx56vm94pq1s-nix-grpc-store-clang-tidy-0.1.0-beta.1.drv'.36 Reason: builder failed with exit code 1.37 Output paths:38 /nix/store/w3g7mcksa653p0b8mvx4pcwf3hpbs5nd-nix-grpc-store-clang-tidy-0.1.0-beta.1