nixbot

builds

failed nix-grpc-store-clang-tidy-0.1.0 checks.aarch64-linux.clang-tidy · build #611 · raw

1tribuchet: building on eliza
unpackPhase
2unpacking source archive /nix/store/bp102ksskhg52iinig6h37f5xk3gmc4k-source3source root is source
configurePhase
4mesonConfigurePhase flags: --prefix=/nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.0 --libdir=/nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.0/lib --libexecdir=/nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.0/libexec --bindir=/nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.0/bin --sbindir=/nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.0/sbin --includedir=/nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.0/include --mandir=/nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.0/share/man --infodir=/nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.0/share/info --localedir=/nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.0/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false5The Meson build system6Version: 1.10.27Source dir: /build/source8Build dir: /build/source/build9Build type: native build10WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead11Project name: nix-grpc-store12Project version: 0.1.013C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8")14C++ linker for the host machine: clang++ ld.bfd 2.4615Host machine cpu family: aarch6416Host machine cpu: aarch6417Found pkg-config: YES (/nix/store/96rqsbg8z242724qy85sbld7dbf4hipr-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.218Run-time dependency grpc++ found: YES 1.83.019Run-time dependency protobuf found: YES 36.1.020Run-time dependency libzstd found: YES 1.5.721Run-time dependency threads found: YES22Run-time dependency libcrypto found: YES 3.6.423Run-time dependency prometheus-cpp-core found: YES 1.3.024Run-time dependency prometheus-cpp-pull found: YES 1.3.025Run-time dependency absl_flat_hash_map found: YES 2026010726Run-time dependency absl_hash found: YES 2026010727Run-time dependency absl_synchronization found: YES 2026010728Compiler for C++ supports arguments -Werror=thread-safety: YES 29Run-time dependency nix-store found: YES 2.36.0pre20261004_b010dc9930Run-time dependency nix-util found: YES 2.36.0pre20261004_b010dc9931Run-time dependency jemalloc found: YES 5.3.1_032Run-time dependency libcurl found: YES 8.22.033Run-time dependency nlohmann_json found: YES 3.12.034Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES 35Program protoc found: YES (/nix/store/nxlmb8lkbnzwcj46mmsvn1gjrgzap7sw-protobuf-36.1/bin/protoc)36Program grpc_cpp_plugin found: YES (/nix/store/zsbcm1brz7v8ilrz6w8ij11yhbf8fyiv-grpc-1.83.0/bin/grpc_cpp_plugin)37Program mold found: YES (/nix/store/463q48w7fn9s93amh1y7jsyrws5sh8rm-mold-unwrapped-wrapper-2.42.1/bin/mold)38Run-time dependency dl found: YES39Program tests/farm-client-test.sh found: YES (/build/source/tests/farm-client-test.sh)40Program tests/oidc-test.sh found: YES (/build/source/tests/oidc-test.sh)41Build targets in project: 1842WARNING: Project specifies no minimum version but uses features which were added in versions:43 * 1.1: {'meson.options file'}4445nix-grpc-store 0.1.04647 User defined options48 auto_features: enabled49 b_pch : false50 bindir : /nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.0/bin51 buildtype : plain52 includedir : /nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.0/include53 infodir : /nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.0/share/info54 libdir : /nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.0/lib55 libexecdir : /nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.0/libexec56 localedir : /nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.0/share/locale57 mandir : /nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.0/share/man58 prefix : /nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.059 sbindir : /nix/store/9z9c1if7cr8dqj9xdmrly6zc3nibfi6z-nix-grpc-store-clang-tidy-0.1.0/sbin60 wrap_mode : nodownload6162Found ninja-1.13.2 at /nix/store/ijbipgac9wyp1n5smvkd8fczs9jyr26g-ninja-1.13.2/bin/ninja63mesonConfigurePhase: enabled\ parallel\ building
buildPhase
64[1/2] Generating eds_proto with a custom command65[2/2] Generating nix_remote_proto with a custom command66[0/1] /nix/store/sc7hggvmvma7m8bbgmp8gsa1q1x37aq8-meson-1.10.2/bin/meson --internal clangtidy /build/source /build/source/build --color always67>>> /nix/store/7wgbxsfygsdmgsai483p205pkcpy6ls8-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/call-test.cc68../src/client/channel.hh:55:22: error: method 'finish' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]69 55 | [[nodiscard]] auto finish(grpc::Status status) const -> grpc::Status70 | ^ ~~~~~71 | static 72../tests/call-test.cc:20:70: error: no header providing "grpc::Status" is directly included [misc-include-cleaner,-warnings-as-errors]73 4 | nix::remote::StoreInfoReply * /*reply*/) -> grpc::Status override74 | ^75../tests/call-test.cc:29:10: error: no header providing "std::unique_ptr" is directly included [misc-include-cleaner,-warnings-as-errors]76 4 | std::unique_ptr<grpc::Server> server;77 | ^78../tests/call-test.cc:36:55: error: no header providing "grpc::InsecureServerCredentials" is directly included [misc-include-cleaner,-warnings-as-errors]79 4 | builder.AddListeningPort("127.0.0.1:0", grpc::InsecureServerCredentials(), &port);80 | ^81../tests/call-test.cc:41:76: error: no header providing "grpc::InsecureChannelCredentials" is directly included [misc-include-cleaner,-warnings-as-errors]82 4 | grpc::CreateChannel("127.0.0.1:" + std::to_string(port), grpc::InsecureChannelCredentials()));83 | ^84../tests/call-test.cc:44:10: error: method 'storeInfo' can be made const [readability-make-member-function-const,-warnings-as-errors]85 44 | auto storeInfo(nixgrpc::Call & call) -> grpc::Status86 | ^87 | const88../tests/call-test.cc:46:9: error: variable 'request' of type 'nix::remote::StoreInfoRequest' can be declared 'const' [misc-const-correctness,-warnings-as-errors]89 46 | nix::remote::StoreInfoRequest request;90 | ^91 | const 92../tests/call-test.cc:58:16: error: no header providing "nix::unix::interruptCheck" is directly included [misc-include-cleaner,-warnings-as-errors]93 4 | nix::unix::interruptCheck = [&fired] -> bool {94 | ^95../tests/call-test.cc:61:24: error: no header providing "nix::unix::triggerInterrupt" is directly included [misc-include-cleaner,-warnings-as-errors]96 61 | nix::unix::triggerInterrupt();97 | ^98../tests/call-test.cc:73:41: error: no header providing "grpc::StatusCode" is directly included [misc-include-cleaner,-warnings-as-errors]99 73 | assert(status.error_code() == grpc::StatusCode::CANCELLED);100 | ^101../tests/call-test.cc:93:5: error: variable 'call' of type 'nixgrpc::Call' can be declared 'const' [misc-const-correctness,-warnings-as-errors]102 93 | nixgrpc::Call call;103 | ^104 | const 105../tests/call-test.cc:109:5: error: variable 'call' of type 'nixgrpc::Call' can be declared 'const' [misc-const-correctness,-warnings-as-errors]106 109 | nixgrpc::Call call;107 | ^108 | const 109>>> /nix/store/7wgbxsfygsdmgsai483p205pkcpy6ls8-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/nar-fetcher-test.cc110../src/client/channel.hh:55:22: error: method 'finish' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]111 55 | [[nodiscard]] auto finish(grpc::Status status) const -> grpc::Status112 | ^ ~~~~~113 | static 114../tests/nar-fetcher-test.cc:28:74: error: no header providing "grpc::Status" is directly included [misc-include-cleaner,-warnings-as-errors]115 5 | grpc::ServerWriter<nix::remote::NarFrame> * /*writer*/) -> grpc::Status override116 | ^117../tests/nar-fetcher-test.cc:31:23: error: no header providing "grpc::StatusCode" is directly included [misc-include-cleaner,-warnings-as-errors]118 31 | return {grpc::StatusCode::UNAVAILABLE, "worker draining"};119 | ^120../tests/nar-fetcher-test.cc:53:51: error: no header providing "grpc::InsecureServerCredentials" is directly included [misc-include-cleaner,-warnings-as-errors]121 5 | builder.AddListeningPort("127.0.0.1:0", grpc::InsecureServerCredentials(), &port);122 | ^123../tests/nar-fetcher-test.cc:58:89: error: no header providing "grpc::InsecureChannelCredentials" is directly included [misc-include-cleaner,-warnings-as-errors]124 5 | auto const channel = grpc::CreateChannel("127.0.0.1:" + std::to_string(port), grpc::InsecureChannelCredentials());125 | ^126../tests/nar-fetcher-test.cc:59:33: error: use a trailing return type for this lambda [modernize-use-trailing-return-type,-warnings-as-errors]127 59 | nixgrpc::NarFetcher fetcher([&] { return channel; }, "test", 1);128 | ^129 | -> std::shared_ptr<Channel>130../tests/nar-fetcher-test.cc:59:46: error: constness of 'channel' prevents automatic move [performance-no-automatic-move,-warnings-as-errors]131 59 | nixgrpc::NarFetcher fetcher([&] { return channel; }, "test", 1);132 | ^133>>> /nix/store/7wgbxsfygsdmgsai483p205pkcpy6ls8-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/channel.cc134[1/1] (1/2) Processing file /build/source/src/client/channel.cc.135[1/1] (2/2) Processing file /build/source/src/client/channel.cc.136../src/client/channel.hh:55:22: error: method 'finish' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]137 55 | [[nodiscard]] auto finish(grpc::Status status) const -> grpc::Status138 | ^ ~~~~~139 | static 140>>> /nix/store/7wgbxsfygsdmgsai483p205pkcpy6ls8-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/store.cc141../src/client/channel.hh:55:22: error: method 'finish' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]142 55 | [[nodiscard]] auto finish(grpc::Status status) const -> grpc::Status143 | ^ ~~~~~144 | static 145>>> /nix/store/7wgbxsfygsdmgsai483p205pkcpy6ls8-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/transfer.cc146../src/client/channel.hh:55:22: error: method 'finish' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]147 55 | [[nodiscard]] auto finish(grpc::Status status) const -> grpc::Status148 | ^ ~~~~~149 | static 150../src/client/transfer.cc:19:1: error: included header client_interceptor.h is not used directly [misc-include-cleaner,-warnings-as-errors]151 19 | #include <grpcpp/support/client_interceptor.h>152 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~153 20 | #include <grpcpp/support/status.h>154>>> /nix/store/7wgbxsfygsdmgsai483p205pkcpy6ls8-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/build.cc155../src/client/channel.hh:55:22: error: method 'finish' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]156 55 | [[nodiscard]] auto finish(grpc::Status status) const -> grpc::Status157 | ^ ~~~~~158 | static 159>>> /nix/store/7wgbxsfygsdmgsai483p205pkcpy6ls8-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/coordinator.cc160Errors encountered while running clang-tidy161../src/client/channel.hh:55:22: error: method 'finish' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]162 55 | [[nodiscard]] auto finish(grpc::Status status) const -> grpc::Status163 | ^ ~~~~~164 | static 165FAILED: [code=1] meson-internal__clang-tidy 166/nix/store/sc7hggvmvma7m8bbgmp8gsa1q1x37aq8-meson-1.10.2/bin/meson --internal clangtidy /build/source /build/source/build --color always167ninja: build stopped: subcommand failed.