nixbot

builds

failed nix-grpc-store-clang-tidy-0.1.0 checks.x86_64-linux.clang-tidy · build #615 · raw

1tribuchet: building on jamie
unpackPhase
2unpacking source archive /nix/store/pal861ryhsx18yvpvipjjf1bmpsdpxr6-source3source root is source
configurePhase
4mesonConfigurePhase flags: --prefix=/nix/store/97dqf79i9w8piy4j40chc1q5pgnmiybn-nix-grpc-store-clang-tidy-0.1.0 --libdir=/nix/store/97dqf79i9w8piy4j40chc1q5pgnmiybn-nix-grpc-store-clang-tidy-0.1.0/lib --libexecdir=/nix/store/97dqf79i9w8piy4j40chc1q5pgnmiybn-nix-grpc-store-clang-tidy-0.1.0/libexec --bindir=/nix/store/97dqf79i9w8piy4j40chc1q5pgnmiybn-nix-grpc-store-clang-tidy-0.1.0/bin --sbindir=/nix/store/97dqf79i9w8piy4j40chc1q5pgnmiybn-nix-grpc-store-clang-tidy-0.1.0/sbin --includedir=/nix/store/97dqf79i9w8piy4j40chc1q5pgnmiybn-nix-grpc-store-clang-tidy-0.1.0/include --mandir=/nix/store/97dqf79i9w8piy4j40chc1q5pgnmiybn-nix-grpc-store-clang-tidy-0.1.0/share/man --infodir=/nix/store/97dqf79i9w8piy4j40chc1q5pgnmiybn-nix-grpc-store-clang-tidy-0.1.0/share/info --localedir=/nix/store/97dqf79i9w8piy4j40chc1q5pgnmiybn-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.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.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: x86_6416Host machine cpu: x86_6417Found pkg-config: YES (/nix/store/b9izmrfjp0qnnyahdwwrzdwi87s1h179-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/icm7gdscsdcbkf1rmnyqhf5vmrdhl6d4-protobuf-36.2/bin/protoc)36Program grpc_cpp_plugin found: YES (/nix/store/5ajs0p0ysy8hynsf1g0b1ggaf1ah3ynj-grpc-1.83.1/bin/grpc_cpp_plugin)37Program mold found: YES (/nix/store/9dcddrfxlfl9n3wfibi5jkmp22bjkvkh-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: 1642WARNING: 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/97dqf79i9w8piy4j40chc1q5pgnmiybn-nix-grpc-store-clang-tidy-0.1.0/bin51 buildtype : plain52 includedir : /nix/store/97dqf79i9w8piy4j40chc1q5pgnmiybn-nix-grpc-store-clang-tidy-0.1.0/include53 infodir : /nix/store/97dqf79i9w8piy4j40chc1q5pgnmiybn-nix-grpc-store-clang-tidy-0.1.0/share/info54 libdir : /nix/store/97dqf79i9w8piy4j40chc1q5pgnmiybn-nix-grpc-store-clang-tidy-0.1.0/lib55 libexecdir : /nix/store/97dqf79i9w8piy4j40chc1q5pgnmiybn-nix-grpc-store-clang-tidy-0.1.0/libexec56 localedir : /nix/store/97dqf79i9w8piy4j40chc1q5pgnmiybn-nix-grpc-store-clang-tidy-0.1.0/share/locale57 mandir : /nix/store/97dqf79i9w8piy4j40chc1q5pgnmiybn-nix-grpc-store-clang-tidy-0.1.0/share/man58 prefix : /nix/store/97dqf79i9w8piy4j40chc1q5pgnmiybn-nix-grpc-store-clang-tidy-0.1.059 sbindir : /nix/store/97dqf79i9w8piy4j40chc1q5pgnmiybn-nix-grpc-store-clang-tidy-0.1.0/sbin60 wrap_mode : nodownload6162Found ninja-1.13.2 at /nix/store/4nsdla28c4177ssp0hlyv5l2yzj8wcba-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/r72868g8znkk4m8pmwsn3cf8v3h84mr0-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always67>>> /nix/store/f9hs9r4kcnics2v0l9dbd1b1arx09gza-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/plugin-loader-test.cc68../tests/plugin-loader-test.cc:8:3: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]69 8 | assert(darwinNixStoreOutputMatches(70 | ^~~~~~71 | static_assert72../tests/plugin-loader-test.cc:10:3: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]73 10 | assert(darwinNixStoreOutputMatches(74 | ^~~~~~75 | static_assert76../tests/plugin-loader-test.cc:12:3: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]77 12 | assert(darwinNixStoreOutputMatches(78 | ^~~~~~79 | static_assert80../tests/plugin-loader-test.cc:15:3: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]81 15 | assert(!darwinNixStoreOutputMatches(82 | ^~~~~~83 | static_assert84../tests/plugin-loader-test.cc:17:3: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]85 17 | assert(!darwinNixStoreOutputMatches(86 | ^~~~~~87 | static_assert88>>> /nix/store/f9hs9r4kcnics2v0l9dbd1b1arx09gza-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/upload-claims-test.cc89../tests/upload-claims-test.cc:24:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]90 24 | assert(first.owner);91 | ^~~~~~92 | static_assert93../tests/upload-claims-test.cc:25:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]94 25 | assert(!second.owner);95 | ^~~~~~96 | static_assert97../tests/upload-claims-test.cc:26:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]98 26 | assert(!isReady(second.result));99 | ^~~~~~100 | static_assert101../tests/upload-claims-test.cc:44:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]102 44 | assert(failed);103 | ^~~~~~104 | static_assert105../tests/upload-claims-test.cc:52:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]106 52 | assert(again.owner);107 | ^~~~~~108 | static_assert109../tests/upload-claims-test.cc:63:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]110 63 | assert(!isReady(other.result));111 | ^~~~~~112 | static_assert113../tests/upload-claims-test.cc:73:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]114 73 | assert(first.owner);115 | ^~~~~~116 | static_assert117../tests/upload-claims-test.cc:74:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]118 74 | assert(second.owner);119 | ^~~~~~120 | static_assert121>>> /nix/store/f9hs9r4kcnics2v0l9dbd1b1arx09gza-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/log-spill-test.cc122../tests/log-spill-test.cc:35:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]123 35 | assert(end == spill.written());124 | ^~~~~~125 | static_assert126../tests/log-spill-test.cc:45:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]127 45 | assert(done);128 | ^~~~~~129 | static_assert130../tests/log-spill-test.cc:49:6: error: function 'roundTrip' has cognitive complexity of 29 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors]131 49 | void roundTrip()132 | ^133../tests/log-spill-test.cc:52:5: note: +1, including nesting penalty of 0, nesting level increased to 1134 52 | assert(readAll(spill).empty());135 | ^136/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'137 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \138 | ^139../tests/log-spill-test.cc:52:5: note: +2, including nesting penalty of 1, nesting level increased to 2140 52 | assert(readAll(spill).empty());141 | ^142/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'143 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \144 | ^145../tests/log-spill-test.cc:58:5: note: +1, including nesting penalty of 0, nesting level increased to 1146 58 | assert(got.size() == 4);147 | ^148/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'149 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \150 | ^151../tests/log-spill-test.cc:58:5: note: +2, including nesting penalty of 1, nesting level increased to 2152 58 | assert(got.size() == 4);153 | ^154/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'155 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \156 | ^157../tests/log-spill-test.cc:59:5: note: +1, including nesting penalty of 0, nesting level increased to 1158 59 | assert(got.at(0) == std::make_pair(SpillKind::line, std::string("first")));159 | ^160/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'161 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \162 | ^163../tests/log-spill-test.cc:59:5: note: +2, including nesting penalty of 1, nesting level increased to 2164 59 | assert(got.at(0) == std::make_pair(SpillKind::line, std::string("first")));165 | ^166/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'167 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \168 | ^169../tests/log-spill-test.cc:60:5: note: +1, including nesting penalty of 0, nesting level increased to 1170 60 | assert(got.at(1) == std::make_pair(SpillKind::phase, std::string("build")));171 | ^172/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'173 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \174 | ^175../tests/log-spill-test.cc:60:5: note: +2, including nesting penalty of 1, nesting level increased to 2176 60 | assert(got.at(1) == std::make_pair(SpillKind::phase, std::string("build")));177 | ^178/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'179 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \180 | ^181../tests/log-spill-test.cc:61:5: note: +1, including nesting penalty of 0, nesting level increased to 1182 61 | assert(got.at(2).second.empty());183 | ^184/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'185 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \186 | ^187../tests/log-spill-test.cc:61:5: note: +2, including nesting penalty of 1, nesting level increased to 2188 61 | assert(got.at(2).second.empty());189 | ^190/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'191 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \192 | ^193../tests/log-spill-test.cc:62:5: note: +1, including nesting penalty of 0, nesting level increased to 1194 62 | assert(got.at(3).second.size() == kBigLine);195 | ^196/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'197 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \198 | ^199../tests/log-spill-test.cc:62:5: note: +2, including nesting penalty of 1, nesting level increased to 2200 62 | assert(got.at(3).second.size() == kBigLine);201 | ^202/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'203 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \204 | ^205../tests/log-spill-test.cc:65:37: note: nesting level increased to 1206 65 | auto const mid = spill.drain(0, [](SpillKind, std::string_view) -> void {});207 | ^208../tests/log-spill-test.cc:66:5: note: +1, including nesting penalty of 0, nesting level increased to 1209 66 | assert(mid == spill.written());210 | ^211/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'212 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \213 | ^214../tests/log-spill-test.cc:66:5: note: +2, including nesting penalty of 1, nesting level increased to 2215 66 | assert(mid == spill.written());216 | ^217/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'218 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \219 | ^220../tests/log-spill-test.cc:69:39: note: nesting level increased to 1221 69 | auto const end = spill.drain(mid, [&](SpillKind kind, std::string_view text) -> void { rest.emplace_back(kind, std::string(text)); });222 | ^223../tests/log-spill-test.cc:70:5: note: +1, including nesting penalty of 0, nesting level increased to 1224 70 | assert(end == spill.written());225 | ^226/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'227 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \228 | ^229../tests/log-spill-test.cc:70:5: note: +2, including nesting penalty of 1, nesting level increased to 2230 70 | assert(end == spill.written());231 | ^232/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'233 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \234 | ^235../tests/log-spill-test.cc:71:5: note: +1, including nesting penalty of 0, nesting level increased to 1236 71 | assert(rest.size() == 1 && rest.front().second == "later");237 | ^238/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'239 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \240 | ^241../tests/log-spill-test.cc:71:29: note: +1242 71 | assert(rest.size() == 1 && rest.front().second == "later");243 | ^244../tests/log-spill-test.cc:71:5: note: +2, including nesting penalty of 1, nesting level increased to 2245 71 | assert(rest.size() == 1 && rest.front().second == "later");246 | ^247/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'248 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \249 | ^250../tests/log-spill-test.cc:71:29: note: +1251 71 | assert(rest.size() == 1 && rest.front().second == "later");252 | ^253../tests/log-spill-test.cc:52:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]254 52 | assert(readAll(spill).empty());255 | ^~~~~~256 | static_assert257../tests/log-spill-test.cc:58:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]258 58 | assert(got.size() == 4);259 | ^~~~~~260 | static_assert261../tests/log-spill-test.cc:59:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]262 59 | assert(got.at(0) == std::make_pair(SpillKind::line, std::string("first")));263 | ^~~~~~264 | static_assert265../tests/log-spill-test.cc:60:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]266 60 | assert(got.at(1) == std::make_pair(SpillKind::phase, std::string("build")));267 | ^~~~~~268 | static_assert269../tests/log-spill-test.cc:61:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]270 61 | assert(got.at(2).second.empty());271 | ^~~~~~272 | static_assert273../tests/log-spill-test.cc:62:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]274 62 | assert(got.at(3).second.size() == kBigLine);275 | ^~~~~~276 | static_assert277../tests/log-spill-test.cc:66:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]278 66 | assert(mid == spill.written());279 | ^~~~~~280 | static_assert281../tests/log-spill-test.cc:70:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]282 70 | assert(end == spill.written());283 | ^~~~~~284 | static_assert285../tests/log-spill-test.cc:71:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]286 71 | assert(rest.size() == 1 && rest.front().second == "later");287 | ^~~~~~288 | static_assert289../tests/log-spill-test.cc:79:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]290 79 | assert(got.size() == 1 && got.at(0).second.size() == LogSpill::kMaxText);291 | ^~~~~~292 | static_assert293../tests/log-spill-test.cc:89:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]294 89 | assert(!got.empty());295 | ^~~~~~296 | static_assert297../tests/log-spill-test.cc:90:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]298 90 | assert(got.back().second == LogSpill::kTruncated);299 | ^~~~~~300 | static_assert301../tests/log-spill-test.cc:93:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]302 93 | assert(spill.written() == size);303 | ^~~~~~304 | static_assert305../tests/log-spill-test.cc:99:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]306 99 | assert(only.size() == 1 && only.front().second == LogSpill::kTruncated);307 | ^~~~~~308 | static_assert309../tests/log-spill-test.cc:108:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]310 108 | assert(readAll(spill).empty() && spill.written() == 0);311 | ^~~~~~312 | static_assert313../tests/log-spill-test.cc:141:9: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]314 141 | assert(got->size() == lines);315 | ^~~~~~316 | static_assert317../tests/log-spill-test.cc:143:13: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]318 143 | assert(got->at(static_cast<std::size_t>(i)).second == "line " + std::to_string(i));319 | ^~~~~~320 | static_assert321../tests/log-spill-test.cc:158:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]322 158 | assert(!done);323 | ^~~~~~324 | static_assert325>>> /nix/store/f9hs9r4kcnics2v0l9dbd1b1arx09gza-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/xfcc-test.cc326../tests/xfcc-test.cc:10:6: error: function 'main' has cognitive complexity of 70 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors]327 10 | auto main() -> int328 | ^329../tests/xfcc-test.cc:12:5: note: +1, including nesting penalty of 0, nesting level increased to 1330 12 | assert(331 | ^332/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'333 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \334 | ^335../tests/xfcc-test.cc:12:5: note: +2, including nesting penalty of 1, nesting level increased to 2336 12 | assert(337 | ^338/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'339 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \340 | ^341../tests/xfcc-test.cc:14:5: note: +1, including nesting penalty of 0, nesting level increased to 1342 14 | assert(subjectCommonName(R"(Hash=ab;Subject="O=nt,CN=dev")") == "dev");343 | ^344/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'345 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \346 | ^347../tests/xfcc-test.cc:14:5: note: +2, including nesting penalty of 1, nesting level increased to 2348 14 | assert(subjectCommonName(R"(Hash=ab;Subject="O=nt,CN=dev")") == "dev");349 | ^350/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'351 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \352 | ^353../tests/xfcc-test.cc:15:5: note: +1, including nesting penalty of 0, nesting level increased to 1354 15 | assert(subjectCommonName("Subject=CN=plain") == "plain");355 | ^356/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'357 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \358 | ^359../tests/xfcc-test.cc:15:5: note: +2, including nesting penalty of 1, nesting level increased to 2360 15 | assert(subjectCommonName("Subject=CN=plain") == "plain");361 | ^362/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'363 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \364 | ^365../tests/xfcc-test.cc:16:5: note: +1, including nesting penalty of 0, nesting level increased to 1366 16 | assert(subjectCommonName("Subject=/CN=legacy/O=x") == "legacy");367 | ^368/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'369 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \370 | ^371../tests/xfcc-test.cc:16:5: note: +2, including nesting penalty of 1, nesting level increased to 2372 16 | assert(subjectCommonName("Subject=/CN=legacy/O=x") == "legacy");373 | ^374/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'375 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \376 | ^377../tests/xfcc-test.cc:17:5: note: +1, including nesting penalty of 0, nesting level increased to 1378 17 | assert(subjectCommonName(R"(Subject="CN=a\,b,O=x")") == "a,b");379 | ^380/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'381 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \382 | ^383../tests/xfcc-test.cc:17:5: note: +2, including nesting penalty of 1, nesting level increased to 2384 17 | assert(subjectCommonName(R"(Subject="CN=a\,b,O=x")") == "a,b");385 | ^386/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'387 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \388 | ^389../tests/xfcc-test.cc:18:5: note: +1, including nesting penalty of 0, nesting level increased to 1390 18 | assert(subjectCommonName(R"(Subject="CN=q\"x")") == "q\"x");391 | ^392/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'393 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \394 | ^395../tests/xfcc-test.cc:18:5: note: +2, including nesting penalty of 1, nesting level increased to 2396 18 | assert(subjectCommonName(R"(Subject="CN=q\"x")") == "q\"x");397 | ^398/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'399 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \400 | ^401../tests/xfcc-test.cc:21:5: note: +1, including nesting penalty of 0, nesting level increased to 1402 21 | assert(subjectCommonName(R"(Hash=1;URI=u,Hash=2;Subject="CN=evil")") == std::nullopt);403 | ^404/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'405 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \406 | ^407../tests/xfcc-test.cc:21:5: note: +2, including nesting penalty of 1, nesting level increased to 2408 21 | assert(subjectCommonName(R"(Hash=1;URI=u,Hash=2;Subject="CN=evil")") == std::nullopt);409 | ^410/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'411 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \412 | ^413../tests/xfcc-test.cc:22:5: note: +1, including nesting penalty of 0, nesting level increased to 1414 22 | assert(subjectCommonName(R"(Hash=1;Subject="O=only")") == std::nullopt);415 | ^416/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'417 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \418 | ^419../tests/xfcc-test.cc:22:5: note: +2, including nesting penalty of 1, nesting level increased to 2420 22 | assert(subjectCommonName(R"(Hash=1;Subject="O=only")") == std::nullopt);421 | ^422/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'423 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \424 | ^425../tests/xfcc-test.cc:23:5: note: +1, including nesting penalty of 0, nesting level increased to 1426 23 | assert(subjectCommonName("") == std::nullopt);427 | ^428/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'429 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \430 | ^431../tests/xfcc-test.cc:23:5: note: +2, including nesting penalty of 1, nesting level increased to 2432 23 | assert(subjectCommonName("") == std::nullopt);433 | ^434/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'435 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \436 | ^437../tests/xfcc-test.cc:24:5: note: +1, including nesting penalty of 0, nesting level increased to 1438 24 | assert(subjectCommonName("garbage;;==,,") == std::nullopt);439 | ^440/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'441 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \442 | ^443../tests/xfcc-test.cc:24:5: note: +2, including nesting penalty of 1, nesting level increased to 2444 24 | assert(subjectCommonName("garbage;;==,,") == std::nullopt);445 | ^446/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'447 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \448 | ^449../tests/xfcc-test.cc:25:5: note: +1, including nesting penalty of 0, nesting level increased to 1450 25 | assert(subjectCommonName(R"(Subject="CN=)") == std::nullopt);451 | ^452/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'453 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \454 | ^455../tests/xfcc-test.cc:25:5: note: +2, including nesting penalty of 1, nesting level increased to 2456 25 | assert(subjectCommonName(R"(Subject="CN=)") == std::nullopt);457 | ^458/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'459 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \460 | ^461../tests/xfcc-test.cc:26:5: note: +1, including nesting penalty of 0, nesting level increased to 1462 26 | assert(subjectCommonName(R"(Subject="CN=unterminated)") == std::nullopt);463 | ^464/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'465 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \466 | ^467../tests/xfcc-test.cc:26:5: note: +2, including nesting penalty of 1, nesting level increased to 2468 26 | assert(subjectCommonName(R"(Subject="CN=unterminated)") == std::nullopt);469 | ^470/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'471 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \472 | ^473../tests/xfcc-test.cc:27:5: note: +1, including nesting penalty of 0, nesting level increased to 1474 27 | assert(subjectCommonName(R"(Subject="CN=x\)") == std::nullopt);475 | ^476/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'477 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \478 | ^479../tests/xfcc-test.cc:27:5: note: +2, including nesting penalty of 1, nesting level increased to 2480 27 | assert(subjectCommonName(R"(Subject="CN=x\)") == std::nullopt);481 | ^482/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'483 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \484 | ^485../tests/xfcc-test.cc:28:5: note: +1, including nesting penalty of 0, nesting level increased to 1486 28 | assert(subjectCommonName("Subject=\"CN=a\nb\"") == std::nullopt);487 | ^488/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'489 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \490 | ^491../tests/xfcc-test.cc:28:5: note: +2, including nesting penalty of 1, nesting level increased to 2492 28 | assert(subjectCommonName("Subject=\"CN=a\nb\"") == std::nullopt);493 | ^494/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'495 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \496 | ^497../tests/xfcc-test.cc:29:5: note: +1, including nesting penalty of 0, nesting level increased to 1498 29 | assert(subjectCommonName(std::string("Subject=CN=a") + '\0' + "b") == std::nullopt);499 | ^500/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'501 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \502 | ^503../tests/xfcc-test.cc:29:5: note: +2, including nesting penalty of 1, nesting level increased to 2504 29 | assert(subjectCommonName(std::string("Subject=CN=a") + '\0' + "b") == std::nullopt);505 | ^506/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'507 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \508 | ^509../tests/xfcc-test.cc:30:5: note: +1, including nesting penalty of 0, nesting level increased to 1510 30 | assert(subjectCommonName("Subject=CN=" + std::string(300, 'a')) == std::nullopt);511 | ^512/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'513 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \514 | ^515../tests/xfcc-test.cc:30:5: note: +2, including nesting penalty of 1, nesting level increased to 2516 30 | assert(subjectCommonName("Subject=CN=" + std::string(300, 'a')) == std::nullopt);517 | ^518/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'519 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \520 | ^521../tests/xfcc-test.cc:31:5: note: +1, including nesting penalty of 0, nesting level increased to 1522 31 | assert(subjectCommonName(std::string(20000, ';')) == std::nullopt);523 | ^524/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'525 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \526 | ^527../tests/xfcc-test.cc:31:5: note: +2, including nesting penalty of 1, nesting level increased to 2528 31 | assert(subjectCommonName(std::string(20000, ';')) == std::nullopt);529 | ^530/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'531 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \532 | ^533../tests/xfcc-test.cc:34:5: note: +1, including nesting penalty of 0, nesting level increased to 1534 34 | assert(!proxies.matches(std::string("lb-1")));535 | ^536/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'537 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \538 | ^539../tests/xfcc-test.cc:34:5: note: +2, including nesting penalty of 1, nesting level increased to 2540 34 | assert(!proxies.matches(std::string("lb-1")));541 | ^542/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'543 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \544 | ^545../tests/xfcc-test.cc:36:5: note: +1, including nesting penalty of 0, nesting level increased to 1546 36 | assert(proxies.matches(std::string("lb-1")));547 | ^548/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'549 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \550 | ^551../tests/xfcc-test.cc:36:5: note: +2, including nesting penalty of 1, nesting level increased to 2552 36 | assert(proxies.matches(std::string("lb-1")));553 | ^554/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'555 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \556 | ^557../tests/xfcc-test.cc:37:5: note: +1, including nesting penalty of 0, nesting level increased to 1558 37 | assert(!proxies.matches(std::string("ci-1")));559 | ^560/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'561 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \562 | ^563../tests/xfcc-test.cc:37:5: note: +2, including nesting penalty of 1, nesting level increased to 2564 37 | assert(!proxies.matches(std::string("ci-1")));565 | ^566/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'567 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \568 | ^569../tests/xfcc-test.cc:38:5: note: +1, including nesting penalty of 0, nesting level increased to 1570 38 | assert(!proxies.matches(std::nullopt));571 | ^572/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'573 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \574 | ^575../tests/xfcc-test.cc:38:5: note: +2, including nesting penalty of 1, nesting level increased to 2576 38 | assert(!proxies.matches(std::nullopt));577 | ^578/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'579 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \580 | ^581../tests/xfcc-test.cc:39:5: note: +1, including nesting penalty of 0, nesting level increased to 1582 39 | assert(!proxies.matches(std::string("")));583 | ^584/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'585 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \586 | ^587../tests/xfcc-test.cc:39:5: note: +2, including nesting penalty of 1, nesting level increased to 2588 39 | assert(!proxies.matches(std::string("")));589 | ^590/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'591 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \592 | ^593../tests/xfcc-test.cc:40:5: note: +1, including nesting penalty of 0, nesting level increased to 1594 40 | assert(!proxies.matches(std::string("lb-1") + '\0' + "x"));595 | ^596/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'597 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \598 | ^599../tests/xfcc-test.cc:40:5: note: +2, including nesting penalty of 1, nesting level increased to 2600 40 | assert(!proxies.matches(std::string("lb-1") + '\0' + "x"));601 | ^602/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'603 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \604 | ^605../tests/xfcc-test.cc:42:3: note: +1, including nesting penalty of 0, nesting level increased to 1606 42 | } catch (...) {607 | ^608../tests/xfcc-test.cc:12:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]609 12 | assert(610 | ^~~~~~611 | static_assert612../tests/xfcc-test.cc:14:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]613 14 | assert(subjectCommonName(R"(Hash=ab;Subject="O=nt,CN=dev")") == "dev");614 | ^~~~~~615 | static_assert616../tests/xfcc-test.cc:15:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]617 15 | assert(subjectCommonName("Subject=CN=plain") == "plain");618 | ^~~~~~619 | static_assert620../tests/xfcc-test.cc:16:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]621 16 | assert(subjectCommonName("Subject=/CN=legacy/O=x") == "legacy");622 | ^~~~~~623 | static_assert624../tests/xfcc-test.cc:17:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]625 17 | assert(subjectCommonName(R"(Subject="CN=a\,b,O=x")") == "a,b");626 | ^~~~~~627 | static_assert628../tests/xfcc-test.cc:18:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]629 18 | assert(subjectCommonName(R"(Subject="CN=q\"x")") == "q\"x");630 | ^~~~~~631 | static_assert632../tests/xfcc-test.cc:21:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]633 21 | assert(subjectCommonName(R"(Hash=1;URI=u,Hash=2;Subject="CN=evil")") == std::nullopt);634 | ^~~~~~635 | static_assert636../tests/xfcc-test.cc:22:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]637 22 | assert(subjectCommonName(R"(Hash=1;Subject="O=only")") == std::nullopt);638 | ^~~~~~639 | static_assert640../tests/xfcc-test.cc:23:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]641 23 | assert(subjectCommonName("") == std::nullopt);642 | ^~~~~~643 | static_assert644../tests/xfcc-test.cc:24:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]645 24 | assert(subjectCommonName("garbage;;==,,") == std::nullopt);646 | ^~~~~~647 | static_assert648../tests/xfcc-test.cc:25:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]649 25 | assert(subjectCommonName(R"(Subject="CN=)") == std::nullopt);650 | ^~~~~~651 | static_assert652../tests/xfcc-test.cc:26:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]653 26 | assert(subjectCommonName(R"(Subject="CN=unterminated)") == std::nullopt);654 | ^~~~~~655 | static_assert656../tests/xfcc-test.cc:27:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]657 27 | assert(subjectCommonName(R"(Subject="CN=x\)") == std::nullopt);658 | ^~~~~~659 | static_assert660../tests/xfcc-test.cc:28:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]661 28 | assert(subjectCommonName("Subject=\"CN=a\nb\"") == std::nullopt);662 | ^~~~~~663 | static_assert664../tests/xfcc-test.cc:29:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]665 29 | assert(subjectCommonName(std::string("Subject=CN=a") + '\0' + "b") == std::nullopt);666 | ^~~~~~667 | static_assert668../tests/xfcc-test.cc:30:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]669 30 | assert(subjectCommonName("Subject=CN=" + std::string(300, 'a')) == std::nullopt);670 | ^~~~~~671 | static_assert672../tests/xfcc-test.cc:31:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]673 31 | assert(subjectCommonName(std::string(20000, ';')) == std::nullopt);674 | ^~~~~~675 | static_assert676../tests/xfcc-test.cc:34:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]677 34 | assert(!proxies.matches(std::string("lb-1")));678 | ^~~~~~679 | static_assert680../tests/xfcc-test.cc:36:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]681 36 | assert(proxies.matches(std::string("lb-1")));682 | ^~~~~~683 | static_assert684../tests/xfcc-test.cc:37:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]685 37 | assert(!proxies.matches(std::string("ci-1")));686 | ^~~~~~687 | static_assert688../tests/xfcc-test.cc:38:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]689 38 | assert(!proxies.matches(std::nullopt));690 | ^~~~~~691 | static_assert692../tests/xfcc-test.cc:39:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]693 39 | assert(!proxies.matches(std::string("")));694 | ^~~~~~695 | static_assert696../tests/xfcc-test.cc:40:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]697 40 | assert(!proxies.matches(std::string("lb-1") + '\0' + "x"));698 | ^~~~~~699 | static_assert700>>> /nix/store/f9hs9r4kcnics2v0l9dbd1b1arx09gza-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/upload-spool-test.cc701../tests/upload-spool-test.cc:17:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]702 17 | assert(getrlimit(RLIMIT_NOFILE, &limit) == 0);703 | ^~~~~~704 | static_assert705../tests/upload-spool-test.cc:19:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]706 19 | assert(setrlimit(RLIMIT_NOFILE, &limit) == 0);707 | ^~~~~~708 | static_assert709../tests/upload-spool-test.cc:32:9: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]710 32 | assert(reader.drain() == content);711 | ^~~~~~712 | static_assert713../tests/upload-spool-test.cc:42:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]714 42 | assert(skip.drain().empty());715 | ^~~~~~716 | static_assert717../tests/upload-spool-test.cc:47:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]718 47 | assert(reader.drain() == kept);719 | ^~~~~~720 | static_assert721>>> /nix/store/f9hs9r4kcnics2v0l9dbd1b1arx09gza-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/elector.cc722Error while processing /build/source/src/daemon/elector.cc.723/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1169:8: error: expected ';' after top level declarator [clang-diagnostic-error]724 1169 | Status MakeError(string_view message, SourceLocation loc) {725 | ^726/nix/store/2zbvzjnvn09s8xm39ip5pbsa52yn637i-nix-util-2.36.0pre20261004_b010dc99-dev/include/nix/util/error.hh:305:20: note: expanded from macro 'MakeError'727 305 | class newClass : public CloneableError<newClass, superClass> \728 | ^729/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1169:8: error: expected unqualified-id [clang-diagnostic-error]730 1169 | Status MakeError(string_view message, SourceLocation loc) {731 | ^732/nix/store/2zbvzjnvn09s8xm39ip5pbsa52yn637i-nix-util-2.36.0pre20261004_b010dc99-dev/include/nix/util/error.hh:305:22: note: expanded from macro 'MakeError'733 305 | class newClass : public CloneableError<newClass, superClass> \734 | ^735/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1169:18: error: type alias 'string_view' cannot be referenced with the 'class' specifier [clang-diagnostic-error]736 1169 | Status MakeError(string_view message, SourceLocation loc) {737 | ^738/nix/store/5q6bdxkp7lc70gn9mnf4yiybrx8ry5xq-gcc-16.2.0/include/c++/16.2.0/string_view:785:9: note: declared here739 785 | using string_view = basic_string_view<char>;740 | ^741/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1183:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]742 1183 | return status_internal::MakeError<StatusCode::kAborted>(message, loc);743 | ^~~~~~~~~744/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1187:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]745 1187 | return status_internal::MakeError<StatusCode::kAlreadyExists>(message, loc);746 | ^~~~~~~~~747/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1191:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]748 1191 | return status_internal::MakeError<StatusCode::kCancelled>(message, loc);749 | ^~~~~~~~~750/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1195:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]751 1195 | return status_internal::MakeError<StatusCode::kDataLoss>(message, loc);752 | ^~~~~~~~~753/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1199:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]754 1199 | return status_internal::MakeError<StatusCode::kDeadlineExceeded>(message,755 | ^~~~~~~~~756/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1204:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]757 1204 | return status_internal::MakeError<StatusCode::kFailedPrecondition>(message,758 | ^~~~~~~~~759/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1209:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]760 1209 | return status_internal::MakeError<StatusCode::kInternal>(message, loc);761 | ^~~~~~~~~762/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1213:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]763 1213 | return status_internal::MakeError<StatusCode::kInvalidArgument>(message, loc);764 | ^~~~~~~~~765/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1217:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]766 1217 | return status_internal::MakeError<StatusCode::kNotFound>(message, loc);767 | ^~~~~~~~~768/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1221:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]769 1221 | return status_internal::MakeError<StatusCode::kOutOfRange>(message, loc);770 | ^~~~~~~~~771/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1225:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]772 1225 | return status_internal::MakeError<StatusCode::kPermissionDenied>(message,773 | ^~~~~~~~~774/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1230:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]775 1230 | return status_internal::MakeError<StatusCode::kResourceExhausted>(message,776 | ^~~~~~~~~777/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1235:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]778 1235 | return status_internal::MakeError<StatusCode::kUnauthenticated>(message, loc);779 | ^~~~~~~~~780/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1239:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]781 1239 | return status_internal::MakeError<StatusCode::kUnavailable>(message, loc);782 | ^~~~~~~~~783/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1243:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]784 1243 | return status_internal::MakeError<StatusCode::kUnimplemented>(message, loc);785 | ^~~~~~~~~786/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1247:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]787 1247 | return status_internal::MakeError<StatusCode::kUnknown>(message, loc);788 | ^~~~~~~~~789>>> /nix/store/f9hs9r4kcnics2v0l9dbd1b1arx09gza-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/farm-client-test.cc790Error while processing /build/source/tests/farm-client-test.cc.791/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1169:8: error: expected ';' after top level declarator [clang-diagnostic-error]792 1169 | Status MakeError(string_view message, SourceLocation loc) {793 | ^794/nix/store/2zbvzjnvn09s8xm39ip5pbsa52yn637i-nix-util-2.36.0pre20261004_b010dc99-dev/include/nix/util/error.hh:305:20: note: expanded from macro 'MakeError'795 305 | class newClass : public CloneableError<newClass, superClass> \796 | ^797/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1169:8: error: expected unqualified-id [clang-diagnostic-error]798 1169 | Status MakeError(string_view message, SourceLocation loc) {799 | ^800/nix/store/2zbvzjnvn09s8xm39ip5pbsa52yn637i-nix-util-2.36.0pre20261004_b010dc99-dev/include/nix/util/error.hh:305:22: note: expanded from macro 'MakeError'801 305 | class newClass : public CloneableError<newClass, superClass> \802 | ^803/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1169:18: error: type alias 'string_view' cannot be referenced with the 'class' specifier [clang-diagnostic-error]804 1169 | Status MakeError(string_view message, SourceLocation loc) {805 | ^806/nix/store/5q6bdxkp7lc70gn9mnf4yiybrx8ry5xq-gcc-16.2.0/include/c++/16.2.0/string_view:785:9: note: declared here807 785 | using string_view = basic_string_view<char>;808 | ^809/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1183:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]810 1183 | return status_internal::MakeError<StatusCode::kAborted>(message, loc);811 | ^~~~~~~~~812/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1187:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]813 1187 | return status_internal::MakeError<StatusCode::kAlreadyExists>(message, loc);814 | ^~~~~~~~~815/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1191:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]816 1191 | return status_internal::MakeError<StatusCode::kCancelled>(message, loc);817 | ^~~~~~~~~818/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1195:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]819 1195 | return status_internal::MakeError<StatusCode::kDataLoss>(message, loc);820 | ^~~~~~~~~821/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1199:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]822 1199 | return status_internal::MakeError<StatusCode::kDeadlineExceeded>(message,823 | ^~~~~~~~~824/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1204:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]825 1204 | return status_internal::MakeError<StatusCode::kFailedPrecondition>(message,826 | ^~~~~~~~~827/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1209:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]828 1209 | return status_internal::MakeError<StatusCode::kInternal>(message, loc);829 | ^~~~~~~~~830/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1213:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]831 1213 | return status_internal::MakeError<StatusCode::kInvalidArgument>(message, loc);832 | ^~~~~~~~~833/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1217:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]834 1217 | return status_internal::MakeError<StatusCode::kNotFound>(message, loc);835 | ^~~~~~~~~836/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1221:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]837 1221 | return status_internal::MakeError<StatusCode::kOutOfRange>(message, loc);838 | ^~~~~~~~~839/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1225:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]840 1225 | return status_internal::MakeError<StatusCode::kPermissionDenied>(message,841 | ^~~~~~~~~842/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1230:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]843 1230 | return status_internal::MakeError<StatusCode::kResourceExhausted>(message,844 | ^~~~~~~~~845/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1235:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]846 1235 | return status_internal::MakeError<StatusCode::kUnauthenticated>(message, loc);847 | ^~~~~~~~~848/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1239:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]849 1239 | return status_internal::MakeError<StatusCode::kUnavailable>(message, loc);850 | ^~~~~~~~~851/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1243:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]852 1243 | return status_internal::MakeError<StatusCode::kUnimplemented>(message, loc);853 | ^~~~~~~~~854/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1247:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]855 1247 | return status_internal::MakeError<StatusCode::kUnknown>(message, loc);856 | ^~~~~~~~~857>>> /nix/store/f9hs9r4kcnics2v0l9dbd1b1arx09gza-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/channel.cc858[1/1] (1/2) Processing file /build/source/src/client/channel.cc.859[1/1] (2/2) Processing file /build/source/src/client/channel.cc.860>>> /nix/store/f9hs9r4kcnics2v0l9dbd1b1arx09gza-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/oidc-test.cc861Error while processing /build/source/tests/oidc-test.cc.862/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1169:8: error: expected ';' after top level declarator [clang-diagnostic-error]863 1169 | Status MakeError(string_view message, SourceLocation loc) {864 | ^865/nix/store/2zbvzjnvn09s8xm39ip5pbsa52yn637i-nix-util-2.36.0pre20261004_b010dc99-dev/include/nix/util/error.hh:305:20: note: expanded from macro 'MakeError'866 305 | class newClass : public CloneableError<newClass, superClass> \867 | ^868/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1169:8: error: expected unqualified-id [clang-diagnostic-error]869 1169 | Status MakeError(string_view message, SourceLocation loc) {870 | ^871/nix/store/2zbvzjnvn09s8xm39ip5pbsa52yn637i-nix-util-2.36.0pre20261004_b010dc99-dev/include/nix/util/error.hh:305:22: note: expanded from macro 'MakeError'872 305 | class newClass : public CloneableError<newClass, superClass> \873 | ^874/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1169:18: error: type alias 'string_view' cannot be referenced with the 'class' specifier [clang-diagnostic-error]875 1169 | Status MakeError(string_view message, SourceLocation loc) {876 | ^877/nix/store/5q6bdxkp7lc70gn9mnf4yiybrx8ry5xq-gcc-16.2.0/include/c++/16.2.0/string_view:785:9: note: declared here878 785 | using string_view = basic_string_view<char>;879 | ^880/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1183:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]881 1183 | return status_internal::MakeError<StatusCode::kAborted>(message, loc);882 | ^~~~~~~~~883/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1187:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]884 1187 | return status_internal::MakeError<StatusCode::kAlreadyExists>(message, loc);885 | ^~~~~~~~~886/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1191:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]887 1191 | return status_internal::MakeError<StatusCode::kCancelled>(message, loc);888 | ^~~~~~~~~889/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1195:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]890 1195 | return status_internal::MakeError<StatusCode::kDataLoss>(message, loc);891 | ^~~~~~~~~892/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1199:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]893 1199 | return status_internal::MakeError<StatusCode::kDeadlineExceeded>(message,894 | ^~~~~~~~~895/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1204:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]896 1204 | return status_internal::MakeError<StatusCode::kFailedPrecondition>(message,897 | ^~~~~~~~~898/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1209:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]899 1209 | return status_internal::MakeError<StatusCode::kInternal>(message, loc);900 | ^~~~~~~~~901/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1213:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]902 1213 | return status_internal::MakeError<StatusCode::kInvalidArgument>(message, loc);903 | ^~~~~~~~~904/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1217:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]905 1217 | return status_internal::MakeError<StatusCode::kNotFound>(message, loc);906 | ^~~~~~~~~907/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1221:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]908 1221 | return status_internal::MakeError<StatusCode::kOutOfRange>(message, loc);909 | ^~~~~~~~~910/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1225:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]911 1225 | return status_internal::MakeError<StatusCode::kPermissionDenied>(message,912 | ^~~~~~~~~913/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1230:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]914 1230 | return status_internal::MakeError<StatusCode::kResourceExhausted>(message,915 | ^~~~~~~~~916/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1235:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]917 1235 | return status_internal::MakeError<StatusCode::kUnauthenticated>(message, loc);918 | ^~~~~~~~~919/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1239:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]920 1239 | return status_internal::MakeError<StatusCode::kUnavailable>(message, loc);921 | ^~~~~~~~~922/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1243:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]923 1243 | return status_internal::MakeError<StatusCode::kUnimplemented>(message, loc);924 | ^~~~~~~~~925/nix/store/kdw9qqz0z8hb2i1sv5c629vjibibf4fh-abseil-cpp-20260817.0-dev/include/absl/status/status.h:1247:27: error: no member named 'MakeError' in namespace 'absl::status_internal' [clang-diagnostic-error]926 1247 | return status_internal::MakeError<StatusCode::kUnknown>(message, loc);927 | ^~~~~~~~~928>>> /nix/store/f9hs9r4kcnics2v0l9dbd1b1arx09gza-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/scheduler-test.cc929../tests/scheduler-test.cc:43:9: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]930 43 | assert(heap.size() == ref.size());931 | ^~~~~~932 | static_assert933../tests/scheduler-test.cc:50:13: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]934 50 | assert(ref.at(top) == minKey);935 | ^~~~~~936 | static_assert937../tests/scheduler-test.cc:61:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]938 61 | assert(!fi.emptiest());939 | ^~~~~~940 | static_assert941../tests/scheduler-test.cc:64:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]942 64 | assert(fi.maxFree() == 4 && *fi.emptiest() == 2);943 | ^~~~~~944 | static_assert945../tests/scheduler-test.cc:66:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]946 66 | assert(*fi.emptiest() == 3);947 | ^~~~~~948 | static_assert949../tests/scheduler-test.cc:68:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]950 68 | assert(fi.get(3) == -5 && *fi.emptiest() == 2);951 | ^~~~~~952 | static_assert953../tests/scheduler-test.cc:70:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]954 70 | assert(!fi.emptiest());955 | ^~~~~~956 | static_assert957../tests/scheduler-test.cc:72:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]958 72 | assert(fi.get(4) == 100 && *fi.emptiest() == 4);959 | ^~~~~~960 | static_assert961../tests/scheduler-test.cc:93:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]962 93 | assert(out.empty()); // no workers963 | ^~~~~~964 | static_assert965../tests/scheduler-test.cc:96:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]966 96 | assert(out.size() == 1 && out[0].worker == w0 && out[0].clients.size() == 2);967 | ^~~~~~968 | static_assert969../tests/scheduler-test.cc:99:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]970 99 | assert(res.assigned && res.assigned->first == w0 && res.assigned->second == out[0].assignId);971 | ^~~~~~972 | static_assert973../tests/scheduler-test.cc:101:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]974 101 | assert(!shard.entry(out[0].drv));975 | ^~~~~~976 | static_assert977../tests/scheduler-test.cc:114:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]978 114 | assert(out.size() == 1 && out[0].worker == w1);979 | ^~~~~~980 | static_assert981../tests/scheduler-test.cc:118:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]982 118 | assert(out.size() == 2 && out[1].worker == w0);983 | ^~~~~~984 | static_assert985../tests/scheduler-test.cc:134:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]986 134 | assert(out.size() == 1 && shard.entry(out[0].drv)->drvPath == "fan.drv");987 | ^~~~~~988 | static_assert989../tests/scheduler-test.cc:137:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]990 137 | assert(out.size() == 2 && shard.entry(out[1].drv)->drvPath == "high.drv");991 | ^~~~~~992 | static_assert993../tests/scheduler-test.cc:147:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]994 147 | assert(out.size() == 1);995 | ^~~~~~996 | static_assert997../tests/scheduler-test.cc:149:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]998 149 | assert(shard.queued() == 1);999 | ^~~~~~1000 | static_assert1001../tests/scheduler-test.cc:152:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1002 152 | assert(out.size() == 2 && out[1].worker == w1 && out[1].clients.size() == 1);1003 | ^~~~~~1004 | static_assert1005../tests/scheduler-test.cc:162:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1006 162 | assert(res.assigned && res.assigned->first == w0);1007 | ^~~~~~1008 | static_assert1009../tests/scheduler-test.cc:166:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1010 166 | assert(out.size() == 1); // only one slot left1011 | ^~~~~~1012 | static_assert1013../tests/scheduler-test.cc:169:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1014 169 | assert(out.size() == 2);1015 | ^~~~~~1016 | static_assert1017../tests/scheduler-test.cc:175:6: error: function 'testHelloSupersedes' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors]1018 175 | void testHelloSupersedes()1019 | ^1020../tests/scheduler-test.cc:182:5: note: +1, including nesting penalty of 0, nesting level increased to 11021 182 | assert(out.size() == 1 && out[0].worker == w0);1022 | ^1023/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1024 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1025 | ^1026../tests/scheduler-test.cc:182:28: note: +11027 182 | assert(out.size() == 1 && out[0].worker == w0);1028 | ^1029../tests/scheduler-test.cc:182:5: note: +2, including nesting penalty of 1, nesting level increased to 21030 182 | assert(out.size() == 1 && out[0].worker == w0);1031 | ^1032/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1033 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1034 | ^1035../tests/scheduler-test.cc:182:28: note: +11036 182 | assert(out.size() == 1 && out[0].worker == w0);1037 | ^1038../tests/scheduler-test.cc:185:5: note: +1, including nesting penalty of 0, nesting level increased to 11039 185 | assert(sup.size() == 1 && sup[0].loser == w0);1040 | ^1041/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1042 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1043 | ^1044../tests/scheduler-test.cc:185:28: note: +11045 185 | assert(sup.size() == 1 && sup[0].loser == w0);1046 | ^1047../tests/scheduler-test.cc:185:5: note: +2, including nesting penalty of 1, nesting level increased to 21048 185 | assert(sup.size() == 1 && sup[0].loser == w0);1049 | ^1050/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1051 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1052 | ^1053../tests/scheduler-test.cc:185:28: note: +11054 185 | assert(sup.size() == 1 && sup[0].loser == w0);1055 | ^1056../tests/scheduler-test.cc:187:5: note: +1, including nesting penalty of 0, nesting level increased to 11057 187 | assert(ent && ent->worker == w1 && ent->assignId == 7);1058 | ^1059/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1060 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1061 | ^1062../tests/scheduler-test.cc:187:37: note: +11063 187 | assert(ent && ent->worker == w1 && ent->assignId == 7);1064 | ^1065../tests/scheduler-test.cc:187:5: note: +2, including nesting penalty of 1, nesting level increased to 21066 187 | assert(ent && ent->worker == w1 && ent->assignId == 7);1067 | ^1068/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1069 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1070 | ^1071../tests/scheduler-test.cc:187:37: note: +11072 187 | assert(ent && ent->worker == w1 && ent->assignId == 7);1073 | ^1074../tests/scheduler-test.cc:188:5: note: +1, including nesting penalty of 0, nesting level increased to 11075 188 | assert(ent->followers.size() == 1 && ent->followers[0] == 1);1076 | ^1077/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1078 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1079 | ^1080../tests/scheduler-test.cc:188:39: note: +11081 188 | assert(ent->followers.size() == 1 && ent->followers[0] == 1);1082 | ^1083../tests/scheduler-test.cc:188:5: note: +2, including nesting penalty of 1, nesting level increased to 21084 188 | assert(ent->followers.size() == 1 && ent->followers[0] == 1);1085 | ^1086/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1087 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1088 | ^1089../tests/scheduler-test.cc:188:39: note: +11090 188 | assert(ent->followers.size() == 1 && ent->followers[0] == 1);1091 | ^1092../tests/scheduler-test.cc:189:5: note: +1, including nesting penalty of 0, nesting level increased to 11093 189 | assert(shard.worker(w0).running.empty());1094 | ^1095/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1096 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1097 | ^1098../tests/scheduler-test.cc:189:5: note: +2, including nesting penalty of 1, nesting level increased to 21099 189 | assert(shard.worker(w0).running.empty());1100 | ^1101/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1102 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1103 | ^1104../tests/scheduler-test.cc:194:5: note: +1, including nesting penalty of 0, nesting level increased to 11105 194 | assert(out.size() == 1 && out[0].worker == w0);1106 | ^1107/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1108 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1109 | ^1110../tests/scheduler-test.cc:194:28: note: +11111 194 | assert(out.size() == 1 && out[0].worker == w0);1112 | ^1113../tests/scheduler-test.cc:194:5: note: +2, including nesting penalty of 1, nesting level increased to 21114 194 | assert(out.size() == 1 && out[0].worker == w0);1115 | ^1116/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1117 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1118 | ^1119../tests/scheduler-test.cc:194:28: note: +11120 194 | assert(out.size() == 1 && out[0].worker == w0);1121 | ^1122../tests/scheduler-test.cc:182:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1123 182 | assert(out.size() == 1 && out[0].worker == w0);1124 | ^~~~~~1125 | static_assert1126../tests/scheduler-test.cc:185:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1127 185 | assert(sup.size() == 1 && sup[0].loser == w0);1128 | ^~~~~~1129 | static_assert1130../tests/scheduler-test.cc:187:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1131 187 | assert(ent && ent->worker == w1 && ent->assignId == 7);1132 | ^~~~~~1133 | static_assert1134../tests/scheduler-test.cc:188:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1135 188 | assert(ent->followers.size() == 1 && ent->followers[0] == 1);1136 | ^~~~~~1137 | static_assert1138../tests/scheduler-test.cc:189:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1139 189 | assert(shard.worker(w0).running.empty());1140 | ^~~~~~1141 | static_assert1142../tests/scheduler-test.cc:194:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1143 194 | assert(out.size() == 1 && out[0].worker == w0);1144 | ^~~~~~1145 | static_assert1146../tests/scheduler-test.cc:203:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1147 203 | assert(!shard.cancel(1, "a.drv"));1148 | ^~~~~~1149 | static_assert1150../tests/scheduler-test.cc:204:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1151 204 | assert(shard.queued() == 1);1152 | ^~~~~~1153 | static_assert1154../tests/scheduler-test.cc:205:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1155 205 | assert(!shard.cancel(2, "a.drv"));1156 | ^~~~~~1157 | static_assert1158../tests/scheduler-test.cc:206:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1159 206 | assert(shard.queued() == 0);1160 | ^~~~~~1161 | static_assert1162../tests/scheduler-test.cc:212:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1163 212 | assert(revokes.size() == 1 && revokes[0].second == w0);1164 | ^~~~~~1165 | static_assert1166../tests/scheduler-test.cc:213:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1167 213 | assert(!shard.cancel(9, "nope.drv"));1168 | ^~~~~~1169 | static_assert1170../tests/scheduler-test.cc:224:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1171 224 | assert(out.empty());1172 | ^~~~~~1173 | static_assert1174../tests/scheduler-test.cc:225:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1175 225 | assert(!shard.placeable(res.drv));1176 | ^~~~~~1177 | static_assert1178../tests/scheduler-test.cc:227:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1179 227 | assert(shard.placeable(res.drv));1180 | ^~~~~~1181 | static_assert1182../tests/scheduler-test.cc:229:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1183 229 | assert(out.size() == 1);1184 | ^~~~~~1185 | static_assert1186../tests/scheduler-test.cc:232:6: error: function 'testFeatures' has cognitive complexity of 38 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors]1187 232 | void testFeatures()1188 | ^1189../tests/scheduler-test.cc:243:5: note: +1, including nesting penalty of 0, nesting level increased to 11190 243 | assert(!shard.placeable(gpu));1191 | ^1192/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1193 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1194 | ^1195../tests/scheduler-test.cc:243:5: note: +2, including nesting penalty of 1, nesting level increased to 21196 243 | assert(!shard.placeable(gpu));1197 | ^1198/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1199 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1200 | ^1201../tests/scheduler-test.cc:244:5: note: +1, including nesting penalty of 0, nesting level increased to 11202 244 | assert((shard.offeredFeatures("x") == std::vector<std::string>{"kvm"}));1203 | ^1204/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1205 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1206 | ^1207../tests/scheduler-test.cc:244:5: note: +2, including nesting penalty of 1, nesting level increased to 21208 244 | assert((shard.offeredFeatures("x") == std::vector<std::string>{"kvm"}));1209 | ^1210/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1211 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1212 | ^1213../tests/scheduler-test.cc:245:5: note: +1, including nesting penalty of 0, nesting level increased to 11214 245 | assert(shard.offeredFeatures("y").empty());1215 | ^1216/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1217 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1218 | ^1219../tests/scheduler-test.cc:245:5: note: +2, including nesting penalty of 1, nesting level increased to 21220 245 | assert(shard.offeredFeatures("y").empty());1221 | ^1222/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1223 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1224 | ^1225../tests/scheduler-test.cc:248:5: note: +1, including nesting penalty of 0, nesting level increased to 11226 248 | assert(out.size() == 2);1227 | ^1228/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1229 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1230 | ^1231../tests/scheduler-test.cc:248:5: note: +2, including nesting penalty of 1, nesting level increased to 21232 248 | assert(out.size() == 2);1233 | ^1234/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1235 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1236 | ^1237../tests/scheduler-test.cc:249:5: note: +1, including nesting penalty of 0, nesting level increased to 11238 249 | assert(shard.entry(out[0].drv)->drvPath == "vm.drv" && out[0].worker == kvm);1239 | ^1240/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1241 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1242 | ^1243../tests/scheduler-test.cc:249:57: note: +11244 249 | assert(shard.entry(out[0].drv)->drvPath == "vm.drv" && out[0].worker == kvm);1245 | ^1246../tests/scheduler-test.cc:249:5: note: +2, including nesting penalty of 1, nesting level increased to 21247 249 | assert(shard.entry(out[0].drv)->drvPath == "vm.drv" && out[0].worker == kvm);1248 | ^1249/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1250 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1251 | ^1252../tests/scheduler-test.cc:249:57: note: +11253 249 | assert(shard.entry(out[0].drv)->drvPath == "vm.drv" && out[0].worker == kvm);1254 | ^1255../tests/scheduler-test.cc:250:5: note: +1, including nesting penalty of 0, nesting level increased to 11256 250 | assert(shard.entry(out[1].drv)->drvPath == "a.drv" && out[1].worker == plain);1257 | ^1258/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1259 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1260 | ^1261../tests/scheduler-test.cc:250:56: note: +11262 250 | assert(shard.entry(out[1].drv)->drvPath == "a.drv" && out[1].worker == plain);1263 | ^1264../tests/scheduler-test.cc:250:5: note: +2, including nesting penalty of 1, nesting level increased to 21265 250 | assert(shard.entry(out[1].drv)->drvPath == "a.drv" && out[1].worker == plain);1266 | ^1267/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1268 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1269 | ^1270../tests/scheduler-test.cc:250:56: note: +11271 250 | assert(shard.entry(out[1].drv)->drvPath == "a.drv" && out[1].worker == plain);1272 | ^1273../tests/scheduler-test.cc:251:5: note: +1, including nesting penalty of 0, nesting level increased to 11274 251 | assert(shard.queued() == 2);1275 | ^1276/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1277 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1278 | ^1279../tests/scheduler-test.cc:251:5: note: +2, including nesting penalty of 1, nesting level increased to 21280 251 | assert(shard.queued() == 2);1281 | ^1282/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1283 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1284 | ^1285../tests/scheduler-test.cc:254:5: note: +1, including nesting penalty of 0, nesting level increased to 11286 254 | assert(out.size() == 3 && out[2].worker == kvm);1287 | ^1288/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1289 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1290 | ^1291../tests/scheduler-test.cc:254:28: note: +11292 254 | assert(out.size() == 3 && out[2].worker == kvm);1293 | ^1294../tests/scheduler-test.cc:254:5: note: +2, including nesting penalty of 1, nesting level increased to 21295 254 | assert(out.size() == 3 && out[2].worker == kvm);1296 | ^1297/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1298 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1299 | ^1300../tests/scheduler-test.cc:254:28: note: +11301 254 | assert(out.size() == 3 && out[2].worker == kvm);1302 | ^1303../tests/scheduler-test.cc:256:5: note: +1, including nesting penalty of 0, nesting level increased to 11304 256 | assert(shard.placeable(gpu));1305 | ^1306/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1307 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1308 | ^1309../tests/scheduler-test.cc:256:5: note: +2, including nesting penalty of 1, nesting level increased to 21310 256 | assert(shard.placeable(gpu));1311 | ^1312/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1313 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1314 | ^1315../tests/scheduler-test.cc:258:5: note: +1, including nesting penalty of 0, nesting level increased to 11316 258 | assert(out.size() == 4 && shard.entry(out[3].drv)->drvPath == "gpu.drv");1317 | ^1318/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1319 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1320 | ^1321../tests/scheduler-test.cc:258:28: note: +11322 258 | assert(out.size() == 4 && shard.entry(out[3].drv)->drvPath == "gpu.drv");1323 | ^1324../tests/scheduler-test.cc:258:5: note: +2, including nesting penalty of 1, nesting level increased to 21325 258 | assert(out.size() == 4 && shard.entry(out[3].drv)->drvPath == "gpu.drv");1326 | ^1327/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1328 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1329 | ^1330../tests/scheduler-test.cc:258:28: note: +11331 258 | assert(out.size() == 4 && shard.entry(out[3].drv)->drvPath == "gpu.drv");1332 | ^1333../tests/scheduler-test.cc:243:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1334 243 | assert(!shard.placeable(gpu));1335 | ^~~~~~1336 | static_assert1337../tests/scheduler-test.cc:244:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1338 244 | assert((shard.offeredFeatures("x") == std::vector<std::string>{"kvm"}));1339 | ^~~~~~1340 | static_assert1341../tests/scheduler-test.cc:245:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1342 245 | assert(shard.offeredFeatures("y").empty());1343 | ^~~~~~1344 | static_assert1345../tests/scheduler-test.cc:248:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1346 248 | assert(out.size() == 2);1347 | ^~~~~~1348 | static_assert1349../tests/scheduler-test.cc:249:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1350 249 | assert(shard.entry(out[0].drv)->drvPath == "vm.drv" && out[0].worker == kvm);1351 | ^~~~~~1352 | static_assert1353../tests/scheduler-test.cc:250:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1354 250 | assert(shard.entry(out[1].drv)->drvPath == "a.drv" && out[1].worker == plain);1355 | ^~~~~~1356 | static_assert1357../tests/scheduler-test.cc:251:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1358 251 | assert(shard.queued() == 2);1359 | ^~~~~~1360 | static_assert1361../tests/scheduler-test.cc:254:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1362 254 | assert(out.size() == 3 && out[2].worker == kvm);1363 | ^~~~~~1364 | static_assert1365../tests/scheduler-test.cc:256:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1366 256 | assert(shard.placeable(gpu));1367 | ^~~~~~1368 | static_assert1369../tests/scheduler-test.cc:258:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1370 258 | assert(out.size() == 4 && shard.entry(out[3].drv)->drvPath == "gpu.drv");1371 | ^~~~~~1372 | static_assert1373../tests/scheduler-test.cc:262:6: error: function 'checkStats' has cognitive complexity of 31 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors]1374 262 | void checkStats(Core & shard)1375 | ^1376../tests/scheduler-test.cc:265:23: note: nesting level increased to 11377 265 | auto const stat = [&](const char * sys, const char * feats = "") -> Core::Stats { return sts[{.system = sys, .features = feats}]; };1378 | ^1379../tests/scheduler-test.cc:266:5: note: +1, including nesting penalty of 0, nesting level increased to 11380 266 | assert(stat("aarch64").slots == 2 && stat("aarch64").free == 1 && stat("aarch64").running == 1);1381 | ^1382/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1383 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1384 | ^1385../tests/scheduler-test.cc:266:68: note: +11386 266 | assert(stat("aarch64").slots == 2 && stat("aarch64").free == 1 && stat("aarch64").running == 1);1387 | ^1388../tests/scheduler-test.cc:266:5: note: +2, including nesting penalty of 1, nesting level increased to 21389 266 | assert(stat("aarch64").slots == 2 && stat("aarch64").free == 1 && stat("aarch64").running == 1);1390 | ^1391/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1392 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1393 | ^1394../tests/scheduler-test.cc:266:68: note: +11395 266 | assert(stat("aarch64").slots == 2 && stat("aarch64").free == 1 && stat("aarch64").running == 1);1396 | ^1397../tests/scheduler-test.cc:267:5: note: +1, including nesting penalty of 0, nesting level increased to 11398 267 | assert(stat("x86_64").slots == 1 && stat("x86_64").free == 0 && stat("i686").slots == 0);1399 | ^1400/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1401 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1402 | ^1403../tests/scheduler-test.cc:267:66: note: +11404 267 | assert(stat("x86_64").slots == 1 && stat("x86_64").free == 0 && stat("i686").slots == 0);1405 | ^1406../tests/scheduler-test.cc:267:5: note: +2, including nesting penalty of 1, nesting level increased to 21407 267 | assert(stat("x86_64").slots == 1 && stat("x86_64").free == 0 && stat("i686").slots == 0);1408 | ^1409/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1410 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1411 | ^1412../tests/scheduler-test.cc:267:66: note: +11413 267 | assert(stat("x86_64").slots == 1 && stat("x86_64").free == 0 && stat("i686").slots == 0);1414 | ^1415../tests/scheduler-test.cc:268:5: note: +1, including nesting penalty of 0, nesting level increased to 11416 268 | assert(stat("x86_64").queued + stat("i686").queued == 1 && stat("x86_64").running + stat("i686").running == 1);1417 | ^1418/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1419 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1420 | ^1421../tests/scheduler-test.cc:268:61: note: +11422 268 | assert(stat("x86_64").queued + stat("i686").queued == 1 && stat("x86_64").running + stat("i686").running == 1);1423 | ^1424../tests/scheduler-test.cc:268:5: note: +2, including nesting penalty of 1, nesting level increased to 21425 268 | assert(stat("x86_64").queued + stat("i686").queued == 1 && stat("x86_64").running + stat("i686").running == 1);1426 | ^1427/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1428 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1429 | ^1430../tests/scheduler-test.cc:268:61: note: +11431 268 | assert(stat("x86_64").queued + stat("i686").queued == 1 && stat("x86_64").running + stat("i686").running == 1);1432 | ^1433../tests/scheduler-test.cc:269:5: note: +1, including nesting penalty of 0, nesting level increased to 11434 269 | assert(stat("x86_64").unplaceable + stat("i686").unplaceable == 0);1435 | ^1436/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1437 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1438 | ^1439../tests/scheduler-test.cc:269:5: note: +2, including nesting penalty of 1, nesting level increased to 21440 269 | assert(stat("x86_64").unplaceable + stat("i686").unplaceable == 0);1441 | ^1442/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1443 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1444 | ^1445../tests/scheduler-test.cc:270:5: note: +1, including nesting penalty of 0, nesting level increased to 11446 270 | assert(stat("riscv").queued == 1 && stat("riscv").unplaceable == 1);1447 | ^1448/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1449 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1450 | ^1451../tests/scheduler-test.cc:270:38: note: +11452 270 | assert(stat("riscv").queued == 1 && stat("riscv").unplaceable == 1);1453 | ^1454../tests/scheduler-test.cc:270:5: note: +2, including nesting penalty of 1, nesting level increased to 21455 270 | assert(stat("riscv").queued == 1 && stat("riscv").unplaceable == 1);1456 | ^1457/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1458 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1459 | ^1460../tests/scheduler-test.cc:270:38: note: +11461 270 | assert(stat("riscv").queued == 1 && stat("riscv").unplaceable == 1);1462 | ^1463../tests/scheduler-test.cc:274:5: note: +1, including nesting penalty of 0, nesting level increased to 11464 274 | assert(stat("aarch64", "big,kvm").queued == 1 && stat("aarch64", "big,kvm").unplaceable == 1);1465 | ^1466/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1467 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1468 | ^1469../tests/scheduler-test.cc:274:51: note: +11470 274 | assert(stat("aarch64", "big,kvm").queued == 1 && stat("aarch64", "big,kvm").unplaceable == 1);1471 | ^1472../tests/scheduler-test.cc:274:5: note: +2, including nesting penalty of 1, nesting level increased to 21473 274 | assert(stat("aarch64", "big,kvm").queued == 1 && stat("aarch64", "big,kvm").unplaceable == 1);1474 | ^1475/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1476 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1477 | ^1478../tests/scheduler-test.cc:274:51: note: +11479 274 | assert(stat("aarch64", "big,kvm").queued == 1 && stat("aarch64", "big,kvm").unplaceable == 1);1480 | ^1481../tests/scheduler-test.cc:275:5: note: +1, including nesting penalty of 0, nesting level increased to 11482 275 | assert(stat("aarch64").queued == 0);1483 | ^1484/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1485 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1486 | ^1487../tests/scheduler-test.cc:275:5: note: +2, including nesting penalty of 1, nesting level increased to 21488 275 | assert(stat("aarch64").queued == 0);1489 | ^1490/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1491 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1492 | ^1493../tests/scheduler-test.cc:266:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1494 266 | assert(stat("aarch64").slots == 2 && stat("aarch64").free == 1 && stat("aarch64").running == 1);1495 | ^~~~~~1496 | static_assert1497../tests/scheduler-test.cc:267:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1498 267 | assert(stat("x86_64").slots == 1 && stat("x86_64").free == 0 && stat("i686").slots == 0);1499 | ^~~~~~1500 | static_assert1501../tests/scheduler-test.cc:268:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1502 268 | assert(stat("x86_64").queued + stat("i686").queued == 1 && stat("x86_64").running + stat("i686").running == 1);1503 | ^~~~~~1504 | static_assert1505../tests/scheduler-test.cc:269:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1506 269 | assert(stat("x86_64").unplaceable + stat("i686").unplaceable == 0);1507 | ^~~~~~1508 | static_assert1509../tests/scheduler-test.cc:270:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1510 270 | assert(stat("riscv").queued == 1 && stat("riscv").unplaceable == 1);1511 | ^~~~~~1512 | static_assert1513../tests/scheduler-test.cc:274:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1514 274 | assert(stat("aarch64", "big,kvm").queued == 1 && stat("aarch64", "big,kvm").unplaceable == 1);1515 | ^~~~~~1516 | static_assert1517../tests/scheduler-test.cc:275:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1518 275 | assert(stat("aarch64").queued == 0);1519 | ^~~~~~1520 | static_assert1521../tests/scheduler-test.cc:279:6: error: function 'testSystems' has cognitive complexity of 36 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors]1522 279 | void testSystems()1523 | ^1524../tests/scheduler-test.cc:292:5: note: +1, including nesting penalty of 0, nesting level increased to 11525 292 | assert(out.size() == 2);1526 | ^1527/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1528 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1529 | ^1530../tests/scheduler-test.cc:292:5: note: +2, including nesting penalty of 1, nesting level increased to 21531 292 | assert(out.size() == 2);1532 | ^1533/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1534 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1535 | ^1536../tests/scheduler-test.cc:294:5: note: +1, including nesting penalty of 0, nesting level increased to 11537 294 | for (auto const & asg : out) {1538 | ^1539../tests/scheduler-test.cc:296:9: note: +2, including nesting penalty of 1, nesting level increased to 21540 296 | if (ent->drvPath == "b.drv") {1541 | ^1542../tests/scheduler-test.cc:297:13: note: +3, including nesting penalty of 2, nesting level increased to 31543 297 | assert(asg.worker == arm);1544 | ^1545/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1546 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1547 | ^1548../tests/scheduler-test.cc:297:13: note: +4, including nesting penalty of 3, nesting level increased to 41549 297 | assert(asg.worker == arm);1550 | ^1551/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1552 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1553 | ^1554../tests/scheduler-test.cc:298:11: note: +1, nesting level increased to 21555 298 | } else {1556 | ^1557../tests/scheduler-test.cc:299:13: note: +3, including nesting penalty of 2, nesting level increased to 31558 299 | assert(asg.worker == both);1559 | ^1560/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1561 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1562 | ^1563../tests/scheduler-test.cc:299:13: note: +4, including nesting penalty of 3, nesting level increased to 41564 299 | assert(asg.worker == both);1565 | ^1566/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1567 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1568 | ^1569../tests/scheduler-test.cc:303:5: note: +1, including nesting penalty of 0, nesting level increased to 11570 303 | assert(onBoth == 1);1571 | ^1572/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1573 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1574 | ^1575../tests/scheduler-test.cc:303:5: note: +2, including nesting penalty of 1, nesting level increased to 21576 303 | assert(onBoth == 1);1577 | ^1578/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1579 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1580 | ^1581../tests/scheduler-test.cc:304:5: note: +1, including nesting penalty of 0, nesting level increased to 11582 304 | assert(!shard.placeable(shard.drvId("d.drv")));1583 | ^1584/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1585 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1586 | ^1587../tests/scheduler-test.cc:304:5: note: +2, including nesting penalty of 1, nesting level increased to 21588 304 | assert(!shard.placeable(shard.drvId("d.drv")));1589 | ^1590/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1591 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1592 | ^1593../tests/scheduler-test.cc:305:5: note: +1, including nesting penalty of 0, nesting level increased to 11594 305 | assert(shard.queued() == 2);1595 | ^1596/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1597 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1598 | ^1599../tests/scheduler-test.cc:305:5: note: +2, including nesting penalty of 1, nesting level increased to 21600 305 | assert(shard.queued() == 2);1601 | ^1602/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1603 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1604 | ^1605../tests/scheduler-test.cc:308:56: note: +1, including nesting penalty of 0, nesting level increased to 11606 308 | shard.done(both, shard.entry(out[0].worker == both ? out[0].drv : out[1].drv)->drvPath, {});1607 | ^1608../tests/scheduler-test.cc:311:5: note: +1, including nesting penalty of 0, nesting level increased to 11609 311 | assert(out.size() == 1 && out[0].worker == both);1610 | ^1611/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:7: note: expanded from macro 'assert'1612 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1613 | ^1614../tests/scheduler-test.cc:311:28: note: +11615 311 | assert(out.size() == 1 && out[0].worker == both);1616 | ^1617../tests/scheduler-test.cc:311:5: note: +2, including nesting penalty of 1, nesting level increased to 21618 311 | assert(out.size() == 1 && out[0].worker == both);1619 | ^1620/nix/store/m38wglsqnh1mrmj2cmqa3pjb6w4yjxdi-glibc-2.44-25-dev/include/assert.h:139:17: note: expanded from macro 'assert'1621 139 | ? void (1 ? 1 : bool (__VA_ARGS__)) \1622 | ^1623../tests/scheduler-test.cc:311:28: note: +11624 311 | assert(out.size() == 1 && out[0].worker == both);1625 | ^1626../tests/scheduler-test.cc:292:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1627 292 | assert(out.size() == 2);1628 | ^~~~~~1629 | static_assert1630../tests/scheduler-test.cc:297:13: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1631 297 | assert(asg.worker == arm);1632 | ^~~~~~1633 | static_assert1634../tests/scheduler-test.cc:299:13: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1635 299 | assert(asg.worker == both);1636 | ^~~~~~1637 | static_assert1638../tests/scheduler-test.cc:303:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1639 303 | assert(onBoth == 1);1640 | ^~~~~~1641 | static_assert1642../tests/scheduler-test.cc:304:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1643 304 | assert(!shard.placeable(shard.drvId("d.drv")));1644 | ^~~~~~1645 | static_assert1646../tests/scheduler-test.cc:305:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1647 305 | assert(shard.queued() == 2);1648 | ^~~~~~1649 | static_assert1650../tests/scheduler-test.cc:311:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1651 311 | assert(out.size() == 1 && out[0].worker == both);1652 | ^~~~~~1653 | static_assert1654../tests/scheduler-test.cc:324:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1655 324 | assert(shard.workersUp() == 1);1656 | ^~~~~~1657 | static_assert1658../tests/scheduler-test.cc:331:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1659 331 | assert(threw);1660 | ^~~~~~1661 | static_assert1662>>> /nix/store/f9hs9r4kcnics2v0l9dbd1b1arx09gza-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/build.cc1663Errors encountered while running clang-tidy1664../src/client/build.cc:249:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1665 249 | assert(remaining > 0);1666 | ^~~~~~1667 | static_assert1668../src/client/build.cc:255:7: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]1669 255 | assert(dep->waiting > 0);1670 | ^~~~~~1671 | static_assert1672FAILED: [code=1] meson-internal__clang-tidy 1673/nix/store/r72868g8znkk4m8pmwsn3cf8v3h84mr0-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always1674ninja: build stopped: subcommand failed.