tribuchet: building on mac02 Running phase: unpackPhase unpacking source archive /nix/store/k0x0ryirxs38fglwim32gvvwr73fhnaz-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase mesonConfigurePhase flags: --prefix=/nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3 --libdir=/nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3/lib --libexecdir=/nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3/libexec --bindir=/nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3/bin --sbindir=/nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3/sbin --includedir=/nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3/include --mandir=/nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3/share/man --infodir=/nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3/share/info --localedir=/nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false The Meson build system Version: 1.12.1 Source dir: /private/var/tb/5/scratch/1e76dcfb6156e563/build/source Build dir: /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/build Build type: native build WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead Project name: nix-grpc-store Project version: 0.2.3 C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8") C++ linker for the host machine: clang++ ld64 956.6 Host machine cpu family: aarch64 Host machine cpu: aarch64 Found pkg-config: YES (/nix/store/0qjl1qaf0c2jr1xd7qhlv8p6g6va41qk-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 Run-time dependency grpc++ found: YES 1.84.1 Run-time dependency protobuf found: YES 36.2.0 Run-time dependency libzstd found: YES 1.5.7 Run-time dependency threads found: YES Run-time dependency libcrypto found: YES 3.5.9 Run-time dependency libssl found: YES 3.5.9 Run-time dependency prometheus-cpp-core found: YES 1.3.0 Run-time dependency prometheus-cpp-pull found: YES 1.3.0 Run-time dependency absl_flat_hash_map found: YES 20260817 Run-time dependency absl_hash found: YES 20260817 Run-time dependency absl_synchronization found: YES 20260817 Compiler for C++ supports arguments -Werror=thread-safety: YES Run-time dependency nix-store found: YES 2.36.0pre20261115_48c45c9e Run-time dependency nix-util found: YES 2.36.0pre20261115_48c45c9e Run-time dependency jemalloc found: YES 5.4.0_0 Run-time dependency libcurl found: YES 8.23.0 Run-time dependency nlohmann_json found: YES 3.12.0 Library bz2 found: YES Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES Checking if "Store::addTempRoots" with dependencies nix-store, nix-util compiles: YES Program protoc found: YES (/nix/store/n3wf159klj55d9430k6781jgd3xb44m2-protobuf-36.2/bin/protoc) Program grpc_cpp_plugin found: YES (/nix/store/hj095b4f6gw2lkw82v33yqmvn8r4vahn-grpc-1.84.1/bin/grpc_cpp_plugin) Run-time dependency dl found: YES Program tests/farm-client-test.sh found: YES (/private/var/tb/5/scratch/1e76dcfb6156e563/build/source/tests/farm-client-test.sh) Program tests/oidc-test.sh found: YES (/private/var/tb/5/scratch/1e76dcfb6156e563/build/source/tests/oidc-test.sh) Build targets in project: 31 WARNING: Project specifies no minimum version but uses features which were added in versions: * 1.1: {'meson.options file'} nix-grpc-store 0.2.3 User defined options auto_features: enabled b_pch : false bindir : /nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3/bin buildtype : plain includedir : /nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3/include infodir : /nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3/share/info libdir : /nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3/lib libexecdir : /nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3/libexec localedir : /nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3/share/locale mandir : /nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3/share/man prefix : /nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3 sbindir : /nix/store/6ads3kj58wij8rmk9ibmhdpdwn3x068p-nix-grpc-store-clang-tidy-0.2.3/sbin wrap_mode : nodownload Found ninja-1.13.2 at /nix/store/h81xba217gxrba7y778g90r90xjpvh0s-ninja-1.13.2/bin/ninja mesonConfigurePhase: enabled\ parallel\ building Running phase: buildPhase [1/2] Generating eds_proto with a custom command [2/2] Generating nix_remote_proto with a custom command [0/1] /nix/store/fdlkhxbbdz9x3dv4rnqaa4x85ya1k0nq-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/5/scratch/1e76dcfb6156e563/build/source /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/build --color always >>> /nix/store/6hgyly07r9qq65lrc8cqk796gr9ksrd2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/build /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/src/daemon/sbpl.cc [1/1] (1/2) Processing file /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/src/daemon/sbpl.cc. [1/1] (2/2) Processing file /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/src/daemon/sbpl.cc. >>> /nix/store/6hgyly07r9qq65lrc8cqk796gr9ksrd2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/build /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/src/daemon/tunnels.cc [1/1] (1/2) Processing file /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/src/daemon/tunnels.cc. [1/1] (2/2) Processing file /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/src/daemon/tunnels.cc. >>> /nix/store/6hgyly07r9qq65lrc8cqk796gr9ksrd2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/build /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/src/daemon/tunnel.cc [1/1] (1/2) Processing file /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/src/daemon/tunnel.cc. [1/1] (2/2) Processing file /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/src/daemon/tunnel.cc. >>> /nix/store/6hgyly07r9qq65lrc8cqk796gr9ksrd2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/build /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/src/client/channel.cc [1/1] (1/2) Processing file /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/src/client/channel.cc. [1/1] (2/2) Processing file /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/src/client/channel.cc. >>> /nix/store/6hgyly07r9qq65lrc8cqk796gr9ksrd2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/build /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/tests/scheduler-test.cc Errors encountered while running clang-tidy ../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] 590 | void testLeastServedClientFirst() | ^ | static ../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] 600 | shard.want(2, {.drvPath = "small.drv", .inputs = {}, .system = "x", .features = {}, .cpHintMs = 0}, 1000); | ^ ../tests/scheduler-test.cc:601:34: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors] 601 | shard.done(lease(shard, wid, shard.entry(out[0].drv)->drvPath), {}); | ^~~~~~~~~~~~~~~~~~~~~~~ ../tests/scheduler-test.cc:601:49: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] 601 | shard.done(lease(shard, wid, shard.entry(out[0].drv)->drvPath), {}); | ^~~ ../tests/scheduler-test.cc:603:31: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors] 603 | assert(out.size() == 3 && shard.entry(out[2].drv)->drvPath == "small.drv"); | ^ /nix/store/dv782zq7nhscr843jljak8fvcqvv9a9a-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h:99:25: note: expanded from macro 'assert' 99 | (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __ASSERT_FILE_NAME, __LINE__, #e) : (void)0) | ^ ../tests/scheduler-test.cc:603:46: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] 603 | assert(out.size() == 3 && shard.entry(out[2].drv)->drvPath == "small.drv"); | ^ /nix/store/dv782zq7nhscr843jljak8fvcqvv9a9a-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h:99:25: note: expanded from macro 'assert' 99 | (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __ASSERT_FILE_NAME, __LINE__, #e) : (void)0) | ^ ../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] 607 | shard.want(1, {.drvPath = "small.drv", .inputs = {}, .system = "x", .features = {}, .cpHintMs = 0}, 1000); | ^ ../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] 608 | shard.want(2, {.drvPath = "more.drv", .inputs = {}, .system = "x", .features = {}, .cpHintMs = 0}, 1000); | ^ ../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] 609 | shard.want(3, {.drvPath = "late.drv", .inputs = {}, .system = "x", .features = {}, .cpHintMs = 0}, 2000); | ^ ../tests/scheduler-test.cc:610:34: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors] 610 | shard.done(lease(shard, wid, shard.entry(out[1].drv)->drvPath), {}); | ^~~~~~~~~~~~~~~~~~~~~~~ ../tests/scheduler-test.cc:610:49: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] 610 | shard.done(lease(shard, wid, shard.entry(out[1].drv)->drvPath), {}); | ^~~ ../tests/scheduler-test.cc:612:31: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors] 612 | assert(out.size() == 4 && shard.entry(out[3].drv)->drvPath == "late.drv"); | ^ /nix/store/dv782zq7nhscr843jljak8fvcqvv9a9a-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h:99:25: note: expanded from macro 'assert' 99 | (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __ASSERT_FILE_NAME, __LINE__, #e) : (void)0) | ^ ../tests/scheduler-test.cc:612:46: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] 612 | assert(out.size() == 4 && shard.entry(out[3].drv)->drvPath == "late.drv"); | ^ /nix/store/dv782zq7nhscr843jljak8fvcqvv9a9a-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h:99:25: note: expanded from macro 'assert' 99 | (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __ASSERT_FILE_NAME, __LINE__, #e) : (void)0) | ^ FAILED: [code=1] meson-internal__clang-tidy /nix/store/fdlkhxbbdz9x3dv4rnqaa4x85ya1k0nq-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/5/scratch/1e76dcfb6156e563/build/source /private/var/tb/5/scratch/1e76dcfb6156e563/build/source/build --color always ninja: build stopped: subcommand failed.