nix-grpc-store-clang-tidy-0.1.0
checks.aarch64-darwin.clang-tidy
· build #121
· raw
unpackPhase
1unpacking source archive /nix/store/9qh8znjwdkxlbjqw9hrqkylvbc1qn4mh-source2source root is sourceconfigurePhase
3mesonConfigurePhase flags: --prefix=/nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.0 --libdir=/nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.0/lib --libexecdir=/nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.0/libexec --bindir=/nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.0/bin --sbindir=/nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.0/sbin --includedir=/nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.0/include --mandir=/nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.0/share/man --infodir=/nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.0/share/info --localedir=/nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.0/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain4The Meson build system5Version: 1.10.26Source dir: /nix/var/nix/builds/nix-74558-3314372736/source7Build dir: /nix/var/nix/builds/nix-74558-3314372736/source/build8Build type: native build9WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead10Project name: nix-grpc-store11Project version: 0.1.012C++ compiler for the host machine: clang++ (clang 21.1.8 "clang version 21.1.8")13C++ linker for the host machine: clang++ ld64 956.614Host machine cpu family: aarch6415Host machine cpu: aarch6416Found pkg-config: YES (/nix/store/y3kq99w9rf07m43pggj5g596yy1qkvps-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.217Run-time dependency grpc++ found: YES 1.83.018Run-time dependency protobuf found: YES 35.1.019Run-time dependency libzstd found: YES 1.5.720Run-time dependency threads found: YES21Run-time dependency libcrypto found: YES 3.6.322Run-time dependency prometheus-cpp-core found: YES 1.3.023Run-time dependency prometheus-cpp-pull found: YES 1.3.024Run-time dependency nix-store found: YES 2.36.0pre20260901_72385de1+125Run-time dependency nix-util found: YES 2.36.0pre20260901_72385de1+126Run-time dependency libcurl found: YES 8.21.027Run-time dependency nlohmann_json found: YES 3.12.028Program protoc found: YES (/nix/store/wylvda2p4ab62dzzsgppbclpmh4j2f8r-protobuf-35.1/bin/protoc)29Program grpc_cpp_plugin found: YES (/nix/store/y1545dr7vy81bimhbk824p01rvzvj987-grpc-1.83.0/bin/grpc_cpp_plugin)30Run-time dependency dl found: YES31Program tests/farm-client-test.sh found: YES (/nix/var/nix/builds/nix-74558-3314372736/source/tests/farm-client-test.sh)32Program tests/oidc-test.sh found: YES (/nix/var/nix/builds/nix-74558-3314372736/source/tests/oidc-test.sh)33Build targets in project: 734WARNING: Project specifies no minimum version but uses features which were added in versions:35 * 1.1: {'meson.options file'}3637nix-grpc-store 0.1.03839 User defined options40 auto_features: enabled41 bindir : /nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.0/bin42 buildtype : plain43 includedir : /nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.0/include44 infodir : /nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.0/share/info45 libdir : /nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.0/lib46 libexecdir : /nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.0/libexec47 localedir : /nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.0/share/locale48 mandir : /nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.0/share/man49 prefix : /nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.050 sbindir : /nix/store/86wfh8c947ihv9lg91m9mnf84ybpsq1c-nix-grpc-store-clang-tidy-0.1.0/sbin51 wrap_mode : nodownload5253Found ninja-1.13.2 at /nix/store/qqid6lbkgb6ihf048ypbc2na5s97hy1d-ninja-1.13.2/bin/ninja54mesonConfigurePhase: enabled\ parallel\ buildingbuildPhase
55[1/1] Generating nix_remote_proto with a custom command56[0/1] /nix/store/735yy09gy9j1wzwrsd1v1xrgf6izyr5d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-74558-3314372736/source /nix/var/nix/builds/nix-74558-3314372736/source/build --color always57>>> /nix/store/d8f8g6pnqn4rn18ma7341afkdk0hbj07-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-74558-3314372736/source/build /nix/var/nix/builds/nix-74558-3314372736/source/tests/xfcc-test.cc58../src/xfcc.hh:23:13: error: function 'subjectCommonName' has cognitive complexity of 48 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors]59 23 | inline auto subjectCommonName(std::string_view value) -> std::optional<std::string>60 | ^61../src/xfcc.hh:26:22: note: nesting level increased to 162 26 | auto readValue = [&]() -> std::string {63 | ^64../src/xfcc.hh:28:9: note: +2, including nesting penalty of 1, nesting level increased to 265 28 | if (pos < value.size() && value[pos] == '"') {66 | ^67../src/xfcc.hh:28:32: note: +168 28 | if (pos < value.size() && value[pos] == '"') {69 | ^70../src/xfcc.hh:31:13: note: +3, including nesting penalty of 2, nesting level increased to 371 31 | while (pos < value.size() && value[pos] != '"') {72 | ^73../src/xfcc.hh:31:39: note: +174 31 | while (pos < value.size() && value[pos] != '"') {75 | ^76../src/xfcc.hh:32:17: note: +4, including nesting penalty of 3, nesting level increased to 477 32 | if (value[pos] == '\\' && pos + 1 < value.size()) {78 | ^79../src/xfcc.hh:32:40: note: +180 32 | if (value[pos] == '\\' && pos + 1 < value.size()) {81 | ^82../src/xfcc.hh:37:13: note: +3, including nesting penalty of 2, nesting level increased to 383 37 | if (pos < value.size()) {84 | ^85../src/xfcc.hh:40:11: note: +1, nesting level increased to 286 40 | } else {87 | ^88../src/xfcc.hh:41:13: note: +3, including nesting penalty of 2, nesting level increased to 389 41 | while (pos < value.size() && value[pos] != ';' && value[pos] != ',') {90 | ^91../src/xfcc.hh:41:60: note: +192 41 | while (pos < value.size() && value[pos] != ';' && value[pos] != ',') {93 | ^94../src/xfcc.hh:47:5: note: +1, including nesting penalty of 0, nesting level increased to 195 47 | while (pos < value.size()) {96 | ^97../src/xfcc.hh:49:9: note: +2, including nesting penalty of 1, nesting level increased to 298 49 | if (eq == std::string_view::npos) {99 | ^100../src/xfcc.hh:55:9: note: +2, including nesting penalty of 1, nesting level increased to 2101 55 | if (key == "Subject") {102 | ^103../src/xfcc.hh:59:13: note: +3, including nesting penalty of 2, nesting level increased to 3104 59 | while (at < dn.size()) {105 | ^106../src/xfcc.hh:62:17: note: +4, including nesting penalty of 3, nesting level increased to 4107 62 | while (next < dn.size() && dn[next] != ',' && dn[next] != '/') {108 | ^109../src/xfcc.hh:62:60: note: +1110 62 | while (next < dn.size() && dn[next] != ',' && dn[next] != '/') {111 | ^112../src/xfcc.hh:63:21: note: +5, including nesting penalty of 4, nesting level increased to 5113 63 | if (dn[next] == '\\' && next + 1 < dn.size()) {114 | ^115../src/xfcc.hh:63:42: note: +1116 63 | if (dn[next] == '\\' && next + 1 < dn.size()) {117 | ^118../src/xfcc.hh:69:17: note: +4, including nesting penalty of 3, nesting level increased to 4119 69 | if (view.starts_with("CN=")) {120 | ^121../src/xfcc.hh:76:9: note: +2, including nesting penalty of 1, nesting level increased to 2122 76 | if (pos < value.size() && value[pos] == ',') {123 | ^124../src/xfcc.hh:76:32: note: +1125 76 | if (pos < value.size() && value[pos] == ',') {126 | ^127../src/xfcc.hh:79:9: note: +2, including nesting penalty of 1, nesting level increased to 2128 79 | if (pos < value.size()) {129 | ^130../src/xfcc.hh:28:40: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]131 28 | if (pos < value.size() && value[pos] == '"') {132 | ^~~~~133../src/xfcc.hh:31:47: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]134 31 | while (pos < value.size() && value[pos] != '"') {135 | ^~~~~136../src/xfcc.hh:32:26: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]137 32 | if (value[pos] == '\\' && pos + 1 < value.size()) {138 | ^~~~~139../src/xfcc.hh:33:33: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]140 33 | out += value[pos++];141 | ^~~~~~~142../src/xfcc.hh:35:29: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]143 35 | out += value[pos++];144 | ^~~~~~~145../src/xfcc.hh:41:47: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]146 41 | while (pos < value.size() && value[pos] != ';' && value[pos] != ',') {147 | ^~~~~148../src/xfcc.hh:41:68: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]149 41 | while (pos < value.size() && value[pos] != ';' && value[pos] != ',') {150 | ^~~~~151../src/xfcc.hh:42:29: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]152 42 | out += value[pos++];153 | ^~~~~~~154../src/xfcc.hh:48:14: error: variable name 'eq' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors]155 48 | auto eq = value.find('=', pos);156 | ^157../src/xfcc.hh:57:13: error: variable 'dn' of type 'std::string_view' (aka 'basic_string_view<char>') can be declared 'const' [misc-const-correctness,-warnings-as-errors]158 57 | std::string_view dn = val;159 | ^160 | const 161../src/xfcc.hh:57:30: error: variable name 'dn' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors]162 57 | std::string_view dn = val;163 | ^164../src/xfcc.hh:58:20: error: variable name 'at' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors]165 58 | size_t at = 0;166 | ^167../src/xfcc.hh:62:46: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]168 62 | while (next < dn.size() && dn[next] != ',' && dn[next] != '/') {169 | ^~~~~~170../src/xfcc.hh:62:65: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]171 62 | while (next < dn.size() && dn[next] != ',' && dn[next] != '/') {172 | ^~~~~~173../src/xfcc.hh:63:27: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]174 63 | if (dn[next] == '\\' && next + 1 < dn.size()) {175 | ^~~~~~176../src/xfcc.hh:66:31: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]177 66 | attr += dn[next++];178 | ^~~~~~~~179../src/xfcc.hh:76:40: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]180 76 | if (pos < value.size() && value[pos] == ',') {181 | ^~~~~182../src/xfcc.hh:116:9: error: replace loop by 'std::ranges::any_of()' [readability-use-anyofallof,-warnings-as-errors]183 116 | for (const auto & pattern : patterns) {184 | ^185../tests/xfcc-test.cc:10:6: error: an exception may be thrown in function 'main' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]186 10 | auto main() -> int187 | ^188/nix/store/klydx0x6ay8islhglaxarjg4c6j2m8y3-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/stdexcept:256:3: note: frame #0: unhandled exception of type 'out_of_range' may be thrown in function '__throw_out_of_range' here189 256 | throw out_of_range(__msg);190 | ^191/nix/store/klydx0x6ay8islhglaxarjg4c6j2m8y3-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string_view:464:30: note: frame #1: function 'substr' calls function '__throw_out_of_range' here192 464 | return __pos > size() ? (__throw_out_of_range("string_view::substr"), basic_string_view())193 | ^194../src/xfcc.hh:52:20: note: frame #2: function 'subjectCommonName' calls function 'substr' here195 52 | auto key = value.substr(pos, eq - pos);196 | ^197../tests/xfcc-test.cc:14:9: note: frame #3: function 'main' calls function 'subjectCommonName' here198 14 | subjectCommonName(R"(By=spiffe://lb;Hash=abcd;Subject="CN=ci-1,OU=build,O=numtide";URI=spiffe://x)") == "ci-1");199 | ^200>>> /nix/store/d8f8g6pnqn4rn18ma7341afkdk0hbj07-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-74558-3314372736/source/build /nix/var/nix/builds/nix-74558-3314372736/source/src/nix-grpc-daemon.cc201Errors encountered while running clang-tidy202../src/xfcc.hh:23:13: error: function 'subjectCommonName' has cognitive complexity of 48 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors]203 23 | inline auto subjectCommonName(std::string_view value) -> std::optional<std::string>204 | ^205../src/xfcc.hh:26:22: note: nesting level increased to 1206 26 | auto readValue = [&]() -> std::string {207 | ^208../src/xfcc.hh:28:9: note: +2, including nesting penalty of 1, nesting level increased to 2209 28 | if (pos < value.size() && value[pos] == '"') {210 | ^211../src/xfcc.hh:28:32: note: +1212 28 | if (pos < value.size() && value[pos] == '"') {213 | ^214../src/xfcc.hh:31:13: note: +3, including nesting penalty of 2, nesting level increased to 3215 31 | while (pos < value.size() && value[pos] != '"') {216 | ^217../src/xfcc.hh:31:39: note: +1218 31 | while (pos < value.size() && value[pos] != '"') {219 | ^220../src/xfcc.hh:32:17: note: +4, including nesting penalty of 3, nesting level increased to 4221 32 | if (value[pos] == '\\' && pos + 1 < value.size()) {222 | ^223../src/xfcc.hh:32:40: note: +1224 32 | if (value[pos] == '\\' && pos + 1 < value.size()) {225 | ^226../src/xfcc.hh:37:13: note: +3, including nesting penalty of 2, nesting level increased to 3227 37 | if (pos < value.size()) {228 | ^229../src/xfcc.hh:40:11: note: +1, nesting level increased to 2230 40 | } else {231 | ^232../src/xfcc.hh:41:13: note: +3, including nesting penalty of 2, nesting level increased to 3233 41 | while (pos < value.size() && value[pos] != ';' && value[pos] != ',') {234 | ^235../src/xfcc.hh:41:60: note: +1236 41 | while (pos < value.size() && value[pos] != ';' && value[pos] != ',') {237 | ^238../src/xfcc.hh:47:5: note: +1, including nesting penalty of 0, nesting level increased to 1239 47 | while (pos < value.size()) {240 | ^241../src/xfcc.hh:49:9: note: +2, including nesting penalty of 1, nesting level increased to 2242 49 | if (eq == std::string_view::npos) {243 | ^244../src/xfcc.hh:55:9: note: +2, including nesting penalty of 1, nesting level increased to 2245 55 | if (key == "Subject") {246 | ^247../src/xfcc.hh:59:13: note: +3, including nesting penalty of 2, nesting level increased to 3248 59 | while (at < dn.size()) {249 | ^250../src/xfcc.hh:62:17: note: +4, including nesting penalty of 3, nesting level increased to 4251 62 | while (next < dn.size() && dn[next] != ',' && dn[next] != '/') {252 | ^253../src/xfcc.hh:62:60: note: +1254 62 | while (next < dn.size() && dn[next] != ',' && dn[next] != '/') {255 | ^256../src/xfcc.hh:63:21: note: +5, including nesting penalty of 4, nesting level increased to 5257 63 | if (dn[next] == '\\' && next + 1 < dn.size()) {258 | ^259../src/xfcc.hh:63:42: note: +1260 63 | if (dn[next] == '\\' && next + 1 < dn.size()) {261 | ^262../src/xfcc.hh:69:17: note: +4, including nesting penalty of 3, nesting level increased to 4263 69 | if (view.starts_with("CN=")) {264 | ^265../src/xfcc.hh:76:9: note: +2, including nesting penalty of 1, nesting level increased to 2266 76 | if (pos < value.size() && value[pos] == ',') {267 | ^268../src/xfcc.hh:76:32: note: +1269 76 | if (pos < value.size() && value[pos] == ',') {270 | ^271../src/xfcc.hh:79:9: note: +2, including nesting penalty of 1, nesting level increased to 2272 79 | if (pos < value.size()) {273 | ^274../src/xfcc.hh:28:40: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]275 28 | if (pos < value.size() && value[pos] == '"') {276 | ^~~~~277../src/xfcc.hh:31:47: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]278 31 | while (pos < value.size() && value[pos] != '"') {279 | ^~~~~280../src/xfcc.hh:32:26: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]281 32 | if (value[pos] == '\\' && pos + 1 < value.size()) {282 | ^~~~~283../src/xfcc.hh:33:33: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]284 33 | out += value[pos++];285 | ^~~~~~~286../src/xfcc.hh:35:29: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]287 35 | out += value[pos++];288 | ^~~~~~~289../src/xfcc.hh:41:47: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]290 41 | while (pos < value.size() && value[pos] != ';' && value[pos] != ',') {291 | ^~~~~292../src/xfcc.hh:41:68: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]293 41 | while (pos < value.size() && value[pos] != ';' && value[pos] != ',') {294 | ^~~~~295../src/xfcc.hh:42:29: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]296 42 | out += value[pos++];297 | ^~~~~~~298../src/xfcc.hh:48:14: error: variable name 'eq' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors]299 48 | auto eq = value.find('=', pos);300 | ^301../src/xfcc.hh:57:13: error: variable 'dn' of type 'std::string_view' (aka 'basic_string_view<char>') can be declared 'const' [misc-const-correctness,-warnings-as-errors]302 57 | std::string_view dn = val;303 | ^304 | const 305../src/xfcc.hh:57:30: error: variable name 'dn' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors]306 57 | std::string_view dn = val;307 | ^308../src/xfcc.hh:58:20: error: variable name 'at' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors]309 58 | size_t at = 0;310 | ^311../src/xfcc.hh:62:46: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]312 62 | while (next < dn.size() && dn[next] != ',' && dn[next] != '/') {313 | ^~~~~~314../src/xfcc.hh:62:65: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]315 62 | while (next < dn.size() && dn[next] != ',' && dn[next] != '/') {316 | ^~~~~~317../src/xfcc.hh:63:27: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]318 63 | if (dn[next] == '\\' && next + 1 < dn.size()) {319 | ^~~~~~320../src/xfcc.hh:66:31: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]321 66 | attr += dn[next++];322 | ^~~~~~~~323../src/xfcc.hh:76:40: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]324 76 | if (pos < value.size() && value[pos] == ',') {325 | ^~~~~326../src/xfcc.hh:116:9: error: replace loop by 'std::ranges::any_of()' [readability-use-anyofallof,-warnings-as-errors]327 116 | for (const auto & pattern : patterns) {328 | ^329FAILED: [code=1] meson-internal__clang-tidy 330/nix/store/735yy09gy9j1wzwrsd1v1xrgf6izyr5d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-74558-3314372736/source /nix/var/nix/builds/nix-74558-3314372736/source/build --color always331ninja: build stopped: subcommand failed.