nixbot

builds

failed nix-grpc-store-clang-tidy-0.2.0 checks.aarch64-darwin.clang-tidy · build #635 · raw

1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/ys890fh4kjmab903b75i1swn9ji5w8k3-source3source root is source
configurePhase
4mesonConfigurePhase flags: --prefix=/nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.0 --libdir=/nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.0/lib --libexecdir=/nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.0/libexec --bindir=/nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.0/bin --sbindir=/nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.0/sbin --includedir=/nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.0/include --mandir=/nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.0/share/man --infodir=/nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.0/share/info --localedir=/nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.0/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false5The Meson build system6Version: 1.12.17Source dir: /private/var/tb/7/scratch/72aa3dc5186eb941/build/source8Build dir: /private/var/tb/7/scratch/72aa3dc5186eb941/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.013C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8")14C++ linker for the host machine: clang++ ld64 956.615Host machine cpu family: aarch6416Host machine cpu: aarch6417Found pkg-config: YES (/nix/store/nhgylvj98klqggy54h7gbc3b2ia4a00y-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.218Run-time dependency grpc++ found: YES 1.83.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.823Run-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 2026081726Run-time dependency absl_hash found: YES 2026081727Run-time dependency absl_synchronization found: YES 2026081728Compiler 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/829sb6226a37vass89i0ybxm1zik7kjy-protobuf-36.2/bin/protoc)36Program grpc_cpp_plugin found: YES (/nix/store/8k628c8x6prnw4ibqnm28w8ahhwi6944-grpc-1.83.1/bin/grpc_cpp_plugin)37Run-time dependency dl found: YES38Program tests/farm-client-test.sh found: YES (/private/var/tb/7/scratch/72aa3dc5186eb941/build/source/tests/farm-client-test.sh)39Program tests/oidc-test.sh found: YES (/private/var/tb/7/scratch/72aa3dc5186eb941/build/source/tests/oidc-test.sh)40Build targets in project: 1941WARNING: Project specifies no minimum version but uses features which were added in versions:42 * 1.1: {'meson.options file'}4344nix-grpc-store 0.2.04546 User defined options47 auto_features: enabled48 b_pch : false49 bindir : /nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.0/bin50 buildtype : plain51 includedir : /nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.0/include52 infodir : /nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.0/share/info53 libdir : /nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.0/lib54 libexecdir : /nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.0/libexec55 localedir : /nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.0/share/locale56 mandir : /nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.0/share/man57 prefix : /nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.058 sbindir : /nix/store/w0gknypcw71hm5iwhq8saljp6ji5mmvj-nix-grpc-store-clang-tidy-0.2.0/sbin59 wrap_mode : nodownload6061Found ninja-1.13.2 at /nix/store/infm4vlx71q83bqz0k559w1gn4b0rq4i-ninja-1.13.2/bin/ninja62mesonConfigurePhase: enabled\ parallel\ building
buildPhase
63[1/2] Generating eds_proto with a custom command64[2/2] Generating nix_remote_proto with a custom command65[0/1] /nix/store/yjl5dwm08zmfsjrqyidrvcgm59qlgmxz-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/7/scratch/72aa3dc5186eb941/build/source /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/build --color always66>>> /nix/store/rnf8scxrdas1whzavr379xi6r7aj2pbd-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/build /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/tests/sbpl-test.cc67../tests/sbpl-test.cc:18:6: error: an exception may be thrown in function 'main' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]68 18 | auto main() -> int69 | ^70/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/stdexcept:244:3: note: frame #0: unhandled exception of type 'length_error' may be thrown in function '__throw_length_error' here71 244 | throw length_error(__msg);72 | ^73/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2473:5: note: frame #1: function '__throw_length_error' calls function '__throw_length_error' here74 2473 | std::__throw_length_error("basic_string");75 | ^76/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2549:5: note: frame #2: function '__init' calls function '__throw_length_error' here77 2549 | this->__throw_length_error();78 | ^79/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1155:5: note: frame #3: function 'basic_string<std::string_view, 0>' calls function '__init' here80 1155 | __init(__sv.data(), __sv.size());81 | ^82/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__format/format_functions.h:465:12: note: frame #4: function '__try_constant_folding<char>' calls function 'basic_string<std::string_view, 0>' here83 465 | return basic_string<_CharT>{__fmt};84 | ^85/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__format/format_functions.h:491:19: note: frame #5: function 'vformat<void>' calls function '__try_constant_folding<char>' here86 491 | auto __result = __format::__try_constant_folding(__fmt, __args);87 | ^88/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/print:222:18: note: frame #6: function '__vprint_nonunicode<void>' calls function 'vformat<void>' here89 222 | string __str = std::vformat(__fmt, __args);90 | ^91/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/print:248:3: note: frame #7: function '__vprint_unicode_posix<void>' calls function '__vprint_nonunicode<void>' here92 248 | __print::__vprint_nonunicode(__stream, __fmt, __args, __write_nl);93 | ^94/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/print:321:3: note: frame #8: function '__vprint_unicode<void>' calls function '__vprint_unicode_posix<void>' here95 321 | __print::__vprint_unicode_posix(__stream, __fmt, __args, __write_nl, __print::__is_terminal(__stream));96 | ^97/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/print:357:5: note: frame #9: function 'println<const char *>' calls function '__vprint_unicode<void>' here98 357 | __print::__vprint_unicode(__stream, __fmt.get(), std::make_format_args(__args...), true);99 | ^100../tests/sbpl-test.cc:65:5: note: frame #10: function 'main' calls function 'println<const char *>' here101 65 | std::println(stderr, "sbpl-test: {}", err.what());102 | ^103../tests/sbpl-test.cc:65:18: error: no header providing "stderr" is directly included [misc-include-cleaner,-warnings-as-errors]104 3 | std::println(stderr, "sbpl-test: {}", err.what());105 | ^106>>> /nix/store/rnf8scxrdas1whzavr379xi6r7aj2pbd-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/build /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/src/daemon/sbpl.cc107[1/1] (1/2) Processing file /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/src/daemon/sbpl.cc.108[1/1] (2/2) Processing file /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/src/daemon/sbpl.cc.109>>> /nix/store/rnf8scxrdas1whzavr379xi6r7aj2pbd-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/build /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/src/client/channel.cc110[1/1] (1/2) Processing file /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/src/client/channel.cc.111[1/1] (2/2) Processing file /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/src/client/channel.cc.112>>> /nix/store/rnf8scxrdas1whzavr379xi6r7aj2pbd-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/build /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/src/daemon/main.cc113Errors encountered while running clang-tidy114../src/daemon/main.cc:894:6: error: function 'sandboxPolicy' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage,-warnings-as-errors]115 894 | auto sandboxPolicy(const nixgrpc::Options & options, bool listenFdsEmpty) -> nixgrpc::sandbox::Policy116 | ^117 | static 118../src/daemon/main.cc:914:76: error: 5 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors]119 914 | policy.listenSockets.push_back(CanonicalPath::from(addr.substr(5)));120 | ^121FAILED: [code=1] meson-internal__clang-tidy 122/nix/store/yjl5dwm08zmfsjrqyidrvcgm59qlgmxz-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/7/scratch/72aa3dc5186eb941/build/source /private/var/tb/7/scratch/72aa3dc5186eb941/build/source/build --color always123ninja: build stopped: subcommand failed.