setup
checks.aarch64-darwin.clang-tidy
· build #866
· raw
1this derivation will be built:2 /nix/store/h1dxz1rr897n4xf70iy5cr34rssw13ym-nix-grpc-store-clang-tidy-0.2.3.drv3error: Cannot build '/nix/store/h1dxz1rr897n4xf70iy5cr34rssw13ym-nix-grpc-store-clang-tidy-0.2.3.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.37 Last 25 log lines:8 > 85 | Farm farm;9 > | ^10 > ../tests/dispatcher-test.cc:113:5: note: frame #9: function 'main' calls function 'loopbackWorkerMayAnswerACommand' here11 > 113 | loopbackWorkerMayAnswerACommand();12 > | ^13 > >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/build /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/src/client/channel.cc14 > [1/1] (1/2) Processing file /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/src/client/channel.cc.15 > [1/1] (2/2) Processing file /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/src/client/channel.cc.16 > >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/build /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/tests/http-test.cc17 > ../tests/http-test.cc:61:32: error: no header providing "htonl" is directly included [misc-include-cleaner,-warnings-as-errors]18 > 12 | addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);19 > | ^20 > ../tests/http-test.cc:62:9: error: no header providing "socklen_t" is directly included [misc-include-cleaner,-warnings-as-errors]21 > 12 | socklen_t len = sizeof addr;22 > | ^23 > ../tests/http-test.cc:69:53: error: no header providing "ntohs" is directly included [misc-include-cleaner,-warnings-as-errors]24 > 69 | url_ = "http://127.0.0.1:" + std::to_string(ntohs(addr.sin_port)) + "/";25 > | ^26 > >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/build /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/src/daemon/sbpl.cc27 > Errors encountered while running clang-tidy28 > [1/1] (1/2) Processing file /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/src/daemon/sbpl.cc.29 > [1/1] (2/2) Processing file /private/var/tb/8/scratch/32ad613ffbc5c817/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/8/scratch/32ad613ffbc5c817/build/source /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/build --color always32 > ninja: build stopped: subcommand failed.33 For full logs, run:34 nix log /nix/store/h1dxz1rr897n4xf70iy5cr34rssw13ym-nix-grpc-store-clang-tidy-0.2.3.drv