setup
checks.aarch64-darwin.clang-tidy
· build #938
· raw
1this derivation will be built:2 /nix/store/3g8k35xsrkvy8ryxqn58lgs9skzs295s-nix-grpc-store-clang-tidy-0.2.3.drv3error: Cannot build '/nix/store/3g8k35xsrkvy8ryxqn58lgs9skzs295s-nix-grpc-store-clang-tidy-0.2.3.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.37 Last 25 log lines:8 > 108 | struct kevent *__kevp__ = (kevp); \9 > | ^~~~10 > ../src/daemon/tunnel.cc:409:16: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]11 > 409 | EV_SET(&add[1], stop.fd(), EVFILT_READ, EV_ADD | EV_ENABLE, 0, 0, nullptr);12 > | ^13 > /nix/store/svkkgla6ini4hg035ka7wb8idm301r1i-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/event.h:108:29: note: expanded from macro 'EV_SET'14 > 108 | struct kevent *__kevp__ = (kevp); \15 > | ^~~~16 > ../src/daemon/tunnel.cc:422:13: error: comparison between 'signed' and 'unsigned' integers [modernize-use-integer-sign-comparison,-warnings-as-errors]17 > 38 | if (event.ident == static_cast<uintptr_t>(stop.fd())) {18 > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~19 > | std::cmp_equal( , )20 > >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/client/channel.cc21 > [1/1] (1/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/client/channel.cc.22 > [1/1] (2/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/client/channel.cc.23 > >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/tunnels.cc24 > [1/1] (1/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/tunnels.cc.25 > [1/1] (2/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/tunnels.cc.26 > >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/sbpl.cc27 > Errors encountered while running clang-tidy28 > [1/1] (1/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/sbpl.cc.29 > [1/1] (2/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/sbpl.cc.30 > FAILED: [code=1] meson-internal__clang-tidy31 > /nix/store/sn59lgid7r01w49nyz81hcp1rjmpby3m-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build --color always32 > ninja: build stopped: subcommand failed.33 For full logs, run:34 nix log /nix/store/3g8k35xsrkvy8ryxqn58lgs9skzs295s-nix-grpc-store-clang-tidy-0.2.3.drv