Task 109448745785

[RFC] Enable `-Wunused`

2026-09-29 14:12:57 failed enable_wunused b4dc8499bdfc62efbb21b9471593e13a1f14988d


Commands that took longer than 1 second (total 6m53s)
linedurationpercentagecommand
1531s7%LSan + UBSan + integer
119225s6%docker buildx build --file=/home/runner/work/bitcoin/bitcoin/ci/test_imagefile --build-arg=CI_IMAGE_NAME_TAG=mirror.gcr.io/ubuntu:24.04 --build-arg=FILE_ENV=./ci/test/00_setup_env_native_asan.sh --build-arg=BASE_ROOT_DIR=/home/runner/work/_temp --platform=linux --label=bitcoin-ci-test --tag=ci_native_asan --cache-from type=gha,url=http://127.0.0.1:49160/,version=1,scope=ci_native_asan --load /home/runner/work/bitcoin/bitcoin
14036s1%retry apt-get update
15091s0%retry curl --location --fail https://github.com/bitcoin-core/qa-assets/raw/main/unit_test_data/script_assets_test.json -o '/home/runner/work/_temp/ci/scratch_ ₿🧪_/qa-assets/unit_test_data//script_assets_test.json'
157110s2%features - done
19125m24s78%cmake --build '/home/runner/work/_temp/build_ ₿🧪_' -j8 --target all install
27788s1%-DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DBOOST_NO_CXX98_FUNCTION_BASE -I"/home/runner/work/_temp/build_ ₿🧪_/src" -I/home/runner/work/_temp/src -I/home/runner/work/_temp/src/univalue/include -ftrivial-auto-var-init=pattern -O2 -g -std=c++20 -fPIC -fmacro-prefix-map=/home/runner/work/_temp/src=. -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fsanitize=address,float-divide-by-zero,integer,undefined -Wall -Wextra -Wgnu -Wcovered-switch-default -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wthread-safety-pointer -Wloop-analysis -Wredundant-decls -Wunused -Wunused-member-function -Wunused-const-variable -Wunused-template -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wdocumentation -Wself-assign -Wundef -Werror -MD -MT src/wallet/CMakeFiles/bitcoin_wallet.dir/walletdb.cpp.o -MF CMakeFiles/bitcoin_wallet.dir/walletdb.cpp.o.d -o CMakeFiles/bitcoin_wallet.dir/walletdb.cpp.o -c /home/runner/work/_temp/src/wallet/walletdb.cpp -DARENA_DEBUG -DDEBUG_LOCKORDER -std=c++23
Tags
  • ASan + LSan + UBSan + integer
  • enable_wunused
  • FAILED