nix-grpc-store-clang-tidy-0.2.3
checks.aarch64-linux.clang-tidy
· build #999
· raw
1tribuchet: building on eliza
unpackPhase
2unpacking source archive /nix/store/k0x0ryirxs38fglwim32gvvwr73fhnaz-source3source root is sourceconfigurePhase
4mesonConfigurePhase flags: --prefix=/nix/store/rvf0i1yfas21fjwrr393y3yikf9lag8n-nix-grpc-store-clang-tidy-0.2.3 --libdir=/nix/store/rvf0i1yfas21fjwrr393y3yikf9lag8n-nix-grpc-store-clang-tidy-0.2.3/lib --libexecdir=/nix/store/rvf0i1yfas21fjwrr393y3yikf9lag8n-nix-grpc-store-clang-tidy-0.2.3/libexec --bindir=/nix/store/rvf0i1yfas21fjwrr393y3yikf9lag8n-nix-grpc-store-clang-tidy-0.2.3/bin --sbindir=/nix/store/rvf0i1yfas21fjwrr393y3yikf9lag8n-nix-grpc-store-clang-tidy-0.2.3/sbin --includedir=/nix/store/rvf0i1yfas21fjwrr393y3yikf9lag8n-nix-grpc-store-clang-tidy-0.2.3/include --mandir=/nix/store/rvf0i1yfas21fjwrr393y3yikf9lag8n-nix-grpc-store-clang-tidy-0.2.3/share/man --infodir=/nix/store/rvf0i1yfas21fjwrr393y3yikf9lag8n-nix-grpc-store-clang-tidy-0.2.3/share/info --localedir=/nix/store/rvf0i1yfas21fjwrr393y3yikf9lag8n-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/vc97pcn3z7l68hivnifczg7cvypf7bsv-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.218Run-time dependency grpc++ found: YES 1.84.119Run-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.23.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/prqr4m5vksk4jnwk7fq0njyb2lfda6kf-protobuf-36.2/bin/protoc)39Program grpc_cpp_plugin found: YES (/nix/store/6zdrd1wvsq2c9y7rjixil5sjg0z715gy-grpc-1.84.1/bin/grpc_cpp_plugin)40Program mold found: YES (/nix/store/fjfglyc8q3l6r7lbhqfijg2qpc3jr21p-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/rvf0i1yfas21fjwrr393y3yikf9lag8n-nix-grpc-store-clang-tidy-0.2.3/bin54 buildtype : plain55 includedir : /nix/store/rvf0i1yfas21fjwrr393y3yikf9lag8n-nix-grpc-store-clang-tidy-0.2.3/include56 infodir : /nix/store/rvf0i1yfas21fjwrr393y3yikf9lag8n-nix-grpc-store-clang-tidy-0.2.3/share/info57 libdir : /nix/store/rvf0i1yfas21fjwrr393y3yikf9lag8n-nix-grpc-store-clang-tidy-0.2.3/lib58 libexecdir : /nix/store/rvf0i1yfas21fjwrr393y3yikf9lag8n-nix-grpc-store-clang-tidy-0.2.3/libexec59 localedir : /nix/store/rvf0i1yfas21fjwrr393y3yikf9lag8n-nix-grpc-store-clang-tidy-0.2.3/share/locale60 mandir : /nix/store/rvf0i1yfas21fjwrr393y3yikf9lag8n-nix-grpc-store-clang-tidy-0.2.3/share/man61 prefix : /nix/store/rvf0i1yfas21fjwrr393y3yikf9lag8n-nix-grpc-store-clang-tidy-0.2.362 sbindir : /nix/store/rvf0i1yfas21fjwrr393y3yikf9lag8n-nix-grpc-store-clang-tidy-0.2.3/sbin63 wrap_mode : nodownload6465Found ninja-1.13.2 at /nix/store/ynyg05ak1zpmcmxxa57a7imhvzbc6pcn-ninja-1.13.2/bin/ninja66mesonConfigurePhase: enabled\ parallel\ buildingbuildPhase
67[1/2] Generating eds_proto with a custom command68[2/2] Generating nix_remote_proto with a custom command69[0/1] /nix/store/vjb4zc0sczp0y46lvvaazlz0gzdznj4f-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always70>>> /nix/store/v7kvjj39s6c9npfcg0rdgskxvpf9hh14-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/channel.cc71[1/1] (1/2) Processing file /build/source/src/client/channel.cc.72[1/1] (2/2) Processing file /build/source/src/client/channel.cc.73>>> /nix/store/v7kvjj39s6c9npfcg0rdgskxvpf9hh14-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/sandbox-linux.cc74[1/1] (1/2) Processing file /build/source/src/daemon/sandbox-linux.cc.75[1/1] (2/2) Processing file /build/source/src/daemon/sandbox-linux.cc.76>>> /nix/store/v7kvjj39s6c9npfcg0rdgskxvpf9hh14-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/tunnels.cc77[1/1] (1/2) Processing file /build/source/src/daemon/tunnels.cc.78[1/1] (2/2) Processing file /build/source/src/daemon/tunnels.cc.79>>> /nix/store/v7kvjj39s6c9npfcg0rdgskxvpf9hh14-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/scheduler-test.cc80../tests/scheduler-test.cc:590:6: error: function 'testLeastServedClientFirst' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage,-warnings-as-errors]81 590 | void testLeastServedClientFirst()82 | ^83 | static 84../tests/scheduler-test.cc:600:105: error: 1000 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors]85 600 | shard.want(2, {.drvPath = "small.drv", .inputs = {}, .system = "x", .features = {}, .cpHintMs = 0}, 1000);86 | ^87../tests/scheduler-test.cc:601:34: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]88 601 | shard.done(lease(shard, wid, shard.entry(out[0].drv)->drvPath), {});89 | ^~~~~~~~~~~~~~~~~~~~~~~90../tests/scheduler-test.cc:601:49: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]91 601 | shard.done(lease(shard, wid, shard.entry(out[0].drv)->drvPath), {});92 | ^~~93../tests/scheduler-test.cc:603:31: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]94 603 | assert(out.size() == 3 && shard.entry(out[2].drv)->drvPath == "small.drv");95 | ^96/nix/store/g7kbla20y6grmjywc7v4d19x50hayn1m-glibc-2.44-57-dev/include/assert.h:138:8: note: expanded from macro 'assert'97 138 | ((__VA_ARGS__) \98 | ^~~~~~~~~~~99../tests/scheduler-test.cc:603:46: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]100 603 | assert(out.size() == 3 && shard.entry(out[2].drv)->drvPath == "small.drv");101 | ^102/nix/store/g7kbla20y6grmjywc7v4d19x50hayn1m-glibc-2.44-57-dev/include/assert.h:138:8: note: expanded from macro 'assert'103 138 | ((__VA_ARGS__) \104 | ^~~~~~~~~~~105../tests/scheduler-test.cc:607:105: error: 1000 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors]106 607 | shard.want(1, {.drvPath = "small.drv", .inputs = {}, .system = "x", .features = {}, .cpHintMs = 0}, 1000);107 | ^108../tests/scheduler-test.cc:608:104: error: 1000 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors]109 608 | shard.want(2, {.drvPath = "more.drv", .inputs = {}, .system = "x", .features = {}, .cpHintMs = 0}, 1000);110 | ^111../tests/scheduler-test.cc:609:104: error: 2000 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors]112 609 | shard.want(3, {.drvPath = "late.drv", .inputs = {}, .system = "x", .features = {}, .cpHintMs = 0}, 2000);113 | ^114../tests/scheduler-test.cc:610:34: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]115 610 | shard.done(lease(shard, wid, shard.entry(out[1].drv)->drvPath), {});116 | ^~~~~~~~~~~~~~~~~~~~~~~117../tests/scheduler-test.cc:610:49: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]118 610 | shard.done(lease(shard, wid, shard.entry(out[1].drv)->drvPath), {});119 | ^~~120../tests/scheduler-test.cc:612:31: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]121 612 | assert(out.size() == 4 && shard.entry(out[3].drv)->drvPath == "late.drv");122 | ^123/nix/store/g7kbla20y6grmjywc7v4d19x50hayn1m-glibc-2.44-57-dev/include/assert.h:138:8: note: expanded from macro 'assert'124 138 | ((__VA_ARGS__) \125 | ^~~~~~~~~~~126../tests/scheduler-test.cc:612:46: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]127 612 | assert(out.size() == 4 && shard.entry(out[3].drv)->drvPath == "late.drv");128 | ^129/nix/store/g7kbla20y6grmjywc7v4d19x50hayn1m-glibc-2.44-57-dev/include/assert.h:138:8: note: expanded from macro 'assert'130 138 | ((__VA_ARGS__) \131 | ^~~~~~~~~~~132>>> /nix/store/v7kvjj39s6c9npfcg0rdgskxvpf9hh14-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/tunnel.cc133Errors encountered while running clang-tidy134[1/1] (1/2) Processing file /build/source/src/daemon/tunnel.cc.135[1/1] (2/2) Processing file /build/source/src/daemon/tunnel.cc.136FAILED: [code=1] meson-internal__clang-tidy 137/nix/store/vjb4zc0sczp0y46lvvaazlz0gzdznj4f-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always138ninja: build stopped: subcommand failed.