nix-grpc-store-clang-tidy-0.2.3
checks.aarch64-linux.clang-tidy
· build #959
· raw
1tribuchet: building on eliza
unpackPhase
2unpacking source archive /nix/store/a7irn9f0h1q8dnm4812gymlmsf2k61ln-source3source root is sourceconfigurePhase
4mesonConfigurePhase flags: --prefix=/nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.3 --libdir=/nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.3/lib --libexecdir=/nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.3/libexec --bindir=/nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.3/bin --sbindir=/nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.3/sbin --includedir=/nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.3/include --mandir=/nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.3/share/man --infodir=/nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.3/share/info --localedir=/nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.3/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false5The Meson build system6Version: 1.12.17Source 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.2.313C++ 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/ilg26l78wi5v6nhdn4ffxba1f4yc1h9s-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.218Run-time dependency grpc++ found: YES 1.84.019Run-time dependency protobuf found: YES 36.2.020Run-time dependency libzstd found: YES 1.5.721Run-time dependency threads found: YES22Run-time dependency libcrypto found: YES 3.5.923Run-time dependency libssl found: YES 3.5.924Run-time dependency prometheus-cpp-core found: YES 1.3.025Run-time dependency prometheus-cpp-pull found: YES 1.3.026Run-time dependency absl_flat_hash_map found: YES 2026081727Run-time dependency absl_hash found: YES 2026081728Run-time dependency absl_synchronization found: YES 2026081729Compiler for C++ supports arguments -Werror=thread-safety: YES 30Run-time dependency nix-store found: YES 2.36.0pre20261115_48c45c9e31Run-time dependency nix-util found: YES 2.36.0pre20261115_48c45c9e32Run-time dependency jemalloc found: YES 5.4.0_033Run-time dependency libcurl found: YES 8.22.034Run-time dependency nlohmann_json found: YES 3.12.035Library bz2 found: YES36Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES 37Checking if "Store::addTempRoots" with dependencies nix-store, nix-util compiles: YES 38Program protoc found: YES (/nix/store/wq8r8l8dqynvgy22q9fs7pni029v7hf7-protobuf-36.2/bin/protoc)39Program grpc_cpp_plugin found: YES (/nix/store/jiwg78779483yvcsn3nsv79d8nkncb9r-grpc-1.84.0/bin/grpc_cpp_plugin)40Program mold found: YES (/nix/store/88v7qfsdv9k5fb9xf073z1z9f20si4cb-mold-unwrapped-wrapper-3.0.0/bin/mold)41Run-time dependency dl found: YES42Program tests/farm-client-test.sh found: YES (/build/source/tests/farm-client-test.sh)43Program tests/oidc-test.sh found: YES (/build/source/tests/oidc-test.sh)44Build targets in project: 3245WARNING: Project specifies no minimum version but uses features which were added in versions:46 * 1.1: {'meson.options file'}4748nix-grpc-store 0.2.34950 User defined options51 auto_features: enabled52 b_pch : false53 bindir : /nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.3/bin54 buildtype : plain55 includedir : /nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.3/include56 infodir : /nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.3/share/info57 libdir : /nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.3/lib58 libexecdir : /nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.3/libexec59 localedir : /nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.3/share/locale60 mandir : /nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.3/share/man61 prefix : /nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.362 sbindir : /nix/store/gcqd47xhl846j6srma2xmayh5q1mnrmj-nix-grpc-store-clang-tidy-0.2.3/sbin63 wrap_mode : nodownload6465Found ninja-1.13.2 at /nix/store/6iwk9hppg8q0fr54mg28klc1hgaizhaa-ninja-1.13.2/bin/ninja66mesonConfigurePhase: enabled\ parallel\ building67configurePhase completed in 47 secondsbuildPhase
68[1/2] Generating eds_proto with a custom command69[2/2] Generating nix_remote_proto with a custom command70[0/1] /nix/store/4mm6h8v69a4mg9sxwsancrf2zsfg5gv2-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always71>>> /nix/store/m9zvn43wg674597zl3hpphg9w1pf1p18-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/sandbox-test.cc72../tests/sandbox-test.cc:55:12: error: The 1st argument to 'bind' is -1 but should be >= 0 [clang-analyzer-unix.StdCLibraryFunctions,-warnings-as-errors]73 55 | return ::bind(sock.get(), reinterpret_cast<const sockaddr *>(&addr), sizeof(addr)) == 0;74 | ^75../tests/sandbox-test.cc:96:9: note: Assuming 'pid' is equal to 076 96 | if (pid == 0) {77 | ^~~~~~~~78../tests/sandbox-test.cc:96:5: note: Taking true branch79 96 | if (pid == 0) {80 | ^81../tests/sandbox-test.cc:103:17: note: Calling 'operator()'82 103 | ::_exit(body() ? 0 : 1);83 | ^~~~~~84../tests/sandbox-test.cc:208:17: note: Calling 'canBind'85 208 | return !canBind(deniedPort) && !canBind6(deniedPort) && canBind(allowedPort) && canBind6(0);86 | ^~~~~~~~~~~~~~~~~~~87../tests/sandbox-test.cc:82:33: note: Assuming that 'socket' fails88 82 | nix::AutoCloseFD const sock(::socket(AF_INET, SOCK_STREAM, 0));89 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~90../tests/sandbox-test.cc:82:33: note: Passing value via 1st parameter 'fd'91 82 | nix::AutoCloseFD const sock(::socket(AF_INET, SOCK_STREAM, 0));92 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~93../tests/sandbox-test.cc:82:28: note: Calling constructor for 'AutoCloseFD'94 82 | nix::AutoCloseFD const sock(::socket(AF_INET, SOCK_STREAM, 0));95 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~96/nix/store/f55abm3axmizh6l4d2dhfs6kkz8pjjmg-nix-util-2.36.0pre20261115_48c45c9e-dev/include/nix/util/file-descriptor.hh:274:11: note: The value -1 is assigned to 'sock.fd'97 274 | : fd(fd)98 | ^99../tests/sandbox-test.cc:82:28: note: Returning from constructor for 'AutoCloseFD'100 82 | nix::AutoCloseFD const sock(::socket(AF_INET, SOCK_STREAM, 0));101 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~102../tests/sandbox-test.cc:87:12: note: Calling 'bindTo<sockaddr_in>'103 87 | return bindTo(sock, addr);104 | ^~~~~~~~~~~~~~~~~~105../tests/sandbox-test.cc:55:19: note: Calling 'AutoCloseFD::get'106 55 | return ::bind(sock.get(), reinterpret_cast<const sockaddr *>(&addr), sizeof(addr)) == 0;107 | ^~~~~~~~~~108/nix/store/f55abm3axmizh6l4d2dhfs6kkz8pjjmg-nix-util-2.36.0pre20261115_48c45c9e-dev/include/nix/util/file-descriptor.hh:287:9: note: Returning the value -1109 287 | return fd;110 | ^~~~~~~~~111../tests/sandbox-test.cc:55:19: note: Returning from 'AutoCloseFD::get'112 55 | return ::bind(sock.get(), reinterpret_cast<const sockaddr *>(&addr), sizeof(addr)) == 0;113 | ^~~~~~~~~~114../tests/sandbox-test.cc:55:12: note: The 1st argument to 'bind' is -1 but should be >= 0115 55 | return ::bind(sock.get(), reinterpret_cast<const sockaddr *>(&addr), sizeof(addr)) == 0;116 | ^ ~~~~~~~~~~117>>> /nix/store/m9zvn43wg674597zl3hpphg9w1pf1p18-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/tunnel-test.cc118../tests/tunnel-test.cc:138:13: error: The 1st argument to 'bind' is -1 but should be >= 0 [clang-analyzer-unix.StdCLibraryFunctions,-warnings-as-errors]119 138 | if (bind(sock.get(), reinterpret_cast<sockaddr *>(&addr), len) != 0 || listen(sock.get(), 4) != 0120 | ^121../tests/tunnel-test.cc:558:10: note: Calling implicit default constructor for 'Held'122 558 | Held held;123 | ^~~~124../tests/tunnel-test.cc:558:10: note: Calling default constructor for 'Listener'125 558 | Held held;126 | ^~~~127../tests/tunnel-test.cc:125:16: note: Assuming that 'socket' fails128 125 | : sock(socket(family, SOCK_STREAM, 0))129 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~130../tests/tunnel-test.cc:125:16: note: Passing value via 1st parameter 'fd'131 125 | : sock(socket(family, SOCK_STREAM, 0))132 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~133../tests/tunnel-test.cc:125:11: note: Calling constructor for 'AutoCloseFD'134 125 | : sock(socket(family, SOCK_STREAM, 0))135 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~136/nix/store/f55abm3axmizh6l4d2dhfs6kkz8pjjmg-nix-util-2.36.0pre20261115_48c45c9e-dev/include/nix/util/file-descriptor.hh:274:11: note: The value -1 is assigned to 'held.lis.sock.fd'137 274 | : fd(fd)138 | ^139../tests/tunnel-test.cc:125:11: note: Returning from constructor for 'AutoCloseFD'140 125 | : sock(socket(family, SOCK_STREAM, 0))141 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~142../tests/tunnel-test.cc:132:13: note: 'family' is not equal to AF_INET6143 132 | if (family == AF_INET6) {144 | ^~~~~~145../tests/tunnel-test.cc:132:9: note: Taking false branch146 132 | if (family == AF_INET6) {147 | ^148../tests/tunnel-test.cc:138:18: note: Calling 'AutoCloseFD::get'149 138 | if (bind(sock.get(), reinterpret_cast<sockaddr *>(&addr), len) != 0 || listen(sock.get(), 4) != 0150 | ^~~~~~~~~~151/nix/store/f55abm3axmizh6l4d2dhfs6kkz8pjjmg-nix-util-2.36.0pre20261115_48c45c9e-dev/include/nix/util/file-descriptor.hh:287:9: note: Returning the value -1152 287 | return fd;153 | ^~~~~~~~~154../tests/tunnel-test.cc:138:18: note: Returning from 'AutoCloseFD::get'155 138 | if (bind(sock.get(), reinterpret_cast<sockaddr *>(&addr), len) != 0 || listen(sock.get(), 4) != 0156 | ^~~~~~~~~~157../tests/tunnel-test.cc:138:13: note: The 1st argument to 'bind' is -1 but should be >= 0158 138 | if (bind(sock.get(), reinterpret_cast<sockaddr *>(&addr), len) != 0 || listen(sock.get(), 4) != 0159 | ^ ~~~~~~~~~~160>>> /nix/store/m9zvn43wg674597zl3hpphg9w1pf1p18-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/channel.cc161[1/1] (1/2) Processing file /build/source/src/client/channel.cc.162[1/1] (2/2) Processing file /build/source/src/client/channel.cc.163>>> /nix/store/m9zvn43wg674597zl3hpphg9w1pf1p18-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/local-store-test.cc164../tests/local-store-test.cc:25:1: error: included header error.hh is not used directly [misc-include-cleaner,-warnings-as-errors]165 25 | #include <nix/util/error.hh>166 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~167 26 | #include <nix/util/serialise.hh>168>>> /nix/store/m9zvn43wg674597zl3hpphg9w1pf1p18-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/tunnels.cc169[1/1] (1/2) Processing file /build/source/src/daemon/tunnels.cc.170[1/1] (2/2) Processing file /build/source/src/daemon/tunnels.cc.171>>> /nix/store/m9zvn43wg674597zl3hpphg9w1pf1p18-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/sandbox-linux.cc172[1/1] (1/2) Processing file /build/source/src/daemon/sandbox-linux.cc.173[1/1] (2/2) Processing file /build/source/src/daemon/sandbox-linux.cc.174>>> /nix/store/m9zvn43wg674597zl3hpphg9w1pf1p18-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/main.cc175Error while processing /build/source/src/daemon/main.cc.176../src/daemon/main.cc:597:44: error: no member named 'get' in 'boost::outcome_v2::basic_result<nix::AutoCloseFD, int, boost::outcome_v2::policy::all_narrow>' [clang-diagnostic-error]177 597 | nix::FdSource(file.get()).drainInto(sink);178 | ~~~~ ^179../src/daemon/main.cc:598:46: error: no member named 'get' in 'boost::outcome_v2::basic_result<nix::AutoCloseFD, int, boost::outcome_v2::policy::all_narrow>' [clang-diagnostic-error]180 598 | } else if (!bunzip2(file.get(), sink)) {181 | ~~~~ ^182>>> /nix/store/m9zvn43wg674597zl3hpphg9w1pf1p18-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/tunnel.cc183Errors encountered while running clang-tidy184[1/1] (1/2) Processing file /build/source/src/daemon/tunnel.cc.185[1/1] (2/2) Processing file /build/source/src/daemon/tunnel.cc.186FAILED: [code=1] meson-internal__clang-tidy 187/nix/store/4mm6h8v69a4mg9sxwsancrf2zsfg5gv2-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always188ninja: build stopped: subcommand failed.