this derivation will be built: /nix/store/cw7jhx1cr365wchd68jb9hzh41yv8n4r-wrap-buddy-clang-tidy.drv these 2 paths will be fetched (32.0 KiB download, 133.3 KiB unpacked): /nix/store/hwp8aw86bq6l53yx4qpp8f0z08dws9m8-clang-wrapper-21.1.8 /nix/store/90c8p331x3nf76sxrd7aacdinywjjqn4-stdenv-linux error: Cannot build '/nix/store/cw7jhx1cr365wchd68jb9hzh41yv8n4r-wrap-buddy-clang-tidy.drv'. Reason: builder failed with exit code 2. Output paths: /nix/store/3p401amb2a1zkbczshcf64bqdgijrxy8-wrap-buddy-clang-tidy Last 25 log lines: > [3/3] Processing file /build/source/src/patcher/main.cc. > 6532 warnings and 1 error generated. > Error while processing /build/source/src/patcher/main.cc. > src/patcher/args.h:7:10: error: 'expected' file not found [clang-diagnostic-error] > 7 | #include > | ^~~~~~~~~~ > src/patcher/main.cc:58:36: error: forwarding reference parameter 'callback' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] > 58 | Callback &&callback) -> void { > | ^ > src/patcher/main.cc:228:5: error: if with identical then and else branches [bugprone-branch-clone,-warnings-as-errors] > 228 | if (!stub_64.empty()) { > | ^ > src/patcher/main.cc:230:7: note: else branch starts here > 230 | } else { > | ^ > src/patcher/main.cc:235:5: error: if with identical then and else branches [bugprone-branch-clone,-warnings-as-errors] > 235 | if (!stub_32.empty()) { > | ^ > src/patcher/main.cc:237:7: note: else branch starts here > 237 | } else { > | ^ > Suppressed 6534 warnings (6529 in non-user code, 5 NOLINT). > Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. > 3 warnings treated as errors > make: *** [Makefile:164: clang-tidy] Error 1 For full logs, run: nix log /nix/store/cw7jhx1cr365wchd68jb9hzh41yv8n4r-wrap-buddy-clang-tidy.drv