this derivation will be built: /nix/store/cj20izim1z2wihi2r3k5b15ag15gzxs6-wrap-buddy-clang-tidy.drv these 4 paths will be fetched (2.9 MiB download, 18.8 MiB unpacked): /nix/store/7xkmcn3wdg3r262al7w49gka3a32h2zb-clang-wrapper-21.1.8 /nix/store/7mlarw6pyfnyylir2baq7jsk3vqhi77y-libcxx-21.1.8 /nix/store/128aqpbd03b1qq7zdispqajs2pclqyf6-libcxx-21.1.8-dev /nix/store/d8rdm5x28pmdlpj2z4ap9yl95j9557gy-stdenv-linux building '/nix/store/cj20izim1z2wihi2r3k5b15ag15gzxs6-wrap-buddy-clang-tidy.drv' wrap-buddy-clang-tidy> tribuchet: building on jamie wrap-buddy-clang-tidy> Running phase: unpackPhase wrap-buddy-clang-tidy> unpacking source archive /nix/store/4zznh878gcxdzzfan3cbl03ky2xz5y8a-source wrap-buddy-clang-tidy> source root is source wrap-buddy-clang-tidy> Running phase: patchPhase wrap-buddy-clang-tidy> Running phase: updateAutotoolsGnuConfigScriptsPhase wrap-buddy-clang-tidy> Running phase: configurePhase wrap-buddy-clang-tidy> no configure script, doing nothing wrap-buddy-clang-tidy> Running phase: buildPhase wrap-buddy-clang-tidy> { jq -n --arg d "/build/source" --arg f src/patcher/main.cc '{directory: $d, file: $f, arguments: $ARGS.positional + [$f]}' --args -- c++ -std=c++23 -Wall -Wextra -O2 -Iinclude -DRELOCATABLE_LOADER_PATH_PLACEHOLDER='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -DLIBDIR='"/usr/local/lib/wrap-buddy"' \ wrap-buddy-clang-tidy> -DHAVE_STUB_32 '-DDEFAULT_INTERP="/nix/store/dummy/ld.so"' \ wrap-buddy-clang-tidy> '-DDEFAULT_LIBC_LIB="/nix/store/dummy/lib"' -Isrc/patcher; \ wrap-buddy-clang-tidy> jq -n --arg d "/build/source" --arg f src/loader/loader.c '{directory: $d, file: $f, arguments: $ARGS.positional + [$f]}' --args -- clang -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -Iinclude; \ wrap-buddy-clang-tidy> jq -n --arg d "/build/source" --arg f src/stub/stub.c '{directory: $d, file: $f, arguments: $ARGS.positional + [$f]}' --args -- clang -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude \ wrap-buddy-clang-tidy> '-DLOADER_PATH="/usr/local/lib/wrap-buddy/loader.bin"' -Iinclude; \ wrap-buddy-clang-tidy> } | jq -s . > compile_commands.json wrap-buddy-clang-tidy> clang -DRELOCATABLE_MODE=0 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -Iinclude -DLOADER_PATH='"/usr/local/lib/wrap-buddy/loader.bin"' -o stub.elf src/stub/stub.c wrap-buddy-clang-tidy> clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument] wrap-buddy-clang-tidy> /nix/store/ddk8rvjihg4vhh1k6x9rc65y1zb1kx34-binutils-2.46/bin/ld.bfd: warning: stub.elf has a LOAD segment with RWX permissions wrap-buddy-clang-tidy> objcopy -O binary --only-section=.all stub.elf stub.bin wrap-buddy-clang-tidy> xxd -i stub.bin > src/patcher/stub_64.h wrap-buddy-clang-tidy> clang -DRELOCATABLE_MODE=0 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -m32 -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -DLOADER_PATH='"/usr/local/lib/wrap-buddy/loader32.bin"' -o stub32.elf src/stub/stub.c wrap-buddy-clang-tidy> clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument] wrap-buddy-clang-tidy> /nix/store/ddk8rvjihg4vhh1k6x9rc65y1zb1kx34-binutils-2.46/bin/ld.bfd: warning: stub32.elf has a LOAD segment with RWX permissions wrap-buddy-clang-tidy> objcopy -O binary --only-section=.all stub32.elf stub32.bin wrap-buddy-clang-tidy> xxd -i stub32.bin > src/patcher/stub_32.h wrap-buddy-clang-tidy> clang -DRELOCATABLE_MODE=1 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -Iinclude -DLOADER_PATH='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -o stub_reloc.elf src/stub/stub.c wrap-buddy-clang-tidy> clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument] wrap-buddy-clang-tidy> /nix/store/ddk8rvjihg4vhh1k6x9rc65y1zb1kx34-binutils-2.46/bin/ld.bfd: warning: stub_reloc.elf has a LOAD segment with RWX permissions wrap-buddy-clang-tidy> objcopy -O binary --only-section=.all stub_reloc.elf stub_reloc.bin wrap-buddy-clang-tidy> xxd -i stub_reloc.bin > src/patcher/stub_64_reloc.h wrap-buddy-clang-tidy> clang -DRELOCATABLE_MODE=1 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -m32 -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -DLOADER_PATH='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -o stub32_reloc.elf src/stub/stub.c wrap-buddy-clang-tidy> clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument] wrap-buddy-clang-tidy> /nix/store/ddk8rvjihg4vhh1k6x9rc65y1zb1kx34-binutils-2.46/bin/ld.bfd: warning: stub32_reloc.elf has a LOAD segment with RWX permissions wrap-buddy-clang-tidy> objcopy -O binary --only-section=.all stub32_reloc.elf stub32_reloc.bin wrap-buddy-clang-tidy> xxd -i stub32_reloc.bin > src/patcher/stub_32_reloc.h wrap-buddy-clang-tidy> clang-tidy -p . src/loader/loader.c src/stub/stub.c src/patcher/main.cc wrap-buddy-clang-tidy> [1/3] Processing file /build/source/src/loader/loader.c. wrap-buddy-clang-tidy> 136 warnings generated. wrap-buddy-clang-tidy> [2/3] Processing file /build/source/src/stub/stub.c. wrap-buddy-clang-tidy> 172 warnings generated. wrap-buddy-clang-tidy> [3/3] Processing file /build/source/src/patcher/main.cc. wrap-buddy-clang-tidy> 180099 warnings generated. wrap-buddy-clang-tidy> Suppressed 180127 warnings (180099 in non-user code, 28 NOLINT). wrap-buddy-clang-tidy> Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. wrap-buddy-clang-tidy> Running phase: installPhase wrap-buddy-clang-tidy> Running phase: fixupPhase wrap-buddy-clang-tidy> shrinking RPATHs of ELF executables and libraries in /nix/store/9s9pb7x5704qbs9zg5ds2r2nbcnqpxii-wrap-buddy-clang-tidy wrap-buddy-clang-tidy> checking for references to /build/ in /nix/store/9s9pb7x5704qbs9zg5ds2r2nbcnqpxii-wrap-buddy-clang-tidy... wrap-buddy-clang-tidy> patching script interpreter paths in /nix/store/9s9pb7x5704qbs9zg5ds2r2nbcnqpxii-wrap-buddy-clang-tidy post-build step Upload coverage to codecov: ok Skipping codecov: project=Mic92/wrap-buddy attr=x86_64-linux.clang-tidy