Task 110426466276

[RFC] Enable `-Wunused`

2026-10-01 14:48:20 completed enable_wunused 5886b59f6c8596b45a113c35214888cfd8576edc


Commands that took longer than 1 second (total 13m2s)
linedurationpercentagecommand
115024s3%docker buildx build --file=/home/runner/work/bitcoin/bitcoin/ci/test_imagefile --build-arg=CI_IMAGE_NAME_TAG=mirror.gcr.io/ubuntu:26.04 --build-arg=FILE_ENV=./ci/test/00_setup_env_native_iwyu.sh --build-arg=BASE_ROOT_DIR=/home/runner/work/_temp --platform=linux --label=bitcoin-ci-test --tag=ci_native_iwyu --cache-from type=gha,url=http://127.0.0.1:49160/,version=1,scope=ci_native_iwyu --load /home/runner/work/bitcoin/bitcoin
12674s0%docker run --rm --interactive --detach --tty --cap-add=LINUX_IMMUTABLE --mount=type=bind,src=/home/runner/work/bitcoin/bitcoin,dst=/home/runner/work/bitcoin/bitcoin,readonly --mount=type=bind,src=/home/runner/work/_temp/ccache_dir,dst=/home/runner/work/_temp/ccache_dir --mount=type=bind,src=/home/runner/work/_temp/depends/built,dst=/home/runner/work/_temp/depends/built --mount=type=bind,src=/home/runner/work/_temp/depends/sources,dst=/home/runner/work/_temp/depends/sources --mount=type=bind,src=/home/runner/work/_temp/previous_releases,dst=/home/runner/work/_temp/previous_releases '--mount=type=bind,src=/home/runner/work/_temp/build_ ₿🧪_,dst=/home/runner/work/_temp/build_ ₿🧪_' --env-file=/tmp/env-runner-ci_native_iwyu --name=ci_native_iwyu --network=ci-ip6net --ip6=1111:1111::5 --platform=linux ci_native_iwyu
35447s0%features - done
38713s0%cmake --build '/home/runner/work/_temp/build_ ₿🧪_' -j8 --target codegen bitcoin_node_raw_data_headers mp_headers mptest_headers bitcoin_ipc_headers bitcoin_ipc_test_headers bitcoin_ipc_fuzz_headers
40453m3s23%python3 /include-what-you-use/iwyu_tool.py -p '/home/runner/work/_temp/build_ ₿🧪_' -j8 -- -Xiwyu --cxx17ns -Xiwyu --mapping_file=/home/runner/work/_temp/contrib/devtools/iwyu/bitcoin.core.imp -Xiwyu '--mapping_file=/home/runner/work/_temp/build_ ₿🧪_/clang.intrinsics.imp' -Xiwyu --max_line_length=160 -Xiwyu '--check_also=*/common/types\.h' -Xiwyu '--check_also=*/consensus/*\.h' -Xiwyu '--check_also=*/interfaces/*\.h' -Xiwyu '--check_also=*/primitives/transaction_identifier\.h' -Xiwyu '--check_also=*/rpc/protocol\.h'
665327s3%tee /tmp/iwyu_ci.out
665454s6%python3 /include-what-you-use/iwyu_tool.py -p '/home/runner/work/_temp/build_ ₿🧪_' -j8 -- -Xiwyu --cxx17ns -Xiwyu --mapping_file=/home/runner/work/_temp/contrib/devtools/iwyu/bitcoin.core.imp -Xiwyu '--mapping_file=/home/runner/work/_temp/build_ ₿🧪_/clang.intrinsics.imp' -Xiwyu --max_line_length=160 -Xiwyu '--check_also=*/common/types\.h' -Xiwyu '--check_also=*/consensus/*\.h' -Xiwyu '--check_also=*/interfaces/*\.h' -Xiwyu '--check_also=*/primitives/transaction_identifier\.h' -Xiwyu '--check_also=*/rpc/protocol\.h'
1310427s3%should remove these lines:
151296m59s53%should remove these lines:
394891s0%python3 /include-what-you-use/fix_includes.py --nosafe_headers
401925s0%./contrib/devtools/clang-format-diff.py -binary=clang-format-23 -p1 -i -v
601201s0%docker container kill 8a48347682c60596f67738eefca5562c3f001f206b7061f6c8a5777bf6ecdf6a
Tags
  • iwyu
  • enable_wunused
  • COMPLETED