==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: bitcoin 31.0-1 (Tue May 12 21:20:49 2026)
==> Retrieving sources...
  -> Found bitcoin-31.0.tar.gz
  -> Found bitcoin-31.0.SHA256SUMS
  -> Found bitcoin-31.0.SHA256SUMS.asc
  -> Found bitcoin-completions.patch
  -> Found bitcoin.sysusers
  -> Found bitcoin.tmpfiles
  -> Found bitcoin-qt.desktop
  -> Found bitcoin-qt.appdata.xml
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    bitcoin-31.0.tar.gz ... Passed
    bitcoin-31.0.SHA256SUMS ... Passed
    bitcoin-31.0.SHA256SUMS.asc ... Skipped
    bitcoin-completions.patch ... Passed
    bitcoin.sysusers ... Passed
    bitcoin.tmpfiles ... Passed
    bitcoin-qt.desktop ... Passed
    bitcoin-qt.appdata.xml ... Passed
==> Validating source files with b2sums...
    bitcoin-31.0.tar.gz ... Passed
    bitcoin-31.0.SHA256SUMS ... Passed
    bitcoin-31.0.SHA256SUMS.asc ... Skipped
    bitcoin-completions.patch ... Passed
    bitcoin.sysusers ... Passed
    bitcoin.tmpfiles ... Passed
    bitcoin-qt.desktop ... Passed
    bitcoin-qt.appdata.xml ... Passed
==> Making package: bitcoin 31.0-1 (Wed May 13 03:21:24 2026)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
:: There are 5 providers available for libgl:
:: Repository extra
   1) libglvnd
:: Repository alarm
   2) imx-gpu-viv-dfb  3) imx-gpu-viv-fb  4) imx-gpu-viv-wl  5) imx-gpu-viv-x11

Enter a number (default=1): 
looking for conflicting packages...

Packages (69) avahi-1:0.9rc4-1  cppdap-1.58.0-3  default-cursors-3-1  double-conversion-3.4.0-1  duktape-2.7.0-7  fontconfig-2:2.17.1-1  freetype2-2.14.3-1  graphite-1:1.3.14-6  harfbuzz-14.2.0-1  hicolor-icon-theme-0.18-1  jsoncpp-1.9.6-3  libb2-0.98.1-3  libcups-2:2.4.19-1  libdaemon-0.14-6  libdrm-2.4.133-1  libedit-20251016_3.1-1  libevdev-1.13.6-1  libglvnd-1.7.0-3  libgudev-238-3  libice-1.1.2-1  libinput-1.31.1-1  libjpeg-turbo-3.1.4.1-1  libpciaccess-0.19-1  libpng-1.6.58-1  libproxy-0.5.12-1  libsm-1.2.6-1  liburing-2.14-1  libuv-1.52.1-1  libwacom-2.18.0-2  libx11-1.8.13-1  libxau-1.0.12-1  libxcb-1.17.0-1  libxdmcp-1.1.5-2  libxext-1.3.7-1  libxkbcommon-1.13.1-1  libxkbcommon-x11-1.13.1-1  libxshmfence-1.3.3-1  libxxf86vm-1.1.7-1  llvm-libs-22.1.5-1  lm_sensors-1:3.6.2-1  lua54-5.4.8-6  md4c-0.5.3-1  mesa-1:26.0.6-1  mtdev-1.1.7-1  qt6-declarative-6.11.0-4  qt6-svg-6.11.0-2  qt6-translations-6.11.0-1  rhash-1.4.6-1  shared-mime-info-2.4-3  spirv-tools-1:1.4.341.0-2  tslib-1.24-1  wayland-1.25.0-1  xcb-proto-1.17.0-4  xcb-util-0.4.1-2  xcb-util-cursor-0.1.6-1  xcb-util-image-0.4.1-3  xcb-util-keysyms-0.4.1-5  xcb-util-renderutil-0.3.10-2  xcb-util-wm-0.4.2-2  xdg-utils-1.2.1-2  xkeyboard-config-2.47-1  xorgproto-2025.1-1  boost-1.91.0-1  capnproto-1.2.0-2  cmake-4.3.2-1  qrencode-4.1.1-4  qt6-base-6.11.0-4  qt6-tools-6.11.0-3  qt6-wayland-6.11.0-1

Total Download Size:     2.35 MiB
Total Installed Size:  749.24 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 capnproto-1.2.0-2-armv7h downloading...
 qt6-wayland-6.11.0-1-armv7h downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing boost...
Optional dependencies for boost
    python: for python bindings [installed]
installing capnproto...
installing cppdap...
installing hicolor-icon-theme...
installing jsoncpp...
Optional dependencies for jsoncpp
    jsoncpp-doc: documentation
installing libuv...
installing rhash...
installing cmake...
Optional dependencies for cmake
    make: for unix Makefile generator [installed]
    ninja: for ninja generator
    qt6-base: cmake-gui [pending]
installing libpng...
installing qrencode...
installing double-conversion...
installing freetype2...
Optional dependencies for freetype2
    harfbuzz: Improved autohinting [pending]
installing fontconfig...
Creating fontconfig configuration...
Rebuilding fontconfig cache...
installing graphite...
Optional dependencies for graphite
    graphite-docs: Documentation
installing harfbuzz...
Optional dependencies for harfbuzz
    harfbuzz-utils: utilities
installing libb2...
installing libdaemon...
installing avahi...
Optional dependencies for avahi
    gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc
    libevent: libevent bindings [installed]
    nss-mdns: NSS support for mDNS
    python-dbus: avahi-bookmarks, avahi-discover
    python-gobject: avahi-bookmarks, avahi-discover
    python-twisted: avahi-bookmarks
installing libcups...
installing libpciaccess...
installing libdrm...
Optional dependencies for libdrm
    cairo: needed for modetest tool
installing xcb-proto...
installing xorgproto...
installing libxdmcp...
installing libxau...
installing libxcb...
installing libx11...
installing libxext...
installing libxshmfence...
installing libxxf86vm...
installing libedit...
installing llvm-libs...
installing lm_sensors...
Optional dependencies for lm_sensors
    rrdtool: for logging with sensord
    perl: for sensor detection and configuration convert [installed]
installing spirv-tools...
installing default-cursors...
Optional dependencies for default-cursors
    adwaita-cursors: default cursor theme
installing wayland...
installing mesa...
Optional dependencies for mesa
    opengl-man-pages: for the OpenGL API man pages
installing libglvnd...
installing libice...
installing libevdev...
installing libgudev...
installing libwacom...
Optional dependencies for libwacom
    python-libevdev: for libwacom-show-stylus
    python-pyudev: for libwacom-show-stylus
installing lua54...
installing mtdev...
installing libinput...
Optional dependencies for libinput
    libinput-tools: debug utilities
installing libjpeg-turbo...
installing duktape...
installing libproxy...
installing libsm...
installing liburing...
installing xkeyboard-config...
installing libxkbcommon...
Optional dependencies for libxkbcommon
    libxkbcommon-x11: xkbcli interactive-x11 [pending]
    wayland: xkbcli interactive-wayland [installed]
installing libxkbcommon-x11...
installing md4c...
installing shared-mime-info...
installing tslib...
installing xcb-util-renderutil...
installing xcb-util...
installing xcb-util-image...
installing xcb-util-cursor...
installing xcb-util-keysyms...
installing xcb-util-wm...
installing xdg-utils...
Optional dependencies for xdg-utils
    kde-cli-tools: for KDE Plasma5 support in xdg-open
    exo: for Xfce support in xdg-open
    pcmanfm: for LXDE support in xdg-open
    perl-file-mimeinfo: for generic support in xdg-open
    perl-net-dbus: Perl extension to dbus used in xdg-screensaver
    perl-x11-protocol: Perl X11 protocol used in xdg-screensaver
    xorg-xset: for X11 support in xdg-screensaver
    xorg-xprop: for X11 support in xdg-screensaver
installing qt6-translations...
installing qt6-base...
Optional dependencies for qt6-base
    freetds: MS SQL driver
    gdk-pixbuf2: GTK platform plugin
    gtk3: GTK platform plugin
    libfbclient: Firebird/iBase driver
    mariadb-libs: MariaDB driver
    pango: GTK platform plugin
    perl: for syncqt [installed]
    postgresql-libs: PostgreSQL driver
    unixodbc: ODBC driver
installing qt6-tools...
Optional dependencies for qt6-tools
    clang: for qdoc and lupdate
    litehtml: for assistant
    qt6-declarative: for qdistancefieldgenerator, qdoc and lupdate [pending]
installing qt6-declarative...
Optional dependencies for qt6-declarative
    qt6-svg: for QtQuickVectorImage and svgtoqml [pending]
installing qt6-svg...
installing qt6-wayland...
:: Running post-transaction hooks...
(1/9) Creating system user accounts...
Creating group 'avahi' with GID 968.
Creating user 'avahi' (Avahi mDNS/DNS-SD daemon) with UID 968 and GID 968.
(2/9) Updating udev hardware database...
(3/9) Reloading system manager configuration...
  Skipped: Current root is not booted.
(4/9) Updating the MIME type database...
(5/9) Reloading device manager configuration...
  Skipped: Current root is not booted.
(6/9) Arming ConditionNeedsUpdate...
(7/9) Updating fontconfig configuration...
(8/9) Reloading system bus configuration...
  Skipped: Current root is not booted.
(9/9) Updating fontconfig cache...
==> Retrieving sources...
  -> Found bitcoin-31.0.tar.gz
  -> Found bitcoin-31.0.SHA256SUMS
  -> Found bitcoin-31.0.SHA256SUMS.asc
  -> Found bitcoin-completions.patch
  -> Found bitcoin.sysusers
  -> Found bitcoin.tmpfiles
  -> Found bitcoin-qt.desktop
  -> Found bitcoin-qt.appdata.xml
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting bitcoin-31.0.tar.gz with bsdtar
==> Starting prepare()...
bitcoin-31.0.tar.gz: OK
patching file CMakeLists.txt
Hunk #1 succeeded at 186 (offset 9 lines).
patch: setting attribute security.SMACK64 for security.SMACK64: Operation not permitted
patching file cmake/module/InstallBinaryComponent.cmake
patch: setting attribute security.SMACK64 for security.SMACK64: Operation not permitted
==> Starting build()...
-- The CXX compiler identification is GNU 15.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/distcc/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CXX_SUPPORTS__WERROR
-- Performing Test CXX_SUPPORTS__WERROR - Success
-- Performing Test CXX_SUPPORTS__G3
-- Performing Test CXX_SUPPORTS__G3 - Success
-- Performing Test LINKER_SUPPORTS__G3
-- Performing Test LINKER_SUPPORTS__G3 - Success
-- Performing Test CXX_SUPPORTS__FTRAPV
-- Performing Test CXX_SUPPORTS__FTRAPV - Success
-- Performing Test LINKER_SUPPORTS__FTRAPV
-- Performing Test LINKER_SUPPORTS__FTRAPV - Success
-- Found SQLite3: /usr/lib/libsqlite3.so (found suitable version "3.53.1", minimum required is "3.7.17")
-- Found QRencode: /usr/lib/libqrencode.so (found version "4.1.1")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
-- Found Qt: /usr/lib/cmake/Qt6 (found suitable version "6.11.0", minimum required is "6.2")
-- Performing Test LINKER_SUPPORTS__WL___FATAL_WARNINGS
-- Performing Test LINKER_SUPPORTS__WL___FATAL_WARNINGS - Success
-- Performing Test NO_DIAGNOSTICS_BOOST_NO_CXX98_FUNCTION_BASE
-- Performing Test NO_DIAGNOSTICS_BOOST_NO_CXX98_FUNCTION_BASE - Success
-- Found Libevent: /usr/lib/cmake/libevent (found suitable version "2.1.12", minimum required is "2.1.8")
-- Performing Test HAVE_EVHTTP_CONNECTION_GET_PEER_CONST_CHAR
-- Performing Test HAVE_EVHTTP_CONNECTION_GET_PEER_CONST_CHAR - Failed
-- Looking for O_CLOEXEC
-- Looking for O_CLOEXEC - found
-- Looking for fdatasync
-- Looking for fdatasync - found
-- Looking for fork
-- Looking for fork - found
-- Looking for pipe2
-- Looking for pipe2 - found
-- Looking for setsid
-- Looking for setsid - found
-- Performing Test IFADDR_LINKS_WITHOUT_LIBSOCKET
-- Performing Test IFADDR_LINKS_WITHOUT_LIBSOCKET - Success
-- Performing Test STD_ATOMIC_LINKS_WITHOUT_LIBATOMIC
-- Performing Test STD_ATOMIC_LINKS_WITHOUT_LIBATOMIC - Success
-- Looking for std::system
-- Looking for std::system - found
-- Looking for ::_wsystem
-- Looking for ::_wsystem - not found
-- Performing Test STRERROR_R_CHAR_P
-- Performing Test STRERROR_R_CHAR_P - Success
-- Looking for malloc_info
-- Looking for malloc_info - found
-- Performing Test HAVE_MALLOPT_ARENA_MAX
-- Performing Test HAVE_MALLOPT_ARENA_MAX - Success
-- Performing Test HAVE_POSIX_FALLOCATE
-- Performing Test HAVE_POSIX_FALLOCATE - Success
-- Performing Test HAVE_STRONG_GETAUXVAL
-- Performing Test HAVE_STRONG_GETAUXVAL - Success
-- Performing Test HAVE_SOCKADDR_UN
-- Performing Test HAVE_SOCKADDR_UN - Success
-- Performing Test HAVE_GETRANDOM
-- Performing Test HAVE_GETRANDOM - Success
-- Performing Test HAVE_GETENTROPY_RAND
-- Performing Test HAVE_GETENTROPY_RAND - Success
-- Performing Test HAVE_SYSCTL
-- Performing Test HAVE_SYSCTL - Failed
-- Performing Test HAVE_SYSCTL_ARND
-- Performing Test HAVE_SYSCTL_ARND - Failed
-- Performing Test HAVE_SSE41
-- Performing Test HAVE_SSE41 - Failed
-- Performing Test HAVE_AVX2
-- Performing Test HAVE_AVX2 - Failed
-- Performing Test HAVE_X86_SHANI
-- Performing Test HAVE_X86_SHANI - Failed
-- Performing Test HAVE_ARM_SHANI
-- Performing Test HAVE_ARM_SHANI - Failed
-- Performing Test CXX_SUPPORTS__WALL
-- Performing Test CXX_SUPPORTS__WALL - Success
-- Performing Test CXX_SUPPORTS__WEXTRA
-- Performing Test CXX_SUPPORTS__WEXTRA - Success
-- Performing Test CXX_SUPPORTS__WGNU
-- Performing Test CXX_SUPPORTS__WGNU - Failed
-- Performing Test CXX_SUPPORTS__WFORMAT__WFORMAT_SECURITY
-- Performing Test CXX_SUPPORTS__WFORMAT__WFORMAT_SECURITY - Success
-- Performing Test CXX_SUPPORTS__WVLA
-- Performing Test CXX_SUPPORTS__WVLA - Success
-- Performing Test CXX_SUPPORTS__WSHADOW_FIELD
-- Performing Test CXX_SUPPORTS__WSHADOW_FIELD - Failed
-- Performing Test CXX_SUPPORTS__WTHREAD_SAFETY
-- Performing Test CXX_SUPPORTS__WTHREAD_SAFETY - Failed
-- Performing Test CXX_SUPPORTS__WTHREAD_SAFETY_POINTER
-- Performing Test CXX_SUPPORTS__WTHREAD_SAFETY_POINTER - Failed
-- Performing Test CXX_SUPPORTS__WLOOP_ANALYSIS
-- Performing Test CXX_SUPPORTS__WLOOP_ANALYSIS - Failed
-- Performing Test CXX_SUPPORTS__WREDUNDANT_DECLS
-- Performing Test CXX_SUPPORTS__WREDUNDANT_DECLS - Success
-- Performing Test CXX_SUPPORTS__WUNUSED_MEMBER_FUNCTION
-- Performing Test CXX_SUPPORTS__WUNUSED_MEMBER_FUNCTION - Failed
-- Performing Test CXX_SUPPORTS__WDATE_TIME
-- Performing Test CXX_SUPPORTS__WDATE_TIME - Success
-- Performing Test CXX_SUPPORTS__WCONDITIONAL_UNINITIALIZED
-- Performing Test CXX_SUPPORTS__WCONDITIONAL_UNINITIALIZED - Failed
-- Performing Test CXX_SUPPORTS__WDUPLICATED_BRANCHES
-- Performing Test CXX_SUPPORTS__WDUPLICATED_BRANCHES - Success
-- Performing Test CXX_SUPPORTS__WDUPLICATED_COND
-- Performing Test CXX_SUPPORTS__WDUPLICATED_COND - Success
-- Performing Test CXX_SUPPORTS__WLOGICAL_OP
-- Performing Test CXX_SUPPORTS__WLOGICAL_OP - Success
-- Performing Test CXX_SUPPORTS__WOVERLOADED_VIRTUAL
-- Performing Test CXX_SUPPORTS__WOVERLOADED_VIRTUAL - Success
-- Performing Test CXX_SUPPORTS__WSUGGEST_OVERRIDE
-- Performing Test CXX_SUPPORTS__WSUGGEST_OVERRIDE - Success
-- Performing Test CXX_SUPPORTS__WIMPLICIT_FALLTHROUGH
-- Performing Test CXX_SUPPORTS__WIMPLICIT_FALLTHROUGH - Success
-- Performing Test CXX_SUPPORTS__WUNREACHABLE_CODE
-- Performing Test CXX_SUPPORTS__WUNREACHABLE_CODE - Success
-- Performing Test CXX_SUPPORTS__WDOCUMENTATION
-- Performing Test CXX_SUPPORTS__WDOCUMENTATION - Failed
-- Performing Test CXX_SUPPORTS__WSELF_ASSIGN
-- Performing Test CXX_SUPPORTS__WSELF_ASSIGN - Failed
-- Performing Test CXX_SUPPORTS__WBIDI_CHARS_ANY
-- Performing Test CXX_SUPPORTS__WBIDI_CHARS_ANY - Success
-- Performing Test CXX_SUPPORTS__WUNDEF
-- Performing Test CXX_SUPPORTS__WUNDEF - Success
-- Performing Test CXX_SUPPORTS__WLEADING_WHITESPACE_SPACES
-- Performing Test CXX_SUPPORTS__WLEADING_WHITESPACE_SPACES - Success
-- Performing Test CXX_SUPPORTS__WTRAILING_WHITESPACE_ANY
-- Performing Test CXX_SUPPORTS__WTRAILING_WHITESPACE_ANY - Success
-- Performing Test CXX_SUPPORTS__WUNUSED_PARAMETER
-- Performing Test CXX_SUPPORTS__WUNUSED_PARAMETER - Success
-- Performing Test CXX_SUPPORTS__FNO_EXTENDED_IDENTIFIERS
-- Performing Test CXX_SUPPORTS__FNO_EXTENDED_IDENTIFIERS - Success
-- Performing Test CXX_SUPPORTS__FMACRO_PREFIX_MAP_A_B
-- Performing Test CXX_SUPPORTS__FMACRO_PREFIX_MAP_A_B - Success
-- Performing Test CXX_SUPPORTS__FSTACK_REUSE_NONE
-- Performing Test CXX_SUPPORTS__FSTACK_REUSE_NONE - Success
-- Performing Test LINKER_SUPPORTS__FSTACK_REUSE_NONE
-- Performing Test LINKER_SUPPORTS__FSTACK_REUSE_NONE - Success
-- Performing Test CXX_SUPPORTS__U_FORTIFY_SOURCE__D_FORTIFY_SOURCE_3_2d08
-- Performing Test CXX_SUPPORTS__U_FORTIFY_SOURCE__D_FORTIFY_SOURCE_3_2d08 - Success
-- Performing Test LINKER_SUPPORTS__U_FORTIFY_SOURCE__D_FORTIFY_SOURCE_3_2d08
-- Performing Test LINKER_SUPPORTS__U_FORTIFY_SOURCE__D_FORTIFY_SOURCE_3_2d08 - Success
-- Performing Test CXX_SUPPORTS__WSTACK_PROTECTOR
-- Performing Test CXX_SUPPORTS__WSTACK_PROTECTOR - Success
-- Performing Test CXX_SUPPORTS__FSTACK_PROTECTOR_ALL
-- Performing Test CXX_SUPPORTS__FSTACK_PROTECTOR_ALL - Success
-- Performing Test LINKER_SUPPORTS__FSTACK_PROTECTOR_ALL
-- Performing Test LINKER_SUPPORTS__FSTACK_PROTECTOR_ALL - Success
-- Performing Test CXX_SUPPORTS__FCF_PROTECTION_FULL
-- Performing Test CXX_SUPPORTS__FCF_PROTECTION_FULL - Failed
-- Performing Test CXX_SUPPORTS__FSTACK_CLASH_PROTECTION
-- Performing Test CXX_SUPPORTS__FSTACK_CLASH_PROTECTION - Success
-- Performing Test LINKER_SUPPORTS__FSTACK_CLASH_PROTECTION
-- Performing Test LINKER_SUPPORTS__FSTACK_CLASH_PROTECTION - Success
-- Performing Test LINKER_SUPPORTS__WL___ENABLE_RELOC_SECTION
-- Performing Test LINKER_SUPPORTS__WL___ENABLE_RELOC_SECTION - Failed
-- Performing Test LINKER_SUPPORTS__WL___DYNAMICBASE
-- Performing Test LINKER_SUPPORTS__WL___DYNAMICBASE - Failed
-- Performing Test LINKER_SUPPORTS__WL___NXCOMPAT
-- Performing Test LINKER_SUPPORTS__WL___NXCOMPAT - Failed
-- Performing Test LINKER_SUPPORTS__WL___HIGH_ENTROPY_VA
-- Performing Test LINKER_SUPPORTS__WL___HIGH_ENTROPY_VA - Failed
-- Performing Test LINKER_SUPPORTS__WL__Z_RELRO
-- Performing Test LINKER_SUPPORTS__WL__Z_RELRO - Success
-- Performing Test LINKER_SUPPORTS__WL__Z_NOW
-- Performing Test LINKER_SUPPORTS__WL__Z_NOW - Success
-- Performing Test LINKER_SUPPORTS__WL__Z_SEPARATE_CODE
-- Performing Test LINKER_SUPPORTS__WL__Z_SEPARATE_CODE - Success
-- Found Python3: /usr/bin/python3 (found suitable version "3.14.4", minimum required is "3.10") found components: Interpreter
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE dot) 
-- Performing Test HAVE_BUILTIN_PREFETCH
-- Performing Test HAVE_BUILTIN_PREFETCH - Success
-- Performing Test HAVE_MM_PREFETCH
-- Performing Test HAVE_MM_PREFETCH - Failed
-- Performing Test HAVE_SSE42
-- Performing Test HAVE_SSE42 - Failed
-- Performing Test HAVE_ARM64_CRC32C
-- Performing Test HAVE_ARM64_CRC32C - Failed
-- Looking for F_FULLFSYNC
-- Looking for F_FULLFSYNC - not found
-- Performing Test HAVE_CLMUL
-- Performing Test HAVE_CLMUL - Failed
-- Performing Test HAVE_PTHREAD_GETNAME_NP
-- Performing Test HAVE_PTHREAD_GETNAME_NP - Success
-- Performing Test HAVE_PTHREAD_THREADID_NP
-- Performing Test HAVE_PTHREAD_THREADID_NP - Failed
-- Performing Test HAVE_PTHREAD_GETTHREADID_NP
-- Performing Test HAVE_PTHREAD_GETTHREADID_NP - Failed
-- The C compiler identification is GNU 15.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/distcc/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done

Configuring secp256k1 subtree...
-- Performing Test HAVE_X86_64_ASM
-- Performing Test HAVE_X86_64_ASM - Failed
-- Could NOT find Valgrind (missing: Valgrind_INCLUDE_DIR Valgrind_WORKS) 
-- Performing Test C_SUPPORTS__WALL
-- Performing Test C_SUPPORTS__WALL - Success
-- Performing Test C_SUPPORTS__PEDANTIC
-- Performing Test C_SUPPORTS__PEDANTIC - Success
-- Performing Test C_SUPPORTS__WCAST_ALIGN
-- Performing Test C_SUPPORTS__WCAST_ALIGN - Success
-- Performing Test C_SUPPORTS__WCAST_ALIGN_STRICT
-- Performing Test C_SUPPORTS__WCAST_ALIGN_STRICT - Success
-- Performing Test C_SUPPORTS__WCONDITIONAL_UNINITIALIZED
-- Performing Test C_SUPPORTS__WCONDITIONAL_UNINITIALIZED - Failed
-- Performing Test C_SUPPORTS__WEXTRA
-- Performing Test C_SUPPORTS__WEXTRA - Success
-- Performing Test C_SUPPORTS__WLEADING_WHITESPACE_SPACES
-- Performing Test C_SUPPORTS__WLEADING_WHITESPACE_SPACES - Success
-- Performing Test C_SUPPORTS__WNESTED_EXTERNS
-- Performing Test C_SUPPORTS__WNESTED_EXTERNS - Success
-- Performing Test C_SUPPORTS__WNO_LONG_LONG
-- Performing Test C_SUPPORTS__WNO_LONG_LONG - Success
-- Performing Test C_SUPPORTS__WNO_OVERLENGTH_STRINGS
-- Performing Test C_SUPPORTS__WNO_OVERLENGTH_STRINGS - Success
-- Performing Test C_SUPPORTS__WNO_UNUSED_FUNCTION
-- Performing Test C_SUPPORTS__WNO_UNUSED_FUNCTION - Success
-- Performing Test C_SUPPORTS__WRESERVED_IDENTIFIER
-- Performing Test C_SUPPORTS__WRESERVED_IDENTIFIER - Failed
-- Performing Test C_SUPPORTS__WSHADOW
-- Performing Test C_SUPPORTS__WSHADOW - Success
-- Performing Test C_SUPPORTS__WSTRICT_PROTOTYPES
-- Performing Test C_SUPPORTS__WSTRICT_PROTOTYPES - Success
-- Performing Test C_SUPPORTS__WTRAILING_WHITESPACE_ANY
-- Performing Test C_SUPPORTS__WTRAILING_WHITESPACE_ANY - Success
-- Performing Test C_SUPPORTS__WUNDEF
-- Performing Test C_SUPPORTS__WUNDEF - Success
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sys/wait.h
-- Looking for sys/wait.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found


secp256k1 configure summary
===========================
Build artifacts:
  library type ........................ Static
Optional modules:
  ECDH ................................ OFF
  ECDSA pubkey recovery ............... ON
  extrakeys ........................... ON
  schnorrsig .......................... ON
  musig ............................... ON
  ElligatorSwift ...................... ON
Parameters:
  ecmult window size .................. 15
  ecmult gen table size ............... 86 KiB
Optional features:
  assembly ............................ OFF
  external callbacks .................. OFF
Optional binaries:
  benchmark ........................... OFF
  noverify_tests ...................... ON
  tests ............................... ON
  exhaustive tests .................... ON
  ctime_tests ......................... OFF
  examples ............................ OFF

Cross compiling ....................... FALSE
API visibility attributes ............. OFF
Valgrind .............................. OFF
Preprocessor defined macros ........... ECMULT_WINDOW_SIZE=15 COMB_BLOCKS=43 COMB_TEETH=6
C compiler ............................ GNU 15.2.1, /usr/lib/distcc/bin/cc
CFLAGS ................................ -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security  -fstack-clash-protection
Compile options ....................... -Wall -pedantic -Wcast-align -Wcast-align=strict -Wextra -Wleading-whitespace=spaces -Wnested-externs -Wno-long-long -Wno-overlength-strings -Wno-unused-function -Wshadow -Wstrict-prototypes -Wtrailing-whitespace=any -Wundef
Build type:
 - CMAKE_BUILD_TYPE ................... None
 - CFLAGS ............................. -O2 -g -DNDEBUG
 - LDFLAGS for executables ............ 
 - LDFLAGS for shared libraries ....... 

-- Performing Test CXX_SUPPORTS__WUNIQUE_OBJECT_DUPLICATION
-- Performing Test CXX_SUPPORTS__WUNIQUE_OBJECT_DUPLICATION - Failed


Configure summary
=================
Executables:
  bitcoin ............................. ON
  bitcoind ............................ ON
  bitcoin-node (multiprocess) ......... ON
  bitcoin-qt (GUI) .................... ON
  bitcoin-gui (GUI, multiprocess) ..... ON
  bitcoin-cli ......................... ON
  bitcoin-tx .......................... ON
  bitcoin-util ........................ ON
  bitcoin-wallet ...................... ON
  bitcoin-chainstate (experimental) ... ON
  libbitcoinkernel (experimental) ..... ON
  kernel-test (experimental) .......... ON
Optional features:
  wallet support ...................... ON
  external signer ..................... ON
  ZeroMQ .............................. OFF
  IPC ................................. ON
  Embedded ASMap ...................... ON
  USDT tracing ........................ OFF
  QR code (GUI) ....................... ON
  DBus (GUI) .......................... ON
Tests:
  test_bitcoin ........................ ON
  test_bitcoin-qt ..................... ON
  bench_bitcoin ....................... OFF
  fuzz binary ......................... OFF

Cross compiling ....................... FALSE
C++ compiler .......................... GNU 15.2.1, /usr/lib/distcc/bin/c++
CMAKE_BUILD_TYPE ...................... None
Preprocessor defined macros ........... _FILE_OFFSET_BITS=64
C++ compiler flags .................... -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security  -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -std=c++20 -fPIC -fno-extended-identifiers -fmacro-prefix-map=/build/bitcoin/src/bitcoin-31.0/src=. -fstack-reuse=none -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstack-protector -fstack-protector-all -fstack-clash-protection -Wall -Wextra -Wformat -Wformat-security -Wvla -Wredundant-decls -Wdate-time -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wbidi-chars=any -Wundef -Wleading-whitespace=spaces -Wtrailing-whitespace=any -Wno-unused-parameter
Linker flags .......................... -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security  -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -fstack-reuse=none -fstack-protector-all -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -Wl,-z,separate-code -fPIE -pie

NOTE: The summary above may not exactly match the final applied build flags
      if any additional CMAKE_* or environment variables have been modified.
      To see the exact flags applied, build with the --verbose option.

Treat compiler warnings as errors ..... OFF
Use ccache for compiling .............. OFF


-- Configuring done (59.5s)
-- Generating done (1.3s)
-- Build files have been written to: /build/bitcoin/src/bitcoin-31.0/build
[  0%] Generating bitcoin-build-info.h
[  0%] Building CXX object src/ipc/libmultiprocess/CMakeFiles/mputil.dir/src/mp/util.cpp.o
[  0%] Building CXX object src/univalue/CMakeFiles/univalue.dir/lib/univalue.cpp.o
[  0%] Building CXX object src/CMakeFiles/bitcoin_consensus.dir/arith_uint256.cpp.o
[  0%] Building C object src/secp256k1/src/CMakeFiles/secp256k1_precomputed.dir/precomputed_ecmult.c.o
[  0%] Built target generate_build_info
[  0%] Building CXX object src/univalue/CMakeFiles/univalue.dir/lib/univalue_get.cpp.o
[  0%] Building CXX object src/crypto/CMakeFiles/bitcoin_crypto.dir/aes.cpp.o
[  1%] Building CXX object src/CMakeFiles/bitcoin_consensus.dir/consensus/merkle.cpp.o
[  1%] Building CXX object src/crypto/CMakeFiles/bitcoin_crypto.dir/chacha20.cpp.o
[  1%] Building CXX object src/univalue/CMakeFiles/univalue.dir/lib/univalue_read.cpp.o
[  1%] Built target mputil
[  1%] Building CXX object src/univalue/CMakeFiles/univalue.dir/lib/univalue_write.cpp.o
[  1%] Building CXX object src/crypto/CMakeFiles/bitcoin_crypto.dir/chacha20poly1305.cpp.o
[  1%] Building CXX object src/crypto/CMakeFiles/bitcoin_crypto.dir/hex_base.cpp.o
[  1%] Building CXX object src/crypto/CMakeFiles/bitcoin_crypto.dir/hkdf_sha256_32.cpp.o
[  2%] Linking CXX static library libunivalue.a
[  2%] Built target univalue
[  2%] Building CXX object src/crypto/CMakeFiles/bitcoin_crypto.dir/hmac_sha256.cpp.o
[  2%] Building C object src/secp256k1/src/CMakeFiles/secp256k1_precomputed.dir/precomputed_ecmult_gen.c.o
[  2%] Building CXX object src/CMakeFiles/bitcoin_consensus.dir/consensus/tx_check.cpp.o
[  2%] Building CXX object src/crypto/CMakeFiles/bitcoin_crypto.dir/hmac_sha512.cpp.o
[  2%] Building CXX object src/crypto/CMakeFiles/bitcoin_crypto.dir/muhash.cpp.o
[  2%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/asmap.cpp.o
[  2%] Built target secp256k1_precomputed
[  3%] Building CXX object src/crypto/CMakeFiles/bitcoin_crypto.dir/poly1305.cpp.o
[  3%] Building CXX object src/CMakeFiles/bitcoin_consensus.dir/hash.cpp.o
[  3%] Building CXX object src/CMakeFiles/bitcoin_consensus.dir/primitives/block.cpp.o
[  3%] Building CXX object src/crypto/CMakeFiles/bitcoin_crypto.dir/ripemd160.cpp.o
[  3%] Building CXX object src/CMakeFiles/crc32c.dir/crc32c/src/crc32c.cc.o
[  3%] Building CXX object src/crypto/CMakeFiles/bitcoin_crypto.dir/sha1.cpp.o
[  3%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/db/builder.cc.o
[  3%] Building CXX object src/crypto/CMakeFiles/bitcoin_crypto.dir/sha256.cpp.o
[  3%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/batchpriority.cpp.o
[  3%] Building CXX object src/CMakeFiles/crc32c.dir/crc32c/src/crc32c_portable.cc.o
[  3%] Linking CXX static library libcrc32c.a
[  3%] Built target crc32c
[  3%] Building CXX object src/CMakeFiles/bitcoin_consensus.dir/primitives/transaction.cpp.o
[  3%] Building CXX object src/CMakeFiles/bitcoin_consensus.dir/pubkey.cpp.o
[  3%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/db/db_impl.cc.o
[  3%] Building CXX object src/crypto/CMakeFiles/bitcoin_crypto.dir/sha256_sse4.cpp.o
[  3%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/bip32.cpp.o
[  3%] Building CXX object src/crypto/CMakeFiles/bitcoin_crypto.dir/sha3.cpp.o
[  3%] Building CXX object src/crypto/CMakeFiles/bitcoin_crypto.dir/sha512.cpp.o
[  3%] Building CXX object src/CMakeFiles/minisketch.dir/minisketch/src/minisketch.cpp.o
[  3%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/bytevectorhash.cpp.o
[  3%] Building CXX object src/CMakeFiles/bitcoin_consensus.dir/script/interpreter.cpp.o
[  3%] Building CXX object src/crypto/CMakeFiles/bitcoin_crypto.dir/siphash.cpp.o
[  3%] Building CXX object src/CMakeFiles/minisketch.dir/minisketch/src/fields/generic_1byte.cpp.o
In file included from /usr/include/c++/15.2.1/algorithm:63,
                 from /build/bitcoin/src/bitcoin-31.0/src/leveldb/include/leveldb/status.h:16,
                 from /build/bitcoin/src/bitcoin-31.0/src/leveldb/include/leveldb/iterator.h:20,
                 from /build/bitcoin/src/bitcoin-31.0/src/leveldb/include/leveldb/db.h:12,
                 from /build/bitcoin/src/bitcoin-31.0/src/leveldb/db/dbformat.h:13,
                 from /build/bitcoin/src/bitcoin-31.0/src/leveldb/db/db_impl.h:13,
                 from /build/bitcoin/src/bitcoin-31.0/src/leveldb/db/db_impl.cc:5:
/usr/include/c++/15.2.1/bits/stl_algo.h: In function 'constexpr void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, vector<long long unsigned int> >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]':
/usr/include/c++/15.2.1/bits/stl_algo.h:1877:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >' changed in GCC 7.1
/usr/include/c++/15.2.1/bits/stl_algo.h:1877:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >' changed in GCC 7.1
/usr/include/c++/15.2.1/bits/stl_algo.h:1891:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >' changed in GCC 7.1
In function 'constexpr void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, vector<long long unsigned int> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]',
    inlined from 'constexpr void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator<long long unsigned int*, vector<long long unsigned int> >]' at /usr/include/c++/15.2.1/bits/stl_algo.h:4841:18,
    inlined from 'leveldb::Status leveldb::DBImpl::Recover(leveldb::VersionEdit*, bool*)' at /build/bitcoin/src/bitcoin-31.0/src/leveldb/db/db_impl.cc:360:12:
/usr/include/c++/15.2.1/bits/stl_algo.h:1906:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >' changed in GCC 7.1
[  4%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/db/db_iter.cc.o
[  4%] Building CXX object src/CMakeFiles/minisketch.dir/minisketch/src/fields/generic_2bytes.cpp.o
[  5%] Building CXX object src/CMakeFiles/minisketch.dir/minisketch/src/fields/generic_3bytes.cpp.o
[  5%] Building CXX object src/CMakeFiles/minisketch.dir/minisketch/src/fields/generic_4bytes.cpp.o
[  5%] Building CXX object src/crypto/CMakeFiles/bitcoin_crypto.dir/__/support/cleanse.cpp.o
[  5%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/chaintype.cpp.o
[  5%] Linking CXX static library ../../lib/libbitcoin_crypto.a
[  5%] Built target bitcoin_crypto
[  5%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/db/dbformat.cc.o
[  5%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/db/filename.cc.o
[  5%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/check.cpp.o
[  5%] Building CXX object src/CMakeFiles/minisketch.dir/minisketch/src/fields/generic_5bytes.cpp.o
[  5%] Building CXX object src/CMakeFiles/minisketch.dir/minisketch/src/fields/generic_6bytes.cpp.o
[  5%] Building CXX object src/CMakeFiles/minisketch.dir/minisketch/src/fields/generic_7bytes.cpp.o
[  5%] Building CXX object src/CMakeFiles/minisketch.dir/minisketch/src/fields/generic_8bytes.cpp.o
[  5%] Building CXX object src/CMakeFiles/bitcoin_consensus.dir/script/script.cpp.o
[  5%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/db/log_reader.cc.o
[  5%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/db/log_writer.cc.o
[  5%] Linking CXX static library libminisketch.a
[  5%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/exec.cpp.o
[  5%] Built target minisketch
[  5%] Building CXX object src/CMakeFiles/bitcoin_consensus.dir/script/script_error.cpp.o
[  5%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/db/memtable.cc.o
[  5%] Building CXX object src/CMakeFiles/bitcoin_consensus.dir/uint256.cpp.o
[  6%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/exception.cpp.o
[  6%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/db/repair.cc.o
[  6%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/feefrac.cpp.o
[  6%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/db/table_cache.cc.o
[  7%] Linking CXX static library ../lib/libbitcoin_consensus.a
[  7%] Built target bitcoin_consensus
[  8%] Generating node/data/ip_asn.dat.h
[  8%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/fs.cpp.o
/build/bitcoin/src/bitcoin-31.0/src/util/feefrac.cpp: In function 'std::partial_ordering CompareChunks(std::span<const FeeFrac>, std::span<const FeeFrac>)':
/build/bitcoin/src/bitcoin-31.0/src/util/feefrac.cpp:10:23: note: parameter passing for argument of type 'std::span<const FeeFrac>' changed in GCC 7.1
/build/bitcoin/src/bitcoin-31.0/src/util/feefrac.cpp:10:23: note: parameter passing for argument of type 'std::span<const FeeFrac>' changed in GCC 7.1
[  8%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/fs_helpers.cpp.o
[  8%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/hasher.cpp.o
[  8%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/db/version_edit.cc.o
[  8%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/db/version_set.cc.o
[  8%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/moneystr.cpp.o
[  8%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/rbf.cpp.o
[  8%] Building CXX object src/CMakeFiles/bitcoin_cli.dir/compat/stdin.cpp.o
[  9%] Building CXX object src/CMakeFiles/bitcoin_cli.dir/rpc/client.cpp.o
[ 10%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/db/write_batch.cc.o
[ 10%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/readwritefile.cpp.o
[ 10%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/table/block.cc.o
[ 10%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/table/block_builder.cc.o
[ 10%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/table/filter_block.cc.o
[ 10%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/serfloat.cpp.o
[ 11%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/signalinterrupt.cpp.o
[ 11%] Linking CXX static library ../lib/libbitcoin_cli.a
[ 11%] Built target bitcoin_cli
[ 11%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/table/format.cc.o
[ 11%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/table/iterator.cc.o
[ 11%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/sock.cpp.o
[ 11%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/table/merger.cc.o
[ 11%] Generating test/round7.json.h
[ 11%] Generating test/fail1.json.h
[ 11%] Generating test/fail10.json.h
[ 11%] Building CXX object src/CMakeFiles/bitcoin_node.dir/addrdb.cpp.o
[ 11%] Generating test/fail11.json.h
[ 11%] Generating test/fail12.json.h
[ 11%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/table/table.cc.o
[ 11%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/strencodings.cpp.o
[ 11%] Generating test/fail13.json.h
[ 12%] Generating test/fail14.json.h
[ 12%] Generating test/fail15.json.h
[ 12%] Generating test/fail16.json.h
[ 12%] Generating test/fail17.json.h
[ 12%] Generating test/fail18.json.h
[ 12%] Generating test/fail19.json.h
[ 12%] Generating test/fail2.json.h
[ 12%] Generating test/fail20.json.h
[ 12%] Generating test/fail21.json.h
[ 13%] Generating test/fail22.json.h
[ 13%] Generating test/fail23.json.h
[ 13%] Generating test/fail24.json.h
[ 13%] Generating test/fail25.json.h
[ 13%] Generating test/fail26.json.h
[ 13%] Generating test/fail27.json.h
[ 13%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/table/table_builder.cc.o
[ 13%] Generating test/fail28.json.h
[ 13%] Generating test/fail29.json.h
[ 13%] Generating test/fail3.json.h
[ 13%] Generating test/fail30.json.h
[ 15%] Generating test/fail31.json.h
[ 15%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/string.cpp.o
[ 15%] Generating test/fail32.json.h
[ 15%] Generating test/fail33.json.h
[ 16%] Building CXX object src/univalue/CMakeFiles/object.dir/test/object.cpp.o
[ 16%] Generating test/fail34.json.h
[ 16%] Generating test/fail35.json.h
[ 16%] Generating test/fail36.json.h
[ 16%] Generating test/fail37.json.h
[ 16%] Generating test/fail38.json.h
[ 16%] Generating test/fail39.json.h
[ 17%] Generating test/fail4.json.h
[ 17%] Generating test/fail40.json.h
[ 17%] Generating test/fail41.json.h
[ 17%] Generating test/fail42.json.h
[ 17%] Generating test/fail44.json.h
[ 17%] Generating test/fail45.json.h
[ 18%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/table/two_level_iterator.cc.o
[ 18%] Generating test/fail5.json.h
[ 18%] Generating test/fail6.json.h
[ 18%] Generating test/fail7.json.h
[ 18%] Generating test/fail8.json.h
[ 19%] Generating test/fail9.json.h
[ 19%] Generating test/pass1.json.h
[ 19%] Generating test/pass2.json.h
[ 19%] Generating test/pass3.json.h
[ 19%] Generating test/pass4.json.h
[ 19%] Generating test/round1.json.h
[ 19%] Linking CXX executable object
[ 19%] Generating test/round2.json.h
[ 19%] Generating test/round3.json.h
[ 19%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/util/arena.cc.o
[ 19%] Generating test/round4.json.h
[ 20%] Generating test/round5.json.h
[ 20%] Generating test/round6.json.h
[ 20%] Built target object
[ 20%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/util/bloom.cc.o
[ 20%] Building CXX object src/univalue/CMakeFiles/unitester.dir/test/unitester.cpp.o
[ 20%] Building C object src/secp256k1/src/CMakeFiles/noverify_tests.dir/tests.c.o
[ 20%] Building CXX object src/CMakeFiles/bitcoin_node.dir/addrman.cpp.o
[ 20%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/util/cache.cc.o
[ 20%] Linking CXX executable unitester
[ 20%] Built target unitester
[ 20%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/syserror.cpp.o
[ 20%] Building C object src/secp256k1/src/CMakeFiles/tests.dir/tests.c.o
[ 20%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/util/coding.cc.o
[ 20%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/thread.cpp.o
[ 20%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/util/comparator.cc.o
[ 20%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/util/crc32c.cc.o
[ 20%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/threadinterrupt.cpp.o
[ 20%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/util/env.cc.o
[ 20%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/threadnames.cpp.o
[ 20%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/util/env_posix.cc.o
[ 20%] Building CXX object src/CMakeFiles/bitcoin_node.dir/banman.cpp.o
[ 20%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/time.cpp.o
[ 20%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/util/filter_policy.cc.o
[ 21%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/util/hash.cc.o
[ 21%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/tokenpipe.cpp.o
[ 22%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/__/logging.cpp.o
In file included from /usr/include/c++/15.2.1/map:64,
                 from /build/bitcoin/src/bitcoin-31.0/src/net_types.h:9,
                 from /build/bitcoin/src/bitcoin-31.0/src/addrdb.h:9,
                 from /build/bitcoin/src/bitcoin-31.0/src/banman.h:8,
                 from /build/bitcoin/src/bitcoin-31.0/src/banman.cpp:6:
/usr/include/c++/15.2.1/bits/stl_tree.h: In member function 'std::pair<typename std::__rb_tree::_Node_traits<_Val, typename __gnu_cxx::__alloc_traits<typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Val>::other>::pointer>::_Base_ptr, typename std::__rb_tree::_Node_traits<_Val, typename __gnu_cxx::__alloc_traits<typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Val>::other>::pointer>::_Base_ptr> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(const_iterator, const key_type&) [with _Key = CSubNet; _Val = std::pair<const CSubNet, CBanEntry>; _KeyOfValue = std::_Select1st<std::pair<const CSubNet, CBanEntry> >; _Compare = std::less<CSubNet>; _Alloc = std::allocator<std::pair<const CSubNet, CBanEntry> >]':
/usr/include/c++/15.2.1/bits/stl_tree.h:2832:5: note: parameter passing for argument of type 'std::_Rb_tree<CSubNet, std::pair<const CSubNet, CBanEntry>, std::_Select1st<std::pair<const CSubNet, CBanEntry> >, std::less<CSubNet>, std::allocator<std::pair<const CSubNet, CBanEntry> > >::const_iterator' changed in GCC 7.1
/usr/include/c++/15.2.1/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const CSubNet&>, std::tuple<>}; _Key = CSubNet; _Val = std::pair<const CSubNet, CBanEntry>; _KeyOfValue = std::_Select1st<std::pair<const CSubNet, CBanEntry> >; _Compare = std::less<CSubNet>; _Alloc = std::allocator<std::pair<const CSubNet, CBanEntry> >]':
/usr/include/c++/15.2.1/bits/stl_tree.h:3080:7: note: parameter passing for argument of type 'std::_Rb_tree<CSubNet, std::pair<const CSubNet, CBanEntry>, std::_Select1st<std::pair<const CSubNet, CBanEntry> >, std::less<CSubNet>, std::allocator<std::pair<const CSubNet, CBanEntry> > >::const_iterator' changed in GCC 7.1
In file included from /usr/include/c++/15.2.1/map:65:
In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = CSubNet; _Tp = CBanEntry; _Compare = std::less<CSubNet>; _Alloc = std::allocator<std::pair<const CSubNet, CBanEntry> >]',
    inlined from 'void BanMan::Ban(const CSubNet&, int64_t, bool)' at /build/bitcoin/src/bitcoin-31.0/src/banman.cpp:144:29:
/usr/include/c++/15.2.1/bits/stl_map.h:536:37: note: parameter passing for argument of type 'std::_Rb_tree<CSubNet, std::pair<const CSubNet, CBanEntry>, std::_Select1st<std::pair<const CSubNet, CBanEntry> >, std::less<CSubNet>, std::allocator<std::pair<const CSubNet, CBanEntry> > >::const_iterator' changed in GCC 7.1
In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = CSubNet; _Tp = CBanEntry; _Compare = std::less<CSubNet>; _Alloc = std::allocator<std::pair<const CSubNet, CBanEntry> >]',
    inlined from 'void BanMan::Ban(const CSubNet&, int64_t, bool)' at /build/bitcoin/src/bitcoin-31.0/src/banman.cpp:145:29:
/usr/include/c++/15.2.1/bits/stl_map.h:536:37: note: parameter passing for argument of type 'std::_Rb_tree<CSubNet, std::pair<const CSubNet, CBanEntry>, std::_Select1st<std::pair<const CSubNet, CBanEntry> >, std::less<CSubNet>, std::allocator<std::pair<const CSubNet, CBanEntry> > >::const_iterator' changed in GCC 7.1
[ 22%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/util/logging.cc.o
[ 22%] Building CXX object src/CMakeFiles/bitcoin_node.dir/bip324.cpp.o
[ 22%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/util/options.cc.o
[ 22%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/util/status.cc.o
[ 22%] Building CXX object src/CMakeFiles/bitcoin_node.dir/blockencodings.cpp.o
[ 22%] Linking C executable ../bin/noverify_tests
[ 22%] Built target noverify_tests
[ 22%] Building CXX object src/CMakeFiles/leveldb.dir/leveldb/helpers/memenv/memenv.cc.o
[ 22%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/__/random.cpp.o
In file included from /usr/include/c++/15.2.1/map:64,
                 from /build/bitcoin/src/bitcoin-31.0/src/indirectmap.h:8,
                 from /build/bitcoin/src/bitcoin-31.0/src/memusage.h:8,
                 from /build/bitcoin/src/bitcoin-31.0/src/logging.cpp:7:
/usr/include/c++/15.2.1/bits/stl_tree.h: In member function 'std::pair<typename std::__rb_tree::_Node_traits<_Val, typename __gnu_cxx::__alloc_traits<typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Val>::other>::pointer>::_Base_ptr, typename std::__rb_tree::_Node_traits<_Val, typename __gnu_cxx::__alloc_traits<typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Val>::other>::pointer>::_Base_ptr> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(const_iterator, const key_type&) [with _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, BCLog::LogFlags>; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, BCLog::LogFlags> >; _Compare = std::less<void>; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, BCLog::LogFlags> >]':
/usr/include/c++/15.2.1/bits/stl_tree.h:2832:5: note: parameter passing for argument of type 'std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, BCLog::LogFlags>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, BCLog::LogFlags> >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char>, BCLog::LogFlags> > >::const_iterator' changed in GCC 7.1
[ 22%] Building CXX object src/CMakeFiles/bitcoin_node.dir/blockfilter.cpp.o
[ 22%] Linking CXX static library libleveldb.a
[ 22%] Built target leveldb
[ 22%] Building C object src/secp256k1/src/CMakeFiles/exhaustive_tests.dir/tests_exhaustive.c.o
[ 22%] Linking C executable ../bin/tests
[ 22%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/__/randomenv.cpp.o
[ 22%] Built target tests
[ 22%] Generating bitcoin_am.qm
[ 22%] Generating bitcoin_ar.qm
[ 22%] Generating bitcoin_ast_ES.qm
distcc[5033] ERROR: compile /build/bitcoin/src/bitcoin-31.0/src/blockencodings.cpp on 10.3.0.15:3732/8 failed
distcc[5033] (dcc_build_somewhere) Warning: remote compilation of '/build/bitcoin/src/bitcoin-31.0/src/blockencodings.cpp' failed, retrying locally
distcc[5033] Warning: failed to distribute /build/bitcoin/src/bitcoin-31.0/src/blockencodings.cpp to 10.3.0.15:3732/8, running locally instead
[ 22%] Generating bitcoin_az.qm
In file included from /usr/include/c++/15.2.1/algorithm:63,
                 from /build/bitcoin/src/bitcoin-31.0/src/util/strencodings.h:16,
                 from /build/bitcoin/src/bitcoin-31.0/src/uint256.h:11,
                 from /build/bitcoin/src/bitcoin-31.0/src/blockfilter.h:19,
                 from /build/bitcoin/src/bitcoin-31.0/src/blockfilter.cpp:9:
/usr/include/c++/15.2.1/bits/stl_algo.h: In function 'constexpr void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, vector<long long unsigned int> >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]':
/usr/include/c++/15.2.1/bits/stl_algo.h:1877:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >' changed in GCC 7.1
/usr/include/c++/15.2.1/bits/stl_algo.h:1877:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >' changed in GCC 7.1
/usr/include/c++/15.2.1/bits/stl_algo.h:1891:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >' changed in GCC 7.1
In function 'constexpr void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, vector<long long unsigned int> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]',
    inlined from 'constexpr void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator<long long unsigned int*, vector<long long unsigned int> >]' at /usr/include/c++/15.2.1/bits/stl_algo.h:4841:18,
    inlined from 'std::vector<long long unsigned int> GCSFilter::BuildHashedSet(const ElementSet&) const' at /build/bitcoin/src/bitcoin-31.0/src/blockfilter.cpp:41:14:
/usr/include/c++/15.2.1/bits/stl_algo.h:1906:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >' changed in GCC 7.1
[ 22%] Generating bitcoin_az@latin.qm
[ 22%] Building CXX object src/CMakeFiles/bitcoin_node.dir/consensus/tx_verify.cpp.o
[ 22%] Generating bitcoin_be.qm
[ 23%] Generating bitcoin_bg.qm
[ 23%] Generating bitcoin_bn.qm
[ 23%] Generating bitcoin_br.qm
[ 23%] Generating bitcoin_bs.qm
[ 23%] Generating bitcoin_ca.qm
[ 23%] Generating bitcoin_cmn.qm
[ 23%] Generating bitcoin_cs.qm
[ 23%] Generating bitcoin_cy.qm
[ 23%] Generating bitcoin_da.qm
[ 23%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/__/streams.cpp.o
[ 24%] Generating bitcoin_de.qm
[ 24%] Generating bitcoin_el.qm
[ 24%] Generating bitcoin_en.qm
[ 24%] Generating bitcoin_eo.qm
[ 24%] Generating bitcoin_es.qm
[ 24%] Generating bitcoin_et.qm
[ 24%] Generating bitcoin_eu.qm
[ 24%] Generating bitcoin_fa.qm
[ 24%] Generating bitcoin_fi.qm
[ 25%] Generating bitcoin_fil.qm
[ 25%] Generating bitcoin_fo.qm
[ 25%] Generating bitcoin_fr.qm
[ 25%] Building CXX object src/test/util/CMakeFiles/test_util.dir/blockfilter.cpp.o
[ 25%] Generating bitcoin_ga.qm
[ 25%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/__/support/lockedpool.cpp.o
[ 25%] Generating bitcoin_ga_IE.qm
[ 25%] Linking C executable ../bin/exhaustive_tests
[ 25%] Generating bitcoin_gl.qm
[ 25%] Generating bitcoin_gl_ES.qm
[ 25%] Generating bitcoin_gu.qm
[ 25%] Built target exhaustive_tests
[ 25%] Generating bitcoin_hak.qm
[ 26%] Building CXX object src/ipc/libmultiprocess/CMakeFiles/mpgen.dir/src/mp/gen.cpp.o
[ 26%] Generating bitcoin_he.qm
[ 27%] Generating bitcoin_hi.qm
[ 27%] Generating bitcoin_hr.qm
[ 27%] Generating bitcoin_hu.qm
[ 27%] Generating bitcoin_id.qm
[ 27%] Generating bitcoin_is.qm
[ 27%] Building CXX object src/util/CMakeFiles/bitcoin_util.dir/__/sync.cpp.o
[ 27%] Generating bitcoin_it.qm
[ 27%] Generating bitcoin_ja.qm
[ 27%] Generating bitcoin_ka.qm
[ 27%] Generating bitcoin_kk.qm
[ 29%] Generating bitcoin_kk@latin.qm
[ 29%] Generating bitcoin_km.qm
[ 29%] Generating bitcoin_kn.qm
[ 29%] Generating bitcoin_ko.qm
[ 29%] Generating bitcoin_ku.qm
[ 29%] Generating bitcoin_ku_IQ.qm
[ 29%] Generating bitcoin_lt.qm
[ 29%] Generating bitcoin_lv.qm
[ 29%] Linking CXX static library ../../lib/libbitcoin_util.a
[ 29%] Generating bitcoin_mi.qm
[ 29%] Generating bitcoin_mk.qm
distcc[5177] ERROR: compile /build/bitcoin/src/bitcoin-31.0/src/test/util/blockfilter.cpp on 10.3.0.15:3732/8 failed
distcc[5177] (dcc_build_somewhere) Warning: remote compilation of '/build/bitcoin/src/bitcoin-31.0/src/test/util/blockfilter.cpp' failed, retrying locally
distcc[5177] Warning: failed to distribute /build/bitcoin/src/bitcoin-31.0/src/test/util/blockfilter.cpp to 10.3.0.15:3732/8, running locally instead
[ 30%] Generating bitcoin_ml.qm
[ 30%] Built target bitcoin_util
[ 30%] Generating bitcoin_mn.qm
[ 30%] Generating bitcoin_ms.qm
[ 30%] Building CXX object src/test/util/CMakeFiles/test_util.dir/coins.cpp.o
[ 30%] Generating bitcoin_mt.qm
[ 30%] Generating bitcoin_nb.qm
[ 30%] Linking CXX executable mpgen
[ 30%] Generating bitcoin_ne.qm
[ 30%] Generating bitcoin_nl.qm
[ 30%] Generating bitcoin_no.qm
[ 30%] Generating bitcoin_pam.qm
[ 30%] Built target mpgen
[ 30%] Building CXX object src/test/util/CMakeFiles/test_util.dir/coverage.cpp.o
[ 31%] Generating bitcoin_pl.qm
[ 31%] Building CXX object src/test/util/CMakeFiles/test_util.dir/json.cpp.o
[ 31%] Generating bitcoin_ps.qm
[ 31%] Generating bitcoin_pt.qm
[ 31%] Generating bitcoin_pt_BR.qm
[ 31%] Generating bitcoin_ro.qm
[ 31%] Generating bitcoin_ru.qm
[ 31%] Generating bitcoin_si.qm
In file included from /build/bitcoin/src/bitcoin-31.0/src/blockencodings.cpp:15:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:214:64: error: invalid use of incomplete type ‘struct boost::multi_index::indexed_by<boost::multi_index::hashed_unique<mempoolentry_txid, SaltedTxidHasher>, boost::multi_index::hashed_unique<boost::multi_index::tag<index_by_wtxid>, mempoolentry_wtxid, SaltedWtxidHasher, void>, boost::multi_index::ordered_non_unique<boost::multi_index::tag<entry_time>, boost::multi_index::identity<CTxMemPoolEntry>, CompareTxMemPoolEntryByEntryTime> >’
  214 |     struct CTxMemPoolEntry_Indices final : boost::multi_index::indexed_by<
      |                                                                ^~~~~~~~~~~
  215 |             // sorted by txid
      |             ~~~~~~~~~~~~~~~~~                                   
  216 |             boost::multi_index::hashed_unique<mempoolentry_txid, SaltedTxidHasher>,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  217 |             // sorted by wtxid
      |             ~~~~~~~~~~~~~~~~~~                                  
  218 |             boost::multi_index::hashed_unique<
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                  
  219 |                 boost::multi_index::tag<index_by_wtxid>,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        
  220 |                 mempoolentry_wtxid,
      |                 ~~~~~~~~~~~~~~~~~~~                             
  221 |                 SaltedWtxidHasher
      |                 ~~~~~~~~~~~~~~~~~                               
  222 |             >,
      |             ~~                                                  
  223 |             // sorted by entry time
      |             ~~~~~~~~~~~~~~~~~~~~~~~                             
  224 |             boost::multi_index::ordered_non_unique<
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
  225 |                 boost::multi_index::tag<entry_time>,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            
  226 |                 boost::multi_index::identity<CTxMemPoolEntry>,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  227 |                 CompareTxMemPoolEntryByEntryTime
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                
  228 |             >
      |             ~                                                   
  229 |         >
      |         ~                                                       
In file included from /usr/include/boost/multi_index_container_fwd.hpp:18,
                 from /usr/include/boost/multi_index/detail/node_handle.hpp:22,
                 from /usr/include/boost/multi_index/hashed_index.hpp:32,
                 from /build/bitcoin/src/bitcoin-31.0/src/txmempool.h:27:
/usr/include/boost/multi_index/indexed_by.hpp:79:8: note: declaration of ‘struct boost::multi_index::indexed_by<boost::multi_index::hashed_unique<mempoolentry_txid, SaltedTxidHasher>, boost::multi_index::hashed_unique<boost::multi_index::tag<index_by_wtxid>, mempoolentry_wtxid, SaltedWtxidHasher, void>, boost::multi_index::ordered_non_unique<boost::multi_index::tag<entry_time>, boost::multi_index::identity<CTxMemPoolEntry>, CompareTxMemPoolEntryByEntryTime> >’
   79 | struct indexed_by;
      |        ^~~~~~~~~~
In file included from /usr/include/boost/type_traits/type_with_alignment.hpp:13,
                 from /usr/include/boost/type_traits/aligned_storage.hpp:21,
                 from /usr/include/boost/multi_index/detail/index_node_base.hpp:17,
                 from /usr/include/boost/multi_index/hashed_index.hpp:29:
/usr/include/boost/multi_index/detail/node_type.hpp: In instantiation of ‘struct boost::multi_index::detail::multi_index_node_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’:
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index/detail/node_type.hpp:40:3: error: static assertion failed: detail::is_index_list<IndexSpecifierList>::value
   40 |   BOOST_STATIC_ASSERT(detail::is_index_list<IndexSpecifierList>::value);
      |   ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/multi_index/detail/node_type.hpp:40:3: note: ‘std::integral_constant<bool, false>::value’ evaluates to false
In file included from /usr/include/boost/multi_index/detail/no_duplicate_tags.hpp:17,
                 from /usr/include/boost/multi_index/tag.hpp:17,
                 from /usr/include/boost/multi_index/detail/ord_index_args.hpp:18,
                 from /usr/include/boost/multi_index/ordered_index_fwd.hpp:16,
                 from /usr/include/boost/multi_index_container_fwd.hpp:19:
/usr/include/boost/mp11/algorithm.hpp: In substitution of ‘template<class L, class V, template<class ...> class F> using boost::mp11::mp_reverse_fold = typename boost::mp11::detail::mp_reverse_fold_impl<typename boost::mp11::detail::mp_rename_impl<L, boost::mp11::mp_list>::type, V, F>::type [with L = CTxMemPool::CTxMemPoolEntry_Indices; V = boost::multi_index::detail::index_node_base<CTxMemPoolEntry, std::allocator<CTxMemPoolEntry> >; F = boost::multi_index::detail::node_type]’:
/usr/include/boost/multi_index/detail/node_type.hpp:46:5:   required from ‘struct boost::multi_index::detail::multi_index_node_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’
   46 |   > type;
      |     ^~~~
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/mp11/algorithm.hpp:973:62: error: no type named ‘type’ in ‘struct boost::mp11::detail::mp_rename_impl<CTxMemPool::CTxMemPoolEntry_Indices, boost::mp11::mp_list>’
  973 | template<class L, class V, template<class...> class F> using mp_reverse_fold = typename detail::mp_reverse_fold_impl<mp_rename<L, mp_list>, V, F>::type;
      |                                                              ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/multi_index_container.hpp:29,
                 from /build/bitcoin/src/bitcoin-31.0/src/txmempool.h:33:
/usr/include/boost/multi_index/detail/base_type.hpp: In instantiation of ‘struct boost::multi_index::detail::nth_layer<0, CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’:
/usr/include/boost/multi_index/detail/base_type.hpp:53:8:   required from ‘struct boost::multi_index::detail::multi_index_base_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’
   53 | struct multi_index_base_type:
      |        ^~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index/detail/base_type.hpp:43:47: error: no type named ‘type’ in ‘struct boost::mp11::detail::mp_size_impl<CTxMemPool::CTxMemPoolEntry_Indices>’
   43 |     N==mp11::mp_size<Mp11IndexSpecifierList>::value,
      |                                               ^~~~~
/usr/include/boost/multi_index/detail/base_type.hpp: In instantiation of ‘struct boost::multi_index::detail::multi_index_base_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’:
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index/detail/base_type.hpp:56:3: error: static assertion failed: detail::is_index_list<IndexSpecifierList>::value
   56 |   BOOST_STATIC_ASSERT(detail::is_index_list<IndexSpecifierList>::value);
      |   ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/multi_index/detail/base_type.hpp:56:3: note: ‘std::integral_constant<bool, false>::value’ evaluates to false
/usr/include/boost/multi_index_container.hpp: In instantiation of ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index_container.hpp:91:7: error: ‘class boost::multi_index::detail::multi_index_base_type<Value, IndexSpecifierList, Allocator>::type’ resolves to ‘<type error>’, which is not a class type
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:34: error: ‘txiter’ was not declared in this scope
  266 |     std::vector<std::pair<Wtxid, txiter>> txns_randomized GUARDED_BY(cs); //!< All transactions in mapTx with their wtxids, in arbitrary order
      |                                  ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:34: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:40: error: template argument 1 is invalid
  266 |     std::vector<std::pair<Wtxid, txiter>> txns_randomized GUARDED_BY(cs); //!< All transactions in mapTx with their wtxids, in arbitrary order
      |                                        ^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:40: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  266 |     std::vector<std::pair<Wtxid, txiter>> txns_randomized GUARDED_BY(cs); //!< All transactions in mapTx with their wtxids, in arbitrary order
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:22: error: ‘txiter’ was not declared in this scope
  268 |     typedef std::set<txiter, CompareIteratorByHash> setEntries;
      |                      ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:51: error: template argument 1 is invalid
  268 |     typedef std::set<txiter, CompareIteratorByHash> setEntries;
      |                                                   ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:51: error: template argument 3 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:18: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  268 |     typedef std::set<txiter, CompareIteratorByHash> setEntries;
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:274:32: error: ‘txiter’ has not been declared
  274 |     int64_t GetDescendantCount(txiter it) const { LOCK(cs); return m_txgraph->GetDescendants(*it, TxGraph::Level::MAIN).size(); }
      |                                ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:281:56: error: template argument 1 is invalid
  281 |     std::vector<indexed_transaction_set::const_iterator> GetSortedScoreWithTopology() const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                                                        ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:281:56: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:281:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  281 |     std::vector<indexed_transaction_set::const_iterator> GetSortedScoreWithTopology() const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:298:28: error: ‘txiter’ was not declared in this scope
  298 |     indirectmap<COutPoint, txiter> mapNextTx GUARDED_BY(cs);
      |                            ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:298:34: error: template argument 2 is invalid
  298 |     indirectmap<COutPoint, txiter> mapNextTx GUARDED_BY(cs);
      |                                  ^
[ 31%] Generating bitcoin_sk.qm
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:333:59: error: ‘txiter’ was not declared in this scope
  333 |     void removeForReorg(CChain& chain, std::function<bool(txiter)> filter_final_and_mature) EXCLUSIVE_LOCKS_REQUIRED(cs, cs_main);
      |                                                           ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:333:66: error: template argument 1 is invalid
  333 |     void removeForReorg(CChain& chain, std::function<bool(txiter)> filter_final_and_mature) EXCLUSIVE_LOCKS_REQUIRED(cs, cs_main);
      |                                                                  ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:333:40: error: ‘std::filter_final_and_mature’ has not been declared
  333 |     void removeForReorg(CChain& chain, std::function<bool(txiter)> filter_final_and_mature) EXCLUSIVE_LOCKS_REQUIRED(cs, cs_main);
      |                                        ^~~
[ 31%] Building CXX object src/test/util/CMakeFiles/test_util.dir/logging.cpp.o
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:368:19: error: ‘txiter’ was not declared in this scope
  368 |     std::optional<txiter> GetIter(const Txid& txid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                   ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:368:25: error: template argument 1 is invalid
  368 |     std::optional<txiter> GetIter(const Txid& txid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                         ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:368:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  368 |     std::optional<txiter> GetIter(const Txid& txid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:369:19: error: ‘txiter’ was not declared in this scope
  369 |     std::optional<txiter> GetIter(const Wtxid& wtxid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                   ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:369:25: error: template argument 1 is invalid
  369 |     std::optional<txiter> GetIter(const Wtxid& wtxid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                         ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:369:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  369 |     std::optional<txiter> GetIter(const Wtxid& wtxid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:374:5: error: ‘setEntries’ does not name a type
  374 |     setEntries GetIterSet(const std::set<Txid>& hashes) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:17: error: ‘txiter’ was not declared in this scope
  379 |     std::vector<txiter> GetIterVec(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:23: error: template argument 1 is invalid
  379 |     std::vector<txiter> GetIterVec(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                       ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:23: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  379 |     std::vector<txiter> GetIterVec(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:413:40: error: ‘setEntries’ does not name a type
  413 |     size_t GetUniqueClusterCount(const setEntries& iters_conflicting) const EXCLUSIVE_LOCKS_REQUIRED(cs) {
      |                                        ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:430:5: error: ‘setEntries’ does not name a type
  430 |     setEntries CalculateMemPoolAncestors(const CTxMemPoolEntry& entry) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:17: error: ‘txiter’ was not declared in this scope
  438 |     std::vector<txiter> GatherClusters(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:23: error: template argument 1 is invalid
  438 |     std::vector<txiter> GatherClusters(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                       ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:23: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  438 |     std::vector<txiter> GatherClusters(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:443:31: error: ‘txiter’ has not been declared
  443 |     void CalculateDescendants(txiter it, setEntries& setDescendants) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                               ^~~~~~
[ 31%] Building CXX object src/CMakeFiles/bitcoin_node.dir/dbwrapper.cpp.o
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:443:42: error: ‘setEntries’ has not been declared
  443 |     void CalculateDescendants(txiter it, setEntries& setDescendants) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                                          ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:444:17: error: ‘txiter’ in ‘class CTxMemPool’ does not name a type
  444 |     CTxMemPool::txiter CalculateDescendants(const CTxMemPoolEntry& entry, setEntries& setDescendants) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:584:23: error: ‘setEntries’ has not been declared
  584 |     void RemoveStaged(setEntries& stage, MemPoolRemovalReason reason) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                       ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:587:26: error: ‘txiter’ has not been declared
  587 |     void removeRecursive(txiter to_remove, MemPoolRemovalReason reason) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                          ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:590:26: error: ‘txiter’ has not been declared
  590 |     void removeUnchecked(txiter entry, MemPoolRemovalReason reason) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                          ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:634:38: error: ‘txiter’ in ‘class CTxMemPool’ does not name a type
  634 |         using TxHandle = CTxMemPool::txiter;
      |                                      ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:636:9: error: ‘TxHandle’ does not name a type
  636 |         TxHandle StageAddition(const CTransactionRef& tx, CAmount fee, int64_t time, unsigned int entry_height, uint64_t entry_sequence, bool spends_coinbase, int64_t sigops_cost, LockPoints lp);
      |         ^~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:638:27: error: ‘CTxMemPool::txiter’ has not been declared
  638 |         void StageRemoval(CTxMemPool::txiter it);
      |                           ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:640:27: error: ‘setEntries’ in ‘class CTxMemPool’ does not name a type
  640 |         const CTxMemPool::setEntries& GetRemovals() const { return m_to_remove; }
      |                           ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:645:21: error: ‘setEntries’ in ‘class CTxMemPool’ does not name a type
  645 |         CTxMemPool::setEntries CalculateMemPoolAncestors(TxHandle tx)
      |                     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:33: error: ‘txiter’ is not a member of ‘CTxMemPool’
  686 |         std::vector<CTxMemPool::txiter> m_entry_vec; // track the added transactions' insertion order
      |                                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:39: error: template argument 1 is invalid
  686 |         std::vector<CTxMemPool::txiter> m_entry_vec; // track the added transactions' insertion order
      |                                       ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:39: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:14: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  686 |         std::vector<CTxMemPool::txiter> m_entry_vec; // track the added transactions' insertion order
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:30: error: ‘txiter’ is not a member of ‘CTxMemPool’
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |                              ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:50: error: ‘setEntries’ is not a member of ‘CTxMemPool’
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |                                                  ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:83: error: template argument 1 is invalid
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |                                                                                   ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:83: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:83: error: template argument 4 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:14: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:689:21: error: ‘setEntries’ in ‘class CTxMemPool’ does not name a type
  689 |         CTxMemPool::setEntries m_to_remove;
      |                     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:718:28: error: ‘CTxMemPool::txiter’ has not been declared
  718 |     void addNewTransaction(CTxMemPool::txiter it) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                            ^~~~~~~~~~
[ 31%] Generating bitcoin_sl.qm
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘int64_t CTxMemPool::GetDescendantCount(int) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:274:94: error: invalid type argument of unary ‘*’ (have ‘int’)
  274 |     int64_t GetDescendantCount(txiter it) const { LOCK(cs); return m_txgraph->GetDescendants(*it, TxGraph::Level::MAIN).size(); }
      |                                                                                              ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In static member function ‘static TxMempoolInfo CTxMemPool::GetInfo(...)’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:290:30: error: ‘it’ was not declared in this scope; did you mean ‘int’?
  290 |         return TxMempoolInfo{it->GetSharedTx(), it->GetTime(), it->GetFee(), it->GetTxSize(), it->GetModifiedFee() - it->GetFee()};
      |                              ^~
      |                              int
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘std::vector<const CTxMemPoolEntry*> CTxMemPool::GetCluster(Txid) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:401:19: error: ‘GetIter’ was not declared in this scope; did you mean ‘getitimer’?
  401 |         auto tx = GetIter(txid);
      |                   ^~~~~~~
      |                   getitimer
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘size_t CTxMemPool::GetUniqueClusterCount(const int&) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:415:43: error: request for member ‘size’ in ‘iters_conflicting’, which is of non-class type ‘const int’
  415 |         entries.reserve(iters_conflicting.size());
      |                                           ^~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: error: ‘begin’ was not declared in this scope
  416 |         for (auto it : iters_conflicting) {
      |                        ^~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: note: suggested alternatives:
In file included from /usr/include/c++/15.2.1/array:46,
                 from /build/bitcoin/src/bitcoin-31.0/src/crypto/siphash.h:8,
                 from /build/bitcoin/src/bitcoin-31.0/src/blockencodings.h:8,
                 from /build/bitcoin/src/bitcoin-31.0/src/blockencodings.cpp:5:
/usr/include/c++/15.2.1/bits/range_access.h:120:37: note:   ‘std::begin’
  120 |   template<typename _Tp> const _Tp* begin(const valarray<_Tp>&) noexcept;
      |                                     ^~~~~
In file included from /usr/include/c++/15.2.1/span:49,
                 from /build/bitcoin/src/bitcoin-31.0/src/crypto/siphash.h:10:
/usr/include/c++/15.2.1/bits/ranges_base.h:502:47: note:   ‘std::ranges::_Cpo::begin’
  502 |     inline constexpr ranges::__access::_Begin begin{};
      |                                               ^~~~~
In file included from /usr/include/c++/15.2.1/filesystem:55,
                 from /build/bitcoin/src/bitcoin-31.0/src/util/fs.h:11,
                 from /build/bitcoin/src/bitcoin-31.0/src/logging.h:12,
                 from /build/bitcoin/src/bitcoin-31.0/src/blockencodings.cpp:12:
/usr/include/c++/15.2.1/bits/fs_dir.h:608:3: note:   ‘std::filesystem::__cxx11::begin’
  608 |   begin(recursive_directory_iterator __iter) noexcept
      |   ^~~~~
In file included from /usr/include/c++/15.2.1/bits/stl_iterator_base_types.h:73,
                 from /usr/include/c++/15.2.1/bits/stl_algobase.h:65,
                 from /usr/include/c++/15.2.1/array:45:
/usr/include/c++/15.2.1/bits/iterator_concepts.h:1041:10: note:   ‘std::ranges::__access::begin’
 1041 |     void begin() = delete;
      |          ^~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: error: ‘end’ was not declared in this scope
  416 |         for (auto it : iters_conflicting) {
      |                        ^~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: note: suggested alternatives:
/usr/include/c++/15.2.1/bits/range_access.h:122:37: note:   ‘std::end’
  122 |   template<typename _Tp> const _Tp* end(const valarray<_Tp>&) noexcept;
      |                                     ^~~
/usr/include/c++/15.2.1/bits/ranges_base.h:503:45: note:   ‘std::ranges::_Cpo::end’
  503 |     inline constexpr ranges::__access::_End end{};
      |                                             ^~~
/usr/include/c++/15.2.1/bits/fs_dir.h:613:3: note:   ‘std::filesystem::__cxx11::end’
  613 |   end(recursive_directory_iterator) noexcept
      |   ^~~
/usr/include/c++/15.2.1/bits/ranges_base.h:153:10: note:   ‘std::ranges::__access::end’
  153 |     void end() = delete;
      |          ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘long unsigned int CTxMemPool::size() const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:488:22: error: ‘const CTxMemPool::indexed_transaction_set’ {aka ‘const class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’} has no member named ‘size’
  488 |         return mapTx.size();
      |                      ^~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘bool CTxMemPool::exists(const Txid&) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:506:23: error: ‘const CTxMemPool::indexed_transaction_set’ {aka ‘const class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’} has no member named ‘count’
  506 |         return (mapTx.count(txid) != 0);
      |                       ^~~~~
/usr/include/boost/multi_index_container.hpp: In instantiation of ‘struct boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::index<index_by_wtxid>’:
/usr/include/boost/multi_index_container.hpp:395:36:   required by substitution of ‘template<class Tag> const typename boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::index<Tag>::type& boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::get() const [with Tag = index_by_wtxid]’
  395 |   const typename index<Tag>::type& get()const BOOST_NOEXCEPT
      |                                    ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42:   required from here
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/boost/multi_index_container.hpp:383:5: error: non-constant condition for static assertion
  383 |     BOOST_STATIC_ASSERT(index_found);
      |     ^~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘bool CTxMemPool::exists(const Wtxid&) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: error: no matching function for call to ‘boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::get<index_by_wtxid>() const’
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: note: there are 4 candidates
/usr/include/boost/multi_index_container.hpp:358:32: note: candidate 1: ‘template<int N> typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  358 |   typename nth_index<N>::type& get()BOOST_NOEXCEPT
      |                                ^~~
/usr/include/boost/multi_index_container.hpp:358:32: note: template argument deduction/substitution failed:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: error: type/value mismatch at argument 1 in template parameter list for ‘template<int N> typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: note:   expected a constant of type ‘int’, got ‘index_by_wtxid’
/usr/include/boost/multi_index_container.hpp:389:30: note: candidate 2: ‘template<class Tag> typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::index<Tag>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() [with Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  389 |   typename index<Tag>::type& get()BOOST_NOEXCEPT
      |                              ^~~
/usr/include/boost/multi_index_container.hpp:389:30: note: template argument deduction/substitution failed:
/usr/include/boost/multi_index_container.hpp:365:38: note: candidate 3: ‘template<int N> const typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() const [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  365 |   const typename nth_index<N>::type& get()const BOOST_NOEXCEPT
      |                                      ^~~
/usr/include/boost/multi_index_container.hpp:365:38: note: template argument deduction/substitution failed:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: error: type/value mismatch at argument 1 in template parameter list for ‘template<int N> const typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() const [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: note:   expected a constant of type ‘int’, got ‘index_by_wtxid’
/usr/include/boost/multi_index_container.hpp:395:36: note: candidate 4: ‘template<class Tag> const typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::index<Tag>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() const [with Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  395 |   const typename index<Tag>::type& get()const BOOST_NOEXCEPT
      |                                    ^~~
/usr/include/boost/multi_index_container.hpp:395:36: note: substitution of deduced template arguments resulted in errors seen above
[ 31%] Generating bitcoin_sm.qm
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘std::vector<std::shared_ptr<const CTransaction> > CTxMemPool::ChangeSet::GetAddedTxns() const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:661:25: error: ‘m_entry_vec’ was not declared in this scope
  661 |             ret.reserve(m_entry_vec.size());
      |                         ^~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘size_t CTxMemPool::ChangeSet::GetTxCount() const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:676:44: error: ‘m_entry_vec’ was not declared in this scope
  676 |         size_t GetTxCount() const { return m_entry_vec.size(); }
      |                                            ^~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘const CTransaction& CTxMemPool::ChangeSet::GetAddedTxn(size_t) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:677:70: error: ‘m_entry_vec’ was not declared in this scope
  677 |         const CTransaction& GetAddedTxn(size_t index) const { return m_entry_vec.at(index)->GetTx(); }
      |                                                                      ^~~~~~~~~~~
[ 32%] Generating bitcoin_sq.qm
[ 32%] Generating bitcoin_sr.qm
[ 32%] Generating bitcoin_sr@ijekavianlatin.qm
[ 32%] Generating bitcoin_sr@latin.qm
[ 32%] Generating bitcoin_sv.qm
[ 32%] Generating bitcoin_sw.qm
[ 32%] Generating bitcoin_szl.qm
[ 32%] Generating bitcoin_ta.qm
[ 32%] Generating bitcoin_te.qm
/build/bitcoin/src/bitcoin-31.0/src/blockencodings.cpp: In member function ‘ReadStatus PartiallyDownloadedBlock::InitData(const CBlockHeaderAndShortTxIDs&, const std::vector<std::pair<transaction_identifier<true>, std::shared_ptr<const CTransaction> > >&)’:
/build/bitcoin/src/bitcoin-31.0/src/blockencodings.cpp:121:44: error: ‘const class CTxMemPool’ has no member named ‘txns_randomized’
  121 |     for (const auto& [wtxid, txit] : pool->txns_randomized) {
      |                                            ^~~~~~~~~~~~~~~
[ 33%] Generating bitcoin_th.qm
[ 33%] Generating bitcoin_tk.qm
[ 33%] Generating bitcoin_tl.qm
[ 33%] Generating bitcoin_tr.qm
[ 33%] Generating bitcoin_uk.qm
[ 34%] Building CXX object src/test/util/CMakeFiles/test_util.dir/mining.cpp.o
[ 34%] Generating bitcoin_ur.qm
[ 34%] Generating bitcoin_uz.qm
[ 34%] Generating bitcoin_uz@Cyrl.qm
[ 34%] Generating bitcoin_uz@Latn.qm
[ 35%] Generating bitcoin_ve.qm
[ 35%] Generating bitcoin_yi.qm
[ 35%] Generating bitcoin_yo.qm
[ 35%] Generating bitcoin_yue.qm
[ 35%] Generating bitcoin_zh-Hans.qm
[ 35%] Generating bitcoin_zh-Hant.qm
[ 35%] Building CXX object src/test/util/CMakeFiles/test_util.dir/net.cpp.o
[ 35%] Generating bitcoin_zh.qm
[ 35%] Generating bitcoin_zh_CN.qm
[ 35%] Generating bitcoin_zh_HK.qm
[ 35%] Generating bitcoin_zh_TW.qm
[ 35%] Built target bitcoinqt_lrelease
[ 35%] Building CXX object src/CMakeFiles/bitcoin_node.dir/deploymentstatus.cpp.o
distcc[5033] ERROR: compile /build/bitcoin/src/bitcoin-31.0/src/blockencodings.cpp on localhost failed
make[2]: *** [src/CMakeFiles/bitcoin_node.dir/build.make:140: src/CMakeFiles/bitcoin_node.dir/blockencodings.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 35%] Compiling Cap'n Proto schema include/mp/proxy.capnp
[ 35%] Building CXX object src/ipc/libmultiprocess/CMakeFiles/multiprocess.dir/include/mp/proxy.capnp.c++.o
distcc[5418] ERROR: compile /build/bitcoin/src/bitcoin-31.0/src/test/util/mining.cpp on 10.3.0.16:3732/8 failed
distcc[5418] (dcc_build_somewhere) Warning: remote compilation of '/build/bitcoin/src/bitcoin-31.0/src/test/util/mining.cpp' failed, retrying locally
distcc[5418] Warning: failed to distribute /build/bitcoin/src/bitcoin-31.0/src/test/util/mining.cpp to 10.3.0.16:3732/8, running locally instead
[ 35%] Building CXX object src/ipc/libmultiprocess/CMakeFiles/multiprocess.dir/src/mp/proxy.cpp.o
make[1]: *** [CMakeFiles/Makefile2:993: src/CMakeFiles/bitcoin_node.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 35%] Building CXX object src/test/util/CMakeFiles/test_util.dir/random.cpp.o
In file included from /build/bitcoin/src/bitcoin-31.0/src/validation.h:30,
                 from /build/bitcoin/src/bitcoin-31.0/src/test/util/blockfilter.cpp:11:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:214:64: error: invalid use of incomplete type ‘struct boost::multi_index::indexed_by<boost::multi_index::hashed_unique<mempoolentry_txid, SaltedTxidHasher>, boost::multi_index::hashed_unique<boost::multi_index::tag<index_by_wtxid>, mempoolentry_wtxid, SaltedWtxidHasher, void>, boost::multi_index::ordered_non_unique<boost::multi_index::tag<entry_time>, boost::multi_index::identity<CTxMemPoolEntry>, CompareTxMemPoolEntryByEntryTime> >’
  214 |     struct CTxMemPoolEntry_Indices final : boost::multi_index::indexed_by<
      |                                                                ^~~~~~~~~~~
  215 |             // sorted by txid
      |             ~~~~~~~~~~~~~~~~~                                   
  216 |             boost::multi_index::hashed_unique<mempoolentry_txid, SaltedTxidHasher>,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  217 |             // sorted by wtxid
      |             ~~~~~~~~~~~~~~~~~~                                  
  218 |             boost::multi_index::hashed_unique<
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                  
  219 |                 boost::multi_index::tag<index_by_wtxid>,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        
  220 |                 mempoolentry_wtxid,
      |                 ~~~~~~~~~~~~~~~~~~~                             
  221 |                 SaltedWtxidHasher
      |                 ~~~~~~~~~~~~~~~~~                               
  222 |             >,
      |             ~~                                                  
  223 |             // sorted by entry time
      |             ~~~~~~~~~~~~~~~~~~~~~~~                             
  224 |             boost::multi_index::ordered_non_unique<
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
  225 |                 boost::multi_index::tag<entry_time>,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            
  226 |                 boost::multi_index::identity<CTxMemPoolEntry>,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  227 |                 CompareTxMemPoolEntryByEntryTime
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                
  228 |             >
      |             ~                                                   
  229 |         >
      |         ~                                                       
In file included from /usr/include/boost/multi_index_container_fwd.hpp:18,
                 from /usr/include/boost/multi_index/detail/node_handle.hpp:22,
                 from /usr/include/boost/multi_index/hashed_index.hpp:32,
                 from /build/bitcoin/src/bitcoin-31.0/src/txmempool.h:27:
/usr/include/boost/multi_index/indexed_by.hpp:79:8: note: declaration of ‘struct boost::multi_index::indexed_by<boost::multi_index::hashed_unique<mempoolentry_txid, SaltedTxidHasher>, boost::multi_index::hashed_unique<boost::multi_index::tag<index_by_wtxid>, mempoolentry_wtxid, SaltedWtxidHasher, void>, boost::multi_index::ordered_non_unique<boost::multi_index::tag<entry_time>, boost::multi_index::identity<CTxMemPoolEntry>, CompareTxMemPoolEntryByEntryTime> >’
   79 | struct indexed_by;
      |        ^~~~~~~~~~
In file included from /usr/include/boost/type_traits/type_with_alignment.hpp:13,
                 from /usr/include/boost/type_traits/aligned_storage.hpp:21,
                 from /usr/include/boost/multi_index/detail/index_node_base.hpp:17,
                 from /usr/include/boost/multi_index/hashed_index.hpp:29:
/usr/include/boost/multi_index/detail/node_type.hpp: In instantiation of ‘struct boost::multi_index::detail::multi_index_node_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’:
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index/detail/node_type.hpp:40:3: error: static assertion failed: detail::is_index_list<IndexSpecifierList>::value
   40 |   BOOST_STATIC_ASSERT(detail::is_index_list<IndexSpecifierList>::value);
      |   ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/multi_index/detail/node_type.hpp:40:3: note: ‘std::integral_constant<bool, false>::value’ evaluates to false
In file included from /usr/include/boost/multi_index/detail/no_duplicate_tags.hpp:17,
                 from /usr/include/boost/multi_index/tag.hpp:17,
                 from /usr/include/boost/multi_index/detail/ord_index_args.hpp:18,
                 from /usr/include/boost/multi_index/ordered_index_fwd.hpp:16,
                 from /usr/include/boost/multi_index_container_fwd.hpp:19:
/usr/include/boost/mp11/algorithm.hpp: In substitution of ‘template<class L, class V, template<class ...> class F> using boost::mp11::mp_reverse_fold = typename boost::mp11::detail::mp_reverse_fold_impl<typename boost::mp11::detail::mp_rename_impl<L, boost::mp11::mp_list>::type, V, F>::type [with L = CTxMemPool::CTxMemPoolEntry_Indices; V = boost::multi_index::detail::index_node_base<CTxMemPoolEntry, std::allocator<CTxMemPoolEntry> >; F = boost::multi_index::detail::node_type]’:
/usr/include/boost/multi_index/detail/node_type.hpp:46:5:   required from ‘struct boost::multi_index::detail::multi_index_node_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’
   46 |   > type;
      |     ^~~~
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/mp11/algorithm.hpp:973:62: error: no type named ‘type’ in ‘struct boost::mp11::detail::mp_rename_impl<CTxMemPool::CTxMemPoolEntry_Indices, boost::mp11::mp_list>’
  973 | template<class L, class V, template<class...> class F> using mp_reverse_fold = typename detail::mp_reverse_fold_impl<mp_rename<L, mp_list>, V, F>::type;
      |                                                              ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/multi_index_container.hpp:29,
                 from /build/bitcoin/src/bitcoin-31.0/src/txmempool.h:33:
/usr/include/boost/multi_index/detail/base_type.hpp: In instantiation of ‘struct boost::multi_index::detail::nth_layer<0, CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’:
/usr/include/boost/multi_index/detail/base_type.hpp:53:8:   required from ‘struct boost::multi_index::detail::multi_index_base_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’
   53 | struct multi_index_base_type:
      |        ^~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index/detail/base_type.hpp:43:47: error: no type named ‘type’ in ‘struct boost::mp11::detail::mp_size_impl<CTxMemPool::CTxMemPoolEntry_Indices>’
   43 |     N==mp11::mp_size<Mp11IndexSpecifierList>::value,
      |                                               ^~~~~
/usr/include/boost/multi_index/detail/base_type.hpp: In instantiation of ‘struct boost::multi_index::detail::multi_index_base_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’:
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index/detail/base_type.hpp:56:3: error: static assertion failed: detail::is_index_list<IndexSpecifierList>::value
   56 |   BOOST_STATIC_ASSERT(detail::is_index_list<IndexSpecifierList>::value);
      |   ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/multi_index/detail/base_type.hpp:56:3: note: ‘std::integral_constant<bool, false>::value’ evaluates to false
/usr/include/boost/multi_index_container.hpp: In instantiation of ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index_container.hpp:91:7: error: ‘class boost::multi_index::detail::multi_index_base_type<Value, IndexSpecifierList, Allocator>::type’ resolves to ‘<type error>’, which is not a class type
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:34: error: ‘txiter’ was not declared in this scope
  266 |     std::vector<std::pair<Wtxid, txiter>> txns_randomized GUARDED_BY(cs); //!< All transactions in mapTx with their wtxids, in arbitrary order
      |                                  ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:34: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:40: error: template argument 1 is invalid
  266 |     std::vector<std::pair<Wtxid, txiter>> txns_randomized GUARDED_BY(cs); //!< All transactions in mapTx with their wtxids, in arbitrary order
      |                                        ^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:40: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  266 |     std::vector<std::pair<Wtxid, txiter>> txns_randomized GUARDED_BY(cs); //!< All transactions in mapTx with their wtxids, in arbitrary order
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:22: error: ‘txiter’ was not declared in this scope
  268 |     typedef std::set<txiter, CompareIteratorByHash> setEntries;
      |                      ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:51: error: template argument 1 is invalid
  268 |     typedef std::set<txiter, CompareIteratorByHash> setEntries;
      |                                                   ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:51: error: template argument 3 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:18: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  268 |     typedef std::set<txiter, CompareIteratorByHash> setEntries;
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:274:32: error: ‘txiter’ has not been declared
  274 |     int64_t GetDescendantCount(txiter it) const { LOCK(cs); return m_txgraph->GetDescendants(*it, TxGraph::Level::MAIN).size(); }
      |                                ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:281:56: error: template argument 1 is invalid
  281 |     std::vector<indexed_transaction_set::const_iterator> GetSortedScoreWithTopology() const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                                                        ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:281:56: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:281:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  281 |     std::vector<indexed_transaction_set::const_iterator> GetSortedScoreWithTopology() const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:298:28: error: ‘txiter’ was not declared in this scope
  298 |     indirectmap<COutPoint, txiter> mapNextTx GUARDED_BY(cs);
      |                            ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:298:34: error: template argument 2 is invalid
  298 |     indirectmap<COutPoint, txiter> mapNextTx GUARDED_BY(cs);
      |                                  ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:333:59: error: ‘txiter’ was not declared in this scope
  333 |     void removeForReorg(CChain& chain, std::function<bool(txiter)> filter_final_and_mature) EXCLUSIVE_LOCKS_REQUIRED(cs, cs_main);
      |                                                           ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:333:66: error: template argument 1 is invalid
  333 |     void removeForReorg(CChain& chain, std::function<bool(txiter)> filter_final_and_mature) EXCLUSIVE_LOCKS_REQUIRED(cs, cs_main);
      |                                                                  ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:333:40: error: ‘std::filter_final_and_mature’ has not been declared
  333 |     void removeForReorg(CChain& chain, std::function<bool(txiter)> filter_final_and_mature) EXCLUSIVE_LOCKS_REQUIRED(cs, cs_main);
      |                                        ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:368:19: error: ‘txiter’ was not declared in this scope
  368 |     std::optional<txiter> GetIter(const Txid& txid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                   ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:368:25: error: template argument 1 is invalid
  368 |     std::optional<txiter> GetIter(const Txid& txid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                         ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:368:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  368 |     std::optional<txiter> GetIter(const Txid& txid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:369:19: error: ‘txiter’ was not declared in this scope
  369 |     std::optional<txiter> GetIter(const Wtxid& wtxid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                   ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:369:25: error: template argument 1 is invalid
  369 |     std::optional<txiter> GetIter(const Wtxid& wtxid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                         ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:369:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  369 |     std::optional<txiter> GetIter(const Wtxid& wtxid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:374:5: error: ‘setEntries’ does not name a type
  374 |     setEntries GetIterSet(const std::set<Txid>& hashes) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:17: error: ‘txiter’ was not declared in this scope
  379 |     std::vector<txiter> GetIterVec(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:23: error: template argument 1 is invalid
  379 |     std::vector<txiter> GetIterVec(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                       ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:23: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  379 |     std::vector<txiter> GetIterVec(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:413:40: error: ‘setEntries’ does not name a type
  413 |     size_t GetUniqueClusterCount(const setEntries& iters_conflicting) const EXCLUSIVE_LOCKS_REQUIRED(cs) {
      |                                        ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:430:5: error: ‘setEntries’ does not name a type
  430 |     setEntries CalculateMemPoolAncestors(const CTxMemPoolEntry& entry) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:17: error: ‘txiter’ was not declared in this scope
  438 |     std::vector<txiter> GatherClusters(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:23: error: template argument 1 is invalid
  438 |     std::vector<txiter> GatherClusters(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                       ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:23: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  438 |     std::vector<txiter> GatherClusters(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:443:31: error: ‘txiter’ has not been declared
  443 |     void CalculateDescendants(txiter it, setEntries& setDescendants) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                               ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:443:42: error: ‘setEntries’ has not been declared
  443 |     void CalculateDescendants(txiter it, setEntries& setDescendants) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                                          ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:444:17: error: ‘txiter’ in ‘class CTxMemPool’ does not name a type
  444 |     CTxMemPool::txiter CalculateDescendants(const CTxMemPoolEntry& entry, setEntries& setDescendants) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:584:23: error: ‘setEntries’ has not been declared
  584 |     void RemoveStaged(setEntries& stage, MemPoolRemovalReason reason) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                       ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:587:26: error: ‘txiter’ has not been declared
  587 |     void removeRecursive(txiter to_remove, MemPoolRemovalReason reason) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                          ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:590:26: error: ‘txiter’ has not been declared
  590 |     void removeUnchecked(txiter entry, MemPoolRemovalReason reason) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                          ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:634:38: error: ‘txiter’ in ‘class CTxMemPool’ does not name a type
  634 |         using TxHandle = CTxMemPool::txiter;
      |                                      ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:636:9: error: ‘TxHandle’ does not name a type
  636 |         TxHandle StageAddition(const CTransactionRef& tx, CAmount fee, int64_t time, unsigned int entry_height, uint64_t entry_sequence, bool spends_coinbase, int64_t sigops_cost, LockPoints lp);
      |         ^~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:638:27: error: ‘CTxMemPool::txiter’ has not been declared
  638 |         void StageRemoval(CTxMemPool::txiter it);
      |                           ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:640:27: error: ‘setEntries’ in ‘class CTxMemPool’ does not name a type
  640 |         const CTxMemPool::setEntries& GetRemovals() const { return m_to_remove; }
      |                           ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:645:21: error: ‘setEntries’ in ‘class CTxMemPool’ does not name a type
  645 |         CTxMemPool::setEntries CalculateMemPoolAncestors(TxHandle tx)
      |                     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:33: error: ‘txiter’ is not a member of ‘CTxMemPool’
  686 |         std::vector<CTxMemPool::txiter> m_entry_vec; // track the added transactions' insertion order
      |                                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:39: error: template argument 1 is invalid
  686 |         std::vector<CTxMemPool::txiter> m_entry_vec; // track the added transactions' insertion order
      |                                       ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:39: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:14: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  686 |         std::vector<CTxMemPool::txiter> m_entry_vec; // track the added transactions' insertion order
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:30: error: ‘txiter’ is not a member of ‘CTxMemPool’
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |                              ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:50: error: ‘setEntries’ is not a member of ‘CTxMemPool’
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |                                                  ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:83: error: template argument 1 is invalid
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |                                                                                   ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:83: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:83: error: template argument 4 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:14: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:689:21: error: ‘setEntries’ in ‘class CTxMemPool’ does not name a type
  689 |         CTxMemPool::setEntries m_to_remove;
      |                     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:718:28: error: ‘CTxMemPool::txiter’ has not been declared
  718 |     void addNewTransaction(CTxMemPool::txiter it) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                            ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘int64_t CTxMemPool::GetDescendantCount(int) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:274:94: error: invalid type argument of unary ‘*’ (have ‘int’)
  274 |     int64_t GetDescendantCount(txiter it) const { LOCK(cs); return m_txgraph->GetDescendants(*it, TxGraph::Level::MAIN).size(); }
      |                                                                                              ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In static member function ‘static TxMempoolInfo CTxMemPool::GetInfo(...)’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:290:30: error: ‘it’ was not declared in this scope; did you mean ‘int’?
  290 |         return TxMempoolInfo{it->GetSharedTx(), it->GetTime(), it->GetFee(), it->GetTxSize(), it->GetModifiedFee() - it->GetFee()};
      |                              ^~
      |                              int
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘std::vector<const CTxMemPoolEntry*> CTxMemPool::GetCluster(Txid) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:401:19: error: ‘GetIter’ was not declared in this scope; did you mean ‘getitimer’?
  401 |         auto tx = GetIter(txid);
      |                   ^~~~~~~
      |                   getitimer
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘size_t CTxMemPool::GetUniqueClusterCount(const int&) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:415:43: error: request for member ‘size’ in ‘iters_conflicting’, which is of non-class type ‘const int’
  415 |         entries.reserve(iters_conflicting.size());
      |                                           ^~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: error: ‘begin’ was not declared in this scope
  416 |         for (auto it : iters_conflicting) {
      |                        ^~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: note: suggested alternatives:
In file included from /usr/include/c++/15.2.1/string:55,
                 from /usr/include/c++/15.2.1/bits/locale_classes.h:42,
                 from /usr/include/c++/15.2.1/bits/ios_base.h:43,
                 from /usr/include/c++/15.2.1/ios:46,
                 from /build/bitcoin/src/bitcoin-31.0/src/blockfilter.h:10,
                 from /build/bitcoin/src/bitcoin-31.0/src/test/util/blockfilter.h:8,
                 from /build/bitcoin/src/bitcoin-31.0/src/test/util/blockfilter.cpp:5:
/usr/include/c++/15.2.1/bits/range_access.h:120:37: note:   ‘std::begin’
  120 |   template<typename _Tp> const _Tp* begin(const valarray<_Tp>&) noexcept;
      |                                     ^~~~~
In file included from /usr/include/c++/15.2.1/string_view:58,
                 from /usr/include/c++/15.2.1/bits/basic_string.h:51,
                 from /usr/include/c++/15.2.1/string:56:
/usr/include/c++/15.2.1/bits/ranges_base.h:502:47: note:   ‘std::ranges::_Cpo::begin’
  502 |     inline constexpr ranges::__access::_Begin begin{};
      |                                               ^~~~~
In file included from /usr/include/c++/15.2.1/filesystem:55,
                 from /build/bitcoin/src/bitcoin-31.0/src/util/fs.h:11,
                 from /build/bitcoin/src/bitcoin-31.0/src/flatfile.h:12,
                 from /build/bitcoin/src/bitcoin-31.0/src/chain.h:11,
                 from /build/bitcoin/src/bitcoin-31.0/src/node/blockstorage.h:9,
                 from /build/bitcoin/src/bitcoin-31.0/src/test/util/blockfilter.cpp:8:
/usr/include/c++/15.2.1/bits/fs_dir.h:608:3: note:   ‘std::filesystem::__cxx11::begin’
  608 |   begin(recursive_directory_iterator __iter) noexcept
      |   ^~~~~
In file included from /usr/include/c++/15.2.1/bits/stl_iterator_base_types.h:73,
                 from /usr/include/c++/15.2.1/bits/stl_construct.h:61,
                 from /usr/include/c++/15.2.1/bits/char_traits.h:59,
                 from /usr/include/c++/15.2.1/ios:44:
/usr/include/c++/15.2.1/bits/iterator_concepts.h:1041:10: note:   ‘std::ranges::__access::begin’
 1041 |     void begin() = delete;
      |          ^~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: error: ‘end’ was not declared in this scope
  416 |         for (auto it : iters_conflicting) {
      |                        ^~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: note: suggested alternatives:
/usr/include/c++/15.2.1/bits/range_access.h:122:37: note:   ‘std::end’
  122 |   template<typename _Tp> const _Tp* end(const valarray<_Tp>&) noexcept;
      |                                     ^~~
/usr/include/c++/15.2.1/bits/ranges_base.h:503:45: note:   ‘std::ranges::_Cpo::end’
  503 |     inline constexpr ranges::__access::_End end{};
      |                                             ^~~
/usr/include/c++/15.2.1/bits/fs_dir.h:613:3: note:   ‘std::filesystem::__cxx11::end’
  613 |   end(recursive_directory_iterator) noexcept
      |   ^~~
/usr/include/c++/15.2.1/bits/ranges_base.h:153:10: note:   ‘std::ranges::__access::end’
  153 |     void end() = delete;
      |          ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘long unsigned int CTxMemPool::size() const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:488:22: error: ‘const CTxMemPool::indexed_transaction_set’ {aka ‘const class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’} has no member named ‘size’
  488 |         return mapTx.size();
      |                      ^~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘bool CTxMemPool::exists(const Txid&) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:506:23: error: ‘const CTxMemPool::indexed_transaction_set’ {aka ‘const class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’} has no member named ‘count’
  506 |         return (mapTx.count(txid) != 0);
      |                       ^~~~~
/usr/include/boost/multi_index_container.hpp: In instantiation of ‘struct boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::index<index_by_wtxid>’:
/usr/include/boost/multi_index_container.hpp:395:36:   required by substitution of ‘template<class Tag> const typename boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::index<Tag>::type& boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::get() const [with Tag = index_by_wtxid]’
  395 |   const typename index<Tag>::type& get()const BOOST_NOEXCEPT
      |                                    ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42:   required from here
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/boost/multi_index_container.hpp:383:5: error: non-constant condition for static assertion
  383 |     BOOST_STATIC_ASSERT(index_found);
      |     ^~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘bool CTxMemPool::exists(const Wtxid&) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: error: no matching function for call to ‘boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::get<index_by_wtxid>() const’
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: note: there are 4 candidates
/usr/include/boost/multi_index_container.hpp:358:32: note: candidate 1: ‘template<int N> typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  358 |   typename nth_index<N>::type& get()BOOST_NOEXCEPT
      |                                ^~~
/usr/include/boost/multi_index_container.hpp:358:32: note: template argument deduction/substitution failed:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: error: type/value mismatch at argument 1 in template parameter list for ‘template<int N> typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: note:   expected a constant of type ‘int’, got ‘index_by_wtxid’
/usr/include/boost/multi_index_container.hpp:389:30: note: candidate 2: ‘template<class Tag> typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::index<Tag>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() [with Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  389 |   typename index<Tag>::type& get()BOOST_NOEXCEPT
      |                              ^~~
/usr/include/boost/multi_index_container.hpp:389:30: note: template argument deduction/substitution failed:
/usr/include/boost/multi_index_container.hpp:365:38: note: candidate 3: ‘template<int N> const typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() const [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  365 |   const typename nth_index<N>::type& get()const BOOST_NOEXCEPT
      |                                      ^~~
/usr/include/boost/multi_index_container.hpp:365:38: note: template argument deduction/substitution failed:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: error: type/value mismatch at argument 1 in template parameter list for ‘template<int N> const typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() const [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: note:   expected a constant of type ‘int’, got ‘index_by_wtxid’
/usr/include/boost/multi_index_container.hpp:395:36: note: candidate 4: ‘template<class Tag> const typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::index<Tag>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() const [with Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  395 |   const typename index<Tag>::type& get()const BOOST_NOEXCEPT
      |                                    ^~~
/usr/include/boost/multi_index_container.hpp:395:36: note: substitution of deduced template arguments resulted in errors seen above
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘std::vector<std::shared_ptr<const CTransaction> > CTxMemPool::ChangeSet::GetAddedTxns() const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:661:25: error: ‘m_entry_vec’ was not declared in this scope
  661 |             ret.reserve(m_entry_vec.size());
      |                         ^~~~~~~~~~~
[ 35%] Building CXX object src/test/util/CMakeFiles/test_util.dir/script.cpp.o
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘size_t CTxMemPool::ChangeSet::GetTxCount() const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:676:44: error: ‘m_entry_vec’ was not declared in this scope
  676 |         size_t GetTxCount() const { return m_entry_vec.size(); }
      |                                            ^~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘const CTransaction& CTxMemPool::ChangeSet::GetAddedTxn(size_t) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:677:70: error: ‘m_entry_vec’ was not declared in this scope
  677 |         const CTransaction& GetAddedTxn(size_t index) const { return m_entry_vec.at(index)->GetTx(); }
      |                                                                      ^~~~~~~~~~~
[ 35%] Building CXX object src/test/util/CMakeFiles/test_util.dir/setup_common.cpp.o
[ 35%] Building CXX object src/test/util/CMakeFiles/test_util.dir/str.cpp.o
[ 35%] Linking CXX static library libmultiprocess.a
[ 35%] Built target multiprocess
[ 35%] Building CXX object src/test/util/CMakeFiles/test_util.dir/time.cpp.o
[ 35%] Building CXX object src/test/util/CMakeFiles/test_util.dir/transaction_utils.cpp.o
[ 35%] Building CXX object src/test/util/CMakeFiles/test_util.dir/txmempool.cpp.o
distcc[5177] ERROR: compile /build/bitcoin/src/bitcoin-31.0/src/test/util/blockfilter.cpp on localhost failed
make[2]: *** [src/test/util/CMakeFiles/test_util.dir/build.make:79: src/test/util/CMakeFiles/test_util.dir/blockfilter.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /build/bitcoin/src/bitcoin-31.0/src/node/miner.h:13,
                 from /build/bitcoin/src/bitcoin-31.0/src/test/util/mining.h:8,
                 from /build/bitcoin/src/bitcoin-31.0/src/test/util/mining.cpp:5:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:214:64: error: invalid use of incomplete type ‘struct boost::multi_index::indexed_by<boost::multi_index::hashed_unique<mempoolentry_txid, SaltedTxidHasher>, boost::multi_index::hashed_unique<boost::multi_index::tag<index_by_wtxid>, mempoolentry_wtxid, SaltedWtxidHasher, void>, boost::multi_index::ordered_non_unique<boost::multi_index::tag<entry_time>, boost::multi_index::identity<CTxMemPoolEntry>, CompareTxMemPoolEntryByEntryTime> >’
  214 |     struct CTxMemPoolEntry_Indices final : boost::multi_index::indexed_by<
      |                                                                ^~~~~~~~~~~
  215 |             // sorted by txid
      |             ~~~~~~~~~~~~~~~~~                                   
  216 |             boost::multi_index::hashed_unique<mempoolentry_txid, SaltedTxidHasher>,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  217 |             // sorted by wtxid
      |             ~~~~~~~~~~~~~~~~~~                                  
  218 |             boost::multi_index::hashed_unique<
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                  
  219 |                 boost::multi_index::tag<index_by_wtxid>,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        
  220 |                 mempoolentry_wtxid,
      |                 ~~~~~~~~~~~~~~~~~~~                             
  221 |                 SaltedWtxidHasher
      |                 ~~~~~~~~~~~~~~~~~                               
  222 |             >,
      |             ~~                                                  
  223 |             // sorted by entry time
      |             ~~~~~~~~~~~~~~~~~~~~~~~                             
  224 |             boost::multi_index::ordered_non_unique<
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
  225 |                 boost::multi_index::tag<entry_time>,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            
  226 |                 boost::multi_index::identity<CTxMemPoolEntry>,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  227 |                 CompareTxMemPoolEntryByEntryTime
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                
  228 |             >
      |             ~                                                   
  229 |         >
      |         ~                                                       
In file included from /usr/include/boost/multi_index_container_fwd.hpp:18,
                 from /usr/include/boost/multi_index/detail/node_handle.hpp:22,
                 from /usr/include/boost/multi_index/hashed_index.hpp:32,
                 from /build/bitcoin/src/bitcoin-31.0/src/txmempool.h:27:
/usr/include/boost/multi_index/indexed_by.hpp:79:8: note: declaration of ‘struct boost::multi_index::indexed_by<boost::multi_index::hashed_unique<mempoolentry_txid, SaltedTxidHasher>, boost::multi_index::hashed_unique<boost::multi_index::tag<index_by_wtxid>, mempoolentry_wtxid, SaltedWtxidHasher, void>, boost::multi_index::ordered_non_unique<boost::multi_index::tag<entry_time>, boost::multi_index::identity<CTxMemPoolEntry>, CompareTxMemPoolEntryByEntryTime> >’
   79 | struct indexed_by;
      |        ^~~~~~~~~~
In file included from /usr/include/boost/type_traits/type_with_alignment.hpp:13,
                 from /usr/include/boost/type_traits/aligned_storage.hpp:21,
                 from /usr/include/boost/multi_index/detail/index_node_base.hpp:17,
                 from /usr/include/boost/multi_index/hashed_index.hpp:29:
/usr/include/boost/multi_index/detail/node_type.hpp: In instantiation of ‘struct boost::multi_index::detail::multi_index_node_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’:
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index/detail/node_type.hpp:40:3: error: static assertion failed: detail::is_index_list<IndexSpecifierList>::value
   40 |   BOOST_STATIC_ASSERT(detail::is_index_list<IndexSpecifierList>::value);
      |   ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/multi_index/detail/node_type.hpp:40:3: note: ‘std::integral_constant<bool, false>::value’ evaluates to false
In file included from /usr/include/boost/multi_index/detail/no_duplicate_tags.hpp:17,
                 from /usr/include/boost/multi_index/tag.hpp:17,
                 from /usr/include/boost/multi_index/detail/ord_index_args.hpp:18,
                 from /usr/include/boost/multi_index/ordered_index_fwd.hpp:16,
                 from /usr/include/boost/multi_index_container_fwd.hpp:19:
/usr/include/boost/mp11/algorithm.hpp: In substitution of ‘template<class L, class V, template<class ...> class F> using boost::mp11::mp_reverse_fold = typename boost::mp11::detail::mp_reverse_fold_impl<typename boost::mp11::detail::mp_rename_impl<L, boost::mp11::mp_list>::type, V, F>::type [with L = CTxMemPool::CTxMemPoolEntry_Indices; V = boost::multi_index::detail::index_node_base<CTxMemPoolEntry, std::allocator<CTxMemPoolEntry> >; F = boost::multi_index::detail::node_type]’:
/usr/include/boost/multi_index/detail/node_type.hpp:46:5:   required from ‘struct boost::multi_index::detail::multi_index_node_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’
   46 |   > type;
      |     ^~~~
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/mp11/algorithm.hpp:973:62: error: no type named ‘type’ in ‘struct boost::mp11::detail::mp_rename_impl<CTxMemPool::CTxMemPoolEntry_Indices, boost::mp11::mp_list>’
  973 | template<class L, class V, template<class...> class F> using mp_reverse_fold = typename detail::mp_reverse_fold_impl<mp_rename<L, mp_list>, V, F>::type;
      |                                                              ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/multi_index_container.hpp:29,
                 from /build/bitcoin/src/bitcoin-31.0/src/txmempool.h:33:
/usr/include/boost/multi_index/detail/base_type.hpp: In instantiation of ‘struct boost::multi_index::detail::nth_layer<0, CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’:
/usr/include/boost/multi_index/detail/base_type.hpp:53:8:   required from ‘struct boost::multi_index::detail::multi_index_base_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’
   53 | struct multi_index_base_type:
      |        ^~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index/detail/base_type.hpp:43:47: error: no type named ‘type’ in ‘struct boost::mp11::detail::mp_size_impl<CTxMemPool::CTxMemPoolEntry_Indices>’
   43 |     N==mp11::mp_size<Mp11IndexSpecifierList>::value,
      |                                               ^~~~~
/usr/include/boost/multi_index/detail/base_type.hpp: In instantiation of ‘struct boost::multi_index::detail::multi_index_base_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’:
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index/detail/base_type.hpp:56:3: error: static assertion failed: detail::is_index_list<IndexSpecifierList>::value
   56 |   BOOST_STATIC_ASSERT(detail::is_index_list<IndexSpecifierList>::value);
      |   ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/multi_index/detail/base_type.hpp:56:3: note: ‘std::integral_constant<bool, false>::value’ evaluates to false
/usr/include/boost/multi_index_container.hpp: In instantiation of ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index_container.hpp:91:7: error: ‘class boost::multi_index::detail::multi_index_base_type<Value, IndexSpecifierList, Allocator>::type’ resolves to ‘<type error>’, which is not a class type
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:34: error: ‘txiter’ was not declared in this scope
  266 |     std::vector<std::pair<Wtxid, txiter>> txns_randomized GUARDED_BY(cs); //!< All transactions in mapTx with their wtxids, in arbitrary order
      |                                  ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:34: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:40: error: template argument 1 is invalid
  266 |     std::vector<std::pair<Wtxid, txiter>> txns_randomized GUARDED_BY(cs); //!< All transactions in mapTx with their wtxids, in arbitrary order
      |                                        ^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:40: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  266 |     std::vector<std::pair<Wtxid, txiter>> txns_randomized GUARDED_BY(cs); //!< All transactions in mapTx with their wtxids, in arbitrary order
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:22: error: ‘txiter’ was not declared in this scope
  268 |     typedef std::set<txiter, CompareIteratorByHash> setEntries;
      |                      ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:51: error: template argument 1 is invalid
  268 |     typedef std::set<txiter, CompareIteratorByHash> setEntries;
      |                                                   ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:51: error: template argument 3 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:18: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  268 |     typedef std::set<txiter, CompareIteratorByHash> setEntries;
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:274:32: error: ‘txiter’ has not been declared
  274 |     int64_t GetDescendantCount(txiter it) const { LOCK(cs); return m_txgraph->GetDescendants(*it, TxGraph::Level::MAIN).size(); }
      |                                ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:281:56: error: template argument 1 is invalid
  281 |     std::vector<indexed_transaction_set::const_iterator> GetSortedScoreWithTopology() const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                                                        ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:281:56: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:281:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  281 |     std::vector<indexed_transaction_set::const_iterator> GetSortedScoreWithTopology() const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:298:28: error: ‘txiter’ was not declared in this scope
  298 |     indirectmap<COutPoint, txiter> mapNextTx GUARDED_BY(cs);
      |                            ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:298:34: error: template argument 2 is invalid
  298 |     indirectmap<COutPoint, txiter> mapNextTx GUARDED_BY(cs);
      |                                  ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:333:59: error: ‘txiter’ was not declared in this scope
  333 |     void removeForReorg(CChain& chain, std::function<bool(txiter)> filter_final_and_mature) EXCLUSIVE_LOCKS_REQUIRED(cs, cs_main);
      |                                                           ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:333:66: error: template argument 1 is invalid
  333 |     void removeForReorg(CChain& chain, std::function<bool(txiter)> filter_final_and_mature) EXCLUSIVE_LOCKS_REQUIRED(cs, cs_main);
      |                                                                  ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:333:40: error: ‘std::filter_final_and_mature’ has not been declared
  333 |     void removeForReorg(CChain& chain, std::function<bool(txiter)> filter_final_and_mature) EXCLUSIVE_LOCKS_REQUIRED(cs, cs_main);
      |                                        ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:368:19: error: ‘txiter’ was not declared in this scope
  368 |     std::optional<txiter> GetIter(const Txid& txid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                   ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:368:25: error: template argument 1 is invalid
  368 |     std::optional<txiter> GetIter(const Txid& txid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                         ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:368:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  368 |     std::optional<txiter> GetIter(const Txid& txid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:369:19: error: ‘txiter’ was not declared in this scope
  369 |     std::optional<txiter> GetIter(const Wtxid& wtxid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                   ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:369:25: error: template argument 1 is invalid
  369 |     std::optional<txiter> GetIter(const Wtxid& wtxid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                         ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:369:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  369 |     std::optional<txiter> GetIter(const Wtxid& wtxid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:374:5: error: ‘setEntries’ does not name a type
  374 |     setEntries GetIterSet(const std::set<Txid>& hashes) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:17: error: ‘txiter’ was not declared in this scope
  379 |     std::vector<txiter> GetIterVec(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:23: error: template argument 1 is invalid
  379 |     std::vector<txiter> GetIterVec(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                       ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:23: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  379 |     std::vector<txiter> GetIterVec(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:413:40: error: ‘setEntries’ does not name a type
  413 |     size_t GetUniqueClusterCount(const setEntries& iters_conflicting) const EXCLUSIVE_LOCKS_REQUIRED(cs) {
      |                                        ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:430:5: error: ‘setEntries’ does not name a type
  430 |     setEntries CalculateMemPoolAncestors(const CTxMemPoolEntry& entry) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:17: error: ‘txiter’ was not declared in this scope
  438 |     std::vector<txiter> GatherClusters(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:23: error: template argument 1 is invalid
  438 |     std::vector<txiter> GatherClusters(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                       ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:23: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  438 |     std::vector<txiter> GatherClusters(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:443:31: error: ‘txiter’ has not been declared
  443 |     void CalculateDescendants(txiter it, setEntries& setDescendants) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                               ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:443:42: error: ‘setEntries’ has not been declared
  443 |     void CalculateDescendants(txiter it, setEntries& setDescendants) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                                          ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:444:17: error: ‘txiter’ in ‘class CTxMemPool’ does not name a type
  444 |     CTxMemPool::txiter CalculateDescendants(const CTxMemPoolEntry& entry, setEntries& setDescendants) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:584:23: error: ‘setEntries’ has not been declared
  584 |     void RemoveStaged(setEntries& stage, MemPoolRemovalReason reason) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                       ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:587:26: error: ‘txiter’ has not been declared
  587 |     void removeRecursive(txiter to_remove, MemPoolRemovalReason reason) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                          ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:590:26: error: ‘txiter’ has not been declared
  590 |     void removeUnchecked(txiter entry, MemPoolRemovalReason reason) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                          ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:634:38: error: ‘txiter’ in ‘class CTxMemPool’ does not name a type
  634 |         using TxHandle = CTxMemPool::txiter;
      |                                      ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:636:9: error: ‘TxHandle’ does not name a type
  636 |         TxHandle StageAddition(const CTransactionRef& tx, CAmount fee, int64_t time, unsigned int entry_height, uint64_t entry_sequence, bool spends_coinbase, int64_t sigops_cost, LockPoints lp);
      |         ^~~~~~~~
distcc[5498] ERROR: compile /build/bitcoin/src/bitcoin-31.0/src/test/util/setup_common.cpp on 10.3.0.16:3732/8 failed
distcc[5498] (dcc_build_somewhere) Warning: remote compilation of '/build/bitcoin/src/bitcoin-31.0/src/test/util/setup_common.cpp' failed, retrying locally
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:638:27: error: ‘CTxMemPool::txiter’ has not been declared
  638 |         void StageRemoval(CTxMemPool::txiter it);
      |                           ^~~~~~~~~~
distcc[5498] Warning: failed to distribute /build/bitcoin/src/bitcoin-31.0/src/test/util/setup_common.cpp to 10.3.0.16:3732/8, running locally instead
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:640:27: error: ‘setEntries’ in ‘class CTxMemPool’ does not name a type
  640 |         const CTxMemPool::setEntries& GetRemovals() const { return m_to_remove; }
      |                           ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:645:21: error: ‘setEntries’ in ‘class CTxMemPool’ does not name a type
  645 |         CTxMemPool::setEntries CalculateMemPoolAncestors(TxHandle tx)
      |                     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:33: error: ‘txiter’ is not a member of ‘CTxMemPool’
  686 |         std::vector<CTxMemPool::txiter> m_entry_vec; // track the added transactions' insertion order
      |                                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:39: error: template argument 1 is invalid
  686 |         std::vector<CTxMemPool::txiter> m_entry_vec; // track the added transactions' insertion order
      |                                       ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:39: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:14: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  686 |         std::vector<CTxMemPool::txiter> m_entry_vec; // track the added transactions' insertion order
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:30: error: ‘txiter’ is not a member of ‘CTxMemPool’
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |                              ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:50: error: ‘setEntries’ is not a member of ‘CTxMemPool’
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |                                                  ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:83: error: template argument 1 is invalid
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |                                                                                   ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:83: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:83: error: template argument 4 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:14: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:689:21: error: ‘setEntries’ in ‘class CTxMemPool’ does not name a type
  689 |         CTxMemPool::setEntries m_to_remove;
      |                     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:718:28: error: ‘CTxMemPool::txiter’ has not been declared
  718 |     void addNewTransaction(CTxMemPool::txiter it) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                            ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘int64_t CTxMemPool::GetDescendantCount(int) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:274:94: error: invalid type argument of unary ‘*’ (have ‘int’)
  274 |     int64_t GetDescendantCount(txiter it) const { LOCK(cs); return m_txgraph->GetDescendants(*it, TxGraph::Level::MAIN).size(); }
      |                                                                                              ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In static member function ‘static TxMempoolInfo CTxMemPool::GetInfo(...)’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:290:30: error: ‘it’ was not declared in this scope; did you mean ‘int’?
  290 |         return TxMempoolInfo{it->GetSharedTx(), it->GetTime(), it->GetFee(), it->GetTxSize(), it->GetModifiedFee() - it->GetFee()};
      |                              ^~
      |                              int
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘std::vector<const CTxMemPoolEntry*> CTxMemPool::GetCluster(Txid) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:401:19: error: ‘GetIter’ was not declared in this scope; did you mean ‘getitimer’?
  401 |         auto tx = GetIter(txid);
      |                   ^~~~~~~
      |                   getitimer
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘size_t CTxMemPool::GetUniqueClusterCount(const int&) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:415:43: error: request for member ‘size’ in ‘iters_conflicting’, which is of non-class type ‘const int’
  415 |         entries.reserve(iters_conflicting.size());
      |                                           ^~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: error: ‘begin’ was not declared in this scope
  416 |         for (auto it : iters_conflicting) {
      |                        ^~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: note: suggested alternatives:
In file included from /usr/include/c++/15.2.1/array:46,
                 from /usr/include/c++/15.2.1/span:46,
                 from /build/bitcoin/src/bitcoin-31.0/src/span.h:10,
                 from /build/bitcoin/src/bitcoin-31.0/src/uint256.h:10,
                 from /build/bitcoin/src/bitcoin-31.0/src/interfaces/types.h:8,
                 from /build/bitcoin/src/bitcoin-31.0/src/node/miner.h:9:
/usr/include/c++/15.2.1/bits/range_access.h:120:37: note:   ‘std::begin’
  120 |   template<typename _Tp> const _Tp* begin(const valarray<_Tp>&) noexcept;
      |                                     ^~~~~
In file included from /usr/include/c++/15.2.1/span:49:
/usr/include/c++/15.2.1/bits/ranges_base.h:502:47: note:   ‘std::ranges::_Cpo::begin’
  502 |     inline constexpr ranges::__access::_Begin begin{};
      |                                               ^~~~~
In file included from /usr/include/c++/15.2.1/bits/stl_iterator_base_types.h:73,
                 from /usr/include/c++/15.2.1/bits/stl_algobase.h:65,
                 from /usr/include/c++/15.2.1/array:45:
/usr/include/c++/15.2.1/bits/iterator_concepts.h:1041:10: note:   ‘std::ranges::__access::begin’
 1041 |     void begin() = delete;
      |          ^~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: error: ‘end’ was not declared in this scope
  416 |         for (auto it : iters_conflicting) {
      |                        ^~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: note: suggested alternatives:
/usr/include/c++/15.2.1/bits/range_access.h:122:37: note:   ‘std::end’
  122 |   template<typename _Tp> const _Tp* end(const valarray<_Tp>&) noexcept;
      |                                     ^~~
/usr/include/c++/15.2.1/bits/ranges_base.h:503:45: note:   ‘std::ranges::_Cpo::end’
  503 |     inline constexpr ranges::__access::_End end{};
      |                                             ^~~
/usr/include/c++/15.2.1/bits/ranges_base.h:153:10: note:   ‘std::ranges::__access::end’
  153 |     void end() = delete;
      |          ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘long unsigned int CTxMemPool::size() const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:488:22: error: ‘const CTxMemPool::indexed_transaction_set’ {aka ‘const class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’} has no member named ‘size’
  488 |         return mapTx.size();
      |                      ^~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘bool CTxMemPool::exists(const Txid&) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:506:23: error: ‘const CTxMemPool::indexed_transaction_set’ {aka ‘const class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’} has no member named ‘count’
  506 |         return (mapTx.count(txid) != 0);
      |                       ^~~~~
/usr/include/boost/multi_index_container.hpp: In instantiation of ‘struct boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::index<index_by_wtxid>’:
/usr/include/boost/multi_index_container.hpp:395:36:   required by substitution of ‘template<class Tag> const typename boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::index<Tag>::type& boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::get() const [with Tag = index_by_wtxid]’
  395 |   const typename index<Tag>::type& get()const BOOST_NOEXCEPT
      |                                    ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42:   required from here
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/boost/multi_index_container.hpp:383:5: error: non-constant condition for static assertion
  383 |     BOOST_STATIC_ASSERT(index_found);
      |     ^~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘bool CTxMemPool::exists(const Wtxid&) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: error: no matching function for call to ‘boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::get<index_by_wtxid>() const’
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: note: there are 4 candidates
/usr/include/boost/multi_index_container.hpp:358:32: note: candidate 1: ‘template<int N> typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  358 |   typename nth_index<N>::type& get()BOOST_NOEXCEPT
      |                                ^~~
/usr/include/boost/multi_index_container.hpp:358:32: note: template argument deduction/substitution failed:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: error: type/value mismatch at argument 1 in template parameter list for ‘template<int N> typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: note:   expected a constant of type ‘int’, got ‘index_by_wtxid’
/usr/include/boost/multi_index_container.hpp:389:30: note: candidate 2: ‘template<class Tag> typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::index<Tag>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() [with Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  389 |   typename index<Tag>::type& get()BOOST_NOEXCEPT
      |                              ^~~
/usr/include/boost/multi_index_container.hpp:389:30: note: template argument deduction/substitution failed:
/usr/include/boost/multi_index_container.hpp:365:38: note: candidate 3: ‘template<int N> const typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() const [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  365 |   const typename nth_index<N>::type& get()const BOOST_NOEXCEPT
      |                                      ^~~
/usr/include/boost/multi_index_container.hpp:365:38: note: template argument deduction/substitution failed:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: error: type/value mismatch at argument 1 in template parameter list for ‘template<int N> const typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() const [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: note:   expected a constant of type ‘int’, got ‘index_by_wtxid’
/usr/include/boost/multi_index_container.hpp:395:36: note: candidate 4: ‘template<class Tag> const typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::index<Tag>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() const [with Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  395 |   const typename index<Tag>::type& get()const BOOST_NOEXCEPT
      |                                    ^~~
/usr/include/boost/multi_index_container.hpp:395:36: note: substitution of deduced template arguments resulted in errors seen above
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘std::vector<std::shared_ptr<const CTransaction> > CTxMemPool::ChangeSet::GetAddedTxns() const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:661:25: error: ‘m_entry_vec’ was not declared in this scope
  661 |             ret.reserve(m_entry_vec.size());
      |                         ^~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘size_t CTxMemPool::ChangeSet::GetTxCount() const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:676:44: error: ‘m_entry_vec’ was not declared in this scope
  676 |         size_t GetTxCount() const { return m_entry_vec.size(); }
      |                                            ^~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘const CTransaction& CTxMemPool::ChangeSet::GetAddedTxn(size_t) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:677:70: error: ‘m_entry_vec’ was not declared in this scope
  677 |         const CTransaction& GetAddedTxn(size_t index) const { return m_entry_vec.at(index)->GetTx(); }
      |                                                                      ^~~~~~~~~~~
distcc[5520] ERROR: compile /build/bitcoin/src/bitcoin-31.0/src/test/util/txmempool.cpp on 10.3.0.15:3732/8 failed
distcc[5520] (dcc_build_somewhere) Warning: remote compilation of '/build/bitcoin/src/bitcoin-31.0/src/test/util/txmempool.cpp' failed, retrying locally
distcc[5520] Warning: failed to distribute /build/bitcoin/src/bitcoin-31.0/src/test/util/txmempool.cpp to 10.3.0.15:3732/8, running locally instead
distcc[5418] ERROR: compile /build/bitcoin/src/bitcoin-31.0/src/test/util/mining.cpp on localhost failed
make[2]: *** [src/test/util/CMakeFiles/test_util.dir/build.make:149: src/test/util/CMakeFiles/test_util.dir/mining.cpp.o] Error 1
In file included from /build/bitcoin/src/bitcoin-31.0/src/test/util/txmempool.h:9,
                 from /build/bitcoin/src/bitcoin-31.0/src/test/util/txmempool.cpp:5:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:214:64: error: invalid use of incomplete type ‘struct boost::multi_index::indexed_by<boost::multi_index::hashed_unique<mempoolentry_txid, SaltedTxidHasher>, boost::multi_index::hashed_unique<boost::multi_index::tag<index_by_wtxid>, mempoolentry_wtxid, SaltedWtxidHasher, void>, boost::multi_index::ordered_non_unique<boost::multi_index::tag<entry_time>, boost::multi_index::identity<CTxMemPoolEntry>, CompareTxMemPoolEntryByEntryTime> >’
  214 |     struct CTxMemPoolEntry_Indices final : boost::multi_index::indexed_by<
      |                                                                ^~~~~~~~~~~
  215 |             // sorted by txid
      |             ~~~~~~~~~~~~~~~~~                                   
  216 |             boost::multi_index::hashed_unique<mempoolentry_txid, SaltedTxidHasher>,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  217 |             // sorted by wtxid
      |             ~~~~~~~~~~~~~~~~~~                                  
  218 |             boost::multi_index::hashed_unique<
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                  
  219 |                 boost::multi_index::tag<index_by_wtxid>,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        
  220 |                 mempoolentry_wtxid,
      |                 ~~~~~~~~~~~~~~~~~~~                             
  221 |                 SaltedWtxidHasher
      |                 ~~~~~~~~~~~~~~~~~                               
  222 |             >,
      |             ~~                                                  
  223 |             // sorted by entry time
      |             ~~~~~~~~~~~~~~~~~~~~~~~                             
  224 |             boost::multi_index::ordered_non_unique<
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
  225 |                 boost::multi_index::tag<entry_time>,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            
  226 |                 boost::multi_index::identity<CTxMemPoolEntry>,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  227 |                 CompareTxMemPoolEntryByEntryTime
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                
  228 |             >
      |             ~                                                   
  229 |         >
      |         ~                                                       
In file included from /usr/include/boost/multi_index_container_fwd.hpp:18,
                 from /usr/include/boost/multi_index/detail/node_handle.hpp:22,
                 from /usr/include/boost/multi_index/hashed_index.hpp:32,
                 from /build/bitcoin/src/bitcoin-31.0/src/txmempool.h:27:
/usr/include/boost/multi_index/indexed_by.hpp:79:8: note: declaration of ‘struct boost::multi_index::indexed_by<boost::multi_index::hashed_unique<mempoolentry_txid, SaltedTxidHasher>, boost::multi_index::hashed_unique<boost::multi_index::tag<index_by_wtxid>, mempoolentry_wtxid, SaltedWtxidHasher, void>, boost::multi_index::ordered_non_unique<boost::multi_index::tag<entry_time>, boost::multi_index::identity<CTxMemPoolEntry>, CompareTxMemPoolEntryByEntryTime> >’
   79 | struct indexed_by;
      |        ^~~~~~~~~~
In file included from /usr/include/boost/type_traits/type_with_alignment.hpp:13,
                 from /usr/include/boost/type_traits/aligned_storage.hpp:21,
                 from /usr/include/boost/multi_index/detail/index_node_base.hpp:17,
                 from /usr/include/boost/multi_index/hashed_index.hpp:29:
/usr/include/boost/multi_index/detail/node_type.hpp: In instantiation of ‘struct boost::multi_index::detail::multi_index_node_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’:
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index/detail/node_type.hpp:40:3: error: static assertion failed: detail::is_index_list<IndexSpecifierList>::value
   40 |   BOOST_STATIC_ASSERT(detail::is_index_list<IndexSpecifierList>::value);
      |   ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/multi_index/detail/node_type.hpp:40:3: note: ‘std::integral_constant<bool, false>::value’ evaluates to false
In file included from /usr/include/boost/multi_index/detail/no_duplicate_tags.hpp:17,
                 from /usr/include/boost/multi_index/tag.hpp:17,
                 from /usr/include/boost/multi_index/detail/ord_index_args.hpp:18,
                 from /usr/include/boost/multi_index/ordered_index_fwd.hpp:16,
                 from /usr/include/boost/multi_index_container_fwd.hpp:19:
/usr/include/boost/mp11/algorithm.hpp: In substitution of ‘template<class L, class V, template<class ...> class F> using boost::mp11::mp_reverse_fold = typename boost::mp11::detail::mp_reverse_fold_impl<typename boost::mp11::detail::mp_rename_impl<L, boost::mp11::mp_list>::type, V, F>::type [with L = CTxMemPool::CTxMemPoolEntry_Indices; V = boost::multi_index::detail::index_node_base<CTxMemPoolEntry, std::allocator<CTxMemPoolEntry> >; F = boost::multi_index::detail::node_type]’:
/usr/include/boost/multi_index/detail/node_type.hpp:46:5:   required from ‘struct boost::multi_index::detail::multi_index_node_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’
   46 |   > type;
      |     ^~~~
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/mp11/algorithm.hpp:973:62: error: no type named ‘type’ in ‘struct boost::mp11::detail::mp_rename_impl<CTxMemPool::CTxMemPoolEntry_Indices, boost::mp11::mp_list>’
  973 | template<class L, class V, template<class...> class F> using mp_reverse_fold = typename detail::mp_reverse_fold_impl<mp_rename<L, mp_list>, V, F>::type;
      |                                                              ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/multi_index_container.hpp:29,
                 from /build/bitcoin/src/bitcoin-31.0/src/txmempool.h:33:
/usr/include/boost/multi_index/detail/base_type.hpp: In instantiation of ‘struct boost::multi_index::detail::nth_layer<0, CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’:
/usr/include/boost/multi_index/detail/base_type.hpp:53:8:   required from ‘struct boost::multi_index::detail::multi_index_base_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’
   53 | struct multi_index_base_type:
      |        ^~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index/detail/base_type.hpp:43:47: error: no type named ‘type’ in ‘struct boost::mp11::detail::mp_size_impl<CTxMemPool::CTxMemPoolEntry_Indices>’
   43 |     N==mp11::mp_size<Mp11IndexSpecifierList>::value,
      |                                               ^~~~~
/usr/include/boost/multi_index/detail/base_type.hpp: In instantiation of ‘struct boost::multi_index::detail::multi_index_base_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’:
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index/detail/base_type.hpp:56:3: error: static assertion failed: detail::is_index_list<IndexSpecifierList>::value
   56 |   BOOST_STATIC_ASSERT(detail::is_index_list<IndexSpecifierList>::value);
      |   ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/multi_index/detail/base_type.hpp:56:3: note: ‘std::integral_constant<bool, false>::value’ evaluates to false
/usr/include/boost/multi_index_container.hpp: In instantiation of ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index_container.hpp:91:7: error: ‘class boost::multi_index::detail::multi_index_base_type<Value, IndexSpecifierList, Allocator>::type’ resolves to ‘<type error>’, which is not a class type
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:34: error: ‘txiter’ was not declared in this scope
  266 |     std::vector<std::pair<Wtxid, txiter>> txns_randomized GUARDED_BY(cs); //!< All transactions in mapTx with their wtxids, in arbitrary order
      |                                  ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:34: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:40: error: template argument 1 is invalid
  266 |     std::vector<std::pair<Wtxid, txiter>> txns_randomized GUARDED_BY(cs); //!< All transactions in mapTx with their wtxids, in arbitrary order
      |                                        ^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:40: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  266 |     std::vector<std::pair<Wtxid, txiter>> txns_randomized GUARDED_BY(cs); //!< All transactions in mapTx with their wtxids, in arbitrary order
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:22: error: ‘txiter’ was not declared in this scope
  268 |     typedef std::set<txiter, CompareIteratorByHash> setEntries;
      |                      ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:51: error: template argument 1 is invalid
  268 |     typedef std::set<txiter, CompareIteratorByHash> setEntries;
      |                                                   ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:51: error: template argument 3 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:18: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  268 |     typedef std::set<txiter, CompareIteratorByHash> setEntries;
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:274:32: error: ‘txiter’ has not been declared
  274 |     int64_t GetDescendantCount(txiter it) const { LOCK(cs); return m_txgraph->GetDescendants(*it, TxGraph::Level::MAIN).size(); }
      |                                ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:281:56: error: template argument 1 is invalid
  281 |     std::vector<indexed_transaction_set::const_iterator> GetSortedScoreWithTopology() const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                                                        ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:281:56: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:281:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  281 |     std::vector<indexed_transaction_set::const_iterator> GetSortedScoreWithTopology() const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:298:28: error: ‘txiter’ was not declared in this scope
  298 |     indirectmap<COutPoint, txiter> mapNextTx GUARDED_BY(cs);
      |                            ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:298:34: error: template argument 2 is invalid
  298 |     indirectmap<COutPoint, txiter> mapNextTx GUARDED_BY(cs);
      |                                  ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:333:59: error: ‘txiter’ was not declared in this scope
  333 |     void removeForReorg(CChain& chain, std::function<bool(txiter)> filter_final_and_mature) EXCLUSIVE_LOCKS_REQUIRED(cs, cs_main);
      |                                                           ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:333:66: error: template argument 1 is invalid
  333 |     void removeForReorg(CChain& chain, std::function<bool(txiter)> filter_final_and_mature) EXCLUSIVE_LOCKS_REQUIRED(cs, cs_main);
      |                                                                  ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:333:40: error: ‘std::filter_final_and_mature’ has not been declared
  333 |     void removeForReorg(CChain& chain, std::function<bool(txiter)> filter_final_and_mature) EXCLUSIVE_LOCKS_REQUIRED(cs, cs_main);
      |                                        ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:368:19: error: ‘txiter’ was not declared in this scope
  368 |     std::optional<txiter> GetIter(const Txid& txid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                   ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:368:25: error: template argument 1 is invalid
  368 |     std::optional<txiter> GetIter(const Txid& txid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                         ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:368:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  368 |     std::optional<txiter> GetIter(const Txid& txid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:369:19: error: ‘txiter’ was not declared in this scope
  369 |     std::optional<txiter> GetIter(const Wtxid& wtxid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                   ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:369:25: error: template argument 1 is invalid
  369 |     std::optional<txiter> GetIter(const Wtxid& wtxid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                         ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:369:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  369 |     std::optional<txiter> GetIter(const Wtxid& wtxid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:374:5: error: ‘setEntries’ does not name a type
  374 |     setEntries GetIterSet(const std::set<Txid>& hashes) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:17: error: ‘txiter’ was not declared in this scope
  379 |     std::vector<txiter> GetIterVec(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:23: error: template argument 1 is invalid
  379 |     std::vector<txiter> GetIterVec(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                       ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:23: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  379 |     std::vector<txiter> GetIterVec(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:413:40: error: ‘setEntries’ does not name a type
  413 |     size_t GetUniqueClusterCount(const setEntries& iters_conflicting) const EXCLUSIVE_LOCKS_REQUIRED(cs) {
      |                                        ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:430:5: error: ‘setEntries’ does not name a type
  430 |     setEntries CalculateMemPoolAncestors(const CTxMemPoolEntry& entry) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:17: error: ‘txiter’ was not declared in this scope
  438 |     std::vector<txiter> GatherClusters(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:23: error: template argument 1 is invalid
  438 |     std::vector<txiter> GatherClusters(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                       ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:23: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  438 |     std::vector<txiter> GatherClusters(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:443:31: error: ‘txiter’ has not been declared
  443 |     void CalculateDescendants(txiter it, setEntries& setDescendants) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                               ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:443:42: error: ‘setEntries’ has not been declared
  443 |     void CalculateDescendants(txiter it, setEntries& setDescendants) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                                          ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:444:17: error: ‘txiter’ in ‘class CTxMemPool’ does not name a type
  444 |     CTxMemPool::txiter CalculateDescendants(const CTxMemPoolEntry& entry, setEntries& setDescendants) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:584:23: error: ‘setEntries’ has not been declared
  584 |     void RemoveStaged(setEntries& stage, MemPoolRemovalReason reason) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                       ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:587:26: error: ‘txiter’ has not been declared
  587 |     void removeRecursive(txiter to_remove, MemPoolRemovalReason reason) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                          ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:590:26: error: ‘txiter’ has not been declared
  590 |     void removeUnchecked(txiter entry, MemPoolRemovalReason reason) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                          ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:634:38: error: ‘txiter’ in ‘class CTxMemPool’ does not name a type
  634 |         using TxHandle = CTxMemPool::txiter;
      |                                      ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:636:9: error: ‘TxHandle’ does not name a type
  636 |         TxHandle StageAddition(const CTransactionRef& tx, CAmount fee, int64_t time, unsigned int entry_height, uint64_t entry_sequence, bool spends_coinbase, int64_t sigops_cost, LockPoints lp);
      |         ^~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:638:27: error: ‘CTxMemPool::txiter’ has not been declared
  638 |         void StageRemoval(CTxMemPool::txiter it);
      |                           ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:640:27: error: ‘setEntries’ in ‘class CTxMemPool’ does not name a type
  640 |         const CTxMemPool::setEntries& GetRemovals() const { return m_to_remove; }
      |                           ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:645:21: error: ‘setEntries’ in ‘class CTxMemPool’ does not name a type
  645 |         CTxMemPool::setEntries CalculateMemPoolAncestors(TxHandle tx)
      |                     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:33: error: ‘txiter’ is not a member of ‘CTxMemPool’
  686 |         std::vector<CTxMemPool::txiter> m_entry_vec; // track the added transactions' insertion order
      |                                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:39: error: template argument 1 is invalid
  686 |         std::vector<CTxMemPool::txiter> m_entry_vec; // track the added transactions' insertion order
      |                                       ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:39: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:14: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  686 |         std::vector<CTxMemPool::txiter> m_entry_vec; // track the added transactions' insertion order
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:30: error: ‘txiter’ is not a member of ‘CTxMemPool’
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |                              ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:50: error: ‘setEntries’ is not a member of ‘CTxMemPool’
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |                                                  ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:83: error: template argument 1 is invalid
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |                                                                                   ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:83: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:83: error: template argument 4 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:14: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:689:21: error: ‘setEntries’ in ‘class CTxMemPool’ does not name a type
  689 |         CTxMemPool::setEntries m_to_remove;
      |                     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:718:28: error: ‘CTxMemPool::txiter’ has not been declared
  718 |     void addNewTransaction(CTxMemPool::txiter it) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                            ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘int64_t CTxMemPool::GetDescendantCount(int) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:274:94: error: invalid type argument of unary ‘*’ (have ‘int’)
  274 |     int64_t GetDescendantCount(txiter it) const { LOCK(cs); return m_txgraph->GetDescendants(*it, TxGraph::Level::MAIN).size(); }
      |                                                                                              ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In static member function ‘static TxMempoolInfo CTxMemPool::GetInfo(...)’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:290:30: error: ‘it’ was not declared in this scope; did you mean ‘int’?
  290 |         return TxMempoolInfo{it->GetSharedTx(), it->GetTime(), it->GetFee(), it->GetTxSize(), it->GetModifiedFee() - it->GetFee()};
      |                              ^~
      |                              int
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘std::vector<const CTxMemPoolEntry*> CTxMemPool::GetCluster(Txid) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:401:19: error: ‘GetIter’ was not declared in this scope; did you mean ‘getitimer’?
  401 |         auto tx = GetIter(txid);
      |                   ^~~~~~~
      |                   getitimer
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘size_t CTxMemPool::GetUniqueClusterCount(const int&) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:415:43: error: request for member ‘size’ in ‘iters_conflicting’, which is of non-class type ‘const int’
  415 |         entries.reserve(iters_conflicting.size());
      |                                           ^~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: error: ‘begin’ was not declared in this scope
  416 |         for (auto it : iters_conflicting) {
      |                        ^~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: note: suggested alternatives:
In file included from /usr/include/c++/15.2.1/string:55,
                 from /build/bitcoin/src/bitcoin-31.0/src/consensus/validation.h:9,
                 from /build/bitcoin/src/bitcoin-31.0/src/policy/packages.h:9,
                 from /build/bitcoin/src/bitcoin-31.0/src/test/util/txmempool.h:8:
/usr/include/c++/15.2.1/bits/range_access.h:120:37: note:   ‘std::begin’
  120 |   template<typename _Tp> const _Tp* begin(const valarray<_Tp>&) noexcept;
      |                                     ^~~~~
In file included from /usr/include/c++/15.2.1/string_view:58,
                 from /usr/include/c++/15.2.1/bits/basic_string.h:51,
                 from /usr/include/c++/15.2.1/string:56:
/usr/include/c++/15.2.1/bits/ranges_base.h:502:47: note:   ‘std::ranges::_Cpo::begin’
  502 |     inline constexpr ranges::__access::_Begin begin{};
      |                                               ^~~~~
In file included from /usr/include/c++/15.2.1/bits/stl_iterator_base_types.h:73,
                 from /usr/include/c++/15.2.1/bits/stl_construct.h:61,
                 from /usr/include/c++/15.2.1/bits/char_traits.h:59,
                 from /usr/include/c++/15.2.1/string:44:
/usr/include/c++/15.2.1/bits/iterator_concepts.h:1041:10: note:   ‘std::ranges::__access::begin’
 1041 |     void begin() = delete;
      |          ^~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: error: ‘end’ was not declared in this scope
  416 |         for (auto it : iters_conflicting) {
      |                        ^~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: note: suggested alternatives:
/usr/include/c++/15.2.1/bits/range_access.h:122:37: note:   ‘std::end’
  122 |   template<typename _Tp> const _Tp* end(const valarray<_Tp>&) noexcept;
      |                                     ^~~
/usr/include/c++/15.2.1/bits/ranges_base.h:503:45: note:   ‘std::ranges::_Cpo::end’
  503 |     inline constexpr ranges::__access::_End end{};
      |                                             ^~~
/usr/include/c++/15.2.1/bits/ranges_base.h:153:10: note:   ‘std::ranges::__access::end’
  153 |     void end() = delete;
      |          ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘long unsigned int CTxMemPool::size() const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:488:22: error: ‘const CTxMemPool::indexed_transaction_set’ {aka ‘const class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’} has no member named ‘size’
  488 |         return mapTx.size();
      |                      ^~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘bool CTxMemPool::exists(const Txid&) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:506:23: error: ‘const CTxMemPool::indexed_transaction_set’ {aka ‘const class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’} has no member named ‘count’
  506 |         return (mapTx.count(txid) != 0);
      |                       ^~~~~
/usr/include/boost/multi_index_container.hpp: In instantiation of ‘struct boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::index<index_by_wtxid>’:
/usr/include/boost/multi_index_container.hpp:395:36:   required by substitution of ‘template<class Tag> const typename boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::index<Tag>::type& boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::get() const [with Tag = index_by_wtxid]’
  395 |   const typename index<Tag>::type& get()const BOOST_NOEXCEPT
      |                                    ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42:   required from here
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/boost/multi_index_container.hpp:383:5: error: non-constant condition for static assertion
  383 |     BOOST_STATIC_ASSERT(index_found);
      |     ^~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘bool CTxMemPool::exists(const Wtxid&) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: error: no matching function for call to ‘boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::get<index_by_wtxid>() const’
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: note: there are 4 candidates
/usr/include/boost/multi_index_container.hpp:358:32: note: candidate 1: ‘template<int N> typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  358 |   typename nth_index<N>::type& get()BOOST_NOEXCEPT
      |                                ^~~
/usr/include/boost/multi_index_container.hpp:358:32: note: template argument deduction/substitution failed:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: error: type/value mismatch at argument 1 in template parameter list for ‘template<int N> typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: note:   expected a constant of type ‘int’, got ‘index_by_wtxid’
/usr/include/boost/multi_index_container.hpp:389:30: note: candidate 2: ‘template<class Tag> typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::index<Tag>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() [with Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  389 |   typename index<Tag>::type& get()BOOST_NOEXCEPT
      |                              ^~~
/usr/include/boost/multi_index_container.hpp:389:30: note: template argument deduction/substitution failed:
/usr/include/boost/multi_index_container.hpp:365:38: note: candidate 3: ‘template<int N> const typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() const [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  365 |   const typename nth_index<N>::type& get()const BOOST_NOEXCEPT
      |                                      ^~~
/usr/include/boost/multi_index_container.hpp:365:38: note: template argument deduction/substitution failed:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: error: type/value mismatch at argument 1 in template parameter list for ‘template<int N> const typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() const [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: note:   expected a constant of type ‘int’, got ‘index_by_wtxid’
/usr/include/boost/multi_index_container.hpp:395:36: note: candidate 4: ‘template<class Tag> const typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::index<Tag>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() const [with Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  395 |   const typename index<Tag>::type& get()const BOOST_NOEXCEPT
      |                                    ^~~
/usr/include/boost/multi_index_container.hpp:395:36: note: substitution of deduced template arguments resulted in errors seen above
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘std::vector<std::shared_ptr<const CTransaction> > CTxMemPool::ChangeSet::GetAddedTxns() const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:661:25: error: ‘m_entry_vec’ was not declared in this scope
  661 |             ret.reserve(m_entry_vec.size());
      |                         ^~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘size_t CTxMemPool::ChangeSet::GetTxCount() const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:676:44: error: ‘m_entry_vec’ was not declared in this scope
  676 |         size_t GetTxCount() const { return m_entry_vec.size(); }
      |                                            ^~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘const CTransaction& CTxMemPool::ChangeSet::GetAddedTxn(size_t) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:677:70: error: ‘m_entry_vec’ was not declared in this scope
  677 |         const CTransaction& GetAddedTxn(size_t index) const { return m_entry_vec.at(index)->GetTx(); }
      |                                                                      ^~~~~~~~~~~
In file included from /build/bitcoin/src/bitcoin-31.0/src/test/util/txmempool.cpp:10:
/build/bitcoin/src/bitcoin-31.0/src/policy/rbf.h: At global scope:
/build/bitcoin/src/bitcoin-31.0/src/policy/rbf.h:70:69: error: ‘setEntries’ in ‘class CTxMemPool’ does not name a type
   70 |                                                   const CTxMemPool::setEntries& iters_conflicting,
      |                                                                     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/policy/rbf.h:71:51: error: ‘CTxMemPool::setEntries’ has not been declared
   71 |                                                   CTxMemPool::setEntries& all_conflicts)
      |                                                   ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/policy/rbf.h:83:70: error: ‘setEntries’ in ‘class CTxMemPool’ does not name a type
   83 | std::optional<std::string> EntriesAndTxidsDisjoint(const CTxMemPool::setEntries& ancestors,
      |                                                                      ^~~~~~~~~~
In file included from /build/bitcoin/src/bitcoin-31.0/src/validation.h:30,
                 from /build/bitcoin/src/bitcoin-31.0/src/node/chainstate.h:9,
                 from /build/bitcoin/src/bitcoin-31.0/src/test/util/setup_common.cpp:23:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:214:64: error: invalid use of incomplete type ‘struct boost::multi_index::indexed_by<boost::multi_index::hashed_unique<mempoolentry_txid, SaltedTxidHasher>, boost::multi_index::hashed_unique<boost::multi_index::tag<index_by_wtxid>, mempoolentry_wtxid, SaltedWtxidHasher, void>, boost::multi_index::ordered_non_unique<boost::multi_index::tag<entry_time>, boost::multi_index::identity<CTxMemPoolEntry>, CompareTxMemPoolEntryByEntryTime> >’
  214 |     struct CTxMemPoolEntry_Indices final : boost::multi_index::indexed_by<
      |                                                                ^~~~~~~~~~~
  215 |             // sorted by txid
      |             ~~~~~~~~~~~~~~~~~                                   
  216 |             boost::multi_index::hashed_unique<mempoolentry_txid, SaltedTxidHasher>,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  217 |             // sorted by wtxid
      |             ~~~~~~~~~~~~~~~~~~                                  
  218 |             boost::multi_index::hashed_unique<
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                  
  219 |                 boost::multi_index::tag<index_by_wtxid>,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        
  220 |                 mempoolentry_wtxid,
      |                 ~~~~~~~~~~~~~~~~~~~                             
  221 |                 SaltedWtxidHasher
      |                 ~~~~~~~~~~~~~~~~~                               
  222 |             >,
      |             ~~                                                  
  223 |             // sorted by entry time
      |             ~~~~~~~~~~~~~~~~~~~~~~~                             
  224 |             boost::multi_index::ordered_non_unique<
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
  225 |                 boost::multi_index::tag<entry_time>,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            
  226 |                 boost::multi_index::identity<CTxMemPoolEntry>,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  227 |                 CompareTxMemPoolEntryByEntryTime
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                
  228 |             >
      |             ~                                                   
  229 |         >
      |         ~                                                       
In file included from /usr/include/boost/multi_index_container_fwd.hpp:18,
                 from /usr/include/boost/multi_index/detail/node_handle.hpp:22,
                 from /usr/include/boost/multi_index/hashed_index.hpp:32,
                 from /build/bitcoin/src/bitcoin-31.0/src/txmempool.h:27:
/usr/include/boost/multi_index/indexed_by.hpp:79:8: note: declaration of ‘struct boost::multi_index::indexed_by<boost::multi_index::hashed_unique<mempoolentry_txid, SaltedTxidHasher>, boost::multi_index::hashed_unique<boost::multi_index::tag<index_by_wtxid>, mempoolentry_wtxid, SaltedWtxidHasher, void>, boost::multi_index::ordered_non_unique<boost::multi_index::tag<entry_time>, boost::multi_index::identity<CTxMemPoolEntry>, CompareTxMemPoolEntryByEntryTime> >’
   79 | struct indexed_by;
      |        ^~~~~~~~~~
In file included from /usr/include/boost/type_traits/type_with_alignment.hpp:13,
                 from /usr/include/boost/type_traits/aligned_storage.hpp:21,
                 from /usr/include/boost/multi_index/detail/index_node_base.hpp:17,
                 from /usr/include/boost/multi_index/hashed_index.hpp:29:
/usr/include/boost/multi_index/detail/node_type.hpp: In instantiation of ‘struct boost::multi_index::detail::multi_index_node_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’:
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index/detail/node_type.hpp:40:3: error: static assertion failed: detail::is_index_list<IndexSpecifierList>::value
   40 |   BOOST_STATIC_ASSERT(detail::is_index_list<IndexSpecifierList>::value);
      |   ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/multi_index/detail/node_type.hpp:40:3: note: ‘std::integral_constant<bool, false>::value’ evaluates to false
In file included from /usr/include/boost/multi_index/detail/no_duplicate_tags.hpp:17,
                 from /usr/include/boost/multi_index/tag.hpp:17,
                 from /usr/include/boost/multi_index/detail/ord_index_args.hpp:18,
                 from /usr/include/boost/multi_index/ordered_index_fwd.hpp:16,
                 from /usr/include/boost/multi_index_container_fwd.hpp:19:
/usr/include/boost/mp11/algorithm.hpp: In substitution of ‘template<class L, class V, template<class ...> class F> using boost::mp11::mp_reverse_fold = typename boost::mp11::detail::mp_reverse_fold_impl<typename boost::mp11::detail::mp_rename_impl<L, boost::mp11::mp_list>::type, V, F>::type [with L = CTxMemPool::CTxMemPoolEntry_Indices; V = boost::multi_index::detail::index_node_base<CTxMemPoolEntry, std::allocator<CTxMemPoolEntry> >; F = boost::multi_index::detail::node_type]’:
/usr/include/boost/multi_index/detail/node_type.hpp:46:5:   required from ‘struct boost::multi_index::detail::multi_index_node_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’
   46 |   > type;
      |     ^~~~
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/mp11/algorithm.hpp:973:62: error: no type named ‘type’ in ‘struct boost::mp11::detail::mp_rename_impl<CTxMemPool::CTxMemPoolEntry_Indices, boost::mp11::mp_list>’
  973 | template<class L, class V, template<class...> class F> using mp_reverse_fold = typename detail::mp_reverse_fold_impl<mp_rename<L, mp_list>, V, F>::type;
      |                                                              ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/multi_index_container.hpp:29,
                 from /build/bitcoin/src/bitcoin-31.0/src/txmempool.h:33:
/usr/include/boost/multi_index/detail/base_type.hpp: In instantiation of ‘struct boost::multi_index::detail::nth_layer<0, CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’:
/usr/include/boost/multi_index/detail/base_type.hpp:53:8:   required from ‘struct boost::multi_index::detail::multi_index_base_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’
   53 | struct multi_index_base_type:
      |        ^~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index/detail/base_type.hpp:43:47: error: no type named ‘type’ in ‘struct boost::mp11::detail::mp_size_impl<CTxMemPool::CTxMemPoolEntry_Indices>’
   43 |     N==mp11::mp_size<Mp11IndexSpecifierList>::value,
      |                                               ^~~~~
/usr/include/boost/multi_index/detail/base_type.hpp: In instantiation of ‘struct boost::multi_index::detail::multi_index_base_type<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices, std::allocator<CTxMemPoolEntry> >’:
/usr/include/boost/multi_index_container.hpp:91:7:   required from ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index/detail/base_type.hpp:56:3: error: static assertion failed: detail::is_index_list<IndexSpecifierList>::value
   56 |   BOOST_STATIC_ASSERT(detail::is_index_list<IndexSpecifierList>::value);
      |   ^~~~~~~~~~~~~~~~~~~
/usr/include/boost/multi_index/detail/base_type.hpp:56:3: note: ‘std::integral_constant<bool, false>::value’ evaluates to false
/usr/include/boost/multi_index_container.hpp: In instantiation of ‘class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:263:29:   required from here
  263 |     indexed_transaction_set mapTx GUARDED_BY(cs);
      |                             ^~~~~
/usr/include/boost/multi_index_container.hpp:91:7: error: ‘class boost::multi_index::detail::multi_index_base_type<Value, IndexSpecifierList, Allocator>::type’ resolves to ‘<type error>’, which is not a class type
   91 | class multi_index_container:
      |       ^~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:34: error: ‘txiter’ was not declared in this scope
  266 |     std::vector<std::pair<Wtxid, txiter>> txns_randomized GUARDED_BY(cs); //!< All transactions in mapTx with their wtxids, in arbitrary order
      |                                  ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:34: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:40: error: template argument 1 is invalid
  266 |     std::vector<std::pair<Wtxid, txiter>> txns_randomized GUARDED_BY(cs); //!< All transactions in mapTx with their wtxids, in arbitrary order
      |                                        ^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:40: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:266:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  266 |     std::vector<std::pair<Wtxid, txiter>> txns_randomized GUARDED_BY(cs); //!< All transactions in mapTx with their wtxids, in arbitrary order
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:22: error: ‘txiter’ was not declared in this scope
  268 |     typedef std::set<txiter, CompareIteratorByHash> setEntries;
      |                      ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:51: error: template argument 1 is invalid
  268 |     typedef std::set<txiter, CompareIteratorByHash> setEntries;
      |                                                   ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:51: error: template argument 3 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:268:18: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  268 |     typedef std::set<txiter, CompareIteratorByHash> setEntries;
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:274:32: error: ‘txiter’ has not been declared
  274 |     int64_t GetDescendantCount(txiter it) const { LOCK(cs); return m_txgraph->GetDescendants(*it, TxGraph::Level::MAIN).size(); }
      |                                ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:281:56: error: template argument 1 is invalid
  281 |     std::vector<indexed_transaction_set::const_iterator> GetSortedScoreWithTopology() const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                                                        ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:281:56: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:281:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  281 |     std::vector<indexed_transaction_set::const_iterator> GetSortedScoreWithTopology() const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:298:28: error: ‘txiter’ was not declared in this scope
  298 |     indirectmap<COutPoint, txiter> mapNextTx GUARDED_BY(cs);
      |                            ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:298:34: error: template argument 2 is invalid
  298 |     indirectmap<COutPoint, txiter> mapNextTx GUARDED_BY(cs);
      |                                  ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:333:59: error: ‘txiter’ was not declared in this scope
  333 |     void removeForReorg(CChain& chain, std::function<bool(txiter)> filter_final_and_mature) EXCLUSIVE_LOCKS_REQUIRED(cs, cs_main);
      |                                                           ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:333:66: error: template argument 1 is invalid
  333 |     void removeForReorg(CChain& chain, std::function<bool(txiter)> filter_final_and_mature) EXCLUSIVE_LOCKS_REQUIRED(cs, cs_main);
      |                                                                  ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:333:40: error: ‘std::filter_final_and_mature’ has not been declared
  333 |     void removeForReorg(CChain& chain, std::function<bool(txiter)> filter_final_and_mature) EXCLUSIVE_LOCKS_REQUIRED(cs, cs_main);
      |                                        ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:368:19: error: ‘txiter’ was not declared in this scope
  368 |     std::optional<txiter> GetIter(const Txid& txid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                   ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:368:25: error: template argument 1 is invalid
  368 |     std::optional<txiter> GetIter(const Txid& txid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                         ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:368:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  368 |     std::optional<txiter> GetIter(const Txid& txid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:369:19: error: ‘txiter’ was not declared in this scope
  369 |     std::optional<txiter> GetIter(const Wtxid& wtxid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                   ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:369:25: error: template argument 1 is invalid
  369 |     std::optional<txiter> GetIter(const Wtxid& wtxid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                         ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:369:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  369 |     std::optional<txiter> GetIter(const Wtxid& wtxid) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:374:5: error: ‘setEntries’ does not name a type
  374 |     setEntries GetIterSet(const std::set<Txid>& hashes) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:17: error: ‘txiter’ was not declared in this scope
  379 |     std::vector<txiter> GetIterVec(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:23: error: template argument 1 is invalid
  379 |     std::vector<txiter> GetIterVec(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                       ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:23: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:379:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  379 |     std::vector<txiter> GetIterVec(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:413:40: error: ‘setEntries’ does not name a type
  413 |     size_t GetUniqueClusterCount(const setEntries& iters_conflicting) const EXCLUSIVE_LOCKS_REQUIRED(cs) {
      |                                        ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:430:5: error: ‘setEntries’ does not name a type
  430 |     setEntries CalculateMemPoolAncestors(const CTxMemPoolEntry& entry) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:17: error: ‘txiter’ was not declared in this scope
  438 |     std::vector<txiter> GatherClusters(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:23: error: template argument 1 is invalid
  438 |     std::vector<txiter> GatherClusters(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                       ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:23: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:438:10: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  438 |     std::vector<txiter> GatherClusters(const std::vector<Txid>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |          ^~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:443:31: error: ‘txiter’ has not been declared
  443 |     void CalculateDescendants(txiter it, setEntries& setDescendants) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                               ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:443:42: error: ‘setEntries’ has not been declared
  443 |     void CalculateDescendants(txiter it, setEntries& setDescendants) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                                          ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:444:17: error: ‘txiter’ in ‘class CTxMemPool’ does not name a type
  444 |     CTxMemPool::txiter CalculateDescendants(const CTxMemPoolEntry& entry, setEntries& setDescendants) const EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:584:23: error: ‘setEntries’ has not been declared
  584 |     void RemoveStaged(setEntries& stage, MemPoolRemovalReason reason) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                       ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:587:26: error: ‘txiter’ has not been declared
  587 |     void removeRecursive(txiter to_remove, MemPoolRemovalReason reason) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                          ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:590:26: error: ‘txiter’ has not been declared
  590 |     void removeUnchecked(txiter entry, MemPoolRemovalReason reason) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                          ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:634:38: error: ‘txiter’ in ‘class CTxMemPool’ does not name a type
  634 |         using TxHandle = CTxMemPool::txiter;
      |                                      ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:636:9: error: ‘TxHandle’ does not name a type
  636 |         TxHandle StageAddition(const CTransactionRef& tx, CAmount fee, int64_t time, unsigned int entry_height, uint64_t entry_sequence, bool spends_coinbase, int64_t sigops_cost, LockPoints lp);
      |         ^~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:638:27: error: ‘CTxMemPool::txiter’ has not been declared
  638 |         void StageRemoval(CTxMemPool::txiter it);
      |                           ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:640:27: error: ‘setEntries’ in ‘class CTxMemPool’ does not name a type
  640 |         const CTxMemPool::setEntries& GetRemovals() const { return m_to_remove; }
      |                           ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:645:21: error: ‘setEntries’ in ‘class CTxMemPool’ does not name a type
  645 |         CTxMemPool::setEntries CalculateMemPoolAncestors(TxHandle tx)
      |                     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:33: error: ‘txiter’ is not a member of ‘CTxMemPool’
  686 |         std::vector<CTxMemPool::txiter> m_entry_vec; // track the added transactions' insertion order
      |                                 ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:39: error: template argument 1 is invalid
  686 |         std::vector<CTxMemPool::txiter> m_entry_vec; // track the added transactions' insertion order
      |                                       ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:39: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:686:14: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  686 |         std::vector<CTxMemPool::txiter> m_entry_vec; // track the added transactions' insertion order
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:30: error: ‘txiter’ is not a member of ‘CTxMemPool’
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |                              ^~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:50: error: ‘setEntries’ is not a member of ‘CTxMemPool’
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |                                                  ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:83: error: template argument 1 is invalid
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |                                                                                   ^
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:83: error: template argument 2 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:83: error: template argument 4 is invalid
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:688:14: error: ‘<expression error>’ in namespace ‘std’ does not name a type
  688 |         std::map<CTxMemPool::txiter, CTxMemPool::setEntries, CompareIteratorByHash> m_ancestors;
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:689:21: error: ‘setEntries’ in ‘class CTxMemPool’ does not name a type
  689 |         CTxMemPool::setEntries m_to_remove;
      |                     ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:718:28: error: ‘CTxMemPool::txiter’ has not been declared
  718 |     void addNewTransaction(CTxMemPool::txiter it) EXCLUSIVE_LOCKS_REQUIRED(cs);
      |                            ^~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘int64_t CTxMemPool::GetDescendantCount(int) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:274:94: error: invalid type argument of unary ‘*’ (have ‘int’)
  274 |     int64_t GetDescendantCount(txiter it) const { LOCK(cs); return m_txgraph->GetDescendants(*it, TxGraph::Level::MAIN).size(); }
      |                                                                                              ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In static member function ‘static TxMempoolInfo CTxMemPool::GetInfo(...)’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:290:30: error: ‘it’ was not declared in this scope; did you mean ‘int’?
  290 |         return TxMempoolInfo{it->GetSharedTx(), it->GetTime(), it->GetFee(), it->GetTxSize(), it->GetModifiedFee() - it->GetFee()};
      |                              ^~
      |                              int
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘std::vector<const CTxMemPoolEntry*> CTxMemPool::GetCluster(Txid) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:401:19: error: ‘GetIter’ was not declared in this scope; did you mean ‘getitimer’?
  401 |         auto tx = GetIter(txid);
      |                   ^~~~~~~
      |                   getitimer
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘size_t CTxMemPool::GetUniqueClusterCount(const int&) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:415:43: error: request for member ‘size’ in ‘iters_conflicting’, which is of non-class type ‘const int’
  415 |         entries.reserve(iters_conflicting.size());
      |                                           ^~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: error: ‘begin’ was not declared in this scope
  416 |         for (auto it : iters_conflicting) {
      |                        ^~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: note: suggested alternatives:
In file included from /usr/include/c++/15.2.1/string:55,
                 from /usr/include/c++/15.2.1/bits/locale_classes.h:42,
                 from /usr/include/c++/15.2.1/bits/ios_base.h:43,
                 from /usr/include/c++/15.2.1/ios:46,
                 from /usr/include/c++/15.2.1/bits/ostream.h:43,
                 from /usr/include/c++/15.2.1/ostream:42,
                 from /usr/include/c++/15.2.1/iostream:43,
                 from /build/bitcoin/src/bitcoin-31.0/src/tinyformat.h:146,
                 from /build/bitcoin/src/bitcoin-31.0/src/util/fs.h:8,
                 from /build/bitcoin/src/bitcoin-31.0/src/common/settings.h:8,
                 from /build/bitcoin/src/bitcoin-31.0/src/common/args.h:8,
                 from /build/bitcoin/src/bitcoin-31.0/src/test/util/setup_common.h:8,
                 from /build/bitcoin/src/bitcoin-31.0/src/test/util/setup_common.cpp:5:
/usr/include/c++/15.2.1/bits/range_access.h:120:37: note:   ‘std::begin’
  120 |   template<typename _Tp> const _Tp* begin(const valarray<_Tp>&) noexcept;
      |                                     ^~~~~
In file included from /usr/include/c++/15.2.1/bits/ranges_algobase.h:38,
                 from /usr/include/c++/15.2.1/bits/ranges_algo.h:38,
                 from /usr/include/c++/15.2.1/algorithm:65,
                 from /build/bitcoin/src/bitcoin-31.0/src/tinyformat.h:144:
/usr/include/c++/15.2.1/bits/ranges_base.h:502:47: note:   ‘std::ranges::_Cpo::begin’
  502 |     inline constexpr ranges::__access::_Begin begin{};
      |                                               ^~~~~
In file included from /usr/include/c++/15.2.1/filesystem:55,
                 from /build/bitcoin/src/bitcoin-31.0/src/util/fs.h:11:
/usr/include/c++/15.2.1/bits/fs_dir.h:608:3: note:   ‘std::filesystem::__cxx11::begin’
  608 |   begin(recursive_directory_iterator __iter) noexcept
      |   ^~~~~
In file included from /usr/include/c++/15.2.1/bits/stl_iterator_base_types.h:73,
                 from /usr/include/c++/15.2.1/bits/stl_algobase.h:65,
                 from /usr/include/c++/15.2.1/algorithm:62:
/usr/include/c++/15.2.1/bits/iterator_concepts.h:1041:10: note:   ‘std::ranges::__access::begin’
 1041 |     void begin() = delete;
      |          ^~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: error: ‘end’ was not declared in this scope
  416 |         for (auto it : iters_conflicting) {
      |                        ^~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:416:24: note: suggested alternatives:
/usr/include/c++/15.2.1/bits/range_access.h:122:37: note:   ‘std::end’
  122 |   template<typename _Tp> const _Tp* end(const valarray<_Tp>&) noexcept;
      |                                     ^~~
/usr/include/c++/15.2.1/bits/ranges_base.h:503:45: note:   ‘std::ranges::_Cpo::end’
  503 |     inline constexpr ranges::__access::_End end{};
      |                                             ^~~
/usr/include/c++/15.2.1/bits/fs_dir.h:613:3: note:   ‘std::filesystem::__cxx11::end’
  613 |   end(recursive_directory_iterator) noexcept
      |   ^~~
/usr/include/c++/15.2.1/bits/ranges_base.h:153:10: note:   ‘std::ranges::__access::end’
  153 |     void end() = delete;
      |          ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘long unsigned int CTxMemPool::size() const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:488:22: error: ‘const CTxMemPool::indexed_transaction_set’ {aka ‘const class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’} has no member named ‘size’
  488 |         return mapTx.size();
      |                      ^~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘bool CTxMemPool::exists(const Txid&) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:506:23: error: ‘const CTxMemPool::indexed_transaction_set’ {aka ‘const class boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>’} has no member named ‘count’
  506 |         return (mapTx.count(txid) != 0);
      |                       ^~~~~
/usr/include/boost/multi_index_container.hpp: In instantiation of ‘struct boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::index<index_by_wtxid>’:
/usr/include/boost/multi_index_container.hpp:395:36:   required by substitution of ‘template<class Tag> const typename boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::index<Tag>::type& boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::get() const [with Tag = index_by_wtxid]’
  395 |   const typename index<Tag>::type& get()const BOOST_NOEXCEPT
      |                                    ^~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42:   required from here
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/boost/multi_index_container.hpp:383:5: error: non-constant condition for static assertion
  383 |     BOOST_STATIC_ASSERT(index_found);
      |     ^~~~~~~~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘bool CTxMemPool::exists(const Wtxid&) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: error: no matching function for call to ‘boost::multi_index::multi_index_container<CTxMemPoolEntry, CTxMemPool::CTxMemPoolEntry_Indices>::get<index_by_wtxid>() const’
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: note: there are 4 candidates
/usr/include/boost/multi_index_container.hpp:358:32: note: candidate 1: ‘template<int N> typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  358 |   typename nth_index<N>::type& get()BOOST_NOEXCEPT
      |                                ^~~
/usr/include/boost/multi_index_container.hpp:358:32: note: template argument deduction/substitution failed:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: error: type/value mismatch at argument 1 in template parameter list for ‘template<int N> typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: note:   expected a constant of type ‘int’, got ‘index_by_wtxid’
/usr/include/boost/multi_index_container.hpp:389:30: note: candidate 2: ‘template<class Tag> typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::index<Tag>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() [with Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  389 |   typename index<Tag>::type& get()BOOST_NOEXCEPT
      |                              ^~~
/usr/include/boost/multi_index_container.hpp:389:30: note: template argument deduction/substitution failed:
/usr/include/boost/multi_index_container.hpp:365:38: note: candidate 3: ‘template<int N> const typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() const [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  365 |   const typename nth_index<N>::type& get()const BOOST_NOEXCEPT
      |                                      ^~~
/usr/include/boost/multi_index_container.hpp:365:38: note: template argument deduction/substitution failed:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: error: type/value mismatch at argument 1 in template parameter list for ‘template<int N> const typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::nth_index<N>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() const [with int N = N; Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  512 |         return (mapTx.get<index_by_wtxid>().count(wtxid) != 0);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:512:42: note:   expected a constant of type ‘int’, got ‘index_by_wtxid’
/usr/include/boost/multi_index_container.hpp:395:36: note: candidate 4: ‘template<class Tag> const typename boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::index<Tag>::type& boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::get() const [with Value = CTxMemPoolEntry; IndexSpecifierList = CTxMemPool::CTxMemPoolEntry_Indices; Allocator = std::allocator<CTxMemPoolEntry>]’
  395 |   const typename index<Tag>::type& get()const BOOST_NOEXCEPT
      |                                    ^~~
/usr/include/boost/multi_index_container.hpp:395:36: note: substitution of deduced template arguments resulted in errors seen above
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘std::vector<std::shared_ptr<const CTransaction> > CTxMemPool::ChangeSet::GetAddedTxns() const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:661:25: error: ‘m_entry_vec’ was not declared in this scope
  661 |             ret.reserve(m_entry_vec.size());
      |                         ^~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘size_t CTxMemPool::ChangeSet::GetTxCount() const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:676:44: error: ‘m_entry_vec’ was not declared in this scope
  676 |         size_t GetTxCount() const { return m_entry_vec.size(); }
      |                                            ^~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h: In member function ‘const CTransaction& CTxMemPool::ChangeSet::GetAddedTxn(size_t) const’:
/build/bitcoin/src/bitcoin-31.0/src/txmempool.h:677:70: error: ‘m_entry_vec’ was not declared in this scope
  677 |         const CTransaction& GetAddedTxn(size_t index) const { return m_entry_vec.at(index)->GetTx(); }
      |                                                                      ^~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/test/util/txmempool.cpp: In function ‘std::optional<std::__cxx11::basic_string<char> > CheckPackageMempoolAcceptResult(const Package&, const PackageMempoolAcceptResult&, bool, const CTxMemPool*)’:
/build/bitcoin/src/bitcoin-31.0/src/test/util/txmempool.cpp:90:47: error: ‘const class CTxMemPool’ has no member named ‘GatherClusters’; did you mean ‘GetCluster’?
   90 |                 const auto cluster = mempool->GatherClusters({tx->GetHash()});
      |                                               ^~~~~~~~~~~~~~
      |                                               GetCluster
/build/bitcoin/src/bitcoin-31.0/src/test/util/txmempool.cpp: In function ‘void TryAddToMempool(CTxMemPool&, const CTxMemPoolEntry&)’:
/build/bitcoin/src/bitcoin-31.0/src/test/util/txmempool.cpp:219:16: error: ‘class CTxMemPool::ChangeSet’ has no member named ‘StageAddition’
  219 |     changeset->StageAddition(entry.GetSharedTx(), entry.GetFee(),
      |                ^~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/test/util/txmempool.cpp: In function ‘void MockMempoolMinFee(const CFeeRate&, CTxMemPool&)’:
/build/bitcoin/src/bitcoin-31.0/src/test/util/txmempool.cpp:251:20: error: ‘class CTxMemPool::ChangeSet’ has no member named ‘StageAddition’
  251 |         changeset->StageAddition(tx, /*fee=*/tx_fee,
      |                    ^~~~~~~~~~~~~
/build/bitcoin/src/bitcoin-31.0/src/test/util/setup_common.cpp: In member function ‘std::vector<std::shared_ptr<const CTransaction> > TestChain100Setup::PopulateMempool(FastRandomContext&, size_t, bool)’:
/build/bitcoin/src/bitcoin-31.0/src/test/util/setup_common.cpp:578:24: error: ‘class CTxMemPool::ChangeSet’ has no member named ‘StageAddition’
  578 |             changeset->StageAddition(ptx, /*fee=*/(total_in - num_outputs * amount_per_output),
      |                        ^~~~~~~~~~~~~
distcc[5520] ERROR: compile /build/bitcoin/src/bitcoin-31.0/src/test/util/txmempool.cpp on localhost failed
make[2]: *** [src/test/util/CMakeFiles/test_util.dir/build.make:261: src/test/util/CMakeFiles/test_util.dir/txmempool.cpp.o] Error 1
distcc[5498] ERROR: compile /build/bitcoin/src/bitcoin-31.0/src/test/util/setup_common.cpp on localhost failed
make[2]: *** [src/test/util/CMakeFiles/test_util.dir/build.make:205: src/test/util/CMakeFiles/test_util.dir/setup_common.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2974: src/test/util/CMakeFiles/test_util.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/leming/armv7/leming/build
[?12l[?25h[?12l[?25h