Task 104854769148

build: enable `-Wunused-const-variable`

2026-09-16 15:14:56 aborted unused_const_variable 046fa5bb0343f4daec029635c60f4c2040fe2407


Commands that took longer than 1 second (total 29m5s)
linedurationpercentagecommand
7572s0%/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/test/01_base_install.sh
10094s0%cmake -S /Users/runner/work/bitcoin/bitcoin/repo_archive -B '/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch_ ₿🧪_/build-aarch64-apple-darwin24.6.0' -DCMAKE_COMPILE_WARNING_AS_ERROR=ON -DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON '-DCMAKE_INSTALL_PREFIX=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch_ ₿🧪_/out' -Werror=dev --preset=dev-mode -DWITH_USDT=OFF -DREDUCE_EXPORTS=ON '-DCMAKE_EXE_LINKER_FLAGS=-Wl,-stack_size -Wl,0x80000'
10142s0%- skipped
102927s1%features - done
13532s0%compiler flags .................... -O2 -g -std=c++20 -fPIC -fmacro-prefix-map=/Users/runner/work/bitcoin/bitcoin/repo_archive/src=. -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstack-protector -fstack-protector-all -mbranch-protection=bti -Wall -Wextra -Wgnu -Wcovered-switch-default -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wloop-analysis -Wredundant-decls -Wunused-member-function -Wunused-const-variable -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wdocumentation -Wself-assign -Wundef -Wno-unused-parameter
137017m55s61%cmake --build '/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch_ ₿🧪_/build-aarch64-apple-darwin24.6.0' -j3 --target all install deploy
30671m10s4%ctest --test-dir '/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch_ ₿🧪_/build-aarch64-apple-darwin24.6.0' --stop-on-failure -j3 --timeout 2400
38407m4s24%'/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch_ ₿🧪_/build-aarch64-apple-darwin24.6.0/test/functional/test_runner.py' -j3 --tmpdirprefix '/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch_ ₿🧪_/test_runner/' --ansi --combinedlogslen=99999999 --timeout-factor=40 --quiet --failfast
Tags
  • macOS native
  • unused_const_variable
  • ABORTED