nix-grpc-store-clang-tidy-0.1.0
checks.aarch64-darwin.clang-tidy
· build #611
· raw
unpackPhase
1unpacking source archive /nix/store/bp102ksskhg52iinig6h37f5xk3gmc4k-source2source root is sourceconfigurePhase
3mesonConfigurePhase flags: --prefix=/nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.0 --libdir=/nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.0/lib --libexecdir=/nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.0/libexec --bindir=/nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.0/bin --sbindir=/nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.0/sbin --includedir=/nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.0/include --mandir=/nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.0/share/man --infodir=/nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.0/share/info --localedir=/nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.0/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false4The Meson build system5Version: 1.10.26Source dir: /nix/var/nix/builds/nix-48651-3585099551/source7Build dir: /nix/var/nix/builds/nix-48651-3585099551/source/build8Build type: native build9WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead10Project name: nix-grpc-store11Project version: 0.1.012C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8")13C++ linker for the host machine: clang++ ld64 956.614Host machine cpu family: aarch6415Host machine cpu: aarch6416Found pkg-config: YES (/nix/store/kd2x1bj3gwfh2hb69fk5ym043h2qavxc-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.217Run-time dependency grpc++ found: YES 1.83.018Run-time dependency protobuf found: YES 36.1.019Run-time dependency libzstd found: YES 1.5.720Run-time dependency threads found: YES21Run-time dependency libcrypto found: YES 3.6.422Run-time dependency prometheus-cpp-core found: YES 1.3.023Run-time dependency prometheus-cpp-pull found: YES 1.3.024Run-time dependency absl_flat_hash_map found: YES 2026010725Run-time dependency absl_hash found: YES 2026010726Run-time dependency absl_synchronization found: YES 2026010727Compiler for C++ supports arguments -Werror=thread-safety: YES 28Run-time dependency nix-store found: YES 2.36.0pre20261004_b010dc9929Run-time dependency nix-util found: YES 2.36.0pre20261004_b010dc9930Run-time dependency jemalloc found: YES 5.3.1_031Run-time dependency libcurl found: YES 8.22.032Run-time dependency nlohmann_json found: YES 3.12.033Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES 34Program protoc found: YES (/nix/store/r1npr0vx8d17c0fhh9gvg9mpaiphn62a-protobuf-36.1/bin/protoc)35Program grpc_cpp_plugin found: YES (/nix/store/0mm81ldgq4ssz7gnh8589gx9zfcxpdhq-grpc-1.83.0/bin/grpc_cpp_plugin)36Run-time dependency dl found: YES37Program tests/farm-client-test.sh found: YES (/nix/var/nix/builds/nix-48651-3585099551/source/tests/farm-client-test.sh)38Program tests/oidc-test.sh found: YES (/nix/var/nix/builds/nix-48651-3585099551/source/tests/oidc-test.sh)39Build targets in project: 1840WARNING: Project specifies no minimum version but uses features which were added in versions:41 * 1.1: {'meson.options file'}4243nix-grpc-store 0.1.04445 User defined options46 auto_features: enabled47 b_pch : false48 bindir : /nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.0/bin49 buildtype : plain50 includedir : /nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.0/include51 infodir : /nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.0/share/info52 libdir : /nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.0/lib53 libexecdir : /nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.0/libexec54 localedir : /nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.0/share/locale55 mandir : /nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.0/share/man56 prefix : /nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.057 sbindir : /nix/store/varxkiajfcpxxsb1xgl72166bc3j1k0d-nix-grpc-store-clang-tidy-0.1.0/sbin58 wrap_mode : nodownload5960Found ninja-1.13.2 at /nix/store/kalf64hrn0zrxlacfvgymwbck77qvsr9-ninja-1.13.2/bin/ninja61mesonConfigurePhase: enabled\ parallel\ buildingbuildPhase
62[2/2] Generating eds_proto with a custom command63[0/1] /nix/store/j2s018h6gc2q0z3sw002br2zas3m1l9d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-48651-3585099551/source /nix/var/nix/builds/nix-48651-3585099551/source/build --color always64>>> /nix/store/l8sbl3yky84xqxj3a5hazrjdx52avnf2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-48651-3585099551/source/build /nix/var/nix/builds/nix-48651-3585099551/source/tests/nar-fetcher-test.cc65../src/client/channel.hh:55:22: error: method 'finish' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]66 55 | [[nodiscard]] auto finish(grpc::Status status) const -> grpc::Status67 | ^ ~~~~~68 | static 69../tests/nar-fetcher-test.cc:28:74: error: no header providing "grpc::Status" is directly included [misc-include-cleaner,-warnings-as-errors]70 5 | grpc::ServerWriter<nix::remote::NarFrame> * /*writer*/) -> grpc::Status override71 | ^72../tests/nar-fetcher-test.cc:31:23: error: no header providing "grpc::StatusCode" is directly included [misc-include-cleaner,-warnings-as-errors]73 31 | return {grpc::StatusCode::UNAVAILABLE, "worker draining"};74 | ^75../tests/nar-fetcher-test.cc:53:51: error: no header providing "grpc::InsecureServerCredentials" is directly included [misc-include-cleaner,-warnings-as-errors]76 5 | builder.AddListeningPort("127.0.0.1:0", grpc::InsecureServerCredentials(), &port);77 | ^78../tests/nar-fetcher-test.cc:58:89: error: no header providing "grpc::InsecureChannelCredentials" is directly included [misc-include-cleaner,-warnings-as-errors]79 5 | auto const channel = grpc::CreateChannel("127.0.0.1:" + std::to_string(port), grpc::InsecureChannelCredentials());80 | ^81../tests/nar-fetcher-test.cc:59:33: error: use a trailing return type for this lambda [modernize-use-trailing-return-type,-warnings-as-errors]82 59 | nixgrpc::NarFetcher fetcher([&] { return channel; }, "test", 1);83 | ^84 | -> std::shared_ptr<Channel>85../tests/nar-fetcher-test.cc:59:46: error: constness of 'channel' prevents automatic move [performance-no-automatic-move,-warnings-as-errors]86 59 | nixgrpc::NarFetcher fetcher([&] { return channel; }, "test", 1);87 | ^88>>> /nix/store/l8sbl3yky84xqxj3a5hazrjdx52avnf2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-48651-3585099551/source/build /nix/var/nix/builds/nix-48651-3585099551/source/src/client/channel.cc89[1/1] (1/2) Processing file /nix/var/nix/builds/nix-48651-3585099551/source/src/client/channel.cc.90[1/1] (2/2) Processing file /nix/var/nix/builds/nix-48651-3585099551/source/src/client/channel.cc.91../src/client/channel.hh:55:22: error: method 'finish' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]92 55 | [[nodiscard]] auto finish(grpc::Status status) const -> grpc::Status93 | ^ ~~~~~94 | static 95>>> /nix/store/l8sbl3yky84xqxj3a5hazrjdx52avnf2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-48651-3585099551/source/build /nix/var/nix/builds/nix-48651-3585099551/source/src/client/store.cc96../src/client/channel.hh:55:22: error: method 'finish' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]97 55 | [[nodiscard]] auto finish(grpc::Status status) const -> grpc::Status98 | ^ ~~~~~99 | static 100>>> /nix/store/l8sbl3yky84xqxj3a5hazrjdx52avnf2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-48651-3585099551/source/build /nix/var/nix/builds/nix-48651-3585099551/source/src/daemon/coordinator.cc101../src/client/channel.hh:55:22: error: method 'finish' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]102 55 | [[nodiscard]] auto finish(grpc::Status status) const -> grpc::Status103 | ^ ~~~~~104 | static 105>>> /nix/store/l8sbl3yky84xqxj3a5hazrjdx52avnf2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-48651-3585099551/source/build /nix/var/nix/builds/nix-48651-3585099551/source/tests/call-test.cc106../src/client/channel.hh:55:22: error: method 'finish' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]107 55 | [[nodiscard]] auto finish(grpc::Status status) const -> grpc::Status108 | ^ ~~~~~109 | static 110../tests/call-test.cc:20:70: error: no header providing "grpc::Status" is directly included [misc-include-cleaner,-warnings-as-errors]111 4 | nix::remote::StoreInfoReply * /*reply*/) -> grpc::Status override112 | ^113../tests/call-test.cc:29:10: error: no header providing "std::unique_ptr" is directly included [misc-include-cleaner,-warnings-as-errors]114 4 | std::unique_ptr<grpc::Server> server;115 | ^116../tests/call-test.cc:36:55: error: no header providing "grpc::InsecureServerCredentials" is directly included [misc-include-cleaner,-warnings-as-errors]117 4 | builder.AddListeningPort("127.0.0.1:0", grpc::InsecureServerCredentials(), &port);118 | ^119../tests/call-test.cc:41:76: error: no header providing "grpc::InsecureChannelCredentials" is directly included [misc-include-cleaner,-warnings-as-errors]120 4 | grpc::CreateChannel("127.0.0.1:" + std::to_string(port), grpc::InsecureChannelCredentials()));121 | ^122../tests/call-test.cc:44:10: error: method 'storeInfo' can be made const [readability-make-member-function-const,-warnings-as-errors]123 44 | auto storeInfo(nixgrpc::Call & call) -> grpc::Status124 | ^125 | const126../tests/call-test.cc:46:9: error: variable 'request' of type 'nix::remote::StoreInfoRequest' can be declared 'const' [misc-const-correctness,-warnings-as-errors]127 46 | nix::remote::StoreInfoRequest request;128 | ^129 | const 130../tests/call-test.cc:58:16: error: no header providing "nix::unix::interruptCheck" is directly included [misc-include-cleaner,-warnings-as-errors]131 4 | nix::unix::interruptCheck = [&fired] -> bool {132 | ^133../tests/call-test.cc:61:24: error: no header providing "nix::unix::triggerInterrupt" is directly included [misc-include-cleaner,-warnings-as-errors]134 61 | nix::unix::triggerInterrupt();135 | ^136../tests/call-test.cc:73:41: error: no header providing "grpc::StatusCode" is directly included [misc-include-cleaner,-warnings-as-errors]137 73 | assert(status.error_code() == grpc::StatusCode::CANCELLED);138 | ^139../tests/call-test.cc:93:5: error: variable 'call' of type 'nixgrpc::Call' can be declared 'const' [misc-const-correctness,-warnings-as-errors]140 93 | nixgrpc::Call call;141 | ^142 | const 143../tests/call-test.cc:109:5: error: variable 'call' of type 'nixgrpc::Call' can be declared 'const' [misc-const-correctness,-warnings-as-errors]144 109 | nixgrpc::Call call;145 | ^146 | const 147>>> /nix/store/l8sbl3yky84xqxj3a5hazrjdx52avnf2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-48651-3585099551/source/build /nix/var/nix/builds/nix-48651-3585099551/source/src/client/transfer.cc148../src/client/channel.hh:55:22: error: method 'finish' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]149 55 | [[nodiscard]] auto finish(grpc::Status status) const -> grpc::Status150 | ^ ~~~~~151 | static 152../src/client/transfer.cc:19:1: error: included header client_interceptor.h is not used directly [misc-include-cleaner,-warnings-as-errors]153 19 | #include <grpcpp/support/client_interceptor.h>154 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~155 20 | #include <grpcpp/support/status.h>156>>> /nix/store/l8sbl3yky84xqxj3a5hazrjdx52avnf2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-48651-3585099551/source/build /nix/var/nix/builds/nix-48651-3585099551/source/src/client/build.cc157Errors encountered while running clang-tidy158../src/client/channel.hh:55:22: error: method 'finish' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]159 55 | [[nodiscard]] auto finish(grpc::Status status) const -> grpc::Status160 | ^ ~~~~~161 | static 162FAILED: [code=1] meson-internal__clang-tidy 163/nix/store/j2s018h6gc2q0z3sw002br2zas3m1l9d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-48651-3585099551/source /nix/var/nix/builds/nix-48651-3585099551/source/build --color always164ninja: build stopped: subcommand failed.